/* Afaaq Al Jusoor Shipping — ajshipping.ae */
:root {
  --navy: #0b2d5c;
  --navy-deep: #071e3f;
  --ocean: #0e7ab8;
  --ocean-soft: #e8f4fb;
  --gold: #c9a227;
  --gold-bright: #e0b93a;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --fog: #f0f5f9;
  --white: #ffffff;
  --line: rgba(11, 45, 92, 0.12);
  --shadow: 0 18px 40px rgba(7, 30, 63, 0.12);
  --radius: 6px;
  --max: 1140px;
  --header-h: 78px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Top bar */
.topbar {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy) 55%, #0d4a7a);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: var(--gold-bright);
}

.topbar-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(7, 30, 63, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ocean);
  background: var(--ocean-soft);
}

.nav .has-sub {
  position: relative;
}

.nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  z-index: 20;
}

.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu {
  display: block;
}

.nav .submenu a {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.65rem 1.1rem !important;
}

.nav-cta:hover {
  background: var(--gold-bright) !important;
  color: var(--navy-deep) !important;
}

/* Hero + banner slider */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.15s var(--ease), visibility 1.15s;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.hero-slide.is-active img {
  animation: kenZoomIn 7.5s ease-out forwards;
}

.hero-slide[data-ken="zoom-out"].is-active img {
  animation: kenZoomOut 7.5s ease-out forwards;
}

.hero-slide[data-ken="pan-right"].is-active img {
  animation: kenPanRight 7.5s ease-out forwards;
}

.hero-slide[data-ken="pan-left"].is-active img {
  animation: kenPanLeft 7.5s ease-out forwards;
}

@keyframes kenZoomIn {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(0, -1.5%, 0);
  }
}

@keyframes kenZoomOut {
  from {
    transform: scale(1.18) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(0, 1%, 0);
  }
}

@keyframes kenPanRight {
  from {
    transform: scale(1.14) translate3d(-3%, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(3%, 0, 0);
  }
}

@keyframes kenPanLeft {
  from {
    transform: scale(1.14) translate3d(3%, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-3%, 0, 0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(7, 30, 63, 0.88) 0%, rgba(11, 45, 92, 0.62) 38%, rgba(14, 122, 184, 0.28) 72%, rgba(7, 30, 63, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 30, 63, 0.28) 0%, transparent 40%, rgba(7, 30, 63, 0.5) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 75%);
  animation: gridDrift 28s linear infinite;
  opacity: 0.7;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 64px 64px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
  max-width: 740px;
}

.hero-copy {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.hero-copy.is-switching {
  opacity: 0;
  transform: translateY(12px);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35em;
  letter-spacing: -0.02em;
}

.hero-brand span {
  display: block;
  font-size: 0.38em;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  max-width: 22ch;
  margin-bottom: 0.75em;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-nav,
.hero-pause {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 30, 63, 0.35);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.hero-nav:hover,
.hero-pause:hover {
  background: rgba(201, 162, 39, 0.9);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.35rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hero-dot.is-active {
  width: 28px;
  background: var(--gold-bright);
}

.hero-dot:focus-visible,
.hero-nav:focus-visible,
.hero-pause:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.hero-caption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  min-height: 1.2em;
  transition: opacity 0.35s var(--ease);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform-origin: left center;
}

.hero-progress.is-running > span {
  animation: heroProgress linear forwards;
}

@keyframes heroProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.wave-divider {
  height: 72px;
  margin-top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,32L60,37.3C120,43,240,53,360,58.7C480,64,600,64,720,53.3C840,43,960,21,1080,16C1200,11,1320,21,1380,26.7L1440,32L1440,80L1380,80C1320,80,1200,80,1080,80C960,80,840,80,720,80C600,80,480,80,360,80C240,80,120,80,60,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, var(--fog), #eaf2f8 40%, var(--fog));
}

.section-navy {
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 122, 184, 0.35), transparent 40%),
    linear-gradient(145deg, var(--navy-deep), var(--navy) 60%, #0a4a72);
  color: rgba(255, 255, 255, 0.9);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.section-navy .eyebrow {
  color: var(--gold-bright);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Service grid */
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 1.35rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  height: 100%;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 122, 184, 0.35);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ocean-soft), #d9ecf7);
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.service-tile h3 {
  margin-bottom: 0.45em;
}

.service-tile p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.service-tile .more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ocean);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat {
  padding: 1.5rem 1rem;
  border-top: 3px solid var(--gold);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.panel-visual {
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(11, 45, 92, 0.9), rgba(14, 122, 184, 0.75)),
    radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.45), transparent 50%),
    linear-gradient(180deg, #0b2d5c, #0e7ab8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' fill-opacity='0.12' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,80C1120,85,1280,75,1360,69.3L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") bottom / cover no-repeat;
}

.panel-visual .badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 220px;
  z-index: 1;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.partner-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.partner-chip:hover {
  border-color: var(--ocean);
  transform: translateY(-2px);
}

/* Testimonials */
.quote-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  border-radius: 0 var(--radius) var(--radius) 0;
  height: 100%;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}

.quote-card footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  font-family: var(--font-body);
}

.quote-card footer strong {
  display: block;
  color: var(--ink);
  font-style: normal;
}

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(7, 30, 63, 0.92), rgba(14, 122, 184, 0.75)),
    linear-gradient(180deg, var(--navy-deep), var(--ocean));
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35), transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  position: relative;
  z-index: 1;
  margin: 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.breadcrumbs a {
  color: var(--gold-bright);
}

/* Content prose */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 1.75em;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--fog);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feature-item strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.28), transparent 40%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
}

.contact-card h2 {
  color: var(--white);
}

.contact-card a {
  color: var(--gold-bright);
}

.contact-lines {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-lines li {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-lines li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-lines span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--fog);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(14, 122, 184, 0.15);
  background: var(--white);
}

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

.map-frame {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--fog);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-credit a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Utility */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}

.seo-note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 0.15rem;
  }

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

  .nav .has-sub .submenu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.75rem;
    background: transparent;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .brand-text {
    display: none;
  }

  .split,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    align-items: center;
  }

  .hero-content {
    padding: 4rem 0 3rem;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .stats,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-slide img {
    transform: none !important;
  }
  .hero-progress > span {
    animation: none !important;
    width: 0 !important;
  }
}
