/* Home-specific overrides */

    /* Fade-in from intro transition */
    body { animation: pageIn 0.6s ease forwards; }

    @keyframes pageIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* ── Hero home ──────────────────────────────────────── */
    .home-hero {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 620px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px clamp(1.5rem, 5vw, 4rem) 0;
    }

    .home-hero-media {
      position: absolute;
      inset: 0;
    }

    .home-hero-media video {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* Fallback gradient when no video */
    .home-hero-media .hero-fallback {
      width: 100%; height: 100%;
      background:
        linear-gradient(135deg, rgba(14,12,10,0.6) 0%, rgba(28,24,16,0.5) 40%, rgba(10,9,8,0.6) 100%),
        url('/img/site/hero-poster.jpg') center/cover no-repeat;
    }

    .home-hero-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to bottom, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.35) 50%, rgba(8,8,8,0.65) 100%);
      z-index: 1;
    }

    .home-hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      width: 100%;
    }

    .home-hero-content .label { margin-bottom: 1.5rem; }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3.5rem, 8vw, 8.5rem);
      font-weight: 300;
      line-height: 0.95;
      letter-spacing: -0.02em;
      color: #ffffff;
      margin-bottom: 1.5rem;
    }

    .hero-title .line { display: block; overflow: hidden; }
    .hero-title .line-inner {
      display: block;
      animation: slideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-title .line:nth-child(2) .line-inner { animation-delay: 0.12s; }
    .hero-title .line:nth-child(3) .line-inner { animation-delay: 0.22s; }

    .hero-title em { font-style: italic; color: #d4b07a; }

    @keyframes slideUp {
      from { transform: translateY(110%); }
      to   { transform: translateY(0); }
    }

    .hero-claim {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(0.8rem, 1.2vw, 0.95rem);
      font-weight: 300;
      letter-spacing: 0.08em;
      color: rgba(245,242,238,0.65);
      max-width: 460px;
      margin: 0 auto 2.5rem;
      line-height: 1.9;
      opacity: 0;
      animation: fadeIn 1s ease 0.7s forwards;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeIn 1s ease 0.9s forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Scroll indicator */
    .hero-scroll {
      position: absolute;
      bottom: clamp(2rem, 4vh, 3rem);
      right: clamp(1.5rem, 5vw, 4rem);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      opacity: 0;
      animation: fadeIn 1s ease 1.5s forwards;
    }

    .hero-scroll-text {
      font-size: 0.58rem;
      font-weight: 400;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(245,242,238,0.3);
      writing-mode: vertical-rl;
    }

    .hero-scroll-bar {
      width: 1px; height: 50px;
      background: linear-gradient(to bottom, rgba(184,147,86,0.7), transparent);
      animation: scrollBar 2.2s ease-in-out infinite 2s;
    }

    @keyframes scrollBar {
      0%, 100% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
      50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    }

    /* ── Section: Concepto ──────────────────────────────── */
    .concepto-section {
      padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 4rem);
      background: #0a0908;
    }

    .concepto-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.8fr;
      gap: clamp(3rem, 6vw, 7rem);
      align-items: center;
    }

    .concepto-left .label { margin-bottom: 1.5rem; }
    .concepto-left .display-md { color: #f5f2ee; margin-bottom: 1.5rem; }
    .concepto-left .divider { margin: 0 0 1.5rem; }

    .concepto-right .body-text {
      font-size: clamp(1rem, 1.4vw, 1.15rem);
      line-height: 2;
      font-style: italic;
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      color: rgba(245,242,238,0.7);
    }

    /* ── Section: Espacios preview ──────────────────────── */
    .espacios-grid-home {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr;
      grid-template-rows: 370px 370px;
      gap: 1.5px;
    }

    .espacio-home-card {
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .espacio-home-card:first-child {
      grid-row: 1 / 3;
    }

    .espacio-home-card-img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(0.75);
      transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s;
    }

    .espacio-home-card:hover .espacio-home-card-img {
      transform: scale(1.06);
      filter: brightness(0.9);
    }

    .espacio-home-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 50%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.5rem;
    }

    .espacio-home-card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.2rem, 2vw, 1.8rem);
      font-weight: 400;
      color: #ffffff;
      margin-bottom: 0.25rem;
    }

    .espacio-home-card-cap {
      font-size: 0.62rem;
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(212,176,122,0.8);
    }

    /* ── Section: Gastronomía teaser ────────────────────── */
    .gastro-teaser {
      padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 4rem);
      background: #f5f2ee;
    }

    .gastro-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: clamp(3rem, 6vw, 6rem);
      align-items: center;
    }

    .gastro-image-wrap {
      position: relative;
      overflow: hidden;
    }

    .gastro-image-wrap img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
    }

    .gastro-image-accent {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      width: 120px; height: 120px;
      border: 1px solid rgba(138, 109, 63, 0.35);
      pointer-events: none;
    }

    .gastro-text .label { margin-bottom: 1.5rem; color: #8a6d3f; }
    .gastro-text .display-md { color: #0a0908; margin-bottom: 1rem; }
    .gastro-text .divider { margin: 1.5rem 0; background: #8a6d3f; }
    .gastro-text .body-text { margin-bottom: 2rem; color: rgba(0,0,0,0.65); }

    /* ── Section: Cifras ────────────────────────────────── */
    .cifras-section {
      background: #080808;
      padding: clamp(4rem, 7vh, 6rem) clamp(1.5rem, 5vw, 4rem);
    }

    /* ── Section: Eventos / Bodas split ─────────────────── */
    .split-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 70vh;
    }

    .split-panel {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      padding: clamp(2.5rem, 5vw, 4rem);
      cursor: pointer;
    }

    .split-panel-bg {
      position: absolute;
      inset: 0;
    }

    .split-panel-bg img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(0.55);
      transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s;
    }

    .split-panel:hover .split-panel-bg img {
      transform: scale(1.04);
      filter: brightness(0.7);
    }

    .split-panel-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.15) 60%);
    }

    .split-panel-content {
      position: relative;
      z-index: 1;
    }

    .split-panel-content .label { margin-bottom: 1rem; }
    .split-panel-content .display-md { color: #fff; margin-bottom: 1rem; }
    .split-panel-content .body-text { margin-bottom: 1.5rem; max-width: 320px; }

    /* ── Section: Productos teaser ──────────────────────── */
    .productos-teaser {
      padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 4rem);
      background: #0e0c0a;
    }

    .productos-header {
      max-width: 1400px;
      margin: 0 auto 3rem;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }

    .productos-grid-home {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5px;
    }

    .producto-home-item {
      position: relative;
      overflow: hidden;
      aspect-ratio: 3/4;
      cursor: pointer;
    }

    .producto-home-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(0.65);
      transition: transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.8s;
    }

    .producto-home-item:hover img {
      transform: scale(1.06);
      filter: brightness(0.85);
    }

    .producto-home-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 55%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.25rem;
    }

    .producto-home-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1rem, 1.5vw, 1.4rem);
      font-weight: 400;
      color: #fff;
    }

    /* ── Responsive tweaks ──────────────────────────────── */
    @media (max-width: 1000px) {
      .concepto-inner { grid-template-columns: 1fr; }
      .gastro-inner { grid-template-columns: 1fr; }
      .espacios-grid-home { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 280px); }
      .espacios-grid-home .espacio-home-card:first-child { grid-row: auto; }
      .productos-grid-home { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 700px) {
      .split-section { grid-template-columns: 1fr; min-height: auto; }
      .split-panel { min-height: 50vh; }
      .espacios-grid-home { grid-template-columns: 1fr; grid-template-rows: repeat(5, 260px); }
      .productos-grid-home { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
      .productos-grid-home { grid-template-columns: 1fr 1fr; }
    }
