/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-normal-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-normal-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-italic-400.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Dancing Script';
  src: url('../assets/fonts/dancing-script-normal-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans-normal-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans-normal-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans-normal-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─────────────────────────────────────────
   VARIABLES
───────────────────────────────────────── */
:root {
  --olive-dark:  #4d4328;
  --olive-mid:   #7a6840;
  --olive-light: #8d7f62;
  --black:       #1a1915;
  --white:       #ffffff;

  --bg-photo: url('../assets/images/bg-olive.webp');

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-sans:   'DM Sans', system-ui, sans-serif;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--black); color: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.section { position: relative; width: 100%; min-height: 100vh; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; padding: 1.5rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-nav ul { display: flex; justify-content: center; align-items: center; gap: 3rem; list-style: none; }
.site-nav a {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.2em; color: var(--white);
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.65; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.s-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
}

/* Background video */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

/* Dark overlay on top of video */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(35,28,10,0.68) 0%, rgba(65,52,22,0.42) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 2.5rem; text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(4rem, 9vw, 6.25rem);
  line-height: 1.05; letter-spacing: 0.1em; color: var(--white);
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--white); color: var(--black);
  padding: 0.8rem 2rem; border-radius: 50px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.22em;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-cta:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-icon { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }

/* ─────────────────────────────────────────
   FUNDADORA
───────────────────────────────────────── */
.s-fundadora {
  background: var(--bg-photo) center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem 4rem;
}
.fundadora-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 720px; gap: 0.9rem;
}
.fundadora-heading {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: 0.08em; color: var(--white);
}
.fundadora-script {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--white);
}
.fundadora-portrait {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  margin: 0.5rem auto;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 28px rgba(0,0,0,0.3);
}
.fundadora-role {
  font-family: var(--font-sans); font-weight: 400;
  font-size: 0.9rem; letter-spacing: 0.04em; line-height: 1.7; color: var(--white);
}
.fundadora-role strong { font-weight: 700; }
.fundadora-bio { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.5rem; }
.fundadora-bio p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.85;
  color: rgba(255,255,255,0.92); text-align: left;
}

/* ─────────────────────────────────────────
   BRAND STATEMENT
───────────────────────────────────────── */
.s-brand {
  background: var(--bg-photo) center / cover no-repeat;
  display: grid; grid-template-columns: 48% 52%;
  align-items: center; min-height: 100vh;
}
/* Photo LEFT — flush, no padding, full height */
.brand-deco {
  height: 100vh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}
.deco-candles {
  width: 100%; height: 100%;
  object-fit: contain; object-position: left bottom;
}
/* Text RIGHT */
.brand-text {
  display: flex; flex-direction: column; gap: 1.6rem;
  max-width: 520px; padding: 4rem 5vw 4rem 3rem;
}
.brand-text p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.85; color: rgba(255,255,255,0.95);
}
.brand-script {
  font-family: var(--font-script) !important; font-weight: 400 !important;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important;
  line-height: 1.4 !important; color: var(--white) !important;
}

/* ─────────────────────────────────────────
   SERVICE SECTIONS
───────────────────────────────────────── */
.s-service {
  display: grid;
  grid-template-columns: 43% 57%;
  grid-template-rows: 63vh auto;
  min-height: 100vh;
}
.svc-panel {
  background: linear-gradient(175deg, #5e593c 0%, #4f482c 55%, #1a1915 100%);
  position: relative; display: flex; align-items: flex-end; padding: 2rem 2.5rem;
}
.svc-panel--light {
  background: linear-gradient(175deg, #b0a07a 0%, #8d7f62 50%, #6b5f3a 100%);
}
.svc-watermark {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: 0.04em; color: var(--white); line-height: 1; user-select: none;
}
.svc-photo { background-size: cover; background-position: center; }
.svc-strip {
  grid-column: 1 / -1; background: var(--black);
  display: flex; align-items: center;
  padding: 2rem 3.5rem; gap: 2rem; min-height: 37vh;
}
.svc-strip--reversed { justify-content: space-between; }
.svc-info { flex: 1; }
.svc-info h3 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: 0.07em; line-height: 1.1;
  color: var(--white); margin-bottom: 0.8rem;
}
.svc-info p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.75; color: rgba(255,255,255,0.9); max-width: 500px;
}
.svc-watermark--strip {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.04em; color: var(--white); flex-shrink: 0; user-select: none;
}
.s-service--reversed { grid-template-columns: 57% 43%; }
.s-service--reversed .svc-photo { grid-column: 1; }
.s-service--reversed .svc-panel { grid-column: 2; }

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.s-testimonials { min-height: 70vh; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 70vh;
}
.t-cell {
  position: relative;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.t-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,7,4,0.85) 0%, rgba(8,7,4,0.3) 45%, transparent 100%);
}
.t-review {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.t-name {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--white);
}
.t-quote {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(0.88rem, 1.3vw, 0.96rem);
  line-height: 1.7; color: rgba(255,255,255,0.95);
}
.t-stars { font-size: 0.85rem; letter-spacing: 0.12em; color: var(--white); }

/* ─────────────────────────────────────────
   MÁS DE NUESTROS SERVICIOS
───────────────────────────────────────── */
.s-mas {
  background: var(--bg-photo) center / cover no-repeat;
  display: grid; grid-template-columns: 40% 60%;
  align-items: center; padding: 5rem 5vw; gap: 3rem; min-height: 100vh;
}
.mas-left { display: flex; align-items: center; justify-content: center; }
.mas-card {
  background: var(--black);
  padding: 3.5rem 3rem;
  /* Diagonal parallelogram shape — matches the Canva card */
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 0.4rem;
  padding-left: 4rem; padding-right: 4.5rem;
}
.mas-eyebrow {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.06em; color: var(--white);
}
.mas-script {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white); line-height: 1.2;
}
.mas-right { display: flex; flex-direction: column; gap: 2rem; }
.mas-item { border-left: 2px solid rgba(255,255,255,0.75); padding-left: 1.25rem; }
.mas-item h4 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.5rem;
}
.mas-item p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.75; color: rgba(255,255,255,0.88);
}

/* ─────────────────────────────────────────
   GALLERY + TAGLINE
───────────────────────────────────────── */
.s-gallery { display: flex; flex-direction: column; min-height: 100vh; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  flex: 1;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tagline {
  background: var(--black);
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.5rem 4rem; gap: 2rem; flex-shrink: 0;
}
.tagline-main {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.05em; color: var(--white); white-space: nowrap;
}
.tagline-sub {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  line-height: 1.65; color: rgba(255,255,255,0.8);
}

/* ─────────────────────────────────────────
   AGENDA / CTA
───────────────────────────────────────── */
.s-agenda {
  background: var(--bg-photo) center / cover no-repeat;
  display: flex; align-items: center; min-height: 100vh;
}
.agenda-inner { padding: 7rem 7vw 5rem; max-width: 1100px; width: 100%; }
.agenda-body {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85; color: rgba(255,255,255,0.9);
  max-width: 580px; margin-bottom: 2.5rem;
}
.agenda-headline {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.2; color: var(--white); margin-bottom: 4rem;
}
.agenda-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem; flex-wrap: wrap;
}
.agenda-label {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.22em; color: var(--white); margin-bottom: 0.4rem;
}
.agenda-phone { font-family: var(--font-sans); font-size: 1rem; color: var(--white); }
.agenda-right { text-align: right; }
.agenda-right p {
  font-family: var(--font-sans); font-size: 0.95rem;
  line-height: 1.7; color: rgba(255,255,255,0.88);
}
.agenda-right a { text-decoration: underline; text-underline-offset: 3px; }
.agenda-right a:hover { opacity: 0.8; }

/* ─────────────────────────────────────────
   MOBILE — max 768px
───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .site-nav { padding: 1.2rem 1rem; }
  .site-nav ul { gap: 1.5rem; }
  .site-nav a { font-size: 0.62rem; }

  /* Hero */
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); letter-spacing: 0.06em; }
  .hero-inner { padding: 5rem 1rem 2.5rem; gap: 2rem; }
  .btn-cta { font-size: 0.62rem; padding: 0.75rem 1.5rem; }

  /* Fundadora */
  .s-fundadora { padding: 5rem 1.25rem 3rem; }
  .fundadora-heading { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .fundadora-portrait { width: 140px; height: 140px; }

  /* Brand */
  .s-brand { grid-template-columns: 1fr; min-height: auto; }
  .brand-deco { height: 55vw; }
  .deco-candles { object-position: center bottom; }
  .brand-text { padding: 2rem 1.5rem 3rem; }

  /* Services — stack vertically */
  .s-service,
  .s-service--reversed {
    grid-template-columns: 1fr;
    grid-template-rows: 50vw 50vw auto;
  }
  .s-service--reversed .svc-photo { grid-column: 1; grid-row: 1; }
  .s-service--reversed .svc-panel { grid-column: 1; grid-row: 2; }
  .svc-strip,
  .svc-strip--reversed {
    flex-direction: column; align-items: flex-start;
    padding: 1.75rem 1.5rem; gap: 0.75rem; min-height: auto;
  }
  .svc-watermark--strip { font-size: 2.5rem; align-self: flex-end; }
  .svc-watermark { font-size: 2.8rem; }
  .svc-info h3 { font-size: 1.3rem; }

  /* Testimonials — single column */
  .t-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 50vw);
    height: auto;
  }

  /* Más servicios */
  .s-mas { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; gap: 2.5rem; }
  .mas-card {
    clip-path: none; /* remove diagonal on mobile, keep as rectangle */
    padding: 2.5rem 2rem;
    max-width: 100%;
  }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 35vw); }
  .gallery-tagline { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .tagline-main { white-space: normal; font-size: 1.1rem; }

  /* Agenda */
  .agenda-inner { padding: 5rem 1.5rem 3rem; }
  .agenda-headline { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 2.5rem; }
  .agenda-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .agenda-right { text-align: left; }
}

/* ─────────────────────────────────────────
   MOBILE — max 480px (small phones)
───────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.4rem, 16vw, 3.2rem); }
  .fundadora-heading { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 40vw); }
  .t-grid { grid-template-rows: repeat(3, 60vw); }
}
