/* ==========================================================================
   EZwebs — style.css
   Corporate website design system
   Brand: Deep Navy · Professional Blue · Teal · Green
   Type:  Sora (display) + Inter (body)
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  /* Brand palette (sampled from the EZwebs logo) */
  --navy:        #0A2540;
  --navy-700:    #103A5E;
  --navy-600:    #14496F;
  --blue:        #1668C6;
  --blue-500:    #1E7FE0;
  --teal:        #0FA0A0;
  --teal-400:    #14BEB0;
  --green:       #2FB37A;
  --green-400:   #35C97F;

  /* Neutrals */
  --ink:         #0C2438;   /* headings */
  --body:        #33475B;   /* body text */
  --muted:       #64768A;   /* secondary text */
  --line:        #E4EAF0;   /* hairlines / borders */
  --line-strong: #D3DEE8;
  --white:       #FFFFFF;
  --bg:          #FFFFFF;
  --bg-soft:     #F5F8FB;   /* very light grey sections */
  --bg-soft-2:   #EDF3F9;

  /* Signature brand gradient */
  --grad-brand:  linear-gradient(120deg, #0A2540 0%, #1668C6 40%, #0FA0A0 72%, #2FB37A 100%);
  --grad-brand-soft: linear-gradient(120deg, #1668C6 0%, #0FA0A0 55%, #2FB37A 100%);
  --grad-ink:    linear-gradient(160deg, #0A2540 0%, #0E3255 60%, #103A5E 100%);

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(12,36,56,.06), 0 1px 3px rgba(12,36,56,.05);
  --shadow-md:  0 6px 20px rgba(12,36,56,.08);
  --shadow-lg:  0 18px 44px rgba(12,36,56,.12);
  --shadow-brand: 0 14px 30px rgba(22,104,198,.28);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Small structural kicker (sentence case, not all-caps) */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px; letter-spacing: .01em;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-brand-soft);
}
.section-head.center .kicker { justify-content: center; }

.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }

/* ---------- 4. Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display);
  font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--grad-brand-soft); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(15,160,160,.34); color:#fff; }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--light { background:#fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color:var(--navy); }
.btn--on-dark { background: transparent; color:#fff; border-color: rgba(255,255,255,.35); }
.btn--on-dark:hover { border-color:#fff; background: rgba(255,255,255,.08); color:#fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- 5. Header / navigation --------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(12,36,56,.06);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand__slogan { display: flex; flex-direction: column; line-height: 1.2; border-left: 1.5px solid var(--line-strong); padding-left: 12px; }
.brand__slogan .l1 { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.brand__slogan .l1 b { color: var(--teal); font-weight: 700; }
.brand__slogan .l2 { font-family: var(--font-body); font-size: .7rem; color: var(--muted); }
.brand__slogan .l2 .g { color: var(--green); font-weight: 600; }
@media (max-width: 992px) { .brand__slogan { display: none; } }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
  font-family: var(--font-display);
  font-weight: 500; font-size: .96rem; color: var(--navy);
  padding: 10px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
  transition: background .18s ease, color .18s ease;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--blue); background: var(--bg-soft-2); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta-mobile { display: none; }   /* shown inside menu on mobile only */

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle .chevron { transition: transform .2s ease; }
.has-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 210px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 10px; font-weight: 500;
}
.dropdown a span { font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--muted); }
.dropdown a:hover span { color: var(--teal); }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--navy); transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { position: absolute; top: 6px;  left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-ink);
  color: #eaf2fb;
  isolation: isolate;
}
.hero::before {  /* soft brand glow */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(47,179,122,.22), transparent 60%),
    radial-gradient(52% 50% at 12% 88%, rgba(22,104,198,.30), transparent 62%),
    radial-gradient(46% 42% at 68% 78%, rgba(15,160,160,.20), transparent 60%);
}
.hero::after {  /* faint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(64px, 10vw, 120px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-family: var(--font-display); font-size: .82rem; font-weight: 500; color: #cfe6ff;
  margin-bottom: 22px;
}
.hero__eyebrow b { color: #fff; font-weight: 600; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(53,201,127,.22); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(100deg, #58d4ff, #35c97f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.16rem; color: #b9cee2; max-width: 54ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px 40px; }
.hero__stats .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.hero__stats .lbl { font-size: .86rem; color: #9fb6cd; }

/* Hero visual — abstract, code-free, lightweight (pure CSS/SVG) */
.hero__visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.hero-card__bar { display: flex; gap: 7px; margin-bottom: 16px; }
.hero-card__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.hero-card__bar i:nth-child(1){ background:#ff5f57; } .hero-card__bar i:nth-child(2){ background:#febc2e; } .hero-card__bar i:nth-child(3){ background:#28c840; }
.code-line { height: 11px; border-radius: 6px; margin: 11px 0; background: rgba(255,255,255,.14); }
.code-line.g { background: linear-gradient(90deg,var(--teal-400),var(--green-400)); opacity:.9; }
.code-line.b { background: linear-gradient(90deg,var(--blue-500),var(--teal-400)); opacity:.85; }
.code-line.w40 { width: 40%; } .code-line.w60 { width: 60%; } .code-line.w75 { width: 75%; } .code-line.w85 { width: 85%; } .code-line.w50{width:50%;}
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-chips span {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500; color: #dcecff;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.hero-float {
  position: absolute; right: -14px; top: -22px;
  background: #fff; color: var(--navy); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand-soft); display: grid; place-items: center; }
.hero-float .ic svg { width: 18px; height: 18px; color: #fff; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ---------- 7. Trust / logos strip --------------------------------------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-block: 26px; }
.trust__label { font-family: var(--font-display); font-size: .82rem; color: var(--muted); font-weight: 500; }
.trust__items { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.trust__items span { font-family: var(--font-display); font-weight: 600; color: var(--navy-700); opacity: .78; display:inline-flex; align-items:center; gap:8px; }
.trust__items span::before { content:""; width:8px; height:8px; border-radius:2px; background: var(--grad-brand-soft); }

/* ---------- 8. Generic cards & grids ------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(22,104,198,.12), rgba(47,179,122,.12));
  border: 1px solid rgba(22,104,198,.14); margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--blue); }
.card:hover .icon-badge svg { color: var(--teal); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Service cards get a top accent that reveals on hover */
.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad-brand-soft); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card ul { margin-top: 14px; display: grid; gap: 7px; }
.service-card li { list-style: none; font-size: .92rem; color: var(--body); padding-left: 22px; position: relative; }
.service-card li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- 9. About split ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-visual {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--grad-ink); min-height: 380px; padding: 34px; color:#fff;
  box-shadow: var(--shadow-lg);
}
.about-visual .glow { position:absolute; inset:0; background: radial-gradient(50% 50% at 78% 22%, rgba(47,179,122,.35), transparent 60%), radial-gradient(45% 45% at 20% 82%, rgba(22,104,198,.4), transparent 60%); }
.about-visual .stat-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.about-visual .stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 18px; }
.about-visual .stat .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.about-visual .stat .t { font-size: .84rem; color: #b9cee2; }
.about-visual .vtag { display:inline-block; font-family:var(--font-display); font-weight:600; font-size:.8rem; color:#cfe6ff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); padding:6px 12px; border-radius:var(--r-pill); margin-bottom:16px; position:relative; }
.check-list { display: grid; gap: 14px; margin: 22px 0 26px; }
.check-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--teal), var(--green)); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; height: 14px; color: #fff; }
.check-list b { color: var(--ink); font-family: var(--font-display); }
.check-list p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }

/* ---------- 10. Process timeline ----------------------------------------- */
.process { position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #fff;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-brand-soft); margin-bottom: 16px; box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.16rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step__connector { display: none; }

/* ---------- 11. Technology ------------------------------------------------ */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tech-group { background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.tech-group:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-group h3 { font-size: 1.06rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tech-group h3 .ic { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, rgba(22,104,198,.12), rgba(47,179,122,.12)); display:grid; place-items:center; }
.tech-group h3 .ic svg { width: 20px; height: 20px; color: var(--teal); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tech-tags span { font-family: var(--font-display); font-size: .85rem; font-weight: 500; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); padding: 7px 13px; border-radius: var(--r-pill); }
.tech-group p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- 12. Industries ------------------------------------------------ */
.industry-card {
  background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.industry-card .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: var(--grad-brand-soft); display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.industry-card .ic svg { width: 24px; height: 24px; color: #fff; }
.industry-card h3 { font-size: 1.12rem; margin-bottom: 5px; }
.industry-card p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- 13. CTA band -------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; border-radius: clamp(20px, 3vw, 30px); padding: clamp(40px, 6vw, 68px); box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 85% 20%, rgba(47,179,122,.28), transparent 60%), radial-gradient(46% 80% at 12% 90%, rgba(22,104,198,.4), transparent 62%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c3d6ea; margin: 0; max-width: 52ch; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 14. Footer ---------------------------------------------------- */
.site-footer { background: var(--grad-ink); color: #b9cee2; padding-top: clamp(56px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px 32px; padding-bottom: 48px; }
.footer-brand__logo { background: #fff; border-radius: 14px; padding: 12px 14px; display: inline-block; box-shadow: var(--shadow-md); margin-bottom: 18px; }
.footer-brand__logo img { height: 44px; width: auto; }
.footer-tagline { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem; margin-bottom: 10px; }
.footer-tagline .g { color: var(--green-400); }
.site-footer p { color: #9fb6cd; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #b9cee2; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; color: #9fb6cd; font-size: .95rem; margin-bottom: 12px; list-style: none; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-400); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: #cfe0f0; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #cfe0f0; transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--grad-brand-soft); transform: translateY(-3px); color: #fff; }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom p { margin: 0; font-size: .9rem; color: #8ba4bc; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #8ba4bc; font-size: .9rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 15. Page hero (interior pages) ------------------------------- */
.page-hero { position: relative; background: var(--grad-ink); color: #eaf2fb; overflow: hidden; isolation: isolate; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(55% 60% at 85% 15%, rgba(47,179,122,.2), transparent 60%), radial-gradient(50% 55% at 10% 90%, rgba(22,104,198,.32), transparent 62%); }
.page-hero__inner { padding-block: clamp(56px, 8vw, 96px); max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: #b9cee2; font-size: 1.14rem; margin: 0; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #9fb6cd; margin-bottom: 20px; font-family: var(--font-display); }
.breadcrumb a { color: #cfe0f0; } .breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

/* ---------- 16. Content / prose (legal + blog) --------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { display: inline-block; font-family: var(--font-display); font-size: .85rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 30px; }
.callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--r-md); padding: 20px 22px; margin: 26px 0; }
.callout p { margin: 0; }

/* Table of contents / aside for legal pages */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-family: var(--font-display); font-size: .82rem; color: var(--muted); margin-bottom: 12px; font-weight:600; }
.toc ul { list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 7px 12px; border-radius: 9px; font-size: .9rem; color: var(--body); border-left: 2px solid transparent; }
.toc a:hover { background: var(--bg-soft); color: var(--blue); }

/* ---------- 17. Blog ------------------------------------------------------ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { display: flex; flex-direction: column; background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* Placeholder image (gradient + icon). Replace with real <img> later. */
.blog-thumb { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb--ph { background: var(--grad-ink); }
.blog-thumb--ph::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 70% at 80% 15%, rgba(47,179,122,.3), transparent 60%), radial-gradient(55% 60% at 15% 90%, rgba(22,104,198,.42), transparent 62%); }
.blog-thumb--ph svg { position: relative; width: 54px; height: 54px; color: rgba(255,255,255,.9); }
.blog-thumb .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-display); font-size: .76rem; font-weight: 600; color: #fff; background: rgba(10,37,64,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; border-radius: var(--r-pill); }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { font-family: var(--font-display); font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.28; }
.blog-card h3 a { color: var(--ink); } .blog-card h3 a:hover { color: var(--blue); }
.blog-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.read-more { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.read-more:hover svg { transform: translateX(4px); }

/* Article body */
.article { max-width: 760px; }
.article__hero-thumb { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/7; margin-bottom: 34px; background: var(--grad-ink); position: relative; display:grid; place-items:center; }
.article__hero-thumb::after { content:""; position:absolute; inset:0; background: radial-gradient(50% 70% at 82% 12%, rgba(47,179,122,.28), transparent 60%), radial-gradient(48% 60% at 12% 92%, rgba(22,104,198,.4), transparent 62%); }
.article__hero-thumb svg { position:relative; width:64px; height:64px; color: rgba(255,255,255,.92); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-family: var(--font-display); font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.article-meta .pill { color: var(--teal); background: rgba(15,160,160,.1); border: 1px solid rgba(15,160,160,.2); padding: 4px 12px; border-radius: var(--r-pill); font-weight: 600; }

/* ---------- 18. Contact --------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card { background:#fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.info-card .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(22,104,198,.12), rgba(47,179,122,.12)); border:1px solid rgba(22,104,198,.14); display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; color: var(--blue); }
.info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; font-size: .96rem; color: var(--muted); }
.info-card a:hover { color: var(--teal); }

.form-wrap { background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #d64545; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,104,198,.12); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.1); }
.field .err { display: none; color: #c23b3b; font-size: .82rem; margin-top: 6px; }
.field .err.show { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .96rem; }
.form-status.show { display: block; }
.form-status.success { background: rgba(47,179,122,.1); border: 1px solid rgba(47,179,122,.3); color: #1c7a52; }
.form-status.error { background: rgba(214,69,69,.08); border: 1px solid rgba(214,69,69,.28); color: #b23b3b; }

/* Map placeholder */
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- 19. Values / approach (profile page) ------------------------- */
.value-card { background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .n { font-family: var(--font-display); font-weight: 700; color: var(--teal); font-size: .9rem; }
.value-card h3 { font-size: 1.14rem; margin: 8px 0 6px; }
.value-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { border-radius: var(--r-lg); padding: 34px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.mv-card.mission { background: linear-gradient(150deg, #0A2540, #14496F); }
.mv-card.vision  { background: linear-gradient(150deg, #0E5C58, #2FB37A); }
.mv-card::after { content:""; position:absolute; right:-30px; top:-30px; width:160px; height:160px; border-radius:50%; background: rgba(255,255,255,.08); }
.mv-card h3 { color:#fff; font-size: 1.35rem; margin-bottom: 12px; position: relative; }
.mv-card p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 0; position: relative; }
.mv-card .ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.15); display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.mv-card .ic svg { width: 24px; height: 24px; color: #fff; }

/* ---------- 20. Reveal animation ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- 21. Skip link & a11y ----------------------------------------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-family: var(--font-display); transition: top .2s ease; }
.skip-link:focus { top: 12px; color:#fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 22. Responsive ------------------------------------------------ */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  /* Mobile navigation */
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 26px; box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .34s cubic-bezier(.4,.14,.3,1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > li { width: 100%; }
  .nav-menu a { padding: 14px 14px; font-size: 1.02rem; border-radius: 12px; }
  .nav-menu .btn { width: 100%; margin-top: 8px; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    border-radius: 0; margin: 4px 0 4px 14px; padding: 2px 0 2px 6px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 11px 12px; }

  .nav-actions .btn:not(.nav-toggle) { display: none; } /* CTA moves into menu on mobile */
  .nav-cta-mobile { display: block; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .about-visual { min-height: 300px; order: 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4,
  .tech-grid, .process-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
  .hero__stats { gap: 20px 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust__row { justify-content: center; text-align: center; }
}

/* ---------- 23. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
