:root {
  color-scheme: light;
  --ink: #36252d;
  --rose: #763b54;
  --rose-dark: #5f2942;
  --muted: #68545e;
  --paper: #fffaf7;
  --blush: #f8ecec;
  --line: #e6d4d9;
  --white: #fffdfb;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; }
h2 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #905269; outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner, .site-nav { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: .64rem; text-decoration: none; }
.brand img { flex: none; border-radius: 6px; }
.brand > span { font: 400 2rem/.85 var(--display); }
.brand small { display: block; margin-top: .35rem; color: var(--rose); font: 700 .67rem/1.05 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-nav { gap: clamp(1rem, 3vw, 2.2rem); font-size: .95rem; font-weight: 700; }
.site-nav > a { text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--rose); text-decoration: underline; text-underline-offset: .24em; }
.menu-toggle { flex: none; display: grid; place-content: center; gap: 4px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--rose); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px;
  padding: .67rem 1.14rem; border: 1px solid transparent; border-radius: 5px;
  color: var(--white); background: var(--rose); text-decoration: none; font-weight: 700; line-height: 1.3; text-align: center;
}
.button:hover { background: var(--rose-dark); }
.button-small { min-height: 42px; padding: .54rem .96rem; }
.button-outline { border-color: var(--rose); color: var(--rose); background: transparent; }
.button-outline:hover { color: var(--white); }
.text-link { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: .24em; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { padding: clamp(2.5rem, 5.1vw, 4.6rem) 0; background: linear-gradient(114deg, #fffaf6 30%, #f8e8ea 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.7rem, 5vw, 4.45rem); }
.eyebrow { display: flex; align-items: center; gap: .36rem; color: var(--rose); font-size: .875rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.hero h1 { margin-top: .74rem; font-size: clamp(3.9rem, 8vw, 7.14rem); line-height: .88; letter-spacing: -.024em; }
.hero h1 em { display: block; color: var(--rose); }
.hero-summary { max-width: 34ch; margin-top: 1.26rem; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.16rem; margin-top: 1.4rem; }
.rating { display: inline-flex; align-items: center; gap: .39rem; flex-wrap: wrap; min-height: 44px; margin-top: 1rem; color: var(--muted); font-size: .92rem; text-decoration: none; }
.rating strong { color: var(--ink); }
.rating .icon { color: #9b502c; }
.rating:hover span { text-decoration: underline; text-underline-offset: .22em; }
.hero-photo { position: relative; min-width: 0; width: min(100%, 27.5rem); justify-self: end; padding-right: .5rem; }
.hero-photo picture { display: block; position: relative; isolation: isolate; }
.hero-photo picture::before { position: absolute; inset: .5rem -.5rem -.5rem .5rem; z-index: -1; border: 1px solid #bf8fa1; border-radius: .66rem; content: ""; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 720 / 835; object-fit: cover; object-position: center 26%; border-radius: .66rem; background: #d7c5b9; }
.hero-photo figcaption { margin-top: .95rem; color: var(--muted); font-size: .8125rem; text-align: right; }

.section { padding: clamp(3.15rem, 6.4vw, 5.5rem) 0; }
.section-heading { margin-bottom: 1.5rem; }
.section-heading p { margin-top: .56rem; color: var(--muted); }
.section-heading-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .6rem 1.1rem; }
.services { border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem clamp(1.65rem, 5vw, 4.65rem); }
.service { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1rem; border-top: 1px solid #d7b8c3; }
.service p { max-width: 40ch; margin: .58rem 0 .75rem; color: var(--muted); }
.service .text-link { margin-top: auto; font-size: .94rem; }

.portfolio { background: #f6e5e9; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2.3vw, 1.65rem); }
.portfolio-grid figure { min-width: 0; }
.portfolio-grid img { width: 100%; aspect-ratio: 576 / 704; object-fit: cover; border-radius: 8px; background: #dcc7ce; }
.portfolio-grid figcaption { padding: .58rem .1rem 0; color: var(--ink); font-size: .96rem; font-weight: 700; }

.reviews { border-bottom: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.review { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.stars { color: #86462d; letter-spacing: .08em; }
.review blockquote { flex: 1; margin: .6rem 0 .9rem; font-size: 1.07rem; line-height: 1.48; }
.review figcaption a { color: var(--rose); font-weight: 700; font-size: .9rem; text-underline-offset: .23em; }

.appointments { padding-bottom: 0; }
.appointment-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.3rem, 5vw, 4rem); align-items: center;
  padding: clamp(1.35rem, 5vw, 3.8rem); border-radius: 12px; background: #512d40; color: var(--white);
}
.appointment-copy p { max-width: 38ch; margin-top: .72rem; color: #f2dfe6; }
.phone-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .52rem; color: #ffe0e9; font-weight: 700; text-decoration: none; }
.phone-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.appointment-form { display: grid; gap: .8rem; }
.field { display: grid; gap: .28rem; min-width: 0; }
.field label { font-size: .94rem; font-weight: 700; }
.field label span { color: #f2dfe6; font-weight: 400; }
.field select, .field input { width: 100%; min-width: 0; min-height: 46px; padding: .56rem .7rem; color: var(--ink); background: var(--white); border: 1px solid #d7b8c3; border-radius: 5px; }
.field select {
  appearance: none; padding-right: 2.35rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--rose) 50%), linear-gradient(135deg, var(--rose) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.appointment-panel .button { align-self: center; justify-self: start; margin-top: .25rem; background: #f9e6ec; color: var(--rose-dark); }
.appointment-panel .button:hover { background: #fff5f8; }
.appointment-panel :focus-visible { outline-color: #ffc8dc; }

.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4.75vw, 3.95rem); align-items: center; }
address { margin-top: .77rem; color: var(--muted); font-style: normal; }
.hours { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 1.1rem; font-weight: 700; }
.hours .icon { color: var(--rose); }
.map { display: block; width: 100%; height: clamp(250px, 32vw, 345px); border: 1px solid var(--line); border-radius: 10px; background: var(--blush); }

.site-footer { padding: 1.42rem 0; border-top: 1px solid var(--line); background: #fff8f5; }
.footer-inner { flex-wrap: wrap; }
.credit { color: var(--muted); font-size: .875rem; }
.credit a { color: var(--rose); font-weight: 700; text-underline-offset: .22em; }
.footer-links { display: flex; gap: .45rem; }
.footer-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--rose); }
.footer-links a:hover { background: #f6e5e9; }
.whatsapp-float {
  display: grid; place-items: center; position: fixed; z-index: 3; width: 55px; height: 55px;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  border: 2px solid #fff; border-radius: 50%; background: #148346; box-shadow: 0 5px 16px #5228382e;
}
.whatsapp-float:hover { background: #0d6d39; }

@media (min-width: 641px) and (max-width: 1250px) {
  .site-footer { padding-right: 3.4rem; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 66px; flex-wrap: wrap; }
  .brand img { width: 38px; }
  .brand > span { font-size: 1.85rem; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1rem; }
  .header-inner.has-menu { position: relative; flex-wrap: nowrap; }
  .has-menu .site-nav {
    position: absolute; top: calc(100% + .45rem); right: 0; width: min(100%, 17rem);
    flex-direction: column; align-items: flex-end; gap: .12rem; padding: .6rem;
    border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 13px 23px #4623311c;
  }
  .has-menu .site-nav > a { min-height: 42px; padding: .57rem .86rem; }
}
@media (max-width: 640px) {
  .hero-grid, .visit-grid, .appointment-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: .95rem; }
  .hero h1 { font-size: clamp(3.65rem, 12vw, 5.3rem); }
  .hero-photo { width: min(100%, 27.5rem); justify-self: start; }
  .hero-photo img { aspect-ratio: 4 / 4.1; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid figure:first-child { grid-column: 1 / -1; }
  .portfolio-grid figure:first-child img { aspect-ratio: 16 / 13; object-position: center 37%; }
  .review-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 4.8rem; }
  .credit { order: 1; flex-basis: 100%; }
}
@media (max-width: 430px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 3.65rem); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > *, .hero-photo { animation: appear .55s ease-out both; }
  .hero-copy h1 { animation-delay: .06s; }
  .hero-summary, .hero-photo { animation-delay: .12s; }
  .hero-actions { animation-delay: .18s; }
  .button, .whatsapp-float { transition: background-color .18s, transform .18s; }
  .button:hover, .whatsapp-float:hover { transform: translateY(-2px); }
  .menu-toggle span { transition: transform .18s, opacity .18s; }
  @keyframes appear {
    from { transform: translateY(.55rem); }
    to { transform: translateY(0); }
  }
}
