:root {
  --ink: #142c2b;
  --ink-soft: #445754;
  --paper: #f4f0e8;
  --paper-light: #fbfaf6;
  --mint: #cfe4dc;
  --mint-light: #e7f0ec;
  --coral: #e96d54;
  --line: rgba(20, 44, 43, 0.18);
  --white-line: rgba(255, 255, 255, 0.2);
  --shadow: 0 18px 50px rgba(20, 44, 43, 0.1);
  --radius: 6px;
  --shell: min(1380px, calc(100% - 96px));
  --photo-hero: url("https://images.unsplash.com/photo-1744723856265-866d19b9cf1a?auto=format&fit=crop&fm=jpg&q=82&w=1800");
  --photo-about: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&fm=jpg&q=82&w=1800");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper-light);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(235px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 12px max(48px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
  transition: min-height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 90px;
  box-shadow: 0 8px 30px rgba(20, 44, 43, 0.08);
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-wordmark {
  width: 210px;
  height: auto;
  display: block;
  border-radius: 5px;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
}

.main-nav a,
.footer-links a {
  position: relative;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav > a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.main-nav > a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-toggle {
  min-width: 54px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--ink);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-toggle:hover {
  border-color: var(--ink);
  background: var(--mint-light);
}

.language-flag {
  display: block;
  width: 28px;
  height: 21px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(20, 44, 43, 0.1);
  object-fit: cover;
}

.header-contact {
  display: grid;
  gap: 5px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.header-call {
  display: grid;
  line-height: 1.2;
}

.header-call span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-call strong {
  font-size: 14px;
}

.header-hours {
  display: grid;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.menu-toggle,
.mobile-nav-contact {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  grid-template-rows: auto auto;
  gap: 32px 64px;
  align-content: center;
  padding-block: clamp(58px, 7vw, 92px);
}

.hero-intro,
.hero-details {
  grid-column: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

h1 {
  max-width: 980px;
  font-size: clamp(62px, 6.6vw, 102px);
}

h1 span,
h1 em {
  display: block;
}

h1 em,
h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-details > p {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  border-color: var(--coral);
  background: var(--coral);
}

.button-light:hover {
  background: var(--mint-light);
}

.availability {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 7px 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 11px;
}

.availability:not(.is-open):not(.is-closed) {
  visibility: hidden;
}

.availability-status {
  color: #2f805d;
  font-size: 12px;
}

.availability-detail {
  color: var(--ink);
  font-weight: 700;
}

.availability.is-closed .availability-status {
  color: #b54242;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b9c75;
  box-shadow: 0 0 0 5px rgba(75, 156, 117, 0.13);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.availability.is-closed .status-dot {
  background: #cf4e4e;
  box-shadow: 0 0 0 5px rgba(207, 78, 78, 0.13);
}

.hero-photo,
.about-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--mint);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-photo {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 540px;
  background-image: linear-gradient(180deg, rgba(20, 44, 43, 0.02), rgba(20, 44, 43, 0.34)), var(--photo-hero);
}

.photo-label,
.temporary-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 44, 43, 0.76);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  padding-block: 24px;
  animation: marquee 42s linear infinite;
  backface-visibility: hidden;
  will-change: transform;
}

.marquee-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 3.7vw, 58px);
  font-style: normal;
  font-weight: 350;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.marquee-item::after {
  content: "•";
  color: var(--ink);
  font-size: 0.85em;
  font-weight: 400;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.services,
.process,
.staff,
.video-section,
.clinical-cases,
.reviews {
  padding-block: clamp(68px, 7.2vw, 104px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px 72px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.about h2,
.contact h2,
.video-container h2,
.map-heading h2 {
  max-width: 940px;
  font-size: clamp(46px, 5.9vw, 88px);
}

.section-heading > p:last-child {
  max-width: 490px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-width: 0;
  height: 300px;
  perspective: 1200px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner,
.service-card.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backface-visibility: hidden;
}

.service-front {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper-light);
}

.service-back {
  transform: rotateY(180deg);
  background-color: var(--mint);
  background-position: center;
  background-size: cover;
}

.service-cleaning .service-back { background-image: url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&fm=jpg&q=82&w=1000"); }
.service-aesthetic .service-back { background-image: url("assets/services/aesthetic-before-after.webp"); }
.service-orthodontics .service-back { background-image: url("assets/services/orthodontics-aligner.webp"); }
.service-implants .service-back { background-image: url("assets/services/implant-full-arch-xray.webp"); }
.service-endodontics .service-back { background-image: url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&fm=jpg&q=82&w=1000"); }
.service-xray .service-back { background-image: url("assets/services/xray-panoramic-implants-01.webp"); }

.service-top {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
}

.service-front h3 {
  max-width: 300px;
  margin: auto 0 14px;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.service-front p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.service-photo-button {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  border: 0;
  background: linear-gradient(180deg, rgba(20, 44, 43, 0.02) 35%, rgba(20, 44, 43, 0.76));
  color: white;
  cursor: pointer;
}

.service-photo-button span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.about {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px 70px;
  padding-block: clamp(68px, 7.2vw, 104px);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.64);
}

.about-body {
  align-self: end;
}

.about-body > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.45vw, 21px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link-light {
  margin-top: 14px;
  color: var(--mint);
}

.about-photo {
  grid-column: 1 / -1;
  min-height: 310px;
  background-image: linear-gradient(90deg, rgba(20, 44, 43, 0.18), rgba(20, 44, 43, 0.03)), var(--photo-about);
  background-position: center 58%;
}

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.stats > div {
  display: grid;
  min-height: 138px;
  align-content: space-between;
  padding: 23px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.stats strong {
  font-size: clamp(35px, 3.7vw, 58px);
  font-weight: 300;
  letter-spacing: -0.05em;
}

.stats span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line);
}

.process-card {
  position: relative;
  z-index: 1;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.process-card:hover {
  transform: translateY(-6px);
  background: var(--ink);
  color: white;
}

.process-number {
  width: max-content;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.process-icon {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 35px 0 auto;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--ink);
  font-size: 25px;
}

.process-card h3 {
  margin: 28px 0 10px;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.process-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  transition: color 220ms ease;
}

.process-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.staff {
  background: var(--paper);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 22px;
  max-width: 1080px;
  margin-inline: auto;
}

.staff-card {
  min-width: 0;
}

.staff-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--mint);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82);
  transition: transform 500ms ease, filter 500ms ease;
}

.staff-card:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.staff-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 44, 43, 0.8);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-card h3 {
  margin-bottom: 4px;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.staff-card > p {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-card small {
  display: block;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.video-container {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(20, 44, 43, 0.96) 0%, rgba(20, 44, 43, 0.72) 56%, rgba(20, 44, 43, 0.28) 100%),
    var(--photo-hero) center / cover;
  color: white;
}

.video-copy {
  max-width: 890px;
}

.video-copy > p:last-child {
  max-width: 530px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.video-play {
  width: clamp(82px, 9vw, 126px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  backdrop-filter: blur(10px);
}

.temporary-badge {
  right: 18px;
  left: auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.case-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.case-placeholder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, var(--mint) 0 48%, #b9d2ca 48% 52%, var(--paper) 52% 100%);
}

.case-placeholder > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(20, 44, 43, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 20px 0 6px;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.case-card p {
  margin-bottom: 4px;
  color: var(--ink-soft);
}

.contact {
  background: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  padding-block: clamp(68px, 7.2vw, 104px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.contact-details > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-details span,
.form-heading span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}

.contact-details a:hover {
  color: var(--coral);
}

.contact-form {
  align-self: start;
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-heading small {
  color: var(--ink-soft);
  font-size: 10px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label:not(.consent) {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: normal;
  outline: 0;
  text-transform: none;
  transition: border-color 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b5372c;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--ink);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
}

.button-whatsapp {
  border-color: #1f8b5c;
  background: #1f8b5c;
  color: white;
}

.button-whatsapp:hover {
  border-color: #176e48;
  background: #176e48;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

.form-status:not(:empty) {
  padding: 10px;
  background: var(--mint-light);
  color: var(--ink);
}

.reviews .section-heading > p:last-child {
  padding: 18px;
  border-left: 3px solid var(--coral);
  background: var(--paper);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.review-stars {
  color: #d5962c;
  letter-spacing: 0.1em;
}

.review-card blockquote {
  margin: 28px 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.review-card footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.review-card footer small {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.map-section {
  padding-top: clamp(68px, 7.2vw, 104px);
  background: var(--ink);
  color: white;
}

.map-heading {
  padding-bottom: 42px;
}

.map-heading .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.map-heading h2 {
  max-width: 980px;
}

.map-frame {
  height: min(62vh, 620px);
  min-height: 420px;
  background: var(--mint);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.72) contrast(1.04);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.footer-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  box-shadow: 0 10px 30px rgba(20, 44, 43, 0.24);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1240px) {
  :root { --shell: min(100% - 56px, 1380px); }

  html { scroll-padding-top: 88px; }

  .site-header {
    min-height: 86px;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    padding-inline: 28px;
    /* backdrop-filter creates a containing block for fixed descendants and
       would otherwise trap the mobile navigation inside the header grid. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand { grid-column: 1; grid-row: 1; }
  .header-tools { grid-column: 2; grid-row: 1; }

  .menu-toggle {
    position: relative;
    z-index: 61;
    grid-column: 3;
    grid-row: 1;
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--ink);
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    grid-column: auto;
    grid-row: auto;
    z-index: 60;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
    padding: max(100px, env(safe-area-inset-top)) max(28px, calc((100vw - 980px) / 2)) max(40px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .main-nav > a {
    font-size: clamp(31px, 6vw, 54px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-transform: none;
  }

  .mobile-nav-contact {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-contact a {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
  }

  .mobile-nav-contact p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
  }

  .header-hours { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > p { order: 3; grid-column: 1 / -1; padding-bottom: 26px; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 1380px); }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
    padding-block: 54px 60px;
  }

  .hero-photo {
    grid-column: 1;
    grid-row: auto;
    min-height: 390px;
  }

  h1 { font-size: clamp(58px, 13vw, 94px); }

  .section-heading,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child { margin-top: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .process-card { min-height: 250px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 235px; }
  .video-container { min-height: 480px; grid-template-columns: 1fr; align-items: end; }
  .video-play { position: absolute; top: 28px; right: 28px; }
  .floating-call { display: flex; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 74px;
    padding: 10px 16px;
  }

  .brand-copy small { display: block; font-size: 8px; }
  .brand-mark { width: 40px; }
  .header-contact { display: none; }
  .language-toggle { min-width: 52px; min-height: 40px; padding-inline: 10px; }
  .menu-toggle { width: 42px; height: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { height: 280px; }
  .staff-grid { grid-template-columns: 1fr; }
  .staff-photo { aspect-ratio: 4 / 3; }
  .video-container { min-height: 450px; }
  .map-frame { min-height: 360px; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 32px); }

  .brand { gap: 9px; }
  .brand-wordmark { width: 176px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { letter-spacing: 0.06em; }
  .hero { padding-block: 44px 50px; }
  .hero-photo { min-height: 300px; }
  .eyebrow { margin-bottom: 22px; font-size: 9px; }
  .eyebrow > span:first-child { width: 25px; }
  h1 { font-size: clamp(50px, 15vw, 70px); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .availability { grid-template-columns: auto 1fr; }
  .availability-detail { grid-column: 2; }
  .marquee-track { padding-block: 19px; animation-duration: 34s; }
  .marquee-item { gap: 24px; padding-right: 24px; }
  .section-heading h2,
  .about h2,
  .contact h2,
  .video-container h2,
  .map-heading h2 { font-size: clamp(41px, 13.5vw, 66px); }
  .stats > div { min-height: 126px; padding: 17px; }
  .process-card { min-height: 240px; padding: 22px; }
  .video-container { min-height: 430px; padding: 24px; }
  .video-play { width: 70px; top: 20px; right: 20px; }
  .temporary-badge { right: auto; left: 20px; }
  .contact-details > div { grid-template-columns: 75px 1fr; gap: 10px; }
  .contact-form { padding: 23px 17px; }
  .form-heading { display: grid; }
  .field-row, .form-actions { grid-template-columns: 1fr; }
  .review-card { padding: 22px; }
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-block: 40px;
  }
  .footer-inner > p { order: initial; padding: 0; text-align: left; }
  .footer-links { justify-content: flex-start; gap: 17px; }
}

@media (hover: none) {
  .service-card:hover .service-card-inner { transform: none; }
  .service-card.is-flipped .service-card-inner,
  .service-card:focus-within .service-card-inner { transform: rotateY(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
