/* =========================================================
   Art of Smiles — Family Dentistry
   Design: Direction F "Bright Smile" · Built by MI Design
   ========================================================= */

/* ---------- 1. Design  ---------- */
:root {
  /* Brand colors */
  --navy: #0f2a4a;
  --navy-deep: #0b3f73;
  --blue: #13629e;
  --blue-light: #1c7bb8;
  --sky: #9fd3f5;
  --green: #16c25b;
  --green-dark: #0e9f4a;
  --green-text: #16a34a;
  --mint: #e3f8ec;
  --mint-on-dark: #6ee7a0;
  --star: #f5b301;
  --avatar: #2bb8ee;

  /* Neutrals */
  --white: #ffffff;
  --surface: #f4f8fb;
  --line: #e3ebf2;
  --input-line: #d6e0ea;
  --text: #0f2a4a;
  --text-body: #3e4f66;
  --text-muted: #5b6b80;
  --text-on-dark: #e6f2fb;
  --text-on-dark-muted: #a9bcd3;
  --text-on-dark-soft: #c9d6e6;

  /* Gradients & effects */
  --gradient-brand: linear-gradient(
    120deg,
    var(--navy-deep) 0%,
    var(--blue) 55%,
    var(--blue-light) 100%
  );
  --shadow-card: 0 18px 40px rgba(15, 42, 74, 0.1);
  --shadow-photo: 0 24px 50px rgba(15, 42, 74, 0.14);
  --shadow-hero: 0 24px 50px rgba(5, 25, 55, 0.28);

  /* Type */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Jost", var(--font-sans);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.375rem); /* 40 → 70px */
  --fs-h1-service: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); /* 36 → 60px */
  --fs-h2: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem); /* 24 → 36px */
  --fs-h2-sm: clamp(1.5rem, 1.2rem + 1vw, 2rem); /* 24 → 32px */

  /* Layout */
  --container: 1440px;
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(56px, 6vw, 90px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --btn-width: 220px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,*::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--text);
}
a:hover {
  color: var(--green-dark);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
[id] {
  scroll-margin-top: 96px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--surface {
  background: var(--surface);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-text);
}
.eyebrow::before {
  content: "• ";
}
.eyebrow--on-dark {
  color: var(--mint-on-dark);
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.h2--sm {
  font-size: var(--fs-h2-sm);
}
.lead {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}
.muted {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  max-width: 640px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.light {
  font-weight: 400;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}
.btn:hover {
  transform: translate3d(0, -4px, 0);
  transition: 125ms;
} /* same lift as fdhonline.com */
.btn--fixed {
  width: var(--btn-width);
}
.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover {
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--navy);
}
.btn--light:hover {
  color: var(--navy);
}
.btn--sm {
  min-height: 40px;
  padding: 11px 20px;
  font-size: 0.8125rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 5. Header & navigation ---------- */
.hero {
  background: var(--gradient-brand);
  color: var(--white);
  overflow: hidden;
}
.hero {
  padding-top: 84px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 16px;
}
.site-header .nav-bar {
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    backdrop-filter 0.25s;
}
.site-header.is-scrolled .nav-bar {
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand:hover {
  color: var(--navy);
}
.site-header.is-scrolled .brand__tag {
  color: var(--blue);
}
.site-header.is-scrolled .nav-links a:not(.btn) {
  color: var(--navy);
}
.site-header.is-scrolled .nav-links a:not(.btn):hover,
.site-header.is-scrolled .nav-links a[aria-current="page"]:not(.btn) {
  color: var(--green-dark);
}
.site-header.is-scrolled .nav-toggle {
  background: rgba(15, 42, 74, 0.08);
  color: var(--navy);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 8px 24px rgba(5, 25, 55, 0.22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand:hover {
  color: var(--white);
}
.brand img {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__name span {
  font-weight: 600;
}
.brand__tag {
  font-weight: 600;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  color: var(--sky);
  margin-top: 5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--sky);
}
.nav-links .btn {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition:
    transform 0.25s,
    background 0.25s;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bar::before {
  top: -6px;
}
.nav-toggle__bar::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-bar > .btn {
    display: none;
  }
  .nav-links {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-hero);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    color: var(--navy);
    font-size: 0.9375rem;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--green-dark);
    background: var(--surface);
  }
  .nav-links .btn {
    display: inline-flex;
    margin-top: 8px;
    color: var(--white);
  }
}

/* ---------- 6. Hero ---------- */
.hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: stretch;
  padding-block: 40px 80px;
}
.hero__content {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__media {
  flex: 1.1 1 480px;
  min-width: 0;
  display: flex;
}
.pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(15, 42, 74, 0.12);
}
.hero h1 em {
  font-weight: 400;
}
.hero__lead {
  max-width: 420px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #f2fbff;
}
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
}
.social-proof img {
  width: 144px;
  height: 44px;
  object-fit: cover;
  border-radius: 19px;
  border: 2px solid var(--white);
}
.social-proof strong {
  display: block;
  font-size: 0.9375rem;
}
.hero-card {
  position: relative;
  flex: 1;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(140deg, #6e9bd8, #a9c6ec);
  box-shadow: var(--shadow-hero);
}
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Hero slideshow  */
.hero-slides__track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img {
  transform: scale(1);
  transform-origin: center;
}
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b3f73;
}
.hero-slide.is-active img {
  animation: hero-zoom 7s ease-out forwards;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(11, 63, 115, 0.75), transparent);
  pointer-events: none;
}
.hero-slide figcaption {
  position: absolute;
  left: 22px;
  bottom: 58px;
  z-index: 2;
  max-width: calc(100% - 44px);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(5, 25, 55, 0.5);
}
.hero-slides__controls {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-slides__toggle {
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
.hero-slides__toggle span {
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--white);
  border-right: 3px solid var(--white);
}
.hero-slides__toggle[aria-pressed="true"] span {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left: 10px solid var(--white);
  border-right: 0;
}
.hero-slides__dots {
  display: flex;
  gap: 8px;
}
.hero-slides__dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-slides__dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition:
    width 0.3s,
    background 0.3s;
}
.hero-slides__dots button[aria-current="true"]::before {
  width: 26px;
  border-radius: 6px;
  background: var(--green);
}
@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
  .hero-slide.is-active img {
    animation: none;
  }
}

/* Service-page hero */
.hero--service .hero__grid {
  align-items: center;
  padding-top: 56px;
}
.hero--service .hero__content {
  gap: 20px;
}
.hero--service h1 {
  font-size: var(--fs-h1-service);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: none;
}
.hero--service .hero__lead {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-dark);
}
.hero--service .hero__media {
  flex: 1 1 460px;
}
.hero-photo {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.breadcrumb {
  font-size: 0.8125rem;
  color: #cfe6f7;
}
.breadcrumb a {
  color: #cfe6f7;
}

@media (max-width: 600px) {
  .hero-card {
    min-height: 320px;
  }
  .hero-photo {
    height: 280px;
  }
  .btn--fixed {
    width: 100%;
  }
  .btn-row {
    flex-direction: column;
  }
}

/* ---------- 7. Cards & grids ---------- */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.service-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  display: grid;
  place-items: center;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.service-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.service-card__more {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-dark);
  transition:
    color 0.2s,
    transform 0.2s;
}
.service-card:hover .service-card__more,
.service-card:focus-visible .service-card__more {
  color: var(--blue);
  transform: translateX(4px);
}

/* ---------- 8. Dentist ---------- */
.dentist {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  justify-content: center;
}
.dentist__photo {
  flex: 0 1 420px;
  min-width: 0;
  position: relative;
}
.dentist__photo .frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-photo);
}
.dentist__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.badge-dark {
  position: absolute;
  left: -19px;
  bottom: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(15, 42, 74, 0.25);
}
.dentist__bio {
  flex: 0 1 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dentist__bio .lead {
  text-align: justify;
  hyphens: auto;
}
.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.credential {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
}
.credential strong {
  display: block;
  font-size: 0.875rem;
}
.credential span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.dentist__bio .btn {
  align-self: flex-start;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .dentist {
    gap: 40px;
  }
  .badge-dark {
    left: 12px;
  }
  .credentials {
    grid-template-columns: 1fr;
  }
  .dentist__bio .lead {
    text-align: left;
  }
}

/* ---------- 9. Stats band ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
}
.stats__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-block: 48px;
  text-align: center;
}
.stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.stat__label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}
@media (max-width: 700px) {
  .stats__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

/* ---------- 10. Why choose us ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.split > * {
  flex: 1 1 440px;
  min-width: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 14px;
}
.feature {
  display: flex;
  gap: 12px;
}
.feature__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--green-text);
  font-weight: 700;
}
.feature strong {
  font-size: 0.875rem;
}
.feature p {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.photo-rounded {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.photo-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- 11. Reviews ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.reviews-head .section-head {
  margin-bottom: 0;
  max-width: 620px;
}
.rating-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.rating-card__label {
  font-size: 0.8125rem;
  color: var(--text-body);
}
.rating-card__score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.rating-card__score b {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}
.stars {
  display: inline-flex;
  gap: 2px;
}
.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--star);
}
.grid-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.review blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.review__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}
.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--avatar);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
}

/* ---------- 12. FAQ (accordion) ---------- */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.faq__intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__list {
  flex: 2 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__art {
  display: flex;
  justify-content: center;
  padding-block: 8px;
}
.faq__art img {
  width: 224px;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(15, 27, 61, 0.18));
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--green-text);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 760px;
}
@media (max-width: 700px) {
  .faq__art {
    display: none;
  }
}

/* ---------- 13. Contact / booking ---------- */
.contact {
  background: var(--gradient-brand);
  color: var(--white);
}
.contact__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding-block: 80px;
}
.contact__info {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__info h2 {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.875rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.contact__info h2 em {
  font-weight: 400;
}
.map {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  height: 200px;
  max-width: 460px;
  background: #e5e3df;
}
.map__link {
  display: block;
  width: 100%;
  height: 100%;
}
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map__btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  box-shadow: 0 6px 16px rgba(5, 25, 55, 0.28);
}
.map__btn:hover {
  background: var(--green-dark);
}
.contact__info p {
  max-width: 380px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #f2fbff;
}
.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #f2fbff;
}
.contact__meta li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 12px;
  align-items: baseline;
}
.contact__meta strong {
  color: var(--sky);
  font-weight: 600;
}
.contact__meta a {
  color: var(--white);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.contact__meta a:hover,
.contact__meta a:focus-visible {
  color: var(--green);
}

/* Phone links in body text */
.muted a[href^="tel:"] {
  font-weight: 200;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.muted a[href^="tel:"]:hover,
.muted a[href^="tel:"]:focus-visible {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}

.form-card {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 24px 50px rgba(15, 42, 74, 0.18);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-card h3 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: 1.125rem;
  font-weight: 700;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.field--full {
  grid-column: 1 / -1;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--navy);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-line);
  background: var(--white);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue-light);
  outline-offset: 0;
  border-color: var(--blue-light);
}
.form-card .btn {
  grid-column: 1 / -1;
  justify-self: center;
  width: 272px;
  max-width: 100%;
}
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.form-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.form-status--ok {
  color: var(--green-dark);
}
.form-status--error {
  color: #b42318;
}
.hidden-field {
  display: none;
}
@media (max-width: 560px) {
  .form-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* ---------- 14. Service-page blocks ---------- */
.panel {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checklist li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-text);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.overview {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.overview > .stack {
  flex: 1 1 440px;
  min-width: 0;
}
.overview > .panel {
  flex: 1 1 380px;
  min-width: 0;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
}
.step p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tech {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.tech__intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tech__intro p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}
.tech__card {
  flex: 1 1 260px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tech__card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.tech__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark-soft);
}
.tech__gallery {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tech__gallery figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech__gallery .frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--white);
}
.tech__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech__gallery figcaption {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
}
@media (max-width: 700px) {
  .tech__gallery {
    grid-template-columns: 1fr;
  }
  .tech__gallery .frame {
    aspect-ratio: 4 / 5;
  }
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}
.gallery-head .muted {
  max-width: 420px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery figure {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 42, 74, 0.82);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- 15. CTA band ---------- */
.cta {
  background: var(--gradient-brand);
  color: var(--white);
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 64px;
}
.cta h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
}
.cta p {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark-muted);
}
.site-footer .container {
  padding-block: 70px 30px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
  font-style: normal;
}
.footer__contact a {
  color: var(--white);
  text-decoration: none;
  transition:
    color 0.2s,
    transform 0.2s;
}
.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: var(--green);
}
.footer__phones {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 10px;
  row-gap: 6px;
}
.footer__phones > span {
  grid-row: 1 / span 2;
  color: var(--text-on-dark-muted);
}
.footer__row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: baseline;
}
.footer__row > span:first-child {
  color: var(--text-on-dark-muted);
}
.footer__row a {
  overflow-wrap: anywhere;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.footer__social a:hover,
.footer__social a:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  font-size: 0.875rem;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h2 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}
.hours {
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.45;
}
.hours > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hours b {
  font-weight: 600;
  color: var(--white);
}
.hours span {
  color: var(--text-on-dark-muted);
}
.contact__meta .hours span {
  color: #f2fbff;
}
.footer__col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--white);
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--white);
  font-size: clamp(3.5rem, 12.5vw, 11.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 60px 0 20px;
  white-space: nowrap;
  overflow: hidden;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}
.footer__bottom a {
  color: var(--text-on-dark-muted);
}
.footer__credit {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.footer__credit:hover,
.footer__credit:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 17. Simple pages (thank you, 404, legal) ---------- */
.simple {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.simple .stack {
  align-items: center;
  max-width: 560px;
}
.hero-slides__controls[hidden] {
  display: none;
}
/* Hero card*/
.hero-slides {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
}

/* Logo hover */
.brand img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand__name span,
.brand__tag {
  transition:
    color 0.25s,
    letter-spacing 0.25s;
}
.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-8deg) scale(1.12);
}
.brand:hover .brand__name span,
.brand:focus-visible .brand__name span {
  color: var(--mint-on-dark);
}
.site-header.is-scrolled .brand:hover .brand__name span {
  color: var(--green-dark);
}
.brand:hover .brand__tag,
.brand:focus-visible .brand__tag {
  letter-spacing: 0.2em;
}
@media (prefers-reduced-motion: reduce) {
  .brand img,
  .brand__name span,
  .brand__tag {
    transition: none;
  }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 42, 74, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--green-dark);
}
.to-top:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
