/* ============================================================
   SEASTAR TECHNOLOGIES — style.css
   Palette: Navy #0E1B3D | Royal #1A6FE8 | Sky #5BA4F5
   Background: White #FFFFFF | Soft: #F4F8FF
============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:       #0E1B3D;
  --royal:      #1A6FE8;
  --royal-d:    #1355B5;
  --sky:        #5BA4F5;
  --sky-light:  #93C4FA;
  --sky-soft:   #D6EAFF;

  --white:      #FFFFFF;
  --bg:         #FFFFFF;
  --bg-soft:    #F4F8FF;
  --bg-soft-2:  #EAF1FF;

  --text:       #0E1B3D;
  --text-2:     #3A4A66;
  --text-3:     #6B7FA3;
  --border:     #DCE6F7;
  --border-hi:  rgba(26,111,232,0.30);

  --shadow-sm:  0 2px 12px rgba(14,27,61,0.07);
  --shadow-md:  0 8px 32px rgba(14,27,61,0.10);
  --shadow-lg:  0 20px 60px rgba(14,27,61,0.13);
  --shadow-blue:0 8px 32px rgba(26,111,232,0.20);

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 999px;

  --font-body:    'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

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

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: rgba(26,111,232,0.15); color: var(--navy); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap  { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sec   { padding: 110px 0; }
.sec-sm{ padding: 80px 0; }
.sec-gray { background: var(--bg-soft); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--royal); background: var(--bg-soft-2);
  border: 1px solid var(--border-hi);
  padding: 5px 14px; border-radius: var(--r-full);
  margin-bottom: 18px;
}
.eyebrow i { font-size: .65rem; }

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  color: var(--navy); margin-bottom: 16px;
}
.title-blue {
  background: linear-gradient(120deg, var(--royal), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.sec-sub { font-size: 1rem; color: var(--text-3); max-width: 560px; line-height: 1.85; }
.sec-hd.center { text-align: center; }
.sec-hd.center .sec-sub { margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: var(--r-full);
  font: 600 .9rem/1 var(--font-body);
  border: none; cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: .78rem; transition: transform .2s var(--ease); }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
  background: var(--royal); color: var(--white);
  box-shadow: 0 4px 20px rgba(26,111,232,.35);
}
.btn-primary:hover {
  background: var(--royal-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,111,232,.45);
}

.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--royal); color: var(--royal);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 20px 0;
  transition: all .3s var(--ease);
}
#nav.pinned {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 13px 0;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.n-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; object-fit: contain; }

/* Links */
.n-links { display: flex; align-items: center; gap: 32px; }
.n-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-2);
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.n-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--royal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
  border-radius: 2px;
}
.n-links a:hover { color: var(--royal); }
.n-links a:hover::after { transform: scaleX(1); }

.n-right { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.ham span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 899;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.mob-menu.open { display: flex; }
.mob-menu a { font: 700 1.4rem/1 var(--font-display); color: var(--navy); transition: color .2s; }
.mob-menu a:hover { color: var(--royal); }
.mob-close {
  position: absolute; top: 22px; right: 24px;
  background: none; border: none; color: var(--navy);
  font-size: 1.4rem; cursor: pointer;
}

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 90px;
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--white) 60%);
}

.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 80%);
  opacity: .5;
}

.hero-orb {
  position: absolute; pointer-events: none;
  border-radius: 50%; filter: blur(80px);
}
.hero-orb-1 {
  width: 560px; height: 560px;
  top: -100px; right: -60px;
  background: radial-gradient(circle, rgba(91,164,245,.16), transparent 70%);
}
.hero-orb-2 {
  width: 380px; height: 380px;
  bottom: 0; left: -80px;
  background: radial-gradient(circle, rgba(26,111,232,.10), transparent 70%);
}

.hero-layout {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 72px; align-items: center; position: relative; z-index: 2;
}

/* Hero text */
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.035em;
  color: var(--navy); margin-bottom: 22px;
}
.h1-blue {
  background: linear-gradient(110deg, var(--royal), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-p { font-size: 1.06rem; color: var(--text-3); max-width: 480px; line-height: 1.9; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Stats bar */
.hero-stats { display: flex; align-items: center; gap: 0; padding-top: 36px; border-top: 1px solid var(--border); }
.hstat { flex: 1; }
.hstat b {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--navy);
}
.hstat span { font-size: .78rem; color: var(--text-3); }
.hstat-div { width: 1px; height: 36px; background: var(--border); margin: 0 28px; flex-shrink: 0; }

/* Hero card */
.hero-card-wrap { position: relative; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26,111,232,.05);
  position: relative; overflow: hidden;
}
.hc-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
}
.hc-head { display: flex; align-items: center; margin-bottom: 26px; }
.hc-logo { flex: 1; }
.hc-logo-img { height: 32px; width: auto; object-fit: contain; }
.hc-live { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #16A34A; }
.live-dot { width: 7px; height: 7px; background: #16A34A; border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 22px; }
.chip {
  background: var(--bg-soft-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 13px;
  font-size: .77rem; font-weight: 600; color: var(--royal);
  display: flex; align-items: center; gap: 8px;
  transition: .2s;
}
.chip:hover { background: var(--sky-soft); border-color: var(--sky); }
.chip i { color: var(--sky); }

.hc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 14px;
}
.metric-val { font: 700 1.1rem/1 var(--font-display); color: var(--navy); }
.metric-val.blue { color: var(--royal); }
.metric-lbl { font-size: .72rem; color: var(--text-3); margin-top: 4px; }

/* Floating chips */
.f-chip {
  position: absolute;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md); font-size: .78rem;
}
.f-chip i { font-size: 1.05rem; }
.f-chip-1 { bottom: -22px; left: -28px; animation: bob 4.5s ease-in-out infinite; }
.f-chip-2 { top: -22px; right: -28px; animation: bob 4.5s ease-in-out infinite reverse; }
.f-chip-1 i { color: #16A34A; }
.f-chip-2 i { color: var(--royal); }
.f-chip small { display: block; font-size: .67rem; color: var(--text-3); }
.f-chip strong { font-size: .82rem; color: var(--navy); }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-bar {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.07);
  padding: 17px 0; overflow: hidden;
}
.marquee-track { display: flex; gap: 52px; animation: marquee 28s linear infinite; width: max-content; }
.m-item { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 500; color: var(--sky-light); white-space: nowrap; }
.m-item i { color: var(--sky); }
@keyframes marquee { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* ── SERVICES ────────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all .3s var(--ease); cursor: pointer;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: var(--shadow-lg); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-num {
  font: 700 .75rem/1 var(--font-display); letter-spacing: .08em;
  color: var(--sky-light); margin-bottom: 18px;
}
.svc-ico {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px;
  transition: box-shadow .3s;
}
.svc-card:hover .svc-ico { box-shadow: var(--shadow-blue); }
.ico-blue   { background: var(--bg-soft-2); color: var(--royal); }
.ico-indigo { background: rgba(99,102,241,.1); color: #6366F1; }
.ico-sky    { background: var(--sky-soft); color: var(--sky); }

.svc-card h3 { font: 700 1.05rem/1.3 var(--font-display); color: var(--navy); margin-bottom: 11px; }
.svc-card p { font-size: .875rem; color: var(--text-3); line-height: 1.75; margin-bottom: 20px; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .83rem; font-weight: 600; color: var(--royal); transition: .2s; }
.svc-link i { transition: transform .2s var(--ease); }
.svc-card:hover .svc-link i { transform: translateX(4px); }

/* ── AUTOMATION ──────────────────────────────────────────── */
.auto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Pipeline */
.pipeline {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.pipeline::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
}
.pl-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.pl-ico {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--bg-soft-2); color: var(--royal);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.pl-top h4 { font: 600 .92rem/1 var(--font-display); color: var(--navy); flex: 1; }

/* Pulse dot */
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--royal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(26,111,232,.45);} 50%{box-shadow:0 0 0 8px rgba(26,111,232,0);} }

.pl-steps { display: flex; flex-direction: column; }
.pl-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.pl-step.last { border-bottom: none; padding-bottom: 0; }

.pl-n {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.pl-n.done { background: var(--bg-soft-2); color: var(--royal); }
.pl-n.live { background: var(--royal); color: var(--white); box-shadow: 0 0 12px rgba(26,111,232,.4); }
.pl-n.wait { background: var(--bg-soft); color: var(--text-3); }

.pl-info h5 { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.pl-info p  { font-size: .73rem; color: var(--text-3); }

.pl-badge { margin-left: auto; font-size: .66rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); flex-shrink: 0; }
.badge-done { background: var(--bg-soft-2); color: var(--royal); }
.badge-live { background: rgba(26,111,232,.12); color: var(--royal); animation: badge-blink 2s ease-in-out infinite; }
.badge-wait { background: var(--bg-soft); color: var(--text-3); }
@keyframes badge-blink { 0%,100%{opacity:1;} 50%{opacity:.55;} }

/* Automation feature grid */
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.af-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  transition: .25s var(--ease);
}
.af-card:hover { border-color: var(--border-hi); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.af-card i { font-size: 1.1rem; color: var(--royal); margin-bottom: 9px; display: block; }
.af-card h5 { font: 600 .86rem/1.2 var(--font-display); color: var(--navy); margin-bottom: 4px; }
.af-card p  { font-size: .77rem; color: var(--text-3); line-height: 1.6; }

.auto-text .sec-sub { max-width: none; }

/* ── BRANDING ────────────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 28px;
  text-align: center; transition: .3s var(--ease);
  position: relative; overflow: hidden;
}
.brand-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,111,232,.06), transparent);
  opacity: 0; transition: opacity .3s;
}
.brand-card:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow-lg); }
.brand-card:hover::before { opacity: 1; }
.brand-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--bg-soft-2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--royal);
  transition: .3s;
}
.brand-card:hover .brand-ico { background: var(--royal); color: var(--white); box-shadow: var(--shadow-blue); }
.brand-card h3 { font: 700 1rem/1.3 var(--font-display); color: var(--navy); margin-bottom: 10px; }
.brand-card p  { font-size: .86rem; color: var(--text-3); line-height: 1.75; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-p { font-size: .95rem; color: var(--text-2); line-height: 1.85; margin-bottom: 14px; }

.val-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.val-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: .2s;
}
.val-item:hover { border-color: var(--border-hi); box-shadow: var(--shadow-sm); }
.val-ico {
  width: 36px; height: 36px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.v-blue { background: var(--bg-soft-2); color: var(--royal); }
.v-sky  { background: var(--sky-soft); color: var(--sky); }
.val-item h5 { font: 600 .88rem/1.2 var(--font-display); color: var(--navy); margin-bottom: 3px; }
.val-item p  { font-size: .8rem; color: var(--text-3); line-height: 1.6; }

/* Stat grid */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; transition: .3s;
}
.stat-card:hover { border-color: var(--border-hi); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-card.stat-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: var(--navy); border-color: var(--navy); }
.stat-card.stat-tall .stat-num,.stat-card.stat-tall p { color: var(--white) !important; }
.stat-card.stat-tall .stat-num { background: linear-gradient(135deg, var(--white), var(--sky-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-emoji { font-size: 1.8rem; margin-bottom: 10px; }
.stat-num { font: 800 2.6rem/1 var(--font-display); color: var(--navy); }
.stat-card p { font-size: .8rem; color: var(--text-3); margin-top: 5px; }

/* ── PROCESS ─────────────────────────────────────────────── */
.proc-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
.proc-line {
  position: absolute; top: 35px; left: 8%; right: 8%; height: 1.5px;
  background: linear-gradient(90deg, var(--border-hi), var(--sky), var(--border-hi));
  z-index: 0;
}
.proc-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.proc-num {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font: 800 1.05rem/1 var(--font-display); color: var(--royal);
  margin-bottom: 20px;
  transition: .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.proc-step:hover .proc-num {
  background: var(--royal); border-color: var(--royal);
  color: var(--white); box-shadow: var(--shadow-blue);
  transform: scale(1.08);
}
.proc-step h4 { font: 700 .9rem/1.3 var(--font-display); color: var(--navy); margin-bottom: 7px; }
.proc-step p  { font-size: .78rem; color: var(--text-3); line-height: 1.6; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  position: relative; overflow: hidden; transition: .3s;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-lg); }
.testi-bar { position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--royal); }

.tc-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tc-stars i { color: #F59E0B; font-size: .82rem; }
.tc-text { font-size: .88rem; color: var(--text-2); line-height: 1.8; margin-bottom: 22px; }

.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-av {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 .86rem/1 var(--font-display); flex-shrink: 0;
}
.av-a { background: var(--bg-soft-2); color: var(--royal); }
.av-b { background: rgba(99,102,241,.12); color: #6366F1; }
.av-c { background: var(--sky-soft); color: var(--sky); }
.tc-author strong { display: block; font-size: .88rem; color: var(--navy); }
.tc-author span   { font-size: .76rem; color: var(--text-3); }

/* ── CTA ─────────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1355B5 50%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner .sec-title { color: var(--white); }
.cta-inner .sec-sub { margin: 0 auto; color: rgba(255,255,255,.7); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 0; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.55fr; gap: 64px; align-items: start; }

.ci-title { font: 700 1.65rem/1.2 var(--font-display); color: var(--navy); margin-bottom: 13px; }
.ci-sub   { font-size: .92rem; color: var(--text-3); line-height: 1.8; margin-bottom: 34px; }

.ci-list { display: flex; flex-direction: column; gap: 18px; }
.ci-row  { display: flex; align-items: flex-start; gap: 14px; }
.ci-ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--bg-soft-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--royal); font-size: .95rem;
}
.ci-row small  { display: block; font-size: .71rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 2px; }
.ci-row strong { font-size: .9rem; color: var(--navy); }

/* Contact form */
.cf-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 42px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cf-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
}
.cf-title { font: 700 1.2rem/1 var(--font-display); color: var(--navy); margin-bottom: 26px; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-grp { margin-bottom: 18px; }
.f-grp label {
  display: block; font-size: .73rem; font-weight: 700;
  color: var(--text-2); text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 7px;
}
.f-grp input,
.f-grp select,
.f-grp textarea {
  width: 100%; background: var(--bg-soft);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 15px; color: var(--navy);
  font: 400 .9rem/1 var(--font-body);
  outline: none; transition: .2s;
  -webkit-appearance: none;
}
.f-grp input::placeholder,
.f-grp textarea::placeholder { color: var(--text-3); }
.f-grp input:focus,
.f-grp select:focus,
.f-grp textarea:focus {
  border-color: var(--royal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,111,232,.1);
}
.f-grp select { cursor: pointer; }
.f-grp textarea { resize: vertical; min-height: 112px; line-height: 1.6; }

.f-submit { width: 100%; justify-content: center; padding: 14px; font-size: .96rem; border-radius: var(--r-sm); }

.f-ok {
  display: none; margin-top: 14px; text-align: center;
  padding: 16px; background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: var(--r-sm); color: #166534;
}
.f-ok i { font-size: 1.3rem; margin-bottom: 6px; display: block; }
.f-ok strong { display: block; margin-bottom: 3px; }
.f-ok span { font-size: .82rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 80px 0 0;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }

.fb-col { }
.footer-logo { display: inline-flex; margin-bottom: 4px; }
.footer-logo-img { height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.fb-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.8; margin: 16px 0 22px; max-width: 290px; }

.socials { display: flex; gap: 10px; }
.soc {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .88rem;
  transition: .2s;
}
.soc:hover { background: var(--royal); border-color: var(--royal); color: var(--white); transform: translateY(-2px); }

.fc-col h5 { font: 700 .88rem/1 var(--font-display); color: var(--white); margin-bottom: 18px; }
.fc-col ul { display: flex; flex-direction: column; gap: 9px; }
.fc-col ul li a {
  font-size: .84rem; color: rgba(255,255,255,.5);
  transition: .2s; display: inline-block;
}
.fc-col ul li a:hover { color: var(--sky-light); padding-left: 3px; }

.f-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.f-bottom p { font-size: .79rem; color: rgba(255,255,255,.4); }
.f-bot-links { display: flex; gap: 22px; }
.f-bot-links a { font-size: .79rem; color: rgba(255,255,255,.4); transition: color .2s; }
.f-bot-links a:hover { color: var(--sky-light); }

/* ── SCROLL TOP ──────────────────────────────────────────── */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--royal); border: none; color: var(--white);
  font-size: .9rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,111,232,.4);
  transition: .2s;
}
#scrollTop.show { display: flex; }
#scrollTop:hover { background: var(--royal-d); transform: translateY(-3px); }

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proc-row { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .proc-line { display: none; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .n-links, .n-right .btn-outline { display: none; }
  .ham { display: flex; }
  .hero-layout, .auto-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .f-chip { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hstat-div { display: none; }
  .svc-grid, .brand-grid, .testi-grid { grid-template-columns: 1fr; }
  .proc-row { grid-template-columns: 1fr 1fr; }
  .cf-wrap { padding: 28px 18px; }
  .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sec { padding: 75px 0; }
}

@media (max-width: 480px) {
  .proc-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card.stat-tall { grid-row: auto; }
  .af-grid { grid-template-columns: 1fr; }
}
