:root {
  --ink: #18232f;
  --muted: #657283;
  --line: #dde5e8;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --teal: #0e766b;
  --teal-deep: #075a59;
  --coral: #d46350;
  --amber: #e3ad45;
  --shadow: 0 24px 60px rgba(24, 35, 47, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(221, 229, 232, .9);
  backdrop-filter: blur(14px);
}

.topline {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  color: #ffffff;
  background: var(--teal-deep);
  font-size: 14px;
}

.topline a { font-weight: 700; }

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 12px;
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small { display: block; line-height: 1.15; }

.brand small { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: #314052;
}

.nav-links a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../images/hero-hearing-test.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 31, 43, .92), rgba(11, 31, 43, .64) 48%, rgba(11, 31, 43, .18)),
    linear-gradient(0deg, rgba(11, 31, 43, .55), rgba(11, 31, 43, .03));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 360px);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--teal); }
.eyebrow.light { color: #ffe0a3; }

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.btn.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 32px rgba(212, 99, 80, .32);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
}

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-panel div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-panel strong,
.hero-panel span { display: block; }

.hero-panel span { color: rgba(255, 255, 255, .76); }

.quick-bar {
  width: min(1180px, calc(100% - 48px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-bar a {
  padding: 24px;
  text-align: center;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.quick-bar a:last-child { border-right: 0; }
.quick-bar a:hover { color: var(--teal); background: var(--soft); }

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.muted {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 64px;
  align-items: center;
}

.section-copy p,
.section-head p,
.device-card p,
.device-list p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-grid span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.image-card img,
.service-grid article,
.device-card,
.device-list article,
.price-cards article,
.branch-card,
.faq-list details {
  border-radius: 8px;
}

.image-card {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.compact {
  margin-inline: auto;
  text-align: center;
}

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

.service-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.service-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-grid div { padding: 24px; }

.devices { padding-top: 108px; }

.device-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
}

.device-card,
.device-list article {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.device-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.device-card div,
.device-list article { padding: 26px; }

.device-list {
  display: grid;
  gap: 18px;
}

.device-list article:nth-child(2) { border-left: 5px solid var(--teal); }
.device-list article:nth-child(3) { border-left: 5px solid var(--amber); }

.price {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 48px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #133241, #0e766b 60%, #a65044);
}

.price p { color: rgba(255, 255, 255, .84); }

.price-cards {
  display: grid;
  gap: 18px;
}

.price-cards article {
  padding: 26px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
}

.price-cards a {
  display: inline-block;
  margin-top: 8px;
  color: #ffe0a3;
  font-weight: 800;
}

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

.faq-list details {
  border: 1px solid var(--line);
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-lines a { color: var(--teal); }

.branch-list {
  display: grid;
  gap: 16px;
}

.branch-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.branch-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.branch-card p {
  margin-bottom: 10px;
  color: var(--muted);
}

.branch-card small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.branch-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.branch-card a {
  color: var(--teal);
  font-weight: 800;
}

.whatsapp-wide {
  justify-self: start;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(24px, calc((100% - 1180px) / 2));
  color: #d9e7e9;
  background: #121f2a;
}

.footer p { margin: 6px 0 0; color: #aebbc4; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 920px) {
  .topline { display: none; }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 77px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-links a { padding: 12px; }

  .hero { min-height: 680px; }

  .hero-content,
  .split,
  .device-layout,
  .price,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-content { gap: 28px; }

  .quick-bar,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-bar a:nth-child(2) { border-right: 0; }
  .quick-bar a { border-bottom: 1px solid var(--line); }
  .quick-bar a:nth-child(n+3) { border-bottom: 0; }
}

@media (max-width: 620px) {
  .nav-shell,
  .section,
  .quick-bar,
  .hero-content {
    width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }

  .nav-shell { padding: 14px 16px; }
  .brand { min-width: 0; }
  .brand small { display: none; }

  .hero {
    min-height: 760px;
    align-items: center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(11, 31, 43, .92), rgba(11, 31, 43, .46));
  }

  h1 { font-size: 40px; }
  h2 { font-size: 32px; }

  .hero-actions,
  .footer,
  .footer-links {
    display: grid;
  }

  .btn { width: 100%; }

  .quick-bar,
  .service-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .quick-bar a,
  .quick-bar a:nth-child(2),
  .quick-bar a:nth-child(n+3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-bar a:last-child { border-bottom: 0; }

  .section,
  .section.muted,
  .price {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
