/* ==========================================================================
   KAIROS SRL — Stylesheet
   ========================================================================== */

:root {
  --navy-950: #060f22;
  --navy-900: #0a1730;
  --navy-800: #0d1f42;
  --navy-700: #132a56;
  --navy-600: #1c3a72;
  --teal-500: #0f9d92;
  --teal-400: #17b8ab;
  --teal-300: #4fd3c7;
  --ink: #101826;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --paper-mist: #eef2f7;
  --line: #e3e8ef;
  --gold: #c7a34b;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(10, 23, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 23, 48, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 15, 34, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--teal-500);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: 0.2px;
}

.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.section-tag {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 157, 146, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 157, 146, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
  transition: height 0.4s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}
.site-header.is-scrolled .brand img { height: 38px; }

.main-nav { display: flex; }
.main-nav ul { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal-400);
  transition: right 0.35s var(--ease);
}
.main-nav a:hover { color: var(--teal-300); }
.main-nav a:hover::after,
.main-nav a.is-active::after { right: 0; }

.site-header.is-scrolled .main-nav a { color: var(--navy-900); }
.site-header.is-scrolled .main-nav a:hover { color: var(--teal-500); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .header-phone { color: var(--navy-900); }
.header-phone svg { color: var(--teal-400); flex: none; }

.header-cta .btn-primary {
  padding: 12px 24px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy-900); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.is-scrolled.nav-toggle.is-open span,
.nav-open .site-header.is-scrolled .nav-toggle span { background: var(--navy-900); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,15,34,0.78) 0%, rgba(6,15,34,0.72) 40%, rgba(6,15,34,0.9) 100%),
    linear-gradient(100deg, rgba(6,15,34,0.94) 8%, rgba(10,23,48,0.55) 52%, rgba(10,23,48,0.72) 100%);
}

.hero-content { padding-top: 120px; padding-bottom: 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  max-width: 760px;
}

.hero .eyebrow { color: var(--teal-300); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: 0.2px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--teal-300), var(--teal-400) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 36px;
  max-width: 820px;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stats .stat-num .teal { color: var(--teal-300); }
.hero-stats .stat-label {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   Marquee strip (clientele)
   ========================================================================== */
.client-strip {
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.client-strip .marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.client-strip span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.client-strip span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-400);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: 140px 0 120px;
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
}
.about-media .frame-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.about-media .frame-main img { width: 100%; height: 100%; object-fit: cover; }

.about-media .frame-accent {
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 58%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
  aspect-ratio: 4 / 3.1;
}
.about-media .frame-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-media .badge-card {
  position: absolute;
  top: 28px;
  left: -28px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 220px;
}
.about-media .badge-card .icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-300);
}
.about-media .badge-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-900);
  line-height: 1;
}
.about-media .badge-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.about-copy .section-head { margin-bottom: 28px; }

.about-lede {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 22px;
}
.about-copy p + p { margin-top: 16px; font-size: 15.5px; color: var(--ink-soft); }

.about-points {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--ink);
}
.about-points .tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15,157,146,0.12);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.about-footnote {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-footnote .sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--navy-800);
}
.about-footnote .who {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.about-footnote .who strong { display: block; color: var(--navy-900); font-size: 14px; }

/* ==========================================================================
   Divisions (two pillars: Recupero Crediti / Customer Care)
   ========================================================================== */
.divisions {
  padding: 120px 0;
  background: var(--paper-soft);
}

.division-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.division-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.division-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--teal-400));
}

.division-card .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--teal-500);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.division-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy-900);
}

.division-card p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.division-card ul {
  margin-top: 26px;
  display: grid;
  gap: 13px;
}
.division-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.division-card ul li svg { flex: none; color: var(--teal-500); margin-top: 3px; }

.division-card .card-link {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.division-card .card-link svg { transition: transform .3s var(--ease); }
.division-card:hover .card-link svg { transform: translateX(5px); }

/* ==========================================================================
   Method / Process
   ========================================================================== */
.method {
  padding: 130px 0;
  background: var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 20%, rgba(23,184,171,0.16), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(23,184,171,0.12), transparent 42%);
  pointer-events: none;
}
.method .section-head h2 { color: #fff; }
.method .section-head p { color: rgba(255,255,255,0.65); }

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.method-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 10px, transparent 10px 20px);
  z-index: 0;
}

.step-card { position: relative; z-index: 1; }
.step-card .step-index {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(23,184,171,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 26px;
  box-shadow: 0 0 0 8px rgba(6,15,34,1);
}
.step-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ==========================================================================
   Services (Customer Care grid)
   ========================================================================== */
.services {
  padding: 130px 0;
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-300);
  margin-bottom: 26px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.service-card ul { display: grid; gap: 11px; }
.service-card ul li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1.5px;
  background: var(--teal-500);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why {
  padding: 130px 0;
  background: var(--paper-mist);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: flex-start;
}
.why-media {
  position: sticky;
  top: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 3.6;
}
.why-media img { width: 100%; height: 100%; object-fit: cover; }

.why-list { display: grid; gap: 4px; }
.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child { padding-top: 0; }
.why-item .why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.why-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

/* ==========================================================================
   Team / Gallery
   ========================================================================== */
.team {
  padding: 130px 0;
  background: var(--paper);
}
.team-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.team-gallery .g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.team-gallery .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.team-gallery .g-item:hover img { transform: scale(1.07); }
.team-gallery .g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,15,34,0.75) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.team-gallery .g-item:hover::after { opacity: 1; }
.team-gallery .g-item .g-cap {
  position: absolute;
  left: 18px; bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
}
.team-gallery .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }

.team-gallery .g-tall { grid-row: span 2; }
.team-gallery .g-wide { grid-column: span 2; }

/* ==========================================================================
   Numbers band
   ========================================================================== */
.numbers {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #fff;
  padding: 76px 0;
}
.numbers .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.numbers .n-item { text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.numbers .n-item:last-child { border-right: none; }
.numbers .n-value {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  color: var(--teal-300);
}
.numbers .n-label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Testimonial / Quote band
   ========================================================================== */
.quote-band {
  padding: 110px 0;
  background: var(--paper);
  text-align: center;
}
.quote-band .quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--teal-400);
  line-height: 1;
  opacity: 0.5;
}
.quote-band blockquote {
  max-width: 840px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 500;
  font-style: italic;
  color: var(--navy-900);
  line-height: 1.5;
}
.quote-band .quote-attr {
  margin-top: 28px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding: 130px 0 0;
  background: var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(23,184,171,0.14), transparent 40%);
  pointer-events: none;
}
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,0.66); }

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: flex-start;
}

.contact-info-list { display: grid; gap: 26px; margin-top: 8px; }
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.contact-info-item .ci-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(23,184,171,0.14);
  color: var(--teal-300);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.contact-info-item p, .contact-info-item a { font-size: 16px; font-weight: 600; color: #fff; }
.contact-info-item a:hover { color: var(--teal-300); }

.contact-social {
  margin-top: 34px;
  display: flex;
  gap: 12px;
}
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.contact-social a:hover { background: var(--teal-500); border-color: var(--teal-500); transform: translateY(-3px); }

.contact-form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.contact-form-card > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 9px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-soft);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15,157,146,0.12);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.form-consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--teal-500); }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: var(--ink-soft);
  display: none;
}
.form-note.is-visible { display: block; }
.form-note.success { color: var(--teal-500); font-weight: 600; }

/* ---------- Contact bottom strip ---------- */
.contact-bottom {
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 34px 0;
  position: relative;
}
.contact-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 42px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); max-width: 320px; }

.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--teal-300); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--ease);
  z-index: 900;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-500); color: #fff; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ==========================================================================
   Mobile nav overlay
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all .5s var(--ease);
    z-index: 1050;
  }
  .nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 30px;
  }
  .main-nav a { font-size: 24px; color: #fff; font-family: var(--font-display); }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-open .header-cta .btn-primary { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-media { position: relative; top: 0; aspect-ratio: 16/9; }
  .about-media { max-width: 480px; margin: 0 auto 40px; }
  .division-cards { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .method-steps::before { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-gallery { grid-template-columns: repeat(3, 1fr); }
  .numbers .container { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .numbers .n-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .about-media .frame-accent { display: none; }
  .about-media .badge-card { left: 0; top: -20px; }
  .hero-content { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .method-steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .team-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .team-gallery .g-wide { grid-column: span 2; }
  .team-gallery .g-tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section.about, section.divisions, section.method, section.services, section.why, section.team, section.quote-band { padding-top: 90px; padding-bottom: 90px; }
  .contact { padding-top: 90px; }
}
