/* =========================================================
   SORAIA BOTELHO — Alisados de lujo
   Paleta: blanco · dorado · negro sutil
   Estilo: minimalista elegante · mobile-first
   ========================================================= */

:root {
  --white: #ffffff;
  --cream: #faf8f4;
  --cream-2: #f3eee5;
  --gold: #c0a062;
  --gold-deep: #a8854a;
  --gold-soft: #e3d3a8;
  --black: #161412;
  --charcoal: #2b2622;
  --grey: #736c63;
  --grey-light: #cfc7ba;
  --shadow: 0 18px 50px rgba(22, 20, 18, 0.10);
  --shadow-soft: 0 8px 24px rgba(22, 20, 18, 0.06);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Montserrat", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--black);
}
.overline {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 400;
}
.serif-accent { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--cream-2);
}
.header-inner {
  display: flex; align-items: center; gap: 8px;
  height: 66px;
}
.brand { display: flex; flex-direction: column; line-height: 1; order: 1; flex: 0 0 auto; }
.brand .name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--black);
}
.brand .sub {
  font-size: 0.56rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 4px;
}

/* Nav (mobile drawer) */
.nav-toggle {
  background: none; border: 0; width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 24px; background: var(--charcoal);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: 66px 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--cream-2);
  transform: translateY(-130%);
  transition: transform .45s var(--ease);
  padding: 14px 22px 26px;
  box-shadow: var(--shadow-soft);
}
.nav.open { transform: translateY(0); }
.nav ul { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: block; padding: 13px 4px;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  border-bottom: 1px solid var(--cream);
  color: var(--charcoal); font-weight: 400;
}
.nav a.active { color: var(--gold-deep); }

/* Language switcher — siempre visible (fuera del menú) */
.lang {
  display: flex; gap: 2px; order: 2; margin-left: auto; flex: 0 0 auto;
  border: 1px solid var(--cream-2); border-radius: 40px;
  padding: 3px; width: max-content; background: var(--white);
}
.lang button {
  border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey);
  padding: 7px 11px; min-height: 30px; border-radius: 40px;
  transition: all .25s var(--ease);
}
.lang button.active { background: var(--black); color: var(--gold-soft); }

.nav-toggle { order: 3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 400;
  padding: 15px 30px; border-radius: 40px; cursor: pointer;
  transition: all .35s var(--ease); border: 1px solid transparent;
}
.btn-gold { background: var(--black); color: var(--gold-soft); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline { border-color: var(--gold); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-ghost { color: var(--charcoal); padding-left: 0; padding-right: 0; }
.btn-ghost::after {
  content: ""; height: 1px; width: 26px; background: var(--gold);
  transition: width .35s var(--ease);
}
.btn-ghost:hover::after { width: 44px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: flex-end;
  background-color: var(--charcoal);           /* color de respaldo si aún no hay foto */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
/* Velo oscuro como capa propia: la foto se puede cambiar sin perder la legibilidad */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(22,20,18,.10) 0%, rgba(22,20,18,.30) 45%, rgba(22,20,18,.66) 100%);
}
.hero.has-photo { color: var(--white); }
.hero-inner {
  padding-bottom: 56px; position: relative; z-index: 2; max-width: 760px;
  text-shadow: 0 1px 30px rgba(0,0,0,.30);
}
.hero .overline { color: var(--gold-soft); }
.hero h1 {
  font-size: clamp(2.9rem, 13vw, 5.4rem);
  color: var(--white); margin: 14px 0 8px; font-weight: 500;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 5vw, 1.7rem); color: var(--gold-soft);
  margin-bottom: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-outline { border-color: var(--gold-soft); color: var(--white); }
.hero .btn-outline:hover { background: var(--gold-soft); color: var(--black); }

/* Decorative photo slot placeholder */
.photo-slot {
  position: relative; background: var(--cream-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); text-align: center;
  border: 1px solid var(--cream-2);
  background-size: cover; background-position: center;
}
.photo-slot .ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px; font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.photo-slot .ph svg { width: 30px; height: 30px; opacity: .4; }
.photo-slot.filled .ph { display: none; }

/* ---------- Intro / split ---------- */
.split { display: grid; gap: 34px; }
/* Móvil: imagen de bienvenida más pequeña (banda horizontal) */
.split .media { aspect-ratio: 4 / 3; border-radius: 2px; max-height: 640px; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eyebrow-line::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.lead {
  font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.22; color: var(--black); margin-bottom: 18px; font-weight: 500;
}
.muted { color: var(--grey); }
.section-head { margin-bottom: 38px; }
.section-head h2 { font-size: clamp(2rem, 8vw, 3rem); margin-top: 10px; }
.center { text-align: center; }
.center .eyebrow-line { justify-content: center; }
.center .eyebrow-line::after { content: ""; width: 30px; height: 1px; background: var(--gold); }

/* ---------- Featured services cards ---------- */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--cream-2);
  padding: 30px 26px; border-radius: 2px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-style: italic; }
.card h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.card p { font-size: 0.92rem; color: var(--grey); margin-bottom: 16px; }
.card .price { font-family: var(--serif); font-size: 1.15rem; color: var(--black); }
.card .price small { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--grey); text-transform: uppercase; }

/* ---------- Banner / quote ---------- */
.banner {
  background: var(--black); color: var(--cream);
  text-align: center; position: relative; overflow: hidden;
}
.banner::before, .banner::after {
  content: "”"; position: absolute; font-family: var(--serif);
  font-size: 12rem; color: rgba(192,160,98,.14); line-height: 1;
}
.banner::before { top: -10px; left: 14px; }
.banner .quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2.4rem); line-height: 1.3;
  max-width: 760px; margin: 0 auto; position: relative; z-index: 2;
}
.banner .sign { margin-top: 22px; color: var(--gold-soft); letter-spacing: 0.28em;
  text-transform: uppercase; font-size: 0.72rem; }

/* ---------- Gallery ---------- */
/* Galería en scroll horizontal: cada foto/vídeo se ve completa (fit), sin recortes */
.gallery-grid {
  display: flex; flex-wrap: nowrap; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scroll-padding-left: 22px;
}
.gallery-grid > * {
  flex: 0 0 auto;
  height: clamp(240px, 46vh, 400px);
  width: auto;                 /* el ancho lo marca el aspecto → imagen entera */
  scroll-snap-align: center;
}
.gallery-grid .photo-slot { aspect-ratio: 3 / 4; }   /* por defecto; cada tile ajusta el suyo */
.gallery-grid .tall { aspect-ratio: 2 / 3; }
.gallery-grid .wide { aspect-ratio: 16 / 10; }
/* Barra de desplazamiento sutil */
.gallery-grid::-webkit-scrollbar { height: 6px; }
.gallery-grid::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 10px; }
.gallery-grid::-webkit-scrollbar-track { background: var(--cream-2); border-radius: 10px; }
.gallery-grid { scrollbar-width: thin; scrollbar-color: var(--gold-soft) var(--cream-2); }
.scroll-hint { text-align: center; margin: -8px 0 26px; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.photo-slot video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.photo-slot.has-video { background: var(--black); }
/* Interacción sutil en las fotos de la galería */
.gallery-grid .photo-slot { overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease); }
.gallery-grid .photo-slot::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--gold-soft); transition: box-shadow .4s var(--ease);
}
@media (hover: hover) {
  .gallery-grid .photo-slot:hover { transform: translateY(-3px); box-shadow: var(--shadow); filter: brightness(1.04); }
  .gallery-grid .photo-slot:hover::after { box-shadow: inset 0 0 0 2px var(--gold-soft); }
}
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px;
}
.gallery-filters button {
  border: 1px solid var(--cream-2); background: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey);
  padding: 9px 18px; border-radius: 40px; transition: all .3s var(--ease);
}
.gallery-filters button.active { background: var(--black); color: var(--gold-soft); border-color: var(--black); }

/* ---------- Services list (precios) ---------- */
.menu-block { margin-bottom: 48px; }
.menu-photo {
  aspect-ratio: 16 / 10; background-size: cover; background-repeat: no-repeat;
  background-position: center; border-radius: 2px; margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 720px) { .menu-photo { aspect-ratio: 21 / 9; } }
.menu-block > h3 {
  font-size: 1.8rem; margin-bottom: 6px;
  display: flex; align-items: baseline; gap: 12px;
}
.menu-block .block-note { color: var(--grey); font-size: 0.86rem; margin-bottom: 22px; }
.price-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px dotted var(--grey-light);
}
.price-row .pname { font-size: 0.98rem; color: var(--charcoal); }
.price-row .pname .inc {
  display: block; font-size: 0.72rem; color: var(--grey); letter-spacing: 0.02em;
  text-transform: none; margin-top: 2px;
}
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--grey-light); transform: translateY(-4px); }
.price-row .pprice {
  font-family: var(--serif); font-size: 1.1rem; color: var(--black); white-space: nowrap;
}
.price-row .pprice .from { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--gold-deep);
  text-transform: uppercase; margin-right: 6px; font-family: var(--sans); }

/* ---------- About highlights ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
.fact .n { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-deep); line-height: 1; }
.fact .l { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 26px; }
.post-card {
  background: var(--white); border: 1px solid var(--cream-2);
  border-radius: 2px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .media { aspect-ratio: 16 / 10; background: var(--cream-2); }
.post-card .body { padding: 22px 24px 26px; }
.post-card .tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.post-card h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.post-card p { color: var(--grey); font-size: .9rem; }
.post-card .more { margin-top: 14px; }

.article { max-width: 720px; margin: 0 auto; }
.article .meta { color: var(--grey); font-size: .82rem; letter-spacing: .04em; margin-bottom: 26px; }
.article .lead-p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--black); margin-bottom: 24px; }
.article p { margin-bottom: 18px; color: var(--charcoal); }
.article h2 { font-size: 1.7rem; margin: 36px 0 14px; }
.article h3 { font-size: 1.25rem; margin: 24px 0 10px; }
.article ul.bullets { margin: 0 0 18px; padding: 0; }
.article ul.bullets li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--charcoal); }
.article ul.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--gold); }
.article .back { margin-top: 36px; }

@media (min-width: 720px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card .media { aspect-ratio: 4 / 3; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); padding: 60px 0 34px; }
.footer-grid { display: grid; gap: 36px; }
.site-footer .brand .name { color: var(--white); }
.site-footer h4 { color: var(--gold-soft); font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 14px;
  font-family: var(--sans); text-transform: uppercase; font-weight: 400; }
.site-footer a, .site-footer p { color: var(--grey-light); font-size: 0.9rem; }
.site-footer .muted { color: var(--grey-light); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.74rem; color: var(--grey-light); letter-spacing: 0.04em;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--cream); text-align: center; padding: 70px 0 56px;
  border-bottom: 1px solid var(--cream-2);
}
.page-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); margin-top: 12px; }
.page-hero p { color: var(--grey); max-width: 560px; margin: 16px auto 0; }
/* Cabecera con imagen de fondo (textura). Fondo claro → texto oscuro + velo crema */
.page-hero.has-photo {
  position: relative; overflow: hidden;
  background-color: var(--cream);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 96px 0 84px;
}
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(250, 248, 244, 0.5);
}
.page-hero.has-photo > .wrap { position: relative; z-index: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Si el navegador no ejecuta JS, mostrar todo igualmente (no dejar la página en blanco) */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
/* Respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   TABLET / DESKTOP
   ========================================================= */
@media (min-width: 720px) {
  section { padding: 96px 0; }
  .gallery-grid { gap: 16px; }
  .gallery-grid > * { height: clamp(290px, 50vh, 460px); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .split .media { aspect-ratio: 4 / 5; }   /* en escritorio vuelve a vertical */
  .split.reverse .media { order: 2; }
  .facts { gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .wa-float { width: 62px; height: 62px; right: 26px; bottom: 26px; }
}

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; transform: none; box-shadow: none; border: 0;
    background: none; padding: 0; inset: auto;
    order: 2; margin-left: auto;          /* empuja navegación + idioma a la derecha */
  }
  .nav ul { flex-direction: row; gap: 30px; align-items: center; }
  .nav a { border: 0; padding: 6px 0; position: relative; font-size: 0.74rem; }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
    background: var(--gold); transition: width .35s var(--ease);
  }
  .nav a:hover::after, .nav a.active::after { width: 100%; }
  /* Selector de idioma a la derecha de todo en PC */
  .lang { order: 3; margin-left: 18px; margin-right: 0; }
  .lang button { padding: 8px 14px; }
  .header-inner { height: 78px; }
}

/* ---------- Pantallas grandes (desktop amplio) ---------- */
@media (min-width: 1200px) {
  .wrap { max-width: 1240px; padding: 0 40px; }
  section { padding: 110px 0; }
  .split { gap: 72px; }
  .cards { gap: 26px; }
  .hero { min-height: 88vh; }
}

@media (min-width: 1600px) {
  html { font-size: 18px; }
  .wrap { max-width: 1340px; }
  .hero-inner { max-width: 820px; }
}

/* En pantallas anchas y bajas, evitar que el hero sea demasiado alto */
@media (min-width: 1024px) and (max-height: 720px) {
  .hero { min-height: 560px; }
}

/* Galería más generosa en monitores grandes */
@media (min-width: 1280px) {
  .gallery-grid > * { height: clamp(320px, 50vh, 500px); }
}

/* Mejor lectura del menú de precios en escritorio */
@media (min-width: 720px) {
  .price-row .pname { font-size: 1.04rem; }
  .menu-block > h3 { font-size: 2rem; }
}
