:root {
  --bg: #050503;
  --bg-soft: #11100c;
  --bg-softer: #19170f;
  --card: rgba(22, 20, 13, 0.82);
  --card-strong: rgba(32, 29, 18, 0.94);
  --gold: #d8c68a;
  --gold-strong: #f0da91;
  --cream: #f7f1dc;
  --white: #ffffff;
  --muted: #b9b49e;
  --line: rgba(216, 198, 138, 0.24);
  --line-strong: rgba(216, 198, 138, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 12%, rgba(216, 198, 138, 0.13), transparent 26rem),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #000 0%, var(--bg) 36%, #070604 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(216,198,138,0.55) 1px, transparent 1px);
  background-position: 0 0, 40px 70px;
  background-size: 170px 170px, 260px 260px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: 90px 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, rgba(216, 198, 138, 0.04), rgba(216, 198, 138, 0.015));
  border-block: 1px solid rgba(216, 198, 138, 0.10);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 99;
  background: var(--gold);
  color: #15120a;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 3, 2, 0.78);
  border-bottom: 1px solid rgba(216, 198, 138, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 190px;
}

.brand-logo {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(216, 198, 138, 0.15));
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cream);
  background: rgba(216, 198, 138, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(216, 198, 138, 0.08);
  color: var(--cream);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: min(7vw, 110px);
  top: 130px;
  width: 12px;
  height: 12px;
  background: var(--gold-strong);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 22px rgba(240, 218, 145, 0.85));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
}

.eyebrow {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.34);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: var(--gold);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  margin-bottom: 12px;
}

.hero-text,
.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #fff0b2);
  color: #161207;
  box-shadow: 0 16px 32px rgba(216, 198, 138, 0.17);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.btn-contact {
  border-color: rgba(216, 198, 138, 0.46);
  color: #15120a;
  background: linear-gradient(135deg, #f7f1dc, var(--gold));
  box-shadow: 0 16px 32px rgba(216, 198, 138, 0.14);
}

.hero-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 12%, rgba(216, 198, 138, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(100%, 580px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 70px rgba(216, 198, 138, 0.14));
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.section-heading {
  position: sticky;
  top: 114px;
}

.section-heading.center {
  position: static;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 46px;
}

.section-heading.center .section-intro {
  margin-inline: auto;
}

.story-card,
.pillar,
.reference-card,
.bird-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.story-card {
  padding: clamp(26px, 4vw, 44px);
  color: var(--muted);
  font-size: 1.02rem;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card strong {
  color: var(--cream);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reference-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--card-strong);
}

.reference-photo {
  aspect-ratio: 4 / 3;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.reference-photo.tall {
  aspect-ratio: 4 / 4.35;
}

.reference-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-content {
  padding: 24px;
  color: var(--muted);
}

.reference-content h3 {
  color: var(--cream);
}


.reference-feature {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: stretch;
}

.reference-feature-media,
.reference-feature-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-strong);
  box-shadow: var(--shadow);
}

.reference-feature-media {
  margin: 0;
}

.reference-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.reference-feature-media figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(216, 198, 138, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.reference-feature-content {
  padding: clamp(24px, 4vw, 34px);
  color: var(--muted);
}

.reference-feature-content h3 {
  color: var(--cream);
}

.reference-feature-content p:last-of-type {
  margin-bottom: 18px;
}

.reference-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.reference-points li::marker {
  color: var(--gold-strong);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar {
  padding: 28px;
  background: linear-gradient(180deg, rgba(216, 198, 138, 0.08), rgba(216, 198, 138, 0.02));
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #15120a;
  background: var(--gold);
  font-weight: 900;
  margin-bottom: 20px;
}

.pillar p {
  color: var(--muted);
  margin-bottom: 0;
}

.plantel-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--cream);
  padding: 13px 16px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 198, 138, 0.12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.card-chip {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 900;
  line-height: 1;
}

.chip {
  cursor: pointer;
}

.chip.active,
.chip:hover,
.chip:focus-visible {
  background: var(--gold);
  color: #15120a;
  border-color: var(--gold);
  outline: none;
}

.card-chip {
  font-size: 0.78rem;
  padding: 8px 10px;
}

.card-chip.sex-macho {
  color: #dce7ff;
  border-color: rgba(190, 207, 255, 0.24);
  background: rgba(96, 132, 236, 0.10);
}

.card-chip.sex-femea {
  color: #ffe3f1;
  border-color: rgba(255, 196, 225, 0.24);
  background: rgba(231, 112, 170, 0.10);
}

.card-chip.note {
  color: #ffe0b8;
  border-color: rgba(255, 183, 83, 0.30);
  background: rgba(255, 146, 49, 0.10);
}

.plantel-count {
  color: var(--muted);
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}

.bird-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bird-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(216, 198, 138, 0.05), rgba(255, 255, 255, 0.018));
}

.bird-card-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(216, 198, 138, 0.14);
}

.bird-card h3 {
  margin-bottom: 12px;
  min-height: 2.2em;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.media-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 176px;
  overflow: hidden;
  border: 1px dashed rgba(216, 198, 138, 0.34);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(216, 198, 138, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.22);
}

.media-slot img,
.media-slot video,
.media-slot iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.slot-placeholder {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  padding: 16px;
}

.slot-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-strong);
  font-size: 1.2rem;
}

.slot-placeholder strong {
  color: var(--cream);
  line-height: 1.2;
}

.slot-placeholder small {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.74rem;
  color: rgba(247, 241, 220, 0.58);
}

.bird-details {
  display: grid;
  gap: 10px;
  padding: 0 22px 22px;
  margin: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 198, 138, 0.10);
}

.detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-row dt {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-row dd {
  margin: 0;
  color: var(--muted);
}



.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(216, 198, 138, 0.08), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 10px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(216, 198, 138, 0.14), rgba(255, 255, 255, 0.03));
  outline: none;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #15120a;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-label {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-card strong {
  color: var(--cream);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  overflow-wrap: anywhere;
}

.contact-card small {
  color: var(--muted);
  font-weight: 800;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
}

.footer-contact-links a {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-contact-links a:hover,
.footer-contact-links a:focus-visible {
  color: var(--cream);
  outline: none;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 1px;
  padding: 13px 16px;
  border-radius: 999px;
  color: #15120a;
  background: linear-gradient(135deg, var(--gold), #fff0b2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-weight: 900;
}

.whatsapp-float span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.whatsapp-float strong {
  font-size: 0.92rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.site-footer {
  border-top: 1px solid rgba(216, 198, 138, 0.18);
  background: #020201;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 88px;
  height: auto;
}

.footer-inner p {
  margin: 2px 0 0;
  color: var(--muted);
}

.back-top {
  margin-left: auto;
  color: var(--gold);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading {
    position: static;
  }

  .reference-grid,
  .pillars,
  .bird-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-feature {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .plantel-tools {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .plantel-count {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand,
  .brand-logo {
    width: 142px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(8, 7, 4, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-radius: 14px;
  }

  .reference-grid,
  .pillars,
  .bird-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .reference-feature-media img {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    left: 18px;
    right: 18px;
    justify-items: center;
  }

  .back-top {
    margin-left: 0;
  }
}
