@font-face {
  font-family: "Manrope Local";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda Local";
  src: url("../fonts/bodoni-moda-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --primary: #202421;
  --accent: #a7563f;
  --background: #f2f3f1;
  --surface: #ffffff;
  --text: #202421;
  --muted: #5f6662;
  --white: #fbfaf7;
  --line: rgba(39, 34, 32, .16);
  --header-height: 72px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4rem, 7vw, 6rem);
  --max-width: 1240px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--accent) var(--background); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Manrope Local", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { border: 3px solid var(--background); background: var(--accent); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: "Bodoni Moda Local", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
h2 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.02; }
h3 { font-size: 1.12rem; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--primary);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
.section { width: min(100%, var(--max-width)); margin-inline: auto; padding: var(--section-space) var(--gutter); }
.anchor-target { position: absolute; top: calc(var(--header-height) * -1); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(242, 243, 241, .96);
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(32, 36, 33, .08);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: max-content; }
.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Bodoni Moda Local", Georgia, serif;
  font-size: 1.3rem;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__words { display: grid; line-height: 1; }
.brand__words strong { font-family: "Bodoni Moda Local", Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.brand__words small { margin-top: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; justify-self: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.desktop-nav a { position: relative; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.5rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out);
}
.desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.35rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.button:active { transform: scale(.97); }
.button--header { min-height: 42px; border-color: rgba(255, 255, 255, .62); }
.site-header.is-scrolled .button--header { border-color: var(--text); }
.button--light { border-color: var(--white); background: var(--white); color: var(--primary); }
.button--dark { border-color: var(--primary); background: var(--primary); color: var(--white); }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.text-link--light { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px 9px; border: 0; background: transparent; color: currentColor; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform 200ms var(--ease-out); }
.menu-toggle span + span { margin-top: 8px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero {
  position: relative;
  display: grid;
  height: min(760px, 92svh);
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
}
.hero__header-trigger { position: absolute; top: 32px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.hero__image, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 36%; }
.js .hero__image { animation: hero-reveal 900ms var(--ease-in-out) both; }
.hero__veil { background: linear-gradient(90deg, rgba(23, 20, 19, .88) 0%, rgba(23, 20, 19, .52) 47%, rgba(23, 20, 19, .08) 78%); }
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 2rem;
}
.hero h1 { max-width: 690px; font-size: clamp(3.8rem, 7vw, 6rem); line-height: .94; }
.hero__copy { max-width: 520px; margin-top: 1.45rem; color: rgba(255, 255, 255, .86); font-size: 1.02rem; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.js .hero h1, .js .hero__copy, .js .hero__actions { animation: hero-copy 620ms var(--ease-out) both; }
.js .hero__copy { animation-delay: 100ms; }
.js .hero__actions { animation-delay: 170ms; }

.intro {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(210px, .66fr) minmax(210px, .58fr);
  grid-template-rows: auto minmax(220px, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.intro__portrait { grid-row: 1 / 3; min-height: 560px; overflow: hidden; }
.intro__portrait img, .intro__detail img { width: 100%; height: 100%; object-fit: cover; }
.intro__portrait img { object-position: center 24%; }
.intro__message { grid-column: 2 / 4; align-self: end; padding: .5rem 1rem 2rem 2rem; }
.intro__message h2 { max-width: 690px; font-size: clamp(2.8rem, 4.7vw, 4.65rem); }
.intro__text { max-width: 56ch; margin-top: 1.25rem; color: var(--muted); font-size: 1rem; }
.intro__detail { grid-column: 2; min-height: 220px; overflow: hidden; }
.intro__detail img { object-position: center 58%; }
.intro__principles {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.05rem;
  padding: 1.5rem;
  background: var(--primary);
  color: var(--white);
}
.intro__principle { max-width: 18ch; font-size: .78rem; font-weight: 750; letter-spacing: .055em; line-height: 1.4; text-transform: uppercase; }

.services-section { overflow: hidden; background: var(--surface); }
.services { padding-top: var(--section-space); }
.services__top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.services__heading { display: grid; max-width: 690px; gap: .9rem; }
.services__heading p { max-width: 52ch; color: var(--muted); }
.services__controls { display: flex; flex: 0 0 auto; gap: .5rem; }
.rail-control {
  min-width: 94px;
  min-height: 44px;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}
.rail-control:active { transform: scale(.97); }
.rail-control:disabled { cursor: default; opacity: .34; }
.services__viewport { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
.services__viewport::-webkit-scrollbar { display: none; }
.services__rail { display: flex; gap: 1rem; width: max-content; }
.service-card { flex: 0 0 clamp(260px, 27vw, 350px); scroll-snap-align: start; }
.service-card__visual { aspect-ratio: 4 / 5; overflow: hidden; background: var(--background); }
.service-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity 220ms ease; }
.service-card__content { display: grid; gap: .5rem; padding-top: 1rem; }
.service-card h3 { font-family: "Bodoni Moda Local", Georgia, serif; font-size: 1.55rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.15; }
.service-card p { max-width: 36ch; color: var(--muted); font-size: .87rem; line-height: 1.55; }
.compact-heading { display: grid; max-width: 740px; gap: 1rem; margin-bottom: 2.6rem; }
.compact-heading p { max-width: 52ch; color: var(--muted); }
.compact-heading--inline { grid-template-columns: 1fr auto; max-width: none; align-items: end; }
.services__cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.services__cta p { font-family: "Bodoni Moda Local", Georgia, serif; font-size: 1.35rem; }

.gallery { padding-top: 2.5rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-template-rows: repeat(2, minmax(200px, 260px));
  gap: .75rem;
}
.gallery-item { position: relative; overflow: hidden; min-width: 0; padding: 0; border: 0; background: var(--primary); cursor: zoom-in; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out), opacity 220ms ease; }
.gallery__proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-top: 2rem; }
.testimonial { max-width: 820px; }
.testimonial blockquote { font-family: "Bodoni Moda Local", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.025em; }
.testimonial footer { margin-top: .9rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.location { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(calc(100% - (var(--gutter) * 2)), var(--max-width)); margin: var(--section-space) auto 0; background: var(--surface); }
.location__map { min-height: 460px; overflow: hidden; }
.location__map iframe { width: 100%; height: 100%; min-height: inherit; border: 0; filter: grayscale(1) contrast(.94); }
.location__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 5rem); }
.location__content h2 { max-width: 500px; font-size: clamp(2.5rem, 4vw, 4rem); }
.location address { display: grid; gap: .22rem; margin-top: 1.6rem; font-style: normal; color: var(--muted); }
.location address strong { color: var(--text); font-size: 1rem; }
.location address a { display: inline-flex; min-height: 44px; align-items: center; width: max-content; color: var(--text); }
.hours { margin-top: .8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hours__toggle { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hours__symbol { position: relative; width: 14px; height: 14px; }
.hours__symbol::before, .hours__symbol::after { position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: currentColor; content: ""; transition: transform 200ms var(--ease-out); }
.hours__symbol::after { transform: rotate(90deg); }
.hours__toggle[aria-expanded="true"] .hours__symbol::after { transform: rotate(0); }
.hours__list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-out); }
.hours__list.is-open { grid-template-rows: 1fr; }
.hours__inner { overflow: hidden; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; color: var(--muted); font-size: .82rem; }
.location__actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }

.site-footer {
  display: flex;
  width: min(100%, var(--max-width));
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  padding: 2.5rem var(--gutter);
}
.brand--footer { color: var(--text); }
.site-footer__meta { display: grid; justify-items: end; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.site-footer__meta a { color: var(--text); text-decoration: underline; text-underline-offset: .25em; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  background: #237b51;
  color: #fff;
  box-shadow: 0 12px 30px rgba(39, 34, 32, .18);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform 140ms var(--ease-out), background-color 180ms ease;
}
.whatsapp-float svg { width: 20px; height: 20px; }
.whatsapp-float:active { transform: scale(.97); }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 4.5rem clamp(1rem, 5vw, 5rem) 2rem;
  overflow: hidden;
  border: 0;
  background: #171514;
  color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; animation: lightbox-in 260ms var(--ease-out) both; }
.lightbox::backdrop { background: rgba(23, 21, 20, .94); }
.lightbox--instant[open] { animation: none; }
.lightbox figure { display: grid; min-width: 0; height: 100%; place-items: center; align-content: center; gap: .8rem; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; }
.lightbox figcaption { max-width: min(100%, 70ch); font-size: .7rem; letter-spacing: .06em; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; min-width: 64px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.lightbox__nav { min-width: 88px; min-height: 44px; padding: .65rem .8rem; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); cursor: pointer; font-size: .7rem; font-weight: 750; text-transform: uppercase; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.lightbox__nav:active { transform: scale(.97); }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), clip-path 520ms var(--ease-in-out); }
.js .reveal--image { clip-path: inset(0 0 12% 0); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); clip-path: inset(0); }
.js .service-card { opacity: 0; transform: translateY(10px); transition: opacity 340ms var(--ease-out), transform 340ms var(--ease-out); }
.js .service-card.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-reveal {
  from { opacity: .72; clip-path: inset(0 0 10% 0); transform: scale(1.025); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1); }
}
@keyframes hero-copy {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .button--header:hover { background: var(--white); color: var(--primary); }
  .button--light:hover { background: transparent; color: var(--white); }
  .button--dark:hover { background: transparent; color: var(--primary); }
  .site-header.is-scrolled .button--header:hover { background: var(--primary); color: var(--white); }
  .desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .rail-control:not(:disabled):hover { background: var(--primary); color: var(--white); }
  .service-card:hover .service-card__visual img { transform: scale(1.025); opacity: .92; }
  .gallery-item:hover img { transform: scale(1.025); opacity: .88; }
  .whatsapp-float:hover { background: #1c6743; transform: translateY(-2px); }
  .lightbox__nav:hover { background: var(--white); color: var(--primary); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__image, .js .hero h1, .js .hero__copy, .js .hero__actions { animation: none; }
  .js .reveal, .js .service-card { opacity: 1; transform: none; clip-path: none; transition: opacity 180ms ease; }
  .services__viewport { scroll-behavior: auto; }
  .lightbox[open] { animation: none; }
  .gallery-item img { transition: opacity 180ms ease; }
}

@media (prefers-contrast: more) {
  :root { --muted: #514945; --line: rgba(39, 34, 32, .35); }
  .hero__veil { background: linear-gradient(90deg, rgba(20, 18, 17, .96), rgba(20, 18, 17, .68) 62%, rgba(20, 18, 17, .28)); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: var(--background); backdrop-filter: none; }
}
