:root {
  --black: #0a0a0a;
  --wood: #2b1a0e;
  --amber: #c89b5a;
  --paper: #f5f1eb;
  --forest: #1a2e1a;
  --ink: #17120d;
  --muted: rgba(23, 18, 13, 0.68);
  --line: rgba(200, 155, 90, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fbf8f1;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, video { max-width: 100%; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.site-header {
  align-items: center;
  background: rgba(8, 8, 7, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.brand img {
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  height: 54px;
  object-fit: contain;
  padding: 7px 12px;
  width: 190px;
}
.brand span {
  display: none;
}
.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.nav a {
  color: rgba(255,255,255,.82);
  transition: color .2s ease;
}
.nav a:hover { color: var(--amber); }
.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  width: 42px;
}
.menu-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 25px;
}

.hero {
  align-items: center;
  background: #0a0a0a url("assets/manejo-area-aerea.jpg") center / cover no-repeat;
  color: #fff;
  display: grid;
  min-height: 96vh;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 84px) 88px;
  position: relative;
}
.hero-video, .hero-overlay {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.hero-video {
  animation: kenburns 18s ease-in-out infinite alternate;
  background: #0a0a0a url("assets/manejo-area-aerea.jpg") center / cover no-repeat;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,6,.92), rgba(7,7,6,.62) 48%, rgba(7,7,6,.28)),
    linear-gradient(0deg, rgba(7,7,6,.74), transparent 44%),
    rgba(7,7,6,.16);
}
.hero-content {
  max-width: 930px;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.eyebrow, .section-kicker {
  color: var(--amber);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 7.4vw, 106px);
  line-height: .94;
  max-width: 960px;
  overflow-wrap: break-word;
}
h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
}
h3 {
  font-size: 27px;
  line-height: 1.08;
}
.hero p {
  color: rgba(255,255,255,.86);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  max-width: 760px;
  overflow-wrap: break-word;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 860px;
}
.hero-proof span {
  background: rgba(200,155,90,.16);
  border: 1px solid rgba(200,155,90,.36);
  border-radius: 8px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 12px;
  text-transform: uppercase;
}
.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-align: center;
  overflow-wrap: anywhere;
}
.btn.primary {
  background: var(--amber);
  color: #15100b;
  box-shadow: 0 18px 48px rgba(200,155,90,.28);
}
.btn.ghost {
  border: 1px solid rgba(255,255,255,.52);
  color: #fff;
}
.floating-seals {
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  z-index: 2;
}
.floating-seals span {
  background: rgba(245,241,235,.10);
  border: 1px solid rgba(245,241,235,.22);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 11px 14px;
}

.section { padding: clamp(76px, 9vw, 132px) clamp(18px, 6vw, 80px); }
.section-heading {
  margin: 0 auto 54px;
  max-width: 960px;
  text-align: center;
}
.section-heading p, .manifesto-copy p, .mapping-copy p, .structure-copy p, .final-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.section-heading.light h2, .section-heading.light p { color: #fff; }

.manifesto {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(245,241,235,.9)),
    url("assets/maenjo2.jpg") center / cover;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
}
.number-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.number-card {
  background: #fff;
  border: 1px solid rgba(43,26,14,.07);
  border-radius: 8px;
  box-shadow: 0 18px 58px rgba(43,26,14,.07);
  padding: 26px;
}
.number-card strong {
  color: var(--wood);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: .95;
}
.number-card span {
  color: rgba(23,18,13,.62);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 10px;
  text-transform: uppercase;
}

.cycle, .proof, .faq, .gallery-section { background: #fffaf3; }
.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.timeline-card, .product-card, .legal-grid article, .faq-grid article, .market-grid div, .wholesale-panel, .buying-steps article, .official-card {
  border-radius: 8px;
  overflow: hidden;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 72px rgba(43,26,14,.07);
}
.timeline-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}
.timeline-card div { padding: 22px; }
.timeline-card span { color: var(--amber); font-weight: 900; }
.timeline-card p, .product-card p, .legal-grid p, .faq-grid p, .market-grid span, .wholesale-panel p, .wholesale-panel li, .line-grid p {
  color: rgba(23,18,13,.68);
  line-height: 1.65;
}

.mapping {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10,10,10,.72), rgba(26,46,26,.92)),
    url("assets/manejo-base-operacional.jpg") center / cover;
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: .8fr 1.2fr;
}
.mapping-copy p { color: rgba(245,241,235,.76); }
.mapping-media {
  display: grid;
  gap: 14px;
}
.mapping-video {
  background: #050505;
  border: 1px solid rgba(245,241,235,.18);
  border-radius: 8px;
  box-shadow: 0 24px 78px rgba(0,0,0,.28);
  display: block;
  width: 100%;
}
.map-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.map-gallery button, .gallery button {
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.map-gallery button { aspect-ratio: 16 / 10; }
.map-gallery img, .gallery img {
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  width: 100%;
}
.map-gallery button:hover img, .gallery button:hover img { transform: scale(1.04); }

.products { background: var(--black); color: #fff; }
.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-card {
  background: linear-gradient(180deg, #17130f, #100e0b);
  border: 1px solid rgba(200,155,90,.18);
  transition: border-color .25s ease, transform .25s ease;
}
.product-card:hover { border-color: var(--amber); transform: translateY(-6px); }
.product-card.featured { border-color: rgba(200,155,90,.7); }
.wood-texture { height: 150px; position: relative; }
.wood-texture::after {
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 11px);
  content: "";
  inset: 0;
  opacity: .34;
  position: absolute;
}
.product-info { padding: 22px; }
.product-info small {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}
.product-info em {
  color: rgba(245,241,235,.58);
  display: block;
  margin: 8px 0 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  background: rgba(200,155,90,.14);
  border-radius: 999px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}
.product-info a {
  color: var(--amber);
  display: inline-block;
  font-weight: 900;
  margin-top: 12px;
}
.product-meta {
  border-top: 1px solid rgba(245,241,235,.12);
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
}
.product-meta div {
  display: grid;
  gap: 4px;
}
.product-meta dt {
  color: rgba(245,241,235,.54);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-meta dd {
  color: rgba(245,241,235,.78);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
.catalog-lines {
  border-top: 1px solid rgba(245,241,235,.14);
  margin-top: 48px;
  padding-top: 44px;
}
.catalog-subhead {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: .9fr 1fr;
  margin-bottom: 22px;
}
.catalog-subhead h3 {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 48px);
}
.catalog-subhead p {
  color: rgba(245,241,235,.68);
  line-height: 1.65;
  margin: 0;
}
.line-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.line-grid article {
  background: rgba(245,241,235,.07);
  border: 1px solid rgba(245,241,235,.12);
  border-radius: 8px;
  padding: 22px;
}
.line-grid h4 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 10px;
}
.line-grid p {
  color: rgba(245,241,235,.7);
  font-size: 14px;
  margin: 0;
}
.line-grid a {
  color: var(--amber);
  display: inline-block;
  font-weight: 900;
  margin-top: 14px;
}

.wholesale { background: linear-gradient(135deg, #f5f1eb, #fffaf3); }
.wholesale-panel {
  background: #fff;
  border: 1px solid rgba(200,155,90,.22);
  box-shadow: 0 24px 78px rgba(43,26,14,.09);
  margin: 0 auto;
  max-width: 1100px;
  padding: clamp(28px, 5vw, 58px);
}
.wholesale-panel ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0 0;
  padding-left: 18px;
}

.buying {
  background:
    linear-gradient(180deg, rgba(255,250,243,.96), rgba(245,241,235,.98)),
    url("assets/mapa-manejo-calor.jpg") center / cover;
}
.buying-steps {
  counter-reset: buying;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.buying-steps article {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(43,26,14,.08);
  box-shadow: 0 22px 70px rgba(43,26,14,.08);
  min-height: 275px;
  padding: 28px;
  position: relative;
}
.buying-steps article::before {
  background: linear-gradient(180deg, var(--amber), rgba(200,155,90,.2));
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}
.buying-steps span {
  color: var(--amber);
  display: block;
  font-weight: 950;
  margin-bottom: 42px;
}
.buying-steps h3 {
  color: var(--wood);
  font-size: 25px;
}
.buying-steps p {
  color: rgba(23,18,13,.68);
  line-height: 1.65;
}

.legality {
  background: var(--forest);
  color: var(--paper);
}
.legality h2 { color: var(--paper); }
.legality .section-heading p { color: rgba(245,241,235,.74); }
.legal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.legal-grid article {
  background: rgba(245,241,235,.08);
  border: 1px solid rgba(245,241,235,.13);
  padding: 30px;
}
.legal-grid span {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}
.legal-grid p, .license { color: rgba(245,241,235,.72); }
.license {
  border-top: 1px solid rgba(245,241,235,.14);
  font-weight: 800;
  margin: 40px 0 0;
  padding-top: 24px;
  text-align: center;
}

.official-file {
  align-items: center;
  background: #fffaf3;
  display: grid;
  gap: 46px;
  grid-template-columns: .82fr 1.18fr;
}
.official-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.official-card {
  background: #fff;
  border: 1px solid rgba(200,155,90,.22);
  box-shadow: 0 26px 82px rgba(43,26,14,.1);
  padding: clamp(24px, 4vw, 42px);
}
.official-card img {
  background: #fff;
  border: 1px solid rgba(43,26,14,.08);
  border-radius: 8px;
  display: block;
  margin-bottom: 24px;
  max-width: 360px;
  padding: 12px 18px;
  width: 100%;
}
.official-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
}
.official-card div {
  border-top: 1px solid rgba(43,26,14,.09);
  display: grid;
  gap: 14px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 15px 0;
}
.official-card dt {
  color: rgba(23,18,13,.56);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.official-card dd {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.55;
  margin: 0;
}

.structure {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: .75fr 1.25fr;
}
.structure-media video {
  background: #000;
  border: 1px solid rgba(43,26,14,.1);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(43,26,14,.18);
  display: block;
  width: 100%;
}
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery button {
  background: #110e0a;
  min-height: 240px;
}
.gallery .wide {
  grid-column: span 2;
  grid-row: span 2;
}

.market { background: #fff; }
.market-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.market-grid div {
  background: var(--wood);
  color: #fff;
  min-height: 210px;
  padding: 30px;
}
.market-grid strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .96;
}
.market-grid span {
  color: rgba(245,241,235,.78);
  display: block;
  margin-top: 20px;
}

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.faq-grid article {
  background: #fff;
  border: 1px solid rgba(200,155,90,.2);
  box-shadow: 0 18px 56px rgba(43,26,14,.08);
  padding: 28px;
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(10,10,10,.92), rgba(10,10,10,.66)),
    url("assets/toras-amagos-fundo.jpg") center / cover;
  color: #fff;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr .85fr;
  padding: clamp(76px, 9vw, 132px) clamp(18px, 6vw, 80px);
}
.final-copy p { color: rgba(245,241,235,.78); font-size: 20px; }
.quote-form {
  background: rgba(245,241,235,.09);
  border: 1px solid rgba(245,241,235,.17);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 24px;
}
.quote-form input {
  background: rgba(255,255,255,.94);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  min-height: 52px;
  padding: 0 14px;
  width: 100%;
}

.location-section {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(10,10,10,.92), rgba(10,10,10,.78)),
    url("assets/toras-amagos-fundo.jpg") center / cover;
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: .72fr 1.28fr;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 80px);
}
.location-copy h2 {
  color: #fff;
  font-size: clamp(34px, 4.8vw, 62px);
}
.location-copy p {
  color: rgba(245,241,235,.76);
  font-size: 18px;
  line-height: 1.7;
}
.location-copy address {
  border-top: 1px solid rgba(245,241,235,.18);
  color: rgba(245,241,235,.9);
  font-style: normal;
  font-weight: 850;
  line-height: 1.55;
  margin-top: 24px;
  padding-top: 22px;
}
.map-frame {
  background: rgba(245,241,235,.09);
  border: 1px solid rgba(245,241,235,.18);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
  overflow: hidden;
}
.map-frame iframe {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  min-height: 380px;
  width: 100%;
}
.map-link {
  background: rgba(10,10,10,.84);
  border-top: 1px solid rgba(245,241,235,.18);
  color: var(--amber);
  display: block;
  font-weight: 950;
  padding: 16px 18px;
  text-align: center;
}

footer {
  background: var(--black);
  border-top: 1px solid rgba(245,241,235,.12);
  color: rgba(245,241,235,.7);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 34px clamp(18px, 6vw, 80px);
}
footer strong { color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.footer-links a { color: var(--amber); font-weight: 900; }
.whatsapp-float {
  align-items: center;
  animation: pulse 1.8s infinite;
  background: var(--amber);
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 0 0 0 rgba(200,155,90,.6);
  color: #111;
  display: flex;
  font-weight: 950;
  height: 62px;
  justify-content: center;
  position: fixed;
  right: 22px;
  width: 62px;
  z-index: 25;
}
.lightbox {
  align-items: center;
  background: rgba(0,0,0,.88);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 60;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  border-radius: 8px;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox button {
  background: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 16px;
  position: absolute;
  right: 24px;
  top: 24px;
}

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 18px rgba(200,155,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,155,90,0); }
}

@media (max-width: 1080px) {
  .manifesto, .mapping, .structure, .official-file, .final-cta, .location-section { grid-template-columns: 1fr; }
  .timeline, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-grid, .market-grid, .faq-grid { grid-template-columns: 1fr; }
  .buying-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { padding: 12px 18px; }
  .brand img {
    height: 46px;
    width: 154px;
  }
  .menu-toggle { display: block; }
  .nav {
    background: rgba(10,10,10,.96);
    border-top: 1px solid rgba(255,255,255,.1);
    display: grid;
    left: 0;
    opacity: 0;
    padding: 12px 18px 22px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 68px;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { padding: 14px 0; }
  .hero { min-height: 94vh; padding: 104px 18px 84px; }
  .hero-content, .hero p, h1 { max-width: 100%; }
  .eyebrow { font-size: 11px; line-height: 1.35; max-width: 100%; }
  h1 { font-size: clamp(34px, 9.4vw, 43px); line-height: 1.03; max-width: 330px; }
  .hero p { font-size: 16px; max-width: 335px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof span { width: 100%; }
  .floating-seals {
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 18px;
    right: 18px;
  }
  .floating-seals span {
    padding: 10px 8px;
    text-align: center;
  }
  .catalog-subhead { grid-template-columns: 1fr; }
  .number-grid, .timeline, .product-grid, .line-grid, .map-gallery, .gallery, .wholesale-panel ul, .buying-steps { grid-template-columns: 1fr; }
  .buying-steps article { min-height: auto; }
  .official-card div { grid-template-columns: 1fr; }
  .map-frame iframe { min-height: 320px; }
  .map-gallery button:first-child, .gallery .wide { grid-column: span 1; grid-row: span 1; }
  footer { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 20px; }
}
