:root {
  --primary: #17345c;
  --primary-dark: #102742;
  --accent: #d94d1a;
  --accent-soft: #fff3ec;
  --success: #178a46;
  --success-dark: #0f6f36;
  --bg: #fffdf8;
  --surface: #ffffff;
  --surface-alt: #f3f7fb;
  --border: #d8e0ea;
  --text: #172033;
  --muted: #546179;
  --shadow: 0 14px 36px rgba(23, 52, 92, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.55;
  padding-bottom: 92px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(23, 52, 92, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
}

.logo img {
  display: block;
  width: 120px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-note {
  display: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.call-pill,
.whatsapp-pill,
.btn-primary,
.btn-secondary,
.btn-light {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 0;
  padding: 13px 18px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.call-pill,
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(217, 77, 26, 0.24);
}

.whatsapp-pill,
.btn-secondary {
  background: var(--success);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 138, 70, 0.2);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.call-pill:hover,
.btn-primary:hover {
  background: #bd3d10;
}

.whatsapp-pill:hover,
.btn-secondary:hover {
  background: var(--success-dark);
}

.trust-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 16px 28px;
  display: grid;
  gap: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 16px;
  z-index: 0;
  border-radius: 24px;
  background: url("../hero-image.png") center top / auto 92% no-repeat;
  opacity: 0.4;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy,
.lead-card,
.section-card,
.clinic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 22px 18px;
}

.lead-card {
  position: relative;
}

.hero-copy,
.lead-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: #98330d;
  border: 1px solid #ffd0b8;
  border-radius: 999px;
  padding: 8px 12px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

h1 {
  color: var(--primary);
  font-size: clamp(34px, 9vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.hero-lead {
  color: var(--text);
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.plain-list,
.check-list,
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f6ed;
  color: var(--success-dark);
  font-weight: 900;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
  max-width: 560px;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(23, 52, 92, 0.08);
}

.hero-trust-badge img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.helper-text,
.small-note,
.form-note {
  color: var(--muted);
  font-size: 15px;
}

.helper-text {
  margin: 14px 0 0;
  font-weight: 700;
}

.lead-card {
  padding: 18px;
}

.lead-card h2 {
  color: var(--primary);
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.lead-card .subcopy {
  color: var(--muted);
  margin-bottom: 16px;
}

.lead-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  gap: 6px;
}

label {
  color: var(--primary);
  font-size: 16px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  border: 2px solid #cdd7e3;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 18px;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid rgba(46, 117, 182, 0.2);
  border-color: var(--primary);
}

.form-note {
  margin: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--success-dark);
}

.form-status.is-error {
  color: #a52a16;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.trust-strip,
.landing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  min-height: 96px;
}

.trust-number {
  color: var(--primary);
  display: block;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.trust-label {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}

.section-card {
  padding: 22px 18px;
}

.section-title {
  color: var(--primary);
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 18px;
}

.info-grid,
.product-grid,
.step-grid,
.faq-grid {
  display: grid;
  gap: 12px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.step-card,
.faq-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.info-card {
  overflow: hidden;
  padding-top: 0;
}

.info-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -16px 14px;
  background: #e9f3ff;
}

.info-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 20 / 13;
  object-fit: cover;
  object-position: center;
}

.product-card {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 52, 92, 0.1);
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(132px, 34vw, 178px);
  overflow: hidden;
  background: #f6f8fb;
  padding: 14px;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f6f8fb;
  padding: 10px;
}

.product-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
}

.product-media .fit-tall {
  max-width: 78%;
  max-height: 96%;
}

.product-media .fit-wide {
  max-width: 96%;
  max-height: 86%;
}

.product-media .fit-zoom {
  transform: scale(1.14);
}

.product-media .fit-soft-zoom {
  transform: scale(1.06);
}

.product-card h3,
.product-card p {
  padding-left: 12px;
  padding-right: 12px;
}

.info-card h3,
.product-card h3,
.step-card h3,
.faq-card h3 {
  color: var(--primary);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-card h3 {
  margin-top: 12px;
  font-size: 18px;
}

.info-card p,
.product-card p,
.step-card p,
.faq-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.product-card p {
  padding-bottom: 14px;
  font-size: 15px;
  line-height: 1.35;
}

.cta-strip {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid #ffd0b8;
}

.cta-strip.whatsapp {
  background: #eaf7ef;
  border-color: #bfe7cb;
}

.cta-strip p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.cta-strip .small-note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.comparison-table-wrap {
  width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.comparison-table caption {
  color: var(--muted);
  margin-bottom: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  vertical-align: top;
}

.comparison-table thead {
  display: none;
}

.comparison-table tbody,
.comparison-table tr,
.comparison-table th,
.comparison-table td {
  display: block;
  width: 100%;
}

.comparison-table tr {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.comparison-table tbody th {
  background: var(--primary);
  color: #fff;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 900;
}

.comparison-table td {
  position: relative;
  padding: 38px 14px 14px;
  border-bottom: 1px solid rgba(23, 52, 92, 0.12);
  font-weight: 500;
}

.comparison-table td::before {
  content: attr(data-label);
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.comparison-table td:last-child {
  border-bottom: 0;
}

.comparison-table .good-cell {
  background: #eaf7ef;
  color: #0b4d25;
}

.comparison-table .basic-cell {
  background: #f6f3ed;
  color: #65543f;
}

.clinic-layout {
  display: grid;
  gap: 16px;
}

.clinic-card {
  padding: 18px;
}

.clinic-card h2 {
  color: var(--primary);
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.clinic-detail {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}

.clinic-detail strong {
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.map-link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.map-link img {
  display: block;
  width: 100%;
  height: auto;
}

.audiologist {
  display: grid;
  gap: 16px;
}

.audiologist-photo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.audiologist-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 7px 10px;
  font-size: 15px;
  font-weight: 850;
}

.experience-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 156px;
  min-height: 74px;
  padding: 12px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #d94d1a 0%, #f08b23 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 77, 26, 0.24);
}

.experience-badge strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.experience-badge span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.price-panel {
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.price-panel h2 {
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.price-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.price-panel .lead-form {
  margin-top: 16px;
}

.price-panel label {
  color: #fff;
}

.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 26px 16px 110px;
  text-align: center;
}

.site-footer p {
  margin: 0 auto 8px;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
}

.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 -8px 24px rgba(23, 52, 92, 0.2);
}

.mobile-action-bar a {
  border-radius: 0;
  min-height: 70px;
  font-size: 19px;
}

@media (min-width: 640px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-strip {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hero-trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .step-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .header-inner {
    padding: 12px 24px;
  }

  .logo img {
    width: 150px;
  }

  .header-note {
    display: inline;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    padding: 34px 24px 28px;
    align-items: start;
  }

  .hero::before {
    inset: 0 24px;
    background: url("../hero-image.png") center right / cover no-repeat;
  }

  .hero-copy,
  .lead-card,
  .section-card,
  .clinic-card {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 34px;
  }

  .lead-card {
    position: sticky;
    top: 108px;
    padding: 24px;
  }

  .trust-strip,
  .landing-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .trust-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .section-card {
    padding: 34px;
  }

  .info-grid,
  .product-grid,
  .step-grid,
  .faq-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .comparison-table {
    display: table;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 15px;
  }

  .comparison-table caption {
    font-size: 15px;
  }

  .comparison-table thead {
    display: table-header-group;
  }

  .comparison-table tbody {
    display: table-row-group;
  }

  .comparison-table tr {
    display: table-row;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
  }

  .comparison-table th,
  .comparison-table td {
    display: table-cell;
    width: auto;
    padding: 14px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .comparison-table thead th {
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
  }

  .comparison-table tbody th {
    width: 24%;
    background: #fff;
    color: var(--primary);
    font-size: 15px;
  }

  .comparison-table td {
    position: static;
    width: 38%;
  }

  .comparison-table td::before {
    content: none;
  }

  .comparison-table th:last-child,
  .comparison-table td:last-child {
    border-right: 0;
  }

  .comparison-table tbody tr:last-child th,
  .comparison-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .clinic-layout,
  .audiologist {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

  .mobile-action-bar {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
