:root {
  --ink: #1f2623;
  --deep: #242922;
  --olive: #748b45;
  --sage: #dfe8d4;
  --gold: #b9a15e;
  --paper: #f7f4ed;
  --white: #fffefd;
  --soft: #edf0e8;
  --muted: #66706a;
  --line: rgba(31, 38, 35, 0.15);
  --shadow: 0 24px 70px rgba(31, 38, 35, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  font-weight: 950;
  line-height: 1;
}

.brand-word {
  font-size: 1.42rem;
  letter-spacing: 0.04em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.main-nav,
.header-actions,
.hero-actions,
.panel-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.main-nav {
  justify-content: center;
}

.main-nav a {
  padding: 8px 10px;
  color: rgba(31, 38, 35, 0.78);
  font-size: 0.94rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.primary-button {
  color: var(--white);
  background: var(--olive);
  box-shadow: 0 14px 34px rgba(116, 139, 69, 0.26);
}

.secondary-button {
  color: var(--ink);
  background: var(--sage);
  border-color: rgba(116, 139, 69, 0.25);
}

.ghost-button,
.text-button,
.lang-switch {
  color: var(--ink);
  background: rgba(255, 254, 253, 0.76);
  border-color: var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.86fr);
  gap: clamp(28px, 5vw, 74px);
  min-height: calc(100vh - 73px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px) 150px;
  background:
    linear-gradient(108deg, rgba(247, 244, 237, 0.98), rgba(237, 240, 232, 0.8)),
    radial-gradient(circle at 82% 18%, rgba(116, 139, 69, 0.17), transparent 34%);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4rem, 8.5vw, 8.3rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.02;
}

.hero-lead {
  margin: 24px 0;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  align-self: center;
}

.city-img,
.smile-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.city-img {
  top: 0;
  right: 0;
  width: min(78%, 430px);
  height: 72%;
}

.smile-img {
  left: 0;
  bottom: 20px;
  width: min(86%, 560px);
  height: 44%;
  border: 10px solid var(--paper);
}

.hours-card {
  position: absolute;
  right: 10px;
  bottom: 70px;
  width: min(220px, 46%);
  padding: 18px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(31, 38, 35, 0.22);
}

.hours-card span,
.hours-card strong {
  display: block;
}

.hours-card span {
  margin-bottom: 6px;
  color: rgba(255, 254, 253, 0.72);
  font-size: 0.85rem;
}

.proof-strip {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1050px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.proof-strip div {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 254, 253, 0.94);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 5px;
  color: var(--deep);
  font-size: clamp(1.4rem, 3.4vw, 2.65rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.chooser,
.proof,
.visit {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 76px);
}

.chooser {
  color: var(--white);
  background: var(--deep);
}

.chooser .eyebrow {
  color: #c8d59b;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.62;
}

.chooser .section-heading p:not(.eyebrow) {
  color: rgba(255, 254, 253, 0.74);
}

.selector-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(360px, 1fr);
  gap: 18px;
}

.service-tabs {
  display: grid;
  gap: 8px;
}

.service-tab {
  min-height: 56px;
  padding: 12px 14px;
  color: rgba(255, 254, 253, 0.78);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.service-tab.active {
  color: var(--deep);
  background: var(--paper);
}

.service-panel {
  min-height: 350px;
  padding: clamp(22px, 4vw, 38px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--olive);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-panel p:not(.panel-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.official-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(50px, 7vw, 88px) clamp(18px, 5vw, 76px);
  background: var(--soft);
}

.link-card,
.contact-panel,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(31, 38, 35, 0.08);
}

.link-card {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(31, 38, 35, 0.14);
}

.link-card span {
  margin-bottom: 10px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 1.55rem;
  line-height: 1;
}

.link-card p,
.proof-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof .section-heading p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid article {
  padding: 24px;
}

.proof-grid strong {
  font-size: 1.32rem;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #e6ece2;
}

.visit-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.contact-panel {
  padding: 8px;
}

.contact-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
}

.contact-row a,
.contact-row strong {
  font-weight: 900;
}

.contact-actions {
  padding: 16px;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 76px) 94px;
  color: rgba(255, 254, 253, 0.76);
  background: var(--deep);
}

.site-footer p {
  max-width: 920px;
  margin: 0 0 10px;
  line-height: 1.55;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(31, 38, 35, 0.95);
  box-shadow: 0 18px 48px rgba(31, 38, 35, 0.22);
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 950;
}

.mobile-cta a:nth-child(2) {
  background: var(--olive);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 220px;
  }

  .hero-visual {
    min-height: 395px;
    order: -1;
  }

  .city-img {
    left: 0;
    right: auto;
    width: 45%;
    height: 78%;
  }

  .smile-img {
    right: 0;
    left: auto;
    width: 70%;
    height: 48%;
  }

  .hours-card {
    right: 0;
    bottom: 230px;
  }

  .selector-layout,
  .visit {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-tab {
    text-align: center;
  }

  .official-links,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand-sub,
  .header-actions .ghost-button,
  .header-actions .primary-button {
    display: none;
  }

  .brand-word {
    font-size: 1.08rem;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .text-button,
  .lang-switch {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .hero {
    padding: 24px 16px 280px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .city-img {
    width: 48%;
  }

  .smile-img {
    width: 74%;
    border-width: 7px;
  }

  .hours-card {
    bottom: 208px;
    width: 172px;
    padding: 14px;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions a {
    flex: 1 1 100%;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .proof-strip div {
    padding: 14px;
  }

  .chooser,
  .proof,
  .visit,
  .official-links {
    padding: 54px 16px;
  }

  .service-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .service-tab {
    min-height: 54px;
    font-size: 0.86rem;
  }

  .service-panel {
    min-height: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
