/* ==========================================================================
   José Ortiz Beauty Studio — Design tokens
   Source: Figma file "Jose-Ortiz" — Section "style-guide" (node 53:12)
   Colors / type / spacing / radius / shadow values copied 1:1 from the
   Figma variables collection.
   FONTS: real PP Migra / PP Telegraf .otf files, loaded below via @font-face.
   Only the weights the type scale actually uses are shipped (Migra Regular,
   Telegraf Regular + Bold) — the file specifies "PP Migra Light" for
   Heading/MD, but no Light weight file was provided, so that size falls
   back to the Regular face (still correct family/proportions, just not
   technically "light").
   NOTE ON PHOTOGRAPHY: this build environment has no internet access, so
   the real photos referenced in the Figma file could not be downloaded.
   Soft brand-toned gradient placeholders stand in their place — swap any
   element with class "ph-img" by setting a background-image (or replacing
   with an <img>) to drop real photos in.
   ========================================================================== */

@font-face {
  font-family: "PP Migra";
  src: url("../fonts/PPMigra-Regular.otf") format("opentype");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Telegraf";
  src: url("../fonts/PPTelegraf-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Telegraf";
  src: url("../fonts/PPTelegraf-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- color --- */
  --color-background: #fcfaf8;
  --color-surface: #faf5ef;
  --color-white: #fdfaf7;
  --color-pure-white: #ffffff;
  --color-text-primary: #2c1a0e;
  --color-text-secondary: #7a5c42;
  --color-accent-gold: #ceb04f;
  --color-accent-gold-light: #d4b483;
  --color-dark: #1a1008;

  /* --- font families --- */
  --font-heading: "PP Migra", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "PP Telegraf", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- spacing scale --- */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-10: 10px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-18: 18px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-96: 96px;
  --sp-120: 120px;

  /* --- radius --- */
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* --- shadow --- */
  --shadow-soft: 0 4px 24px rgba(44, 26, 14, 0.08);
  --shadow-card: 0 2px 12px rgba(44, 26, 14, 0.12);

  /* --- gradient placeholders for photography (brand-toned) --- */
  --ph-1: linear-gradient(145deg, #6b4a30 0%, #3a2415 55%, #1a1008 100%);
  --ph-2: linear-gradient(145deg, #b89466 0%, #7a5c42 55%, #3a2415 100%);
  --ph-3: linear-gradient(145deg, #d4b483 0%, #ab8752 55%, #6b4a30 100%);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
section { position: relative; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* placeholder "photo" block */
.ph-img {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ==========================================================================
   Typography helpers (mirrors the style-guide type scale 1:1)
   ========================================================================== */
.h-xl { font: 400 48px/56px var(--font-heading); color: var(--color-dark); }
.h-lg { font: 400 40px/48px var(--font-heading); color: var(--color-dark); }
.h-md { font: 300 36px/44px var(--font-heading); color: var(--color-dark); }
.h-sm { font: 400 24px/32px var(--font-heading); color: var(--color-dark); }
.body-reg { font: 400 16px/28px var(--font-body); }
.body-bold { font: 700 16px/28px var(--font-body); }
.body-sm { font: 400 14px/22px var(--font-body); }
.label-reg {
  font: 700 14px/20px var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.label-sm {
  font: 400 11px/16px var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-10) var(--sp-18);
  border-radius: var(--radius-pill);
  font: 700 16px/normal var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--color-dark); color: var(--color-white); }
.btn-secondary { background: var(--color-text-secondary); color: var(--color-white); }
.btn-outline {
  background: var(--color-pure-white);
  color: var(--color-accent-gold);
  border: 1px solid rgba(206, 176, 79, 0.3);
  box-shadow: none;
}
.btn-block { width: 100%; }

.crown-icon { width: 20px; height: 12px; flex-shrink: 0; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ==========================================================================
   Decorative divider (sparkle + gold hairlines) — used between every section
   ========================================================================== */
.divider {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: 0 var(--sp-64);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-accent-gold-light);
  opacity: 0.6;
}
.divider-crown { width: 34px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   Brand wordmark (real Figma-exported logo asset)
   ========================================================================== */
.brand-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 43px; width: auto; display: block; } /* desktop nav size, 191x43 native */
.mobile-menu-topbar .brand-logo { height: 32px; } /* matches the 140x32 lockup used in tablet/mobile nav + drawer */
.footer-logo { height: 96px; width: auto; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--sp-20) var(--sp-64);
  background: transparent;
}
/* "glass" pill — soft translucent white + backdrop blur so page content
   frosts through it as you scroll, per the Figma nav-cta glass effect */
.nav-cta {
  background: rgba(253, 250, 247, 0.68);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--sp-120);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-8) var(--sp-16);
  box-shadow: var(--shadow-card);
  width: 100%;
}
.nav-sparkle { color: var(--color-accent-gold-light); font-size: 14px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  font-size: 14px;
  color: var(--color-dark);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-accent-gold); }

/* Below 1024px Figma swaps nav-links for a tight [Button, sparkle, hamburger]
   cluster (node 51:7) — "contents" lets it pass through invisibly on
   desktop so the original 5-item space-between layout is untouched. */
.nav-actions { display: contents; }
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  flex-shrink: 0;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--color-text-primary);
}

/* mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-12) var(--sp-16);
}
.mobile-menu-topbar .nav-cta { flex: 1; margin: 0; }
.mobile-menu-close {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-32);
  padding: var(--sp-16) var(--sp-32) var(--sp-40);
  overflow-y: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-24);
  text-align: center;
}
.mobile-nav-links a {
  font: 300 32px/36px var(--font-heading);
  color: var(--color-text-primary);
  opacity: 0.85;
}
.mobile-nav-links a:first-child { opacity: 1; }
.mobile-menu-divider { width: 48px; height: 2px; background: var(--color-accent-gold); }
.mobile-menu-cta { width: 100%; }
.mobile-menu-footer { display: flex; flex-direction: column; align-items: center; gap: var(--sp-24); }
.mobile-social-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-24); }
.mobile-social-row a { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--color-text-secondary); }
.mobile-menu-address {
  font: 400 12px/16px var(--font-body);
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  text-align: center;
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: var(--sp-64) var(--sp-64) var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  /* Caps how wide the hero (and therefore each carousel card) can get on
     large monitors — with no cap, cards on a 1920px+ screen would grow far
     past a sane size and any fixed-ratio math below stops lining up. */
  max-width: 1600px;
  margin: 0 auto;
}
.hero-header { display: flex; flex-direction: column; gap: var(--sp-16); }
.headline-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-32); }
.trust-bar { display: flex; gap: var(--sp-16); margin-bottom: var(--sp-16); }
.trust-chip {
  background: var(--color-accent-gold-light);
  color: var(--color-text-primary);
  border-radius: var(--radius-pill);
  padding: var(--sp-8) var(--sp-12);
  font-size: 14px;
  white-space: nowrap;
}
.hero-title { font: 400 48px/56px var(--font-heading); color: var(--color-dark); }
.hero-lede { font: 400 16px/28px var(--font-body); max-width: 375px; color: var(--color-dark); }

.hero-carousel {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-32);
  width: 100%;
}
.hero-card {
  /* Explicit width AND height at a gentle 4:5 ratio (360/450) — close to
     how these portrait photos were actually shot, so very little needs to
     be cropped away. No flex-grow, no aspect-ratio property, nothing
     computed from the row: this is a fixed box that will not stretch to
     fill the carousel row, by design. */
  width: 360px;
  height: 450px;
  flex: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--ph-1);
}
.hero-card:nth-child(2) { background: var(--ph-2); }
.hero-card:nth-child(3) { background: var(--ph-3); }
.hero-card-img {
  /* Real <img> instead of a CSS background-image — easier to inspect,
     easier to debug, and behaves consistently with object-fit. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, #2d1504 100%);
}
.hero-card-label {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--sp-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
}
.hero-card-label span { font: 300 36px/44px var(--font-heading); color: var(--color-surface); text-align: center; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(253, 250, 247, 0.4); }
.hero-dots i.active { background: var(--color-surface); width: 16px; border-radius: 3px; transition: width .25s ease; }

/* ==========================================================================
   Services / pricing
   ========================================================================== */
.services-section { padding: var(--sp-32) var(--sp-80); display: flex; justify-content: center; }
.services-content {
  background: var(--color-pure-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-32) var(--sp-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-48);
  width: 100%;
  max-width: 1200px;
}
.section-header { text-align: center; display: flex; flex-direction: column; gap: var(--sp-12); align-items: center; }
.section-header .label-sm { color: var(--color-text-secondary); }
.pricing-cards { display: flex; gap: var(--sp-24); width: 100%; }
.pricing-card {
  flex: 1;
  min-width: 0;
  background: var(--color-background);
  border-radius: 16px;
  padding: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.pricing-card h3 { font: 400 24px/32px var(--font-heading); }
.price-rows { display: flex; flex-direction: column; gap: var(--sp-12); }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(122, 92, 66, 0.25);
  font-size: 14px;
}
.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row .name { display: flex; align-items: center; gap: var(--sp-8); }
.price-row .price { font: 700 16px/28px var(--font-body); white-space: nowrap; }
/* Featured row (e.g. Balayage): name + badge + price share one line on desktop
   (badge floats right after the name via margin-right:auto on the badge). On
   tablet/mobile the badge drops to its own full-width line below the
   name/price pair, per Figma nodes 76:1436 (tablet) / 68:269 (mobile). */
.price-row-featured { flex-wrap: nowrap; justify-content: flex-start; gap: var(--sp-8); }
.price-row-featured .name { order: 1; }
.price-row-featured .badge { order: 2; margin-right: auto; }
.price-row-featured .price { order: 3; }
.badge {
  background: var(--color-surface);
  border: 1px solid var(--color-text-secondary);
  border-radius: var(--radius-pill);
  padding: var(--sp-4) var(--sp-10);
  font: 400 11px/16px var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-subgroup-label {
  font: 400 11px/16px var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.price-subgroup { display: flex; flex-direction: column; gap: var(--sp-12); }
.price-divider { height: 1px; background: rgba(122, 92, 66, 0.25); width: 100%; }
.services-footnote { text-align: center; font-size: 14px; color: var(--color-text-secondary); opacity: 0.7; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { padding: var(--sp-64) var(--sp-80); display: flex; flex-direction: column; align-items: center; gap: var(--sp-16); }
.social-split { display: flex; gap: var(--sp-32); width: 100%; }
.social-panel { flex: 1; min-width: 0; border-radius: 24px; padding: var(--sp-32); display: flex; flex-direction: column; align-items: center; gap: var(--sp-24); }
.tiktok-panel { background: var(--color-dark); }
.instagram-panel { background: var(--color-white); border: 1px solid var(--color-accent-gold-light); }
.social-badge { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.social-badge .platform { font-size: 14px; opacity: 0.7; }
.social-handle-row { display: flex; align-items: center; gap: var(--sp-8); font: 700 16px/28px var(--font-body); }
.tiktok-panel .platform,
.tiktok-panel .social-handle-row { color: var(--color-white); }
.tiktok-video {
  width: 100%;
  flex: 1;
  min-height: 260px;
  border-radius: 16px;
  background: var(--ph-1);
  overflow: hidden;
  position: relative;
}
.tiktok-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ig-grid { display: flex; flex-direction: column; gap: var(--sp-12); width: 100%; }
.ig-row { display: flex; gap: var(--sp-12); }
.ig-photo { flex: 1; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; display: block; background: var(--ph-2); transition: opacity .2s ease; }
.ig-photo:hover { opacity: .88; }
.ig-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gallery-cta { text-align: center; font-size: 16px; }
.gallery-cta .arrow { color: #d4af37; }

/* ==========================================================================
   Proceso (process steps)
   ========================================================================== */
.proceso-section { background: var(--color-background); padding: var(--sp-80); display: flex; flex-direction: column; gap: var(--sp-64); }
.proceso-lede { max-width: 600px; margin: 0 auto; text-align: center; opacity: 0.8; }
.steps-row { display: flex; gap: var(--sp-32); }
.step { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-20); }
.step-header { display: flex; align-items: center; gap: var(--sp-16); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--color-accent-gold);
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  font: 400 18px var(--font-heading);
  flex-shrink: 0;
}
.step-line { flex: 1; height: 1px; background: var(--color-accent-gold-light); }
.step h3 { font: 400 24px/32px var(--font-heading); }
.step p { font-size: 14px; color: var(--color-text-secondary); }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { padding: var(--sp-64) var(--sp-120); display: flex; gap: var(--sp-64); align-items: center; }
.about-text { display: flex; flex-direction: column; gap: var(--sp-24); flex: 1; min-width: 0; }
.about-text h2 { font: 400 40px/48px var(--font-heading); max-width: 400px; }
.about-body { display: flex; flex-direction: column; gap: var(--sp-24); }
.about-body p { font-size: 16px; line-height: 28px; color: var(--color-text-secondary); }
.credential { display: flex; flex-direction: column; gap: var(--sp-12); }
.credential .rule { height: 1px; background: var(--color-accent-gold-light); width: 100%; }
.credential p { font-size: 16px; color: var(--color-text-secondary); }
.about-photo { flex: 1; min-width: 0; align-self: stretch; border-radius: var(--radius-md); background: var(--ph-2); background-size: cover; background-position: center; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-section { padding: var(--sp-64); display: flex; flex-direction: column; align-items: center; gap: var(--sp-48); }
.team-grid { display: flex; gap: var(--sp-24); width: 100%; }
.team-card {
  flex: 1; min-width: 0;
  background: var(--color-pure-white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: var(--sp-16);
  display: flex; flex-direction: column; gap: var(--sp-16);
}
.team-avatar { aspect-ratio: 1/1; border-radius: 12px; width: 100%; object-fit: cover; object-position: top center; display: block; }
.team-info { text-align: center; display: flex; flex-direction: column; gap: var(--sp-8); }
.team-info h3 { font: 400 24px/32px var(--font-heading); }
.team-info .role { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #b8860b; }
.team-info p.bio { font-size: 14px; color: #6b5e4e; }

/* ==========================================================================
   Booking / Location
   ========================================================================== */
.booking-section { padding: var(--sp-96) var(--sp-80); display: flex; gap: var(--sp-48); align-items: center; }
.booking-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-24); }
.booking-left h2 { font: 400 40px/48px var(--font-heading); max-width: 379px; }
.booking-left > p.body-reg { color: var(--color-dark); }
.hours-block { background: var(--color-surface); border-radius: 16px; padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); }
.hours-block h3 { font: 400 24px/32px var(--font-heading); }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; }
.hours-row .day { opacity: 0.8; }
.booking-actions { display: flex; flex-direction: column; gap: var(--sp-12); }
.whatsapp-link { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); font: 700 16px/28px var(--font-body); }
.booking-actions .fineprint { text-align: center; font-size: 14px; opacity: 0.7; }
.booking-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-16); }
.map-embed {
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(28, 23, 21, 0.06);
  height: 280px;
  background: var(--ph-3);
  overflow: hidden;
}
.map-iframe { display: block; width: 100%; height: 100%; border: 0; }
.address-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-10); font-size: 16px; }
.nav-buttons { display: flex; align-items: center; justify-content: center; gap: var(--sp-12); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: var(--color-surface); padding: var(--sp-80); display: flex; flex-direction: column; gap: var(--sp-48); }
.faq-grid { display: flex; gap: var(--sp-64); }
.faq-left { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: var(--sp-16); }
.faq-left h2 { font: 400 40px/48px var(--font-heading); }
.faq-left p { color: var(--color-text-secondary); opacity: 0.9; line-height: 28px; }
.faq-whatsapp { display: flex; align-items: center; gap: var(--sp-8); padding-top: 12px; font: 700 16px/28px var(--font-body); }
.faq-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-18); }
.faq-item { border-bottom: 1px solid var(--color-accent-gold); padding-bottom: var(--sp-18); display: flex; flex-direction: column; gap: var(--sp-12); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); width: 100%; text-align: left; }
.faq-question h3 { font: 400 24px/32px var(--font-heading); }
.faq-question .icon { color: var(--color-text-primary); width: 16px; height: 16px; flex-shrink: 0; }
.faq-answer { font-size: 16px; line-height: 28px; color: var(--color-text-secondary); opacity: 0.9; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-answer p { overflow: hidden; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item:not(.open) { opacity: 0.85; }

/* ==========================================================================
   Review CTA
   ========================================================================== */
.review-section { background: var(--color-background); padding: var(--sp-96); display: flex; justify-content: center; }
.review-banner {
  background: var(--color-pure-white);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-32);
  width: 100%;
}
.stars { display: flex; gap: var(--sp-8); color: var(--color-accent-gold); }
.stars .icon { width: 24px; height: 24px; }
.review-content { text-align: center; display: flex; flex-direction: column; gap: var(--sp-12); align-items: center; }
.review-content h2 { font: 400 40px/48px var(--font-heading); }
.review-content p { max-width: 560px; color: var(--color-text-secondary); line-height: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-surface); padding: var(--sp-80) var(--sp-40) var(--sp-40); display: flex; flex-direction: column; align-items: center; gap: var(--sp-32); text-align: center; }
.footer-socials { display: flex; gap: var(--sp-24); font: 400 24px var(--font-heading); }
.footer-socials a:hover { color: var(--color-accent-gold); }
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-tagline { font-size: 14px; color: var(--color-text-secondary); }
.footer-meta { display: flex; flex-direction: column; gap: var(--sp-8); font-size: 14px; }
.footer-meta .addr { opacity: 0.6; }
.footer-meta .copy { font-size: 12px; opacity: 0.6; color: var(--color-text-secondary); }
.footer-divider { width: 167px; height: 1px; background: var(--color-accent-gold-light); position: relative; }
.footer-divider .divider-crown { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--color-surface); padding: 0 8px; }

/* ==========================================================================
   Floating widgets
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  background: #26ad61;
  color: #fff;
  padding: var(--sp-10) var(--sp-18) var(--sp-10) 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font: 700 14px var(--font-body);
}
.whatsapp-float .icon { width: 24px; height: 24px; }

.bottom-nav {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 95;
  gap: var(--sp-12);
  padding: var(--sp-16) var(--sp-20);
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, rgba(26, 16, 8, 0.8), rgba(44, 26, 14, 0.6));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: calc(100vw - 32px);
}
.bottom-nav a.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  color: rgba(250, 245, 240, 0.8);
  font: 700 8px var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.bottom-nav a.tab.active { color: #cfb04f; }
.bottom-nav .icon { width: 24px; height: 24px; }
.bottom-nav-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: #26ad61;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* ==========================================================================
   Responsive — Tablet (Figma "jose-ortiz-tablet" frame, 768px)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Nav bar below 1024px (Figma "jose-ortiz-tablet" Nav bar, 51:7): the
     link list is replaced by the CTA button + hamburger cluster, per the
     Figma component — this now applies through tablet AND mobile. */
  .site-header { padding: var(--sp-20) var(--sp-16); }
  .brand-logo { height: 40px; } /* larger than the 32px Figma spec for better legibility, per explicit request */
  .nav-links { display: none; }
  .nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
  .nav-toggle { display: flex; }

  .hero { padding: var(--sp-64) var(--sp-16) var(--sp-32); }
  .headline-row { flex-direction: column; align-items: flex-start; gap: var(--sp-16); }
  .hero-title { font-size: 40px; line-height: 48px; }
  .hero-lede { max-width: 100%; }
  /* flex-wrap:nowrap overrides the desktop rule's wrap — this must stay a
     single scrollable row, not wrap onto multiple lines. */
  .hero-carousel { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .hero-card { scroll-snap-align: start; width: 300px; height: 375px; flex: none; }

  .services-section, .gallery-section, .proceso-section { padding: var(--sp-64) var(--sp-16); }
  .pricing-cards { flex-direction: column; }
  .price-row-featured { flex-wrap: wrap; row-gap: var(--sp-8); }
  .price-row-featured .price { order: 2; margin-left: auto; margin-right: 0; }
  .price-row-featured .badge { order: 3; flex-basis: 100%; margin-right: 0; }
  .social-split { flex-direction: column; }
  .steps-row { flex-wrap: wrap; row-gap: var(--sp-32); }
  .step { flex: 1 1 calc(50% - 16px); }

  .about-section { padding: var(--sp-64) var(--sp-16); flex-direction: column; }
  .about-text h2 { max-width: 100%; }
  .about-photo { width: 100%; height: 320px; align-self: auto; }

  .team-section { padding: var(--sp-64) var(--sp-16); }
  /* Figma's tablet team-section (51:106) keeps all 3 cards in a single row
     (no wrap) — the base .team-grid/.team-card flex rules already do this. */

  .booking-section { padding: var(--sp-64) var(--sp-16); flex-direction: column; align-items: stretch; }
  .booking-left h2 { max-width: 100%; }

  .faq-section { padding: var(--sp-64) var(--sp-16); }
  .faq-grid { flex-direction: column; gap: var(--sp-32); }
  .faq-left { width: 100%; }

  .review-section { padding: var(--sp-40) var(--sp-16); }
  .review-banner { padding: var(--sp-40) var(--sp-24); }
  .review-content h2 { font-size: 32px; line-height: 40px; }

  .footer-logo { height: 64px; }
}

/* ==========================================================================
   Responsive — Mobile (Figma "jose-ortiz-mobile" frame, 390px)
   ========================================================================== */
@media (max-width: 640px) {
  .site-header { padding: var(--sp-12) var(--sp-16); }
  .nav-cta { padding: var(--sp-12) var(--sp-16); gap: var(--sp-8); }
  .nav-actions { gap: var(--sp-8); }
  /* Figma's mobile Nav bar (51:190) has no sparkle accents at all — only
     tablet (51:7) keeps the two ✦ separators. */
  .nav-sparkle { display: none; }
  /* Sized down from the tablet 40px logo — at 390px wide, logo + button +
     hamburger were overflowing the pill and pushing the hamburger out of
     reach/off-screen. This keeps it legible while leaving room to tap. */
  .brand-logo { height: 26px; }
  .nav-cta .btn {
    padding: var(--sp-8) var(--sp-12);
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }
  /* Figma's mobile nav Button (51:190) has no crown icon — only tablet/
     desktop do — and dropping it frees a bit more room for the hamburger. */
  .nav-cta .btn .crown-icon { display: none; }

  /* The tablet rule's 64px top padding leaves a big gap under the sticky
     header on phones, where there's no headline-row/lede to fill it —
     tighten to 24px so the badges sit closer to the nav. */
  .hero { padding-top: var(--sp-24); }
  .hero-title { font-size: 32px; line-height: 38px; }
  /* Keep both badges on one row on mobile instead of stacking. Font/padding
     are trimmed so the pair fits a 390px viewport; overflow-x is a safety
     net for narrower phones rather than the primary layout mechanism. */
  .trust-bar { flex-wrap: nowrap; gap: var(--sp-8); overflow-x: auto; padding-bottom: 2px; }
  .trust-chip { font-size: 12px; padding: var(--sp-8) var(--sp-10); flex: none; }
  .hero-card { width: 260px; height: 325px; flex: none; }

  .pricing-card { padding: var(--sp-20); }

  .social-panel { padding: var(--sp-24); }
  .ig-row { gap: var(--sp-8); }
  /* .tiktok-video relies on flex:1 to fill height, but .social-split stacks
     to a column at this width so the panel's height becomes content-driven
     and there's nothing for flex:1 to grow into — the video collapsed.
     Give it a deterministic height instead, capped with max-height so it
     can't take over the whole screen the way an uncapped 9:16 box did. */
  .tiktok-video { flex: none; width: 100%; aspect-ratio: 9 / 16; max-height: 460px; min-height: 0; }

  /* Figma's mobile team-section (51:292) swaps the vertical avatar-on-top
     card for a single-column list of horizontal row-cards: a fixed 90x90
     avatar on the left, name/role/bio left-aligned to its right. */
  .team-grid { flex-direction: column; gap: var(--sp-16); }
  .team-card { flex-direction: row; align-items: flex-start; gap: var(--sp-16); padding: var(--sp-12); }
  .team-avatar { width: 90px; height: 90px; flex-shrink: 0; }
  .team-info { text-align: left; align-items: flex-start; gap: var(--sp-4); }
  .team-info h3 { font-size: 20px; line-height: 26px; }

  /* Explicit, non-flex-dependent height matching Figma's mobile map-embed
     placeholder (124:177, 358x260) — guards against the same flex-in-an-
     auto-height-column collapse pattern that hid the TikTok video. */
  .booking-right { flex: none; width: 100%; }
  .map-embed { width: 100%; height: 260px; }

  .steps-row { flex-direction: column; gap: var(--sp-32); }
  .step { flex: 1 1 auto; }

  .booking-left .btn-block { width: 100%; }
  .nav-buttons { flex-direction: column; align-items: stretch; }
  .nav-buttons .btn { width: 100%; }

  .review-banner { padding: var(--sp-32) var(--sp-20); }
  .review-content h2 { font-size: 28px; line-height: 34px; }

  .footer-logo { height: 42px; }

  /* WhatsApp is folded into the bottom nav pill on mobile (matches Figma's
     Bottom Navigation, node 103:117), so the standalone floating button
     is hidden here to avoid showing it twice. */
  .whatsapp-float { display: none; }

  .bottom-nav { display: flex; }
  body { padding-bottom: 90px; }
}

/* utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
