:root {
  --bg: #f2ecdf;
  --text: #2a2620;
  --muted: #6f685b;
  --line: #e0d7c5;
  --wa: #25d366;
  --wa-dark: #1da851;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 34rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw + 0.8rem, 2rem); }
h3 { font-size: 1.2rem; margin-top: 2rem; }

p { margin: 0 0 1em; }

.note { color: var(--muted); font-size: 0.98rem; }

/* WhatsApp button */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--wa);
  padding: 0.85em 1.6em;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.wa-btn::before {
  content: "";
  width: 1.25em;
  height: 1.25em;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath d='M16.003 3C9.38 3 4 8.377 4 15c0 2.114.553 4.176 1.603 6L4 29l8.19-1.573A11.94 11.94 0 0016.003 27C22.623 27 28 21.623 28 15S22.623 3 16.003 3zm0 21.6a9.56 9.56 0 01-4.88-1.336l-.35-.208-4.86.933.925-4.74-.228-.365A9.56 9.56 0 016.4 15c0-5.294 4.31-9.6 9.603-9.6 5.29 0 9.597 4.306 9.597 9.6s-4.307 9.6-9.597 9.6zm5.27-7.19c-.29-.145-1.71-.844-1.975-.94-.264-.097-.457-.145-.65.145-.193.29-.746.94-.915 1.133-.168.193-.337.217-.626.072-.29-.145-1.223-.45-2.33-1.437-.86-.767-1.44-1.714-1.61-2.004-.168-.29-.018-.446.127-.59.13-.13.29-.338.434-.507.145-.169.193-.29.29-.483.096-.193.048-.362-.024-.507-.072-.145-.65-1.566-.89-2.145-.234-.563-.472-.486-.65-.495l-.554-.01c-.193 0-.507.072-.772.362-.264.29-1.012.99-1.012 2.41 0 1.42 1.036 2.795 1.18 2.988.145.193 2.04 3.114 4.943 4.366.69.298 1.23.476 1.65.61.693.22 1.324.19 1.823.115.556-.083 1.71-.699 1.952-1.374.24-.676.24-1.255.168-1.375-.072-.12-.264-.193-.553-.338z'/%3E%3C/svg%3E");
}
.wa-btn:hover, .wa-btn:focus { background: var(--wa-dark); }

/* Hero */
.hero-photo {
  width: 100%;
  height: clamp(260px, 52vh, 520px);
  object-fit: cover;
}
.hero-text {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.subhead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 auto 1.75rem;
}

/* Sections */
.section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
}
.section h3:first-of-type { margin-top: 0; }

.price {
  font-family: var(--serif);
  font-size: 2.5rem;
  margin: 0 0 0.3em;
}
.price span {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
}
.section .wa-btn { margin-top: 0.5rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.thumb {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.thumb:hover img,
.thumb:focus-visible img { transform: scale(1.05); }
.thumb:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(30, 26, 20, 0.9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.75rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 3.5rem;
  line-height: 1;
  padding: 0.1em 0.4em;
  cursor: pointer;
}
.lightbox-nav.prev { left: 0.25rem; }
.lightbox-nav.next { right: 0.25rem; }
.lightbox-nav:hover, .lightbox-close:hover { color: #cfcac0; }

/* About */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.portrait {
  width: 220px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.credentials-intro { margin-bottom: 0.35rem; }
.credentials {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credentials li { margin-bottom: 0.35rem; }
.credentials li:last-child { margin-bottom: 0; }

/* Footer */
.footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer p { color: var(--muted); margin: 0.9rem 0 0; }
.footer .wa-btn { margin-bottom: 0.5rem; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.75em 1em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

@media (min-width: 601px) {
  .about {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
  }
  .about .portrait { flex-shrink: 0; }
}

@media (max-width: 600px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(242, 236, 223, 0.94);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
    text-align: center;
    z-index: 50;
  }
  .sticky-cta .wa-btn { display: inline-flex; justify-content: center; width: 100%; }
  .footer { padding-bottom: 6rem; }
}
