/* =============================================
   SICILIAN TECHNOLOGY - MAIN STYLESHEET
   Blue Theme — Updated per client brief
   ============================================= */

/* ----- RESET & VARIABLES ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Blue palette replacing old pink/purple */
  --navy: #0a1e3c;
  --navy-mid: #112d5a;
  --navy-light: #1a4080;
  --accent: #2e8bc0;
  --accent-light: #4aa8de;
  --accent-bright: #5bc3f5;
  --white: #ffffff;
  --off-white: #f0f6fb;
  --muted: #7a9ab5;
  --text: #0a1e3c;
  --section-gap: 100px;
  --footer-bg: #dae3df; 
  --footer-heading: #0a1e3c; /* For footer headings and hover links */
  --footer-link: #000000; 
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  color: var(--white);
  margin-bottom: 24px;
}

h1 em { font-style: normal; color: var(--accent-bright); }

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 16px;
}

h2 em { font-style: normal; color: var(--accent); }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: #5a6e85;
  max-width: 560px;
  margin-top: 14px;
  font-weight: 300;
}

/* ----- HEADER ----- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(10,30,60,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Navigation centered per changes doc */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto; /* Center nav in header */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text); letter-spacing: 0.01em;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}

nav a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.25s;
}

nav a:hover { color: var(--navy-light); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--accent); }
nav a.active::after { width: 100%; }

/* Contact Us — no special highlight per changes doc */
.nav-cta {
  color: var(--text) !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: 500;
}
.nav-cta::after { display: inline !important; }
.nav-cta:hover { background: none !important; color: var(--navy-light) !important; transform: none !important; }

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  font-weight: 600; font-size: 0.92rem;
  padding: 13px 28px; border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,139,192,0.35);
}

.btn-ghost, .btn-ghost-light {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8); font-weight: 500;
  font-size: 0.92rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 13px 24px; border-radius: 10px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover, .btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ----- HERO (HOME) ----- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,192,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,192,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,195,245,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,30,60,0.8) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* Tagline badge replacing "now accepting new clients" */
.hero-tagline-badge {
  display: inline-flex; align-items: center;
  background: rgba(46,139,192,0.15);
  border: 1px solid rgba(91,195,245,0.3);
  color: var(--accent-bright);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 18px; border-radius: 100px;
  margin-bottom: 28px;
  font-style: italic;
}

.hero-sub {
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 500px; margin-bottom: 44px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }

/* Hero image column — shared across all 3 pages */
.hero-img-col { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero-photo {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(91,195,245,0.2);
  display: block;
}
.hero-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: rgba(10,30,60,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(91,195,245,0.2);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.hib-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(46,139,192,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hib-icon svg { width: 20px; height: 20px; stroke: var(--accent-bright); }
.hib-val {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
}
.hib-lbl {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Footer "more..." link */
.footer-more {
  color: var(--accent-bright) !important;
  font-style: italic;
  opacity: 0.8;
}

/* ----- PAGE HERO (ABOUT / SERVICES) ----- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  min-height: 100vh;
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,192,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,192,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,195,245,0.12) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.page-hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.page-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 14px;
}
.page-hero-sub {
  font-size: 0.98rem; line-height: 1.75;
  color: rgba(255,255,255,0.6); font-weight: 300;
}
.hero-quick-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.qfact {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 24px;
}
.qfact-num {
  font-family: 'Syne', sans-serif; font-size: 1.8rem;
  font-weight: 700; color: var(--accent-bright);
}
.qfact-lbl {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  margin-top: 4px; font-weight: 300;
}

/* ----- SECTIONS GENERAL ----- */
section { padding: var(--section-gap) 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ----- SERVICES GRID (HOME) ----- */
.services-bg { background: var(--off-white); }
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 60px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: 20px;
  padding: 32px 28px; border: 1px solid rgba(10,30,60,0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10,30,60,0.12);
  border-color: rgba(46,139,192,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent-bright); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.05rem; margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem; line-height: 1.7;
  color: #5a7090; font-weight: 300;
}
.service-list {
  margin-top: 14px; list-style: none;
}
.service-list li {
  font-size: 0.83rem; color: #5a7090;
  padding: 4px 0 4px 16px; position: relative;
}
.service-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 0.76rem;
}

/* Services page – full detail sections */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(10,30,60,0.07);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.sd-eyebrow {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.sd-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.2;
}
.sd-body {
  font-size: 0.96rem; line-height: 1.8;
  color: #5a7090; font-weight: 300; margin-bottom: 28px;
}
.sd-includes {
  background: var(--off-white); border-radius: 16px;
  padding: 28px; list-style: none;
}
.sd-includes li {
  font-size: 0.88rem; color: #5a7090;
  padding: 8px 0 8px 20px; position: relative;
  border-bottom: 1px solid rgba(10,30,60,0.05);
  font-weight: 300;
}
.sd-includes li:last-child { border-bottom: none; }
.sd-includes li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-weight: 600;
}
.sd-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 24px;
  padding: 48px; position: relative; overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column;
  justify-content: flex-end;
}
.sd-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,192,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,192,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sd-visual-icon {
  position: absolute; top: 40px; right: 40px;
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(46,139,192,0.15);
  border: 1px solid rgba(91,195,245,0.3);
  display: flex; align-items: center; justify-content: center;
}
.sd-visual-icon svg {
  width: 32px; height: 32px;
  stroke: var(--accent-bright); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sd-visual-label {
  font-family: 'Syne', sans-serif; font-size: 0.68rem;
  font-weight: 700; color: var(--accent-bright);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px; position: relative; z-index: 1;
}
.sd-visual-headline {
  font-family: 'Syne', sans-serif; font-size: 1.3rem;
  font-weight: 700; color: var(--white);
  line-height: 1.3; position: relative; z-index: 1;
}

/* Services page – intro strip */
.services-intro {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: var(--navy-mid);
  border-radius: 20px; overflow: hidden;
  margin-bottom: 0px;
}
.si-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.si-item:last-child { border-right: none; }
.si-item:hover { background: rgba(46,139,192,0.08); }
.si-num {
  font-family: 'Syne', sans-serif; font-size: 1.6rem;
  font-weight: 700; color: var(--accent-bright); line-height: 1;
  margin-bottom: 6px;
}
.si-lbl {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* ----- WHY US / VALUES ----- */
.whyus-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.whyus-img-wrap { position: relative; }
.whyus-photo {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: 24px;
  border: 1px solid rgba(46,139,192,0.15);
  display: block;
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 36px;
}
.val-card {
  background: var(--off-white); border-radius: 14px;
  padding: 20px; border: 1px solid rgba(10,30,60,0.05);
  transition: border-color 0.2s, transform 0.2s;
}
.val-card:hover {
  border-color: rgba(46,139,192,0.3);
  transform: translateY(-2px);
}
.val-icon { font-size: 1.3rem; margin-bottom: 10px; }
.val-card h4 {
  font-size: 0.88rem; margin-bottom: 6px;
}
.val-card p {
  font-size: 0.8rem; color: #7a8ca0;
  line-height: 1.6; font-weight: 300;
}

/* About page specific values */
.values-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.value-blocks {
  display: flex; flex-direction: column;
  gap: 20px; margin-top: 36px;
}
.vblock {
  display: flex; gap: 20px; padding: 22px;
  border-radius: 16px; background: var(--off-white);
  border: 1px solid rgba(10,30,60,0.05);
  transition: border-color 0.2s, transform 0.2s;
}
.vblock:hover {
  border-color: rgba(46,139,192,0.3);
  transform: translateX(4px);
}
.vblock-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.vblock h3 { font-size: 0.93rem; margin-bottom: 6px; }
.vblock p {
  font-size: 0.84rem; line-height: 1.65;
  color: #5a7090; font-weight: 300;
}

.partner-message {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 24px;
  padding: 40px; position: relative; overflow: hidden;
}
.partner-message::before {
  content: '"'; position: absolute;
  top: -20px; right: 32px;
  font-family: 'Syne', sans-serif; font-size: 12rem;
  font-weight: 800; color: rgba(46,139,192,0.1);
  line-height: 1;
}
.partner-message p {
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,255,255,0.75); font-weight: 300;
  font-style: italic; position: relative; z-index: 1;
  margin-bottom: 24px;
}
.partner-sig {
  font-family: 'Syne', sans-serif; font-size: 0.82rem;
  font-weight: 700; color: var(--accent-bright);
}

/* Mission section (About) */
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.mission-body {
  font-size: 0.98rem; line-height: 1.8;
  color: #5a7090; font-weight: 300;
}
.mission-body + .mission-body { margin-top: 16px; }
.mission-highlight {
  margin-top: 36px; background: var(--off-white);
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0; padding: 22px 26px;
}
.mission-highlight p {
  font-family: 'Syne', sans-serif; font-size: 0.96rem;
  font-weight: 700; color: var(--navy); line-height: 1.5;
}

/* About image */
.about-img-wrap { position: relative; }
.about-photo {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: 24px;
  border: 1px solid rgba(46,139,192,0.15);
  display: block;
}

/* Service tiles (about page) */
.service-tile {
  background: var(--off-white); border-radius: 14px;
  padding: 20px; border: 1px solid rgba(10,30,60,0.06);
  transition: border-color 0.2s;
}
.service-tile:hover { border-color: rgba(46,139,192,0.3); }
.service-tile-wide {
  background: var(--off-white); border-radius: 14px;
  padding: 20px; grid-column: span 2;
  border: 1px solid rgba(10,30,60,0.06);
}
.tile-num {
  font-size: 0.68rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 6px;
}
.tile-lbl {
  font-family: 'Syne', sans-serif; font-size: 0.9rem;
  font-weight: 700; color: var(--navy);
}

/* ----- CONTACT SECTION ----- */
.contact-bg {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
}
.contact-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,192,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,192,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-left h2 { color: var(--white); margin-bottom: 16px; }
.contact-left p {
  color: rgba(255,255,255,0.55);
  line-height: 1.75; font-weight: 300;
  font-size: 0.98rem; max-width: 420px;
}
.contact-details {
  margin-top: 40px; display: flex;
  flex-direction: column; gap: 20px;
}
.contact-detail { display: flex; align-items: center; gap: 16px; }
.detail-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(46,139,192,0.15);
  border: 1px solid rgba(91,195,245,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-icon svg {
  width: 17px; height: 17px; stroke: var(--accent-bright);
  fill: none; stroke-width: 1.8; stroke-linecap: round;
}
.detail-text { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.detail-label {
  font-size: 0.7rem; color: var(--accent-bright);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 40px;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.76rem; font-weight: 500;
  color: rgba(255,255,255,0.6); margin-bottom: 8px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 16px;
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(46,139,192,0.6);
  background: rgba(255,255,255,0.09);
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; background: var(--accent); color: var(--white);
  border: none; border-radius: 10px; padding: 14px;
  font-family: 'Syne', sans-serif; font-size: 0.92rem;
  font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}

/* Form feedback */
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(46,139,192,0.2);
  border: 2px solid var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent-bright);
  margin: 0 auto 16px;
}
.form-success h3 {
  color: var(--white); font-size: 1.2rem; margin-bottom: 8px;
}
.form-success p {
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
}
.form-error {
  background: rgba(220,50,50,0.1);
  border: 1px solid rgba(220,50,50,0.3);
  border-radius: 10px; padding: 14px 18px;
  margin-bottom: 16px;
}
.form-error p {
  color: #ff8a8a; font-size: 0.88rem;
}

/* ----- CTA BAND ----- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,192,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,192,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p {
  color: rgba(255,255,255,0.55); font-size: 0.98rem;
  font-weight: 300; line-height: 1.7; margin-bottom: 36px;
}
.cta-actions {
  display: flex; justify-content: center; gap: 16px;
}

/* ----- FOOTER ----- */
footer {
  background: var(--footer-bg);
  padding: 26px 0 16px;
  border-top: 1px solid rgba(46,139,192,0.15);
}
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px; margin-bottom: 30px;
}
.footer-brand p {
  font-size: 0.86rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-top: 16px;
  max-width: 300px; font-weight: 300;
}
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-size: 0.82rem;
  font-weight: 700; color: var(--footer-heading);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.86rem; color: var(--footer-link);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--footer-heading); }
.footer-more {
  color: var(--footer-heading) !important;
  font-style: italic;
  opacity: 0.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem; color: var(--footer-link);
}

/* ----- ANIMATIONS ----- */
.js-loaded .fade-up {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.js-loaded .fade-up.visible { opacity: 1; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ----- LOGO ----- */
.logo-img {
  height: 72px;
  width: auto;
  mix-blend-mode: multiply;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .hero-inner, .whyus-grid, .contact-inner,
  .page-hero-inner, .mission-grid, .values-split,
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-img-col { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-quick-facts { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .services-intro { grid-template-columns: repeat(2, 1fr); }
  .service-detail.reverse { direction: ltr; }
  nav {
    position: static;
    transform: none;
    margin: 0;
    gap: 20px;
  }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-quick-facts { grid-template-columns: 1fr; }
  .services-intro { grid-template-columns: 1fr 1fr; }
  nav { gap: 12px; }
  nav a { font-size: 0.78rem; }
}

/* Spacing fixes */
section:has(+ .services-bg),
section:has(+ .contact-bg),
section:has(+ .cta-band) {
  padding-bottom: 0;
}
.services-detail-section { padding-top: 0; }
.services-detail-section .service-detail:first-child { padding-top: 40px; }
.page-hero + section { padding-top: 40px; }
.page-hero + section + .services-bg { padding-top: 60px; }