@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --taupe-dark: #52453d;
  --cocoa: #44362d;
  --ink: #362a23;
  --body-ink: #665247;
  --bronze: #744b2d;
  --ivory: #fff8ec;
  --gold: #f2d6ad;
  --linen: #efe4d6;
  --paper: #f8f2e9;
  --border: #d6c3b0;
  --header-height: 74px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section[id] { scroll-margin-top: 20px; }

.container { width: min(100% - 2 * clamp(20px, 4.6vw, 64px), 1130px); margin-inline: auto; }
.section { padding-block: clamp(54px, 7.6vw, 108px); }
.section-title { font: 600 clamp(41px, 5.9vw, 68px)/.99 var(--serif); letter-spacing: -.035em; }
.centered { text-align: center; }

.skip-link { position: fixed; top: 6px; left: 6px; z-index: 9; padding: 10px 14px; background: var(--ivory); color: var(--ink); }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.site-header { position: sticky; top: 0; z-index: 6; background: #faf3e9; color: var(--ink); border-bottom: 1px solid #d6c3b0a8; }
.header-inner { min-height: calc(var(--header-height) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-social { display: grid; min-width: 44px; min-height: 44px; place-items: center; border-radius: 4px; }
.header-social:hover { background: var(--linen); }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; }
.brand-lotus { width: 33px; height: auto; }
.brand-word { width: 164px; height: auto; }
.header-booking { white-space: nowrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  color: var(--ivory);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.social-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.social-link img { flex: none; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button img { flex: none; }
.button-outline { border-color: #f2d6ad8a; background: transparent; color: var(--gold); }
.button-outline:hover { background: #f2d6ad21; border-color: var(--gold); }
.button-dark { color: var(--ivory); background: var(--cocoa); }
.button-dark:hover { background: #594338; }
.arrow-up-right { position: relative; flex: none; width: 12px; height: 12px; }
.arrow-up-right::before, .arrow-up-right::after { content: ""; position: absolute; top: 0; right: 0; }
.arrow-up-right::before { width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow-up-right::after { width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: clamp(445px, 49vw, 660px);
  color: var(--ink);
  background: #f3e4d3;
}
.hero-picture, .hero::after { position: absolute; inset: 0 auto 0 0; width: min(100%, 1672px); pointer-events: none; }
.hero-picture { z-index: -2; overflow: hidden; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 4%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, transparent 45%, rgb(243 228 211 / .68) 56%, rgb(243 228 211 / .92) 77%, #f3e4d3);
}
.hero-copy { padding-block: 40px; }
.hero-message { width: 45%; margin-inline-start: auto; }
.hero h1 {
  font: 500 clamp(49px, 6.55vw, 101px)/.89 var(--serif);
  letter-spacing: -.045em;
}
.hero h1 em { display: block; color: var(--bronze); white-space: nowrap; }
.hero .hero-lead { max-width: 31ch; margin: 18px 0 24px; font-size: clamp(15px, 2.1vw, 18px); text-wrap: pretty; }

.pricing { padding-block: 20px; color: var(--ivory); background: var(--taupe-dark); }
.pricing-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(14px, 3vw, 36px); }
.pricing h2 { font: 600 30px/1.08 var(--serif); }
.pricing p { margin-top: 4px; color: var(--ivory); font-size: 13px; }
.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 13px;
  border: 1px solid #f2d6ad6d;
  border-radius: 4px;
  padding: 9px clamp(13px, 2vw, 23px);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.price-option:hover { border-color: var(--gold); background: #f2d6ad14; }
.price-option span { font-size: 14px; }
.price-option strong { color: var(--gold); font: 600 clamp(25px, 3.35vw, 36px)/1.04 var(--serif); }

.services { color: var(--ivory); background: #493c33; }
.services h2 { margin-bottom: clamp(24px, 4vw, 43px); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 26px); }
.service-card {
  display: flex;
  align-items: end;
  min-height: clamp(220px, 28vw, 335px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #f2d6ad38;
  border-radius: 5px;
  background: var(--cocoa);
}
.service-photo, .service-card::after { position: absolute; inset: 0; }
.service-photo { z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service-card-featured { grid-column: 1 / -1; }
.service-card-featured .service-copy p { max-width: 60ch; }
.photo-descontracturante { object-position: 50% 44%; }
.photo-relax { object-position: 52% 59%; }
.photo-sports { object-position: 52% 62%; }
.photo-four { object-position: 52% 57%; }
.photo-face { object-position: 53% 58%; }
.service-card::after {
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgb(31 22 17 / .97), rgb(31 22 17 / .79) 31%, rgb(31 22 17 / .4) 54%, transparent 77%);
}
.service-copy { width: 100%; padding: clamp(17px, 2.5vw, 28px); }
.service-copy h3 { color: var(--ivory); font: 600 clamp(29px, 4.15vw, 48px)/1 var(--serif); letter-spacing: -.025em; }
.service-copy a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; }
.service-copy a::after { content: ""; position: absolute; inset: 0; }
.service-copy a:focus-visible { outline: none; }
.service-copy a:focus-visible::after { outline: 2px solid var(--gold); outline-offset: -5px; }
.service-copy .arrow-up-right { color: var(--gold); }
.service-copy p { margin-top: 7px; color: var(--ivory); font-size: 14px; line-height: 1.4; max-width: 45ch; }

.wellbeing { background: var(--paper); }
.wellbeing-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(22px, 6vw, 82px); }
.wellbeing-heading .section-title { max-width: 18ch; font-size: clamp(39px, 4.6vw, 59px); text-wrap: balance; }
.wellbeing-photo { width: 100%; height: auto; margin-top: clamp(15px, 2.4vw, 26px); border-radius: 5px; }
.wellbeing-copy { border-left: 1px solid var(--border); padding-left: clamp(22px, 3.7vw, 50px); color: var(--body-ink); }
.wellbeing-copy p + p { margin-top: 12px; }
.wellbeing-copy .button { margin-top: 18px; }

.about { background: var(--linen); }
.about-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(28px, 5vw, 74px); align-items: center; }
.about-copy p { color: var(--body-ink); max-width: 54ch; margin-top: 14px; }
.about-copy h3 { margin-top: 23px; font: 600 clamp(26px, 3.5vw, 37px)/1.05 var(--serif); letter-spacing: -.018em; }
.about-copy h3 + p { margin-top: 7px; }
.about-photo { align-self: stretch; min-height: 320px; border-radius: 5px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }

.booking { background: var(--paper); }
.booking-heading { margin-bottom: clamp(20px, 4vw, 39px); }
.booking-heading p { margin-top: 12px; color: var(--body-ink); max-width: 56ch; }
.booking-form {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.booking-calendar, .booking-fields { padding: clamp(16px, 4vw, 46px); }
.booking-calendar { background: #f2e8dc; border-right: 1px solid var(--border); }
.calendar-header, .calendar-weekdays, .calendar-days { display: grid; gap: clamp(1px, .65vw, 8px); }
.calendar-header { grid-template-columns: 44px 1fr 44px; align-items: center; margin-bottom: 9px; }
.calendar-header h3 { text-align: center; font: 600 clamp(25px, 3.1vw, 38px)/1 var(--serif); }
.calendar-header h3::first-letter { text-transform: uppercase; }
.calendar-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: 500 28px/1 var(--sans);
}
.calendar-weekdays, .calendar-days { grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar-weekdays { margin-bottom: 3px; color: var(--body-ink); font-size: 11px; font-weight: 700; }
.calendar-weekdays span { align-self: center; min-height: 24px; }
.calendar-day {
  min-width: 0;
  min-height: 43px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  font: 600 14px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.calendar-arrow:disabled, .calendar-day:disabled { color: #79695d; cursor: default; opacity: .62; }
.calendar-day:enabled:hover, .calendar-arrow:enabled:hover { background: #e4d1bb; }
.calendar-day[aria-pressed="true"], .calendar-day[aria-pressed="true"]:hover { color: var(--ivory); background: var(--cocoa); }
.calendar-day[aria-current="date"]:not([aria-pressed="true"]) { border-color: #a78b71; }
.booking-fields { min-width: 0; background: var(--ivory); }
.booking-fields label, .contact-copy label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.booking-fields label span, .contact-copy label span { color: var(--body-ink); font-weight: 400; }
.booking-fields select, .contact-copy :is(input:not([type="hidden"]), textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid #aa9584;
  border-radius: 4px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fffdf7;
}
.booking-fields select:disabled { opacity: .75; }
.field { margin-top: 12px; }
.selected-date { min-height: 21px; margin-top: 5px; color: var(--body-ink); font-size: 13px; }
.selected-date::first-letter { text-transform: uppercase; }
.booking-error { margin-top: 5px; color: #912f2b; font-size: 13px; font-weight: 600; }
.booking-submit { width: 100%; margin-top: 10px; }
.booking noscript .button { margin-top: 10px; }

.studio { background: var(--taupe-dark); color: var(--ivory); }
.studio-info { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 17px; margin-bottom: 24px; }
.studio-info address { margin-top: 11px; font-style: normal; font-weight: 600; }
.studio-info address span { margin-inline: 3px; color: var(--gold); }
.studio-info p { margin-top: 3px; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.studio-gallery img { width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; border-radius: 4px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(14px, 2.6vw, 30px); margin-top: clamp(24px, 4.2vw, 53px); }
.location-map, .contact-copy { min-width: 0; border: 1px solid #f2d6ad69; border-radius: 5px; }
.location-map { display: grid; grid-template-rows: minmax(315px, 1fr) auto; background: #493b32; overflow: hidden; }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--linen); }
.map-directions { padding: clamp(16px, 2.5vw, 24px); }
.map-directions h3 { margin-bottom: 12px; font: 600 29px/1 var(--serif); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-links .button { padding-inline: clamp(10px, 1.4vw, 17px); }
.contact-copy { display: grid; align-content: start; padding: clamp(19px, 3.1vw, 34px); background: var(--ivory); color: var(--ink); }
.contact-copy h3 { font: 600 clamp(30px, 4vw, 46px)/1 var(--serif); letter-spacing: -.025em; }
.contact-copy > p { margin-top: 8px; color: var(--body-ink); }
.contact-copy form, .contact-copy noscript { margin-top: 17px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-copy textarea { resize: vertical; }
.contact-note { margin: 8px 0 14px; color: var(--body-ink); font-size: 13px; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; text-align: start; }
.contact-note .text-button, .privacy-copy a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-dialog {
  width: min(650px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: clamp(18px, 4vw, 35px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 14px 48px #26190e59;
}
.privacy-dialog::backdrop { background: rgb(32 24 19 / .65); }
.privacy-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.privacy-header h2 { font: 600 clamp(32px, 4.9vw, 47px)/.98 var(--serif); }
.privacy-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}
.privacy-close:hover { background: var(--linen); }
.privacy-copy { color: var(--body-ink); font-size: 14px; }
.privacy-copy h3 { margin: 17px 0 5px; color: var(--ink); font-size: 15px; }
.privacy-copy p + p { margin-top: 8px; }

.site-footer { padding-block: 20px; color: var(--ivory); background: #392f29; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 23px; padding-right: 62px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand img { width: clamp(172px, 20vw, 215px); height: auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 3px 24px; }
.footer-credit { margin-top: 12px; padding-top: 7px; border-top: 1px solid #fff8ec30; }
.footer-credit-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: #eaded1; font-size: 13px; text-decoration: none; }
.footer-credit-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit-link img { width: 41px; height: auto; }
.floating-whatsapp {
  position: fixed;
  z-index: 4;
  bottom: calc(17px + env(safe-area-inset-bottom, 0px));
  right: calc(17px + env(safe-area-inset-right, 0px));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: #137449;
  color: white;
  border: 1px solid #fff8ec7a;
  border-radius: 50%;
  box-shadow: 0 4px 16px #24180e38;
  transition: background-color 180ms ease, transform 180ms ease;
}
.floating-whatsapp:hover { background: #0d5b38; transform: translateY(-2px); }
.floating-whatsapp:focus-visible { outline: 2px solid white; box-shadow: 0 0 0 6px #137449; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal="waiting"] { transform: translateY(9px); }
  [data-reveal="visible"] { transition: transform 280ms cubic-bezier(.2, .65, .3, 1); }
}

@media (max-width: 740px) {
  .wellbeing-grid { grid-template-columns: 1fr; }
  .wellbeing-copy { border-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 23px; }
  .about-photo { min-height: 0; aspect-ratio: 1.58; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-calendar { border-right: 0; border-bottom: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; }
  .location-map { grid-template-rows: 300px auto; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; background: #eedcca; text-align: center; }
  .hero::after { content: none; }
  .hero-picture { position: relative; z-index: auto; height: clamp(240px, 76vw, 405px); }
  .hero-picture img { object-position: 50% 3%; }
  .hero-copy { padding-block: 25px 32px; }
  .hero-message { width: auto; }
  .hero h1 { font-size: clamp(50px, 9.9vw, 70px); line-height: .93; }
  .hero .hero-lead { margin: 11px auto 17px; }
}

@media (max-width: 600px) {
  :root { --header-height: 62px; }
  .header-actions { gap: 5px; }
  .header-booking { min-height: 44px; padding-inline: 9px; font-size: 12px; }
  .brand { gap: 6px; }
  .brand-lotus { width: 27px; }
  .brand-word { width: clamp(105px, 33vw, 136px); }
  .pricing-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .pricing-copy { grid-column: 1 / -1; }
  .pricing h2 { font-size: 26px; }
  .services h2 { margin-bottom: 21px; text-align: left; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { min-height: clamp(202px, 62vw, 315px); }
  .service-card-featured { min-height: clamp(285px, 76vw, 365px); }
  .studio-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .studio-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 1.7; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 30px); }
  .contact-fields { grid-template-columns: 1fr; gap: 9px; }
  .booking-calendar { padding-inline: 5px; }
  .calendar-weekdays, .calendar-days { gap: 0; }
  .calendar-header { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .price-option, .floating-whatsapp { transition: none; }
}
