:root {
  --bg: #ffffff;
  --muted: #eef9f7;
  --muted-soft: #f5fbfc;
  --text: #102329;
  --soft-text: #587077;
  --primary: #045f9b;
  --primary-dark: #063b63;
  --green: #11a87a;
  --green-soft: #9cf0c1;
  --teal: #098e9f;
  --border: #d8ecec;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(5, 95, 155, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 80px; width: auto; display: block; }
.logo:hover img { transform: scale(1.04); }
.nav-links { display: flex; gap: 28px; font-weight: 700; color: var(--soft-text); }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(4,95,155,0.18);
}
.btn:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; }
.btn-secondary { background: white; color: var(--primary); border-color: var(--border); box-shadow: none; }
.btn-secondary:hover { background: var(--muted); color: var(--primary-dark); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .92rem; }

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 82% 12%, rgba(17,168,122,.22), transparent 32%),
    radial-gradient(circle at 20% 4%, rgba(4,95,155,.15), transparent 30%),
    linear-gradient(180deg, #f5fbfc 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; font-weight: 900; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 720px; color: var(--primary-dark); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.24rem; color: var(--soft-text); max-width: 680px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-points span, .trust-points a {
  padding: 9px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--soft-text);
  font-weight: 800;
  font-size: .92rem;
}
.trust-points a:hover { color: var(--primary); border-color: rgba(17,168,122,.42); transform: translateY(-1px); }
.hero-visual {
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--primary), var(--green));
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,59,99,.04) 25%, rgba(6,59,99,.62) 100%);
}
.hero-card-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.stat-card { background: rgba(255,255,255,.94); border-radius: 20px; padding: 20px; backdrop-filter: blur(10px); }
.stat-card strong { display: block; font-size: 1.15rem; margin-bottom: 4px; color: var(--primary-dark); }
.stat-card p { margin: 0; color: var(--soft-text); }

.section { padding: 86px 0; }
.muted { background: var(--muted); }
.muted-soft { background: var(--muted-soft); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.two-col p { font-size: 1.08rem; color: var(--soft-text); margin-top: 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(5,95,155,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(17,168,122,.42);
  box-shadow: 0 25px 54px rgba(5,95,155,.14);
}
.icon { font-size: 2rem; display: inline-block; margin-bottom: 20px; }
.card p, .step p { color: var(--soft-text); margin-bottom: 0; }

.cishop-section { background: linear-gradient(135deg, #ffffff 0%, #effbf7 100%); }
.cishop-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 44px; align-items: center; }
.cishop-logo-wrap { background: white; border: 1px solid var(--border); border-radius: 32px; padding: 34px; box-shadow: var(--shadow); display: flex; justify-content: center; }
.cishop-logo { width: min(180px, 100%); height: auto; border-radius: 50%; }
.cishop-grid p { color: var(--soft-text); font-size: 1.08rem; }
.cishop-grid .btn { margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 24px;
}

.dark { background: linear-gradient(135deg, var(--primary-dark), #056b74); color: white; }
.dark .eyebrow { color: var(--green-soft); }
.dark p { color: rgba(255,255,255,.82); }

.brands h2 { max-width: 760px; margin-bottom: 26px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-row span { padding: 14px 20px; border: 1px solid var(--border); border-radius: 999px; font-weight: 900; color: var(--soft-text); background: white; }
.brand-logos { gap: 16px; align-items: center; }
.brand-logos img {
  width: 150px;
  height: 76px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(5,95,155,.06);
}
.brand-logos img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(5,95,155,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { margin-top: 30px; }
.contact-list p { margin: 0 0 18px; color: var(--soft-text); }
.contact-list strong { color: var(--text); }
.contact-list a { color: var(--primary); font-weight: 800; }
.contact-form { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
label { display: block; font-weight: 900; margin-bottom: 16px; }
input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fbfefe;
}
input:focus, textarea:focus { outline: 3px solid rgba(17,168,122,.18); border-color: var(--green); }
textarea { min-height: 132px; resize: vertical; }
.form-note { margin: 12px 0 0; color: var(--soft-text); font-size: .9rem; }


.stats-section { padding: 38px 0 76px; background: white; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  background: linear-gradient(135deg, #ffffff 0%, #f2fbfb 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(5,95,155,.07);
}
.metric strong { display: block; color: var(--primary-dark); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 10px; }
.metric span { color: var(--soft-text); font-weight: 800; }

.cishop-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(17,168,122,.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #effbf7 100%);
}
.cishop-section::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(4,95,155,.08);
}

.map-card { margin-top: 28px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(5,95,155,.09); background: white; }
.map-card iframe { display: block; width: 100%; height: 260px; border: 0; }

.footer { background: #081b24; color: white; padding: 42px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.25fr; gap: 28px; color: rgba(255,255,255,.78); }
.footer strong { color: white; display: block; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer a:hover { color: var(--green-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; }

@media (max-width: 900px) {
  .nav .btn-small { display: none; }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: .9rem;
  }

  .hero-grid, .two-col, .contact-grid, .cishop-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Final adjustments */
.hero-grid { align-items: start; }

.hero-card {
  min-height: 520px;
  margin-top: 42px;
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(145deg, var(--primary), var(--green));
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-card { min-height: auto; margin-top: 0; }
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.building-photo {
  width: 60%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 22px auto 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: white;
}


/* Final layout fixes requested */
.hero-card {
  min-height: 0;
  height: fit-content;
  margin-top: 0;
  align-self: start;
}

.contact-grid {
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
}

.contact-info-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px;
  gap: 26px;
  align-items: start;
}

.contact-info-row .contact-list {
  margin-top: 30px;
}

.contact-info-row .building-photo {
  width: 100%;
  max-width: none;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 104px 0 0 0;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: white;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-row { grid-template-columns: 1fr; }
  .contact-info-row .building-photo {
    width: min(320px, 100%);
    height: auto;
    margin: 0 auto 8px auto;
    object-fit: contain;
  }
}

/* Team section */
.team-section .section-heading p:not(.eyebrow) {
  color: var(--soft-text);
  font-size: 1.08rem;
  max-width: 760px;
  margin: 18px 0 0;
}

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

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(5,95,155,.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17,168,122,.42);
  box-shadow: 0 24px 52px rgba(5,95,155,.14);
}

.team-photo-placeholder {
  min-height: 260px;
  background:
    radial-gradient(circle at 70% 20%, rgba(17,168,122,.18), transparent 28%),
    linear-gradient(135deg, #f5fbfc 0%, #eef9f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-text);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.team-info {
  padding: 24px 26px 28px;
}

.team-info p {
  margin: 8px 0 0;
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-photo-placeholder { min-height: 220px; }
}


.team-photo{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center 35%;
  display:block;
  border-bottom:1px solid var(--border);
}

.brand-logos img.phonak-logo{
    padding: 1px;
}

section {
  scroll-margin-top: 50px;
}

@media (max-width: 900px) {
  section {
    scroll-margin-top: 130px;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr !important;
  }
}
/* Contact form: reCAPTCHA + anti-spam honeypot */
.captcha-wrap {
  margin: 4px 0 18px;
}

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

@media (max-width: 420px) {
  .captcha-wrap {
    transform: scale(.92);
    transform-origin: left top;
    margin-bottom: 4px;
  }
}
