:root {
      --g900: #0f2318;
      --g800: #1a3a28;
      --g700: #1f4d32;
      --g600: #2d6642;
      --g500: #3a7d52;
      --g400: #5a9e72;
      --g200: #b4d4be;
      --g100: #e4f0e8;
      --g050: #f4f9f5;
      --gray50: #f7f7f6;
      --gray100: #efefed;
      --gray200: #dedcda;
      --gray400: #a0a09e;
      --gray600: #5c5c5a;
      --gray800: #2a2a28;
      --black: #111110;
      --font-display: 'Playfair Display', serif;
      --font-body: 'Jost', sans-serif;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --ease-out: cubic-bezier(0, 0, 0.2, 1);
    }
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--white);
      color: var(--black);
      font-family: var(--font-body);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }

    /* CURSOR */
    .cursor {
      width: 8px; height: 8px;
      background: var(--g600);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
    }
    .cursor.grow { width: 40px; height: 40px; background: rgba(42,102,66,0.15); }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 500;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.4rem 5vw;
      background: rgba(255,255,255,0.97);
      box-shadow: 0 1px 0 var(--gray200);
      transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
    }
    nav.scrolled {
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--gray200);
      padding: 0.85rem 5vw;
    }
    .nav-logo img { height: 42px; width: auto; filter: brightness(0) invert(1);}
    .nav-logo-text {
      font-family: var(--font-display);
      font-size: 1.3rem;
      font-weight: 500;
      color: var(--white);
      letter-spacing: 0.04em;
    }
    nav.scrolled .nav-logo-text { color: var(--g800); }
    .nav-links { display: flex; gap: 3rem; list-style: none; }
    .nav-links a {
      font-size: 0.76rem;
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.85);
      transition: color 0.25s;
      position: relative;
    }
    nav.scrolled .nav-links a { color: var(--gray600); }
    .nav-links a::after {
      content: '';
      position: absolute; bottom: -4px; left: 0;
      width: 0; height: 1px;
      background: var(--g500);
      transition: width 0.3s var(--ease);
    }
    .nav-links a:hover { color: var(--g400); }
    nav.scrolled .nav-links a:hover { color: var(--g600); }
    .nav-links a:hover::after { width: 100%; }

    /* HERO */
    #inicio {
      height: 100vh; min-height: 620px;
      position: relative;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background: var(--g900);
      /* ✏️ REEMPLAZAR: background: url('tu-sala.jpg') center/cover no-repeat; */
    }
    .hero-bg::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 55% at 70% 35%, rgba(58,125,82,0.2) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 15% 85%, rgba(15,35,24,0.7) 0%, transparent 60%);
    }
    /* Líneas decorativas verticales (reemplazadas por foto) */
    .hero-lines {
      position: absolute; inset: 0;
      display: flex; align-items: stretch;
      pointer-events: none;
    }
    .hero-lines span {
      flex: 1;
      border-right: 1px solid rgba(255,255,255,0.03);
    }
    /* Frase central mientras no hay foto */
    .hero-no-img {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      pointer-events: none;
    }
    .hero-no-img svg { width: 90px; opacity: 0.05; }

    .hero-overlay {
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 70%;
      background: linear-gradient(to top, rgba(8,18,12,0.92) 0%, transparent 100%);
    }
    .hero-content {
      position: relative; z-index: 2;
      padding: 0 8vw 7vh;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: flex-end;
      gap: 2rem;
    }
    .hero-eyebrow {
      font-size: 0.7rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--g400);
      margin-bottom: 1.2rem;
      display: flex; align-items: center; gap: 0.8rem;
    }
    .hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--g400); }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(2.8rem, 6vw, 6.2rem);
      font-weight: 400;
      line-height: 1.04;
      color: #ffffff;
      -webkit-text-stroke: 0.2px black;
    }
    .hero-title em { font-style: italic; color: var(--g400); }
    .hero-sub {
      font-size: 0.92rem;
      color: rgba(255,255,255,0.5);
      margin-top: 1.2rem;
      max-width: 420px;
      line-height: 1.85;
    }
    .hero-right {
      display: flex; flex-direction: column;
      align-items: flex-end; gap: 1.8rem;
    }
    .hero-badge {
      text-align: center;
      border: 1px solid rgba(90,158,114,0.3);
      padding: 1.2rem 1.6rem;
    }
    .hero-badge-num {
      font-family: var(--font-display);
      font-size: 3.2rem;
      font-weight: 700;
      color: var(--g400);
      line-height: 1;
    }
    .hero-badge-txt {
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-top: 0.3rem;
    }
    .btn-outline {
      display: inline-flex; align-items: center; gap: 0.8rem;
      padding: 0.9rem 2rem;
      border: 1px solid var(--g500);
      background: var(--g600);
      color: var(--white);
      font-family: var(--font-body);
      font-size: 0.74rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: background 0.3s, border-color 0.3s;
      white-space: nowrap;
    }
    .btn-outline:hover { background: var(--g600); border-color: var(--g600); }
    .btn-outline svg { width: 14px; stroke: currentColor; fill: none; transition: transform 0.3s; }
    .btn-outline:hover svg { transform: translateX(4px); }
    .scroll-hint {
      position: absolute; bottom: 2.2rem; left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
      animation: pulse-down 2s infinite;
    }
    .scroll-hint span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.25); }
    .scroll-hint svg { width: 16px; stroke: rgba(255,255,255,0.25); fill: none; }
    @keyframes pulse-down {
      0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
      50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
    }

    /* STRIP */
    .strip {
      background: var(--g800);
      padding: 1.6rem 5vw;
      display: flex; align-items: center; justify-content: center;
      gap: 3.5rem; flex-wrap: wrap;
    }
    .strip-item { display: flex; align-items: center; gap: 1rem; }
    .strip-item strong {
      font-family: var(--font-display);
      font-size: 1.7rem;
      color: var(--white);
    }
    .strip-item span {
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--g400);
      line-height: 1.5;
    }
    .strip-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.1); }

    /* ACERCA */
    #acerca {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 90vh;
    }
    .about-img-side {
      position: relative; overflow: hidden;
      background: var(--g100);
    }
    .about-img-side::after {
      content: '';
      position: absolute; top: 8%; right: 0;
      width: 3px; height: 84%;
      background: linear-gradient(to bottom, transparent, var(--g500), transparent);
    }
    .about-ph {
      width: 100%; height: 100%; min-height: 500px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 1rem;
      background: linear-gradient(145deg, var(--g050), var(--g100));
      color: var(--g400); font-size: 0.72rem;
      letter-spacing: 0.12em; text-transform: uppercase;
    }
    .about-ph svg { width: 44px; opacity: 0.35; }
    .about-txt {
      padding: 8vw 6vw;
      display: flex; flex-direction: column; justify-content: center;
    }
    .section-tag {
      display: inline-flex; align-items: center; gap: 0.6rem;
      font-size: 0.68rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--g600);
      margin-bottom: 1.4rem;
    }
    .section-tag::before { content: ''; width: 22px; height: 1px; background: var(--g600); }
    .section-h {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.2vw, 3.4rem);
      font-weight: 400;
      line-height: 1.12;
      margin-bottom: 1.6rem;
    }
    .section-h em { font-style: italic; color: var(--g700); }
    .green-rule { width: 36px; height: 2px; background: var(--g500); margin-bottom: 1.8rem; }
    .about-txt p { color: var(--gray600); font-size: 0.96rem; line-height: 1.85; margin-bottom: 1rem; }
    .stats-row {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 1.5rem;
      margin-top: 2.4rem;
      padding-top: 2rem;
      border-top: 1px solid var(--gray100);
    }
    .stat-n { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; color: var(--g700); line-height: 1; }
    .stat-l { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray400); margin-top: 0.3rem; }

    /* CATÁLOGO */
    #catalogo { background: var(--gray50); padding: 7rem 5vw; }
    .cat-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 4rem; gap: 2rem; flex-wrap: wrap;
    }
    .cat-head p { color: var(--gray600); font-size: 0.94rem; margin-top: 0.8rem; max-width: 400px; line-height: 1.8; }
    .cat-grid {
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 3px;
    }
    .pcard {
      position: relative; overflow: hidden;
      background: var(--gray200);
    }
    .pcard:first-child { grid-row: span 2; }
    .pcard-ph {
      width: 100%; min-height: 250px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 0.8rem;
      background: linear-gradient(135deg, var(--gray100), var(--gray200));
      color: var(--gray400); font-size: 0.7rem;
      letter-spacing: 0.1em; text-transform: uppercase;
      transition: transform 0.7s var(--ease);
    }
    .pcard:first-child .pcard-ph { min-height: 524px; }
    .pcard:hover .pcard-ph { transform: scale(1.04); }
    .pcard-ph svg { width: 34px; opacity: 0.3; }
    .pcard-info {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 2.4rem 1.6rem 1.6rem;
      background: linear-gradient(to top, rgba(8,18,12,0.85) 0%, transparent 100%);
      transform: translateY(6px);
      transition: transform 0.35s var(--ease);
    }
    .pcard:hover .pcard-info { transform: none; }
    .pcard-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); font-weight: 400; }
    .pcard-sub { font-size: 0.73rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }
    .pcard-badge {
      display: inline-block; margin-top: 0.6rem;
      padding: 0.2rem 0.7rem;
      background: var(--g600); color: var(--white);
      font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
    }

    /* BANNER */
    .green-band {
      background: var(--g800);
      padding: 5rem 8vw;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }
    .band-quote {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 2.4vw, 2.5rem);
      font-weight: 400;
      font-style: italic;
      color: white;
      line-height: 1.35;
      padding-left: 1.6rem;
      border-left: 3px solid var(--g400);
    }
    .band-vals { display: flex; flex-direction: column; gap: 1.6rem; }
    .bval { display: flex; gap: 1.2rem; align-items: flex-start; }
    .bval-icon {
      width: 38px; height: 38px; flex-shrink: 0;
      border: 1px solid rgba(90,158,114,0.3);
      display: flex; align-items: center; justify-content: center;
    }
    .bval-icon svg { width: 16px; stroke: var(--g400); fill: none; }
    .bval strong { display: block; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.2rem; }
    .bval span { font-size: 0.84rem; color: var(--g200); }

    /* CONTACTO */
    #contacto { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
    .contact-l {
      padding: 7rem 6vw;
      background: var(--white);
      display: flex; flex-direction: column; justify-content: center;
    }
    .contact-l > p { color: var(--gray600); font-size: 0.95rem; margin: 1rem 0 3rem; max-width: 360px; line-height: 1.85; }
    .clist { display: flex; flex-direction: column; gap: 2rem; }
    .crow { display: flex; gap: 1.2rem; align-items: flex-start; }
    .cicon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: var(--g050); border: 1px solid var(--g100);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.25s;
    }
    .crow:hover .cicon { background: var(--g100); }
    .cicon svg { width: 18px; stroke: var(--g600); fill: none; }
    .cdet strong { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--g600); margin-bottom: 0.25rem; }
    .cdet span { font-size: 0.94rem; color: var(--gray800); }
    .contact-r {
      background: var(--g900);
      position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .map-ph2 {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 1rem;
      color: rgba(255,255,255,0.15);
      font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
      text-align: center; padding: 3rem;
    }
    .map-ph2 svg { width: 44px; opacity: 0.15; }
    .map-ph2 small { font-size: 0.64rem; color: rgba(255,255,255,0.08); margin-top: 0.4rem; display: block; }
    .contact-r::before {
      content: ''; position: absolute; top: 12%; right: 12%;
      width: 160px; height: 160px; border-radius: 50%;
      border: 1px solid rgba(90,158,114,0.1);
    }
    .contact-r::after {
      content: ''; position: absolute; bottom: 18%; left: 18%;
      width: 90px; height: 90px; border-radius: 50%;
      border: 1px solid rgba(90,158,114,0.07);
    }

    /* FOOTER */
    footer {
      background: var(--black);
      padding: 2.2rem 5vw;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem;
    }
    .foot-logo img { height: 30px; filter: brightness(0) invert(1) opacity(0.6); }
    .foot-logo-txt { font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.4); }
    .foot-copy { font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.18); }

    /* REVEAL */
    .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
    .reveal.d1 { transition-delay: 0.1s; }
    .reveal.d2 { transition-delay: 0.2s; }
    .reveal.d3 { transition-delay: 0.3s; }
    .reveal.visible { opacity: 1; transform: none; }

    /* RESPONSIVE */
    @media (max-width: 960px) {
      #acerca, #contacto { grid-template-columns: 1fr; }
      .about-ph { min-height: 320px; }
      .cat-grid { grid-template-columns: 1fr 1fr; }
      .pcard:first-child { grid-row: span 1; }
      .pcard:first-child .pcard-ph { min-height: 250px; }
      .hero-content { grid-template-columns: 1fr; }
      .hero-right { align-items: flex-start; flex-direction: row; }
      .green-band { grid-template-columns: 1fr; gap: 2.5rem; }
    }
    @media (max-width: 600px) {
      .nav-links { gap: 1.6rem; }
      .nav-links a { font-size: 0.7rem; }
      .cat-grid { grid-template-columns: 1fr; }
      .stats-row { grid-template-columns: 1fr 1fr; }
      .strip { gap: 2rem; justify-content: flex-start; padding: 1.4rem 6vw; }
    }