/* ============================================================
   Aqwire Landing Page — Redesign
   Plain HTML/CSS implementation (no framework)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --teal: #31D0DB;
  --teal-dark: #00C8D7;
  --teal-hover: #28b8c2;
  --teal-tint: #E1F9FA;
  --teal-tint-2: #E0F9FB;
  --teal-tint-3: #DEF8F9;
  --teal-tint-4: #EEF7F8;
  --navy: #1A3350;
  --navy-2: #344D67;
  --gray-text: #666666;
  --gray-text-2: #6B7280;
  --gray-text-3: #555e6b;
  --gray-text-4: #9CA3AF;
  --border-light: #F3F4F6;
  --border-mid: #E5E7EB;
  --bg-soft: #F9FAFB;
  --bg-soft-2: #F8FAFB;
  --footer-bg: #2D3E50;
  --footer-border: #3D4E60;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--navy-2);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.wide-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
}

/* ── Section title ─────────────────────────────────────────── */
.section-title {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-2);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: var(--gray-text);
}

.section-desc {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 1000px;
}

@media (min-width: 768px) {
  .section-desc {
    font-size: 20px;
  }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2rem;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}

.btn-primary {
  background-color: var(--teal);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: .9;
}

.btn-secondary {
  background-color: var(--teal-tint-2);
  color: var(--teal);
}

.btn-secondary:hover {
  background-color: #D1F2F5;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 700px;
  margin: 16px auto 0;
}

.btn-row a {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    justify-content: center;
  }
  .btn-row a {
    width: auto;
  }
}

/* ── Featured icon (ringed) ───────────────────────────────── */
.featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--teal-tint);
  flex-shrink: 0;
}

.featured-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #C8F1F6;
}

.featured-icon-inner img,
.featured-icon-inner svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-2);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color .2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--teal);
}

.chevron {
  font-size: 12px;
  display: inline-block;
  transition: transform .2s;
}

.dropdown-trigger.is-open .chevron {
  transform: rotate(180deg);
}

.nav-cta .btn-cta {
  background: var(--teal);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
  display: inline-block;
}

.nav-cta .btn-cta:hover {
  background: var(--teal-hover);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy-2);
}

/* Desktop dropdown */
.dropdown {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg-soft-2);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  z-index: 200;
  padding: 40px 0;
  display: none;
}

.dropdown.is-open {
  display: block;
}

.dropdown-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--teal);
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.dropdown-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-2);
  margin: 0 0 4px;
  transition: color .2s;
}

.dropdown-item-desc {
  font-size: 13px;
  color: var(--gray-text-2);
  line-height: 1.55;
  margin: 0;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.drawer.is-open {
  display: flex;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-header img {
  height: 30px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-text-2);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-2);
  padding: 18px 24px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.drawer-accordion {
  padding: 20px 24px;
  background: #F9FAFB;
  display: none;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-accordion.is-open {
  display: flex;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
}

.drawer-footer .btn-cta {
  display: block;
  text-align: center;
  background: var(--teal);
  color: #fff;
  border-radius: 8px;
  padding: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }
  .nav-right {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .dropdown {
    display: none !important;
  }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.hero-track {
  /* Grid-stack pattern: every slide occupies the same cell, so the
     track's height is always the tallest slide's natural height —
     identical for all 3 slides, no jump when the active one changes. */
  display: grid;
  width: 100%;
}

.hero-slide {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  width: 100%;
  min-height: 516px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #ffffff;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 80px 80px;
}

.hero-headline {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.5px;
}

.hero-subheadline {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--gray-text-3);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 420px;
}

/* Slide 1 */
.hero-slide1-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
  z-index: 2;
}

.hero-cta-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 24px;
  display: inline-block;
  transition: color .2s;
}

.hero-cta-link:hover {
  color: #009baa;
  text-decoration: underline;
}

.app-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}

.app-badge {
  height: 44px;
  width: auto;
  transition: opacity .2s ease, transform .2s ease;
}

.app-badge:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.hero-slide1-visual {
  flex: 1.2;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
}

.visual-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.wave-image {
  position: absolute;
  z-index: 1;
  width: 260%;
  max-width: none;
  height: 1025px;
  right: -250px;
  bottom: -630px;
  pointer-events: none;
}

.phone-image {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  height: 930px;
  top: -7%;
  right: 5%;
}

/* Slide 2 */
.hero-slide2-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
}

.hero-slide2-visual {
  flex: 1.2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.map-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* Slide 3 */
.hero-slide3 {
  position: relative;
  overflow: hidden;
}

.rockwell-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.rockwell-image.mobile {
  display: none;
}

.hero-slide3-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  padding: 32px 300px 40px;
}

.rockwell-headline {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.rockwell-subheadline {
  font-size: clamp(14px, 1.4vw, 17px);
  color: #ffffff;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 420px;
}

.rockwell-highlight {
  color: var(--teal);
  font-weight: 700;
}

.rockwell-address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  width: fit-content;
}

.rockwell-pin {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rockwell-address {
  font-size: 15px;
  color: var(--navy-2);
  line-height: 1.55;
  margin: 0;
}

/* Dots + Arrows */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(26,51,80,.25);
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}

.hero-dot:hover {
  background: rgba(26,51,80,.5);
}

.hero-dot.is-active {
  background: var(--teal-dark);
  transform: scale(1.35);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: background .2s ease, box-shadow .2s ease;
}

.hero-arrow:hover {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

@media (max-width: 1024px) {
  .hero-slide-inner {
    padding: 40px 40px 80px;
    gap: 24px;
  }
  .phone-image {
    max-width: 420px;
  }
  .hero-slide3-content {
    padding: 40px 40px 80px;
    max-width: 100%;
  }
  .rockwell-headline {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: unset;
    align-items: flex-start;
  }
  .hero-slide-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 20px 80px;
    gap: 24px;
  }
  .hero-slide1-text,
  .hero-slide2-text {
    max-width: 100%;
  }
  .app-buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }
  .app-badge {
    flex: 1;
    height: 52px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  .hero-slide1-visual {
    justify-content: center;
    align-self: auto;
    width: 100%;
  }
  .visual-stage {
    min-height: 340px;
    width: 100%;
    overflow: hidden;
  }
  .wave-image {
    display: block;
    width: 170%;
    max-width: none;
    height: auto;
    left: -35%;
    top: 10%;
    right: auto;
    bottom: auto;
  }
  .phone-image {
    width: 80%;
    max-width: 320px;
    height: auto;
    top: 0;
    right: 10%;
    left: auto;
    bottom: auto;
    margin: 0;
  }
  .hero-slide2-visual {
    justify-content: center;
  }
  .map-image {
    max-height: 240px;
  }
  .hero-subheadline {
    max-width: 100%;
  }
  .hero-arrow {
    display: none;
  }
  .hero-dots {
    bottom: 16px;
  }
  .hero-slide3-content {
    padding: 32px 20px 250px;
    max-width: 100%;
  }
  .rockwell-image.desktop {
    display: none;
  }
  .rockwell-image.mobile {
    display: block;
    transform: scale(1.15);
    transform-origin: center 60%;
  }
}

@media (max-width: 480px) {
  .visual-stage {
    min-height: 280px;
  }
  .phone-image {
    width: 77%;
    max-width: 260px;
  }
  .wave-image {
    width: 190%;
    left: -45%;
  }
  .hero-headline,
  .rockwell-headline {
    font-size: 32px;
  }
  .rockwell-subheadline {
    font-size: 15px;
  }
}

/* ============================================================
   INVESTORS
   ============================================================ */
.investors {
  width: 100%;
  padding: 64px 48px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.investors-viewport {
  width: 100%;
  overflow: hidden;
}

.investors-track {
  display: flex;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}

.investors-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.investor-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 220px;
  padding: 16px 20px;
  border-radius: 8px;
  transition: background .2s ease;
}

.investor-card:hover {
  background: #f7fefe;
}

.investor-card img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto;
  transition: opacity .25s ease;
}

.investor-card:hover img {
  opacity: .75;
}

@media (max-width: 1024px) {
  .investor-card {
    width: 180px;
    padding: 14px 16px;
  }
  .investors-slide {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .investors {
    padding: 48px 20px;
  }
  .investors-slide {
    flex-wrap: wrap;
    gap: 12px;
  }
  .investor-card {
    width: 45%;
    padding: 12px 16px;
  }
  .investor-card img {
    height: 32px;
    max-width: 120px;
  }
}

/* ============================================================
   MAIN CONTENT SECTIONS
   ============================================================ */
.section-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.section-main {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 24px;
  text-align: center;
  gap: 64px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-main {
    padding: 48px 80px 32px;
    gap: 96px;
  }
}

.content-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.content-group.narrow {
  max-width: 1280px;
}

.content-group.pb {
  padding-bottom: 48px;
}

.image-card {
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--teal-tint-3);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 16px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .image-card {
    padding: 32px;
  }
}

.image-card-inner {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.divider-full {
  width: 100%;
  border-bottom: 1px solid var(--border-mid);
}

/* ── Feature tabs ──────────────────────────────────────────── */
.feature-tabs {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-tabs-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
  margin-bottom: 40px;
}

.feature-tabs-image img {
  max-width: 565px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-tabs-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 2px solid var(--border-mid);
}

.feature-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 10px;
  border-top: 2px solid transparent;
  margin-top: -2px;
}

.feature-tab-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-text-4);
  transition: color .2s;
}

.feature-tab-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-text-4);
  transition: color .2s;
}

.feature-tab.is-active {
  border-top: 2px solid var(--teal);
}

.feature-tab.is-active .feature-tab-title {
  color: var(--teal);
}

.feature-tab.is-active .feature-tab-desc {
  color: var(--navy-2);
}

@media (max-width: 640px) {
  .feature-tabs-image {
    height: 260px;
  }
  .feature-tabs-list {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .feature-tab {
    border-top: 2px solid var(--border-mid);
    margin-top: 0;
    padding: 24px;
  }
  .feature-tab.is-active {
    border-top: 2px solid var(--teal);
  }
}

/* ── Split grid (payers features) ─────────────────────────── */
.split-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .split-grid {
    flex-direction: row;
    gap: 64px;
  }
}

.split-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.split-grid-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.split-grid-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-text);
  margin: 0;
}

/* ── Two-column feature list (personal) ───────────────────── */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 900px;
  align-items: flex-start;
  margin-top: 24px;
  text-align: left;
}

@media (min-width: 768px) {
  .two-col {
    flex-direction: row;
  }
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.feature-list-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.feature-list-copy h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.feature-list-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-text);
  margin: 0;
}

.store-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}

.store-buttons img {
  height: 44px;
  width: auto;
}

.two-col-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 1;
  width: 100%;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #ffffff url('../assets/redesign-serviceBG.svg') center / cover no-repeat;
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
}

.services-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  padding: 64px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .services-inner {
    padding: 96px 80px;
  }
}

.services-heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1.3;
  max-width: 800px;
  margin: 0;
}

@media (min-width: 768px) {
  .services-heading {
    font-size: 36px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-soft);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .2s ease, transform .2s ease;
  text-align: left;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 8px 28px rgba(0,200,215,.1);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-dark);
}

.service-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SECURITY / COMPLIANCE
   ============================================================ */
.security-section {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--teal-tint-4);
}

.security-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  padding: 64px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .security-inner {
    padding: 96px 80px;
  }
}

.compliance-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.compliance-logos img {
  height: 100%;
  width: auto;
  max-height: 80px;
  object-fit: contain;
}

.compliance-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
}

.compliance-caption {
  font-size: 16px;
  color: var(--gray-text);
  margin-top: 24px;
}

.security-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 64px;
}

.security-cta h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-2);
  margin: 0;
}

@media (min-width: 768px) {
  .security-cta h2 {
    font-size: 36px;
  }
}

.security-cta p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 500px;
  margin: 0;
}

.security-cta .btn-row {
  max-width: 700px;
}

.security-cta .btn-row a {
  max-width: 244px;
}

/* ============================================================
   PARTNER CTA
   ============================================================ */
.partner-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--teal-tint-4);
  border-top: 1px solid var(--border-mid);
}

.partner-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  padding: 64px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .partner-cta-inner {
    padding: 96px 80px;
  }
}

.partner-cta-inner h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-2);
  margin: 0;
}

@media (min-width: 768px) {
  .partner-cta-inner h2 {
    font-size: 36px;
  }
}

.partner-cta-inner p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 900px;
  margin: 16px 0 0;
}

.partner-cta-inner .btn-row {
  max-width: 700px;
  justify-content: center;
}

.partner-cta-inner .btn-row a {
  max-width: 244px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  width: 100%;
  background: var(--footer-bg);
  color: #ffffff;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 80px 40px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 380px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.7;
  margin: 0 0 24px;
}

.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-socials a {
  color: #ffffff;
  transition: color .2s;
  display: flex;
  align-items: center;
}

.footer-socials a:hover {
  color: var(--teal);
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 140px);
  }
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 4px;
}

.footer-link-item {
  font-size: 14px;
  color: #ffffff;
  transition: color .2s;
}

.footer-link-item:hover {
  color: var(--teal);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-contact {
    grid-template-columns: repeat(3, 180px);
  }
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
}

.footer-contact-value {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--footer-border);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: #ffffff;
  transition: color .2s;
}

.footer-legal a:hover {
  color: var(--teal);
}

@media (max-width: 768px) {
  .footer-inner {
    padding: 40px 24px 32px;
  }
}
