/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #faf6f1;
  --bg-2:      #f3e7de;
  --card:      #ffffff;
  --sage:      #7c8a6e;
  --sage-dark: #5f6b54;
  --sage-soft: #e7ebe1;
  --blush:     #e8b8ac;
  --blush-dark:#d99a8c;
  --ink:       #3a352f;
  --ink-soft:  #5c554c;
  --ink-mute:  #948c7e;
  --line:      rgba(58,53,47,0.12);
  --line-soft: rgba(58,53,47,0.07);
  --whatsapp:  #25d366;
  --whatsapp-dark: #1da851;
  --shadow:    rgba(90,75,60,0.18);

  --display: "Italiana", "Times New Roman", serif;
  --script: "Caveat", cursive;
  --sans: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1160px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-family: var(--display); font-weight: 400; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.eyebrow {
  display: inline-block; font-family: var(--script); font-size: 1.6rem;
  color: var(--sage-dark); line-height: 1;
}
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-top: .4rem; color: var(--ink); }
.section-lede { color: var(--ink-soft); font-size: 1.02rem; margin-top: 1rem; max-width: 52ch; }
.section-head.center .section-lede { margin-inline: auto; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; font-family: var(--sans);
  transition: transform .4s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(37,211,102,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(37,211,102,0.65); }
.btn-ghost {
  border: 1.5px solid var(--sage);
  color: var(--sage-dark);
  background: rgba(124,138,110,0.06);
}
.btn-ghost:hover { background: var(--sage); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--card); box-shadow: 0 2px 8px var(--shadow); }
.nav-brand-name { font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.nav-links { display: none; align-items: center; gap: 1.8rem; }
.nav-links a {
  position: relative; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  padding-block: .3rem; transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--sage); transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { display: none; }
.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.6);
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.is-menu-open .nav-burger span { background: transparent; }
.nav.is-menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(250,246,241,0.99);
  display: flex; flex-direction: column; gap: 0;
  padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  padding: 1.05rem 0; font-size: 1.5rem; font-family: var(--display);
  border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.mobile-menu .btn { margin-top: 1.5rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
  padding-block: calc(var(--nav-h) + 2rem) 6rem;
  background: linear-gradient(180deg, #fdfbf8 0%, var(--bg) 55%, var(--bg-2) 100%);
}
.hero-blob {
  position: absolute; z-index: 0; border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: var(--sage-soft);
  filter: blur(2px);
  animation: blobMorph 18s ease-in-out infinite;
}
.hero-blob-1 { width: 520px; height: 520px; top: -120px; right: -140px; opacity: .8; }
.hero-blob-2 { width: 340px; height: 340px; bottom: -80px; left: -100px; background: var(--blush); opacity: .35; animation-delay: -6s; }
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: rotate(12deg) scale(1.06); }
}
.hero-inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.hero-eyebrow { display: block; margin-bottom: .3rem; }
.hero-title { font-size: clamp(3rem, 8vw, 5.4rem); color: var(--ink); }
.hero-title em { font-style: normal; color: var(--sage-dark); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); margin-top: 1rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.hero-services span {
  font-size: .82rem; font-weight: 700; color: var(--sage-dark);
  background: var(--sage-soft); padding: .5rem 1rem; border-radius: 999px;
}
.hero-visual { position: relative; border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 30px 60px -20px var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   7. Wave divider
   ============================================================= */
.wave-divider { display: block; width: 100%; height: 60px; margin-top: -1px; }
.wave-divider path { fill: var(--card); }
.wave-divider.flip { transform: rotate(180deg); }

/* =============================================================
   8. Servicios
   ============================================================= */
.servicios { background: var(--card); }
.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .servicios-grid { grid-template-columns: repeat(4, 1fr); } }

.servicio-card {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.servicio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px var(--shadow); }
.servicio-media { aspect-ratio: 4/3; overflow: hidden; }
.servicio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.servicio-card:hover .servicio-media img { transform: scale(1.07); }
.servicio-body { padding: 1.4rem 1.4rem 1.6rem; }
.servicio-body h3 { font-size: 1.4rem; color: var(--ink); }
.servicio-body p { color: var(--ink-mute); font-size: .9rem; margin-top: .5rem; line-height: 1.55; }
.servicios-note { text-align: center; margin-top: 2.5rem; color: var(--ink-mute); font-size: .92rem; }
.servicios-note a { color: var(--sage-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   9. Sobre Liliana
   ============================================================= */
.sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .sobre-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
.sobre-photo { position: relative; border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -22px var(--shadow); }
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-text p { color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.sobre-pillars { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.sobre-pillars span {
  font-size: .82rem; font-weight: 700; color: var(--sage-dark);
  background: var(--card); padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
}

/* =============================================================
   10. Galería
   ============================================================= */
.galeria { background: var(--card); }
.galeria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 720px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); } }
.galeria-item { border-radius: 22px; overflow: hidden; aspect-ratio: 1/1; }
.galeria-item:first-child { border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%; }
@media (min-width: 720px) { .galeria-item:first-child { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; } }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.galeria-item:hover img { transform: scale(1.06); }

/* =============================================================
   11. Reservar
   ============================================================= */
.reservar {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--sage-soft) 100%);
  text-align: center;
}
.reservar-card {
  max-width: 620px; margin-inline: auto; background: var(--card);
  border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px var(--shadow);
}
.reservar-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.reservar-phone { margin-top: 1.6rem; font-size: 1.4rem; font-family: var(--script); color: var(--sage-dark); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 3rem 2rem; }
.footer-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand-name { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--card);
  transition: all .3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--sage); background: var(--sage-soft); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; color: var(--sage-dark); }
.footer-meta { color: var(--ink-mute); font-size: .85rem; max-width: 40ch; }
.footer-bottom { margin-top: .5rem; font-size: .78rem; color: var(--ink-mute); }
.footer-bottom a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--sage-dark); }

/* =============================================================
   13. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   14. Floating WhatsApp
   ============================================================= */
.float-whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(180deg, var(--whatsapp), var(--whatsapp-dark));
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,0.35);
  animation: floatBob 3.4s ease-in-out infinite;
}
.float-whatsapp svg { width: 28px; height: 28px; color: #fff; }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =============================================================
   15. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .float-whatsapp { animation: none; }
}
