/* Homepage */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; top: -40px; inset-inline-start: 12px; background: var(--plum-700); color: #fff; padding: 6px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* grain overlay for a soft paper feel */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.4s var(--ease), box-shadow 0.4s, backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(251, 248, 243, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--plum-900); font-family: var(--font-head); font-size: 1.55rem; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.8rem; margin-inline-start: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.98rem; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--lav-500); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }

/* hero */
.hero {
  position: relative; min-height: min(100svh, 940px); display: grid; place-items: center; overflow: hidden;
  padding: 110px 0 170px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(220, 209, 234, 0.85), transparent 70%),
    linear-gradient(180deg, var(--lav-50) 0%, var(--sand-100) 70%, var(--sand-200) 100%);
}
.hero-glow { position: absolute; width: 620px; aspect-ratio: 1; border-radius: 50%; top: 8%; left: 50%; translate: -50% 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 65%); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.75; } }
.hero-inner { position: relative; text-align: center; display: grid; justify-items: center; }
.hero-logo { width: min(400px, 78vw); height: auto; animation: rise 1.6s var(--ease) both; }
.hero-tagline { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--plum-700); margin: 1.6rem 0 0.4rem; line-height: 1.5; animation: rise 1.6s 0.25s var(--ease) both; }
.hero-sub { color: var(--muted); letter-spacing: 0.04em; animation: rise 1.6s 0.4s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.2rem; animation: rise 1.6s 0.55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.dunes { position: absolute; bottom: -1px; left: 0; width: 100%; height: 200px; }

/* sections */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.eyebrow { color: var(--clay); font-weight: 600; letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 0.6rem; }
.section h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.2rem; }
.lead { color: var(--muted); font-size: 1.08rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.pillars .reveal:nth-child(2), .t-grid .reveal:nth-child(2), .b-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.pillars .reveal:nth-child(3), .t-grid .reveal:nth-child(3), .b-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.t-grid .reveal:nth-child(4) { transition-delay: 0.36s; }

/* about */
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.arch { margin: 0; position: relative; }
.arch::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); border: 1px solid var(--sand-300); }
.arch img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.about-text p { font-size: 1.08rem; }
.signature { font-family: var(--font-head); font-size: 1.5rem; color: var(--plum-600); margin-top: 1.4rem; }
.signature::before { content: ''; display: inline-block; width: 36px; height: 1px; background: var(--sand-400); vertical-align: middle; margin-inline-end: 12px; }

/* pillars */
.pillars-section { padding-top: 0; padding-bottom: 20px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { text-align: center; padding: 2.2rem 1.6rem; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--lav-50), rgba(246, 243, 250, 0)); }
.pillar svg { width: 54px; height: 54px; fill: none; stroke: var(--lav-500); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 1rem; }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--muted); margin: 0; }

/* treatments */
.treatments { background: linear-gradient(180deg, var(--sand-50), var(--sand-100) 30%, var(--sand-100) 70%, var(--sand-50)); }
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.t-card { position: relative; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 2rem 1.6rem; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-card p { color: var(--muted); }
.t-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.t-top h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.t-dur { font-size: 0.92rem; color: var(--plum-600); background: var(--lav-100); padding: 0.15em 0.8em; border-radius: 999px; white-space: nowrap; }
.t-price { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--sand-300); font-family: var(--font-head); font-size: 1.7rem; color: var(--plum-900) !important; }
.t-featured { background: linear-gradient(160deg, var(--lav-100), #fff 75%); border-color: var(--lav-200); }
.badge { position: absolute; top: -12px; inset-inline-start: 1.6rem; background: var(--sand-300); color: var(--plum-900); font-size: 0.8rem; font-weight: 600; padding: 0.2em 0.9em; border-radius: 999px; }
.t-rows { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px dashed var(--sand-300); }
.t-rows li { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.t-rows li:last-child { border-bottom: 0; }
.t-rows b { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: var(--plum-900); }

/* space */
.space-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.space-text p { font-size: 1.08rem; }
blockquote { margin: 2rem 0 0; padding: 1.2rem 1.6rem; border-inline-start: 2px solid var(--lav-300); background: var(--lav-50); border-radius: var(--radius); border-start-start-radius: 0; border-end-start-radius: 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--plum-700); }
blockquote span { font-weight: 700; }
.space-photo { margin: 0; position: relative; }
.space-photo::after { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); background: var(--sand-200); z-index: -1; }
.space-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }

/* before */
.before { background: var(--lav-50); }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.b-card p { color: var(--muted); flex: 1; }
.b-card h3 { font-size: 1.35rem; }
.b-num { font-family: var(--font-head); font-size: 1rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-100); color: var(--clay); margin-bottom: 1rem; border: 1px solid var(--sand-300); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; color: var(--lav-500); flex: none; margin-top: 4px; }
.contact-list div { display: grid; }
.contact-list b { font-size: 1.15rem; font-weight: 600; }
.contact-list b a { color: inherit; text-decoration: none; }
.contact-list span { color: var(--muted); font-size: 0.95rem; }
.contact .hero-actions { justify-content: flex-start; animation: none; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.6) sepia(0.15); }

/* footer */
.footer { background: var(--sand-100); padding: 56px 0 40px; text-align: center; border-top: 1px solid var(--sand-200); }
.footer-inner { display: grid; justify-items: center; gap: 0.3rem; }
.footer img { width: 120px; height: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.footer a { color: inherit; }
.copy { font-size: 0.85rem !important; opacity: 0.8; margin-top: 0.4rem !important; }

/* floating whatsapp */
.wa-float { position: fixed; bottom: 20px; left: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-700); color: #fff; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), background 0.3s; }
.wa-float:hover { transform: scale(1.06); background: var(--plum-600); }
.wa-float svg { width: 28px; height: 28px; }

/* responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { margin-inline-start: auto; }
  .about-grid, .space-grid, .contact-grid { grid-template-columns: 1fr; }
  .arch { max-width: 380px; margin-inline: auto; }
  .space-photo { order: -1; }
  .pillars, .b-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding-bottom: 140px; }
  .dunes { height: 120px; }
  .t-card, .b-card { padding: 1.6rem 1.4rem 1.3rem; }
  .space-photo::after { inset: 14px -10px -14px 10px; }
  .arch::before { inset: -12px 12px 12px -12px; }
}
