/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:      #1B3A5C;
  --navy-deep: #122840;
  --teal:      #1A7BA4;
  --teal-dk:   #0F5070;
  --lgray:     #F2F6FA;
  --mgray:     #D0DCE8;
  --dgray:     #555555;
  --white:     #FFFFFF;
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max-w:     1100px;
  --r:         8px;
  --t:         0.2s ease;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
body { font-family: var(--font); color: var(--dgray); line-height: 1.7; background: var(--white); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: 19px; }
p { font-size: 16px; line-height: 1.75; max-width: 700px; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-block; padding: 12px 24px; border-radius: var(--r); font-size: 15px; font-weight: 500; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); text-decoration: none; border: none; font-family: var(--font); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dk); }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--mgray); }
.btn-secondary:hover { background: var(--lgray); border-color: var(--teal); color: var(--navy); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--lgray); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--mgray); transition: box-shadow var(--t); }
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-inner { display: flex; align-items: center; height: 136px; gap: 0; padding: 8px 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; margin-right: auto; }
.nav-logo img { height: 120px; width: auto; }
.nav-logo-text { display: none; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a { font-size: 14px; color: var(--dgray); padding: 8px 16px; border-bottom: 2px solid transparent; transition: color var(--t), border-color var(--t); white-space: nowrap; display: block; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--teal); }
.nav-links a.nav-cta { background: var(--navy); color: var(--white); border-radius: var(--r); margin-left: 12px; border-bottom: 2px solid transparent; padding: 8px 18px; }
.nav-links a.nav-cta:hover { background: var(--teal); }
.lang-toggle { display: flex; align-items: center; gap: 1px; margin-left: 20px; background: var(--lgray); border-radius: 20px; padding: 3px; border: 1px solid var(--mgray); flex-shrink: 0; }
.lang-btn { background: none; border: none; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--dgray); padding: 3px 9px; border-radius: 16px; transition: background var(--t), color var(--t); font-family: var(--font); letter-spacing: 0.04em; }
.lang-btn.active { background: var(--navy); color: var(--white); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; margin-left: 12px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-mobile { display: none; flex-direction: column; padding: 16px 28px 20px; border-top: 1px solid var(--mgray); gap: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; color: var(--navy); padding: 8px 0; border-bottom: 1px solid var(--lgray); }
.nav-mobile .lang-toggle { margin: 12px 0 0; }

/* ── Hero dark ─────────────────────────────────────────────────────────── */
.hero-dark { background: var(--navy); padding: 88px 0 76px; }
.hero-pre { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 18px; }
.hero-dark h1 { color: var(--white); max-width: 825px; margin-bottom: 22px; }
.hero-dark .hero-sub { color: rgba(255,255,255,0.62); font-size: 17px; max-width: 675px; margin-bottom: 36px; line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 44px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.11); flex-wrap: wrap; }
.stat-item .stat-n { font-size: 26px; font-weight: 700; color: var(--white); line-height: 1.1; }
.stat-item .stat-l { font-size: 12px; color: rgba(255,255,255,0.42); margin-top: 3px; line-height: 1.4; }

/* ── Hero light ────────────────────────────────────────────────────────── */
.hero-light { background: var(--lgray); padding: 68px 0 60px; border-bottom: 1px solid var(--mgray); }
.hero-light .hero-pre { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.hero-light h1 { margin-bottom: 16px; max-width: 700px; }
.hero-light .hero-sub { color: var(--dgray); font-size: 17px; max-width: 700px; line-height: 1.75; }

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: 76px 0; }
.sec-white { background: var(--white); }
.sec-gray  { background: var(--lgray); }
.sec-navy  { background: var(--navy); }
.sec-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 12px; }
.sec-h2 { margin-bottom: 14px; }
.sec-sub { color: var(--dgray); font-size: 17px; max-width: 700px; margin-bottom: 48px; line-height: 1.75; }
.sec-sub.wide { max-width: 700px; }
.sec-sub.light { color: rgba(255,255,255,0.62); }
.sec-sub.light-narrow { color: rgba(255,255,255,0.62); max-width: 700px; }
.navy-h2 { color: var(--white); }

/* ── Cards grid ────────────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--mgray); border-radius: 12px; padding: 28px; }
.card-on-gray { background: var(--white); }
.card-icon { width: 46px; height: 46px; background: rgba(26,123,164,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 1.65; }

/* ── Stats block (navy bg) ─────────────────────────────────────────────── */
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; margin-top: 44px; }
.stat-block { background: rgba(255,255,255,0.05); padding: 36px 28px; }
.stat-block .num { font-size: 30px; font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 6px; }
.stat-block .lbl { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.5; }

/* ── Team cards ────────────────────────────────────────────────────────── */
.team-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--mgray); border-radius: 12px; padding: 32px 28px; }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; letter-spacing: 0.03em; }
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-role { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.02em; }
.team-card .bio { font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
.team-details { border-top: 1px solid var(--lgray); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.team-detail { font-size: 13px; color: var(--dgray); display: flex; gap: 8px; line-height: 1.5; }
.team-detail::before { content: '—'; color: var(--teal); flex-shrink: 0; }
.team-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 15px; font-weight: 500; margin-top: 36px; transition: gap var(--t); }
.team-link:hover { gap: 10px; }

/* ── CTA section ───────────────────────────────────────────────────────── */
.cta-section { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.62); max-width: 520px; margin: 0 auto 32px; font-size: 17px; }

/* ── Teal bar quote ────────────────────────────────────────────────────── */
.teal-bar { border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; font-size: 17px; color: var(--navy); font-style: italic; line-height: 1.65; }

/* ── Tier cards (services page) ────────────────────────────────────────── */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 44px; }
.tier-card { background: var(--white); border: 1px solid var(--mgray); border-radius: 14px; overflow: hidden; }
.tier-head { padding: 32px 32px 24px; background: var(--lgray); border-bottom: 1px solid var(--mgray); }
.tier-head.dark { background: var(--navy); }
.tier-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; background: rgba(26,123,164,0.12); color: var(--teal); }
.tier-badge.white { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.tier-head h3 { font-size: 22px; margin-bottom: 6px; }
.tier-head.dark h3 { color: var(--white); }
.tier-head .tier-sub { font-size: 15px; color: var(--dgray); }
.tier-head.dark .tier-sub { color: rgba(255,255,255,0.58); }
.tier-price { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mgray); }
.tier-head.dark .tier-price { color: rgba(255,255,255,0.75); border-top-color: rgba(255,255,255,0.15); }
.tier-body { padding: 28px 32px; }
.tier-list { display: flex; flex-direction: column; gap: 12px; }
.tier-list li { font-size: 14px; color: var(--dgray); display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.tier-list li::before { content: ''; width: 18px; height: 18px; min-width: 18px; border-radius: 50%; background: rgba(26,123,164,0.12) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1.5' stroke='%231A7BA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; margin-top: 2px; flex-shrink: 0; }
.svc-note { font-size: 13px; color: var(--dgray); line-height: 1.65; font-style: italic; margin-top: 32px; padding: 20px 24px; background: var(--lgray); border-radius: var(--r); border-left: 3px solid var(--mgray); }

/* ── What we don't do ──────────────────────────────────────────────────── */
.no-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.no-list li { font-size: 14px; color: var(--dgray); display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--lgray); line-height: 1.6; }
.no-list li::before { content: '×'; color: #bbb; font-size: 17px; line-height: 1.3; flex-shrink: 0; }
.no-note { font-size: 14px; color: var(--navy); font-weight: 500; margin-top: 20px; padding: 18px 20px; background: rgba(26,123,164,0.07); border-radius: var(--r); border-left: 3px solid var(--teal); line-height: 1.65; font-style: italic; }

/* ── About model section ───────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.two-col p { margin-bottom: 16px; }

/* ── Team full profiles ────────────────────────────────────────────────── */
.profile { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; padding: 40px 0; border-top: 1px solid var(--mgray); }
.profile:last-child { border-bottom: 1px solid var(--mgray); }
.profile-left { text-align: center; min-width: 120px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.profile-name-mobile { display: none; }
.profile-right h3 { font-size: 22px; margin-bottom: 3px; }
.profile-right .role { font-size: 14px; color: var(--teal); font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; }
  .profile-right p { font-size: 15px; line-height: 1.75; color: var(--dgray); margin-bottom: 0; }

/* ── Contact form ──────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--mgray); border-radius: var(--r); font-size: 15px; color: var(--navy); background: var(--white); font-family: var(--font); transition: border-color var(--t); outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,123,164,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23555' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.contact-info-block { padding-top: 4px; }
.contact-info-item { padding: 16px 0; border-bottom: 1px solid var(--mgray); }
.contact-info-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dgray); font-weight: 600; margin-bottom: 4px; }
.contact-info-val { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-info-note { font-size: 13px; color: var(--dgray); margin-top: 2px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 52px 0 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px; gap: 40px; flex-wrap: wrap; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo img { display: none; }
.footer-logo-text { display: block; font-size: 18px; font-weight: 700; color: white; letter-spacing: 0.5px; }
.footer-tag { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer .lang-toggle { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.footer .lang-btn { color: rgba(255,255,255,0.5); }
.footer .lang-btn.active { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── How We Work steps ─────────────────────────────────────────────────── */
.steps-wrap { position: relative; margin-top: 56px; }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-4::before { content: ''; position: absolute; top: 22px; left: calc(12.5% + 4px); right: calc(12.5% + 4px); height: 2px; background: var(--mgray); z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; position: relative; z-index: 1; }
.step-h { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.step-p { font-size: 13px; color: var(--dgray); line-height: 1.6; }

/* ── Why AquaBridge comparison ─────────────────────────────────────────── */
.vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.vs-col { background: var(--lgray); border-radius: var(--r); padding: 32px 28px; border: 1px solid var(--mgray); }
.vs-col.vs-us { background: var(--navy); border-color: var(--navy); }
.vs-col-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dgray); margin-bottom: 6px; opacity: 0.7; }
.vs-col.vs-us .vs-col-head { color: var(--teal); opacity: 1; }
.vs-col-label { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.3; }
.vs-col.vs-us .vs-col-label { color: var(--white); }
.vs-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 14px; line-height: 1.5; color: var(--dgray); }
.vs-col.vs-us .vs-item { color: rgba(255,255,255,0.82); }
.vs-icon { flex-shrink: 0; margin-top: 2px; font-size: 14px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .stats-4 { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile { grid-template-columns: 1fr; gap: 16px; }
  .profile-left { text-align: left; }
  .profile-avatar { margin: 0 0 8px; }
  .tier-grid { grid-template-columns: 1fr; max-width: 520px; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .steps-4::before { display: none; }
  .vs-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .lang-toggle.desktop { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 52px 0; }
  .hero-dark { padding: 60px 0 52px; }
  .hero-stats { gap: 24px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .stats-4 { grid-template-columns: 1fr; }
}
