:root {
  --ink: #171514;
  --ink-soft: #2a2826;
  --paper: #fffdf8;
  --muted: #f4efe7;
  --muted-2: #ece2d3;
  --line: rgba(23, 21, 20, 0.14);
  --red: #c7242d;
  --red-deep: #83151d;
  --gold: #c89a42;
  --gold-light: #efd38a;
  --green: #1c776f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Tahoma", "Arial", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open,
body.chat-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  display: none;
}

.container {
  width: calc(100% - 32px);
  max-width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: var(--white);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(18, 18, 18, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #030303;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(199, 36, 45, 0.28);
}

.icon-button,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.38), rgba(8, 8, 8, 0.72) 48%, rgba(8, 8, 8, 0.92)),
    linear-gradient(0deg, rgba(16, 15, 14, 0.84), rgba(16, 15, 14, 0.12) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 116px;
  padding-bottom: 64px;
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-content h1,
.section-heading h2,
.about-copy h2,
.contact-info h2 {
  margin: 0;
  line-height: 1.18;
  font-weight: 900;
}

.hero-content h1 {
  max-width: 760px;
  font-size: 4rem;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.16rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 38px rgba(199, 36, 45, 0.3);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

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

.full-width {
  width: 100%;
}

.stats-band {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid div:first-child {
  border-inline-start: 0;
}

.stats-grid strong {
  color: var(--gold-light);
  font-size: 2.15rem;
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, #161514, #24201c 44%, #161514);
}

.section-muted {
  background: var(--muted);
}

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

.section-heading.align-start {
  text-align: start;
  margin-inline: 0;
}

.section-heading h2,
.about-copy h2,
.contact-info h2 {
  font-size: 2.55rem;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-info p {
  color: rgba(23, 21, 20, 0.68);
  margin: 16px 0 0;
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .faq-layout > .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.center-card,
.service-card,
.testimonial-card,
.faq-item,
.contact-form,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(31, 22, 15, 0.08);
}

.center-card {
  overflow: hidden;
  color: var(--ink);
}

.center-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-soft);
}

.center-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.center-card:hover .center-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.center-body,
.service-card,
.testimonial-card {
  padding: 22px;
}

.center-body h3,
.service-card h3,
.testimonial-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.35;
}

.center-body p,
.service-card p,
.testimonial-card p {
  color: rgba(23, 21, 20, 0.68);
  margin: 10px 0 0;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 276px;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.service-card:nth-child(2n) .service-icon {
  background: var(--red);
}

.service-card:nth-child(3n) .service-icon {
  background: var(--gold);
}

.service-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.service-actions .btn {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.86rem;
}

.split-section {
  background: linear-gradient(180deg, var(--paper), var(--muted));
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-inline-start: 28px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  inset-inline-start: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(199, 36, 45, 0.1);
}

.brand-panel {
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #050505;
  box-shadow: var(--shadow);
}

.brand-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.filter-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 14px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  font-weight: 900;
}

.testimonial-card {
  min-height: 238px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.stars svg {
  fill: currentColor;
  stroke: currentColor;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  color: var(--ink);
}

.faq-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 0;
  color: var(--ink);
  background: var(--white);
  text-align: start;
  font-weight: 900;
}

.faq-button svg {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-button svg {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: rgba(23, 21, 20, 0.72);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--paper), #fff),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.86fr);
  gap: 34px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 14px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
}

.contact-card svg {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
}

.contact-card span {
  color: rgba(23, 21, 20, 0.62);
  font-weight: 800;
  font-size: 0.84rem;
}

.contact-card strong {
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.chat-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 21, 20, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.chat-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(199, 36, 45, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  color: var(--white);
  background: #0f0f0f;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 850;
  display: grid;
  gap: 10px;
}

.floating-actions a,
.floating-actions button {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.floating-actions button {
  background: var(--red);
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1000;
  width: min(380px, calc(100% - 32px));
  max-height: min(620px, calc(100vh - 112px));
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-widget.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--white);
  background: var(--ink);
}

.chat-header span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.chat-body {
  min-height: 250px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--muted);
}

.chat-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.chat-message.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--red);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.modal-hero {
  min-height: 220px;
  padding: 30px;
  display: grid;
  align-content: end;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--red-deep));
}

.modal-hero h3 {
  margin: 0;
  font-size: 2rem;
}

.modal-body {
  padding: 26px;
}

.modal-body ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.modal-body li {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--muted);
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .header-call {
    display: none;
  }

  .hero-section {
    min-height: 660px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .stats-grid,
  .centers-grid,
  .services-grid,
  .testimonials-grid,
  .split-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-row: span 1;
  }

  .faq-layout,
  .contact-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
    max-width: var(--container);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero-section {
    min-height: 610px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.48), rgba(8, 8, 8, 0.82)),
      linear-gradient(0deg, rgba(16, 15, 14, 0.86), rgba(16, 15, 14, 0.22) 48%);
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 42px;
  }

  .hero-content h1,
  .section-heading h2,
  .about-copy h2,
  .contact-info h2 {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .service-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .stats-grid,
  .centers-grid,
  .services-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    min-height: 94px;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
  }

  .stats-grid strong {
    font-size: 1.85rem;
  }

  .contact-card strong,
  .testimonial-card p,
  .center-body p,
  .service-card p {
    overflow-wrap: anywhere;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .contact-form,
  .center-body,
  .service-card,
  .testimonial-card {
    padding: 18px;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .chat-widget {
    right: 12px;
    bottom: 82px;
    width: calc(100% - 24px);
  }
}
