/* ============================================================
   eConnecion Sdn Bhd — stylesheet
   Blue corporate identity migrated from the WordPress reference
   ============================================================ */

:root {
    --blue:         #1668ff;   /* bright action blue (topbar, buttons) */
    --blue-dark:    #1450cc;
    --navy:         #15257e;   /* deep navy (headings, footer)         */
    --navy-deep:    #0e1c63;
    --teal:         #1cb5c9;   /* brand accent in "Connecion"          */
    --ink:          #1d2440;   /* body heading text                    */
    --text:         #313747;   /* body copy                            */
    --muted:        #8a93ab;
    --tint:         #f3f4f6;   /* light section background             */
    --line:         #e3e9f5;
    --white:        #ffffff;
    --radius:       14px;
    --radius-sm:    9px;
    --shadow:       0 18px 45px rgba(21, 37, 126, .10);
    --shadow-sm:    0 8px 24px rgba(21, 37, 126, .08);
    --container:    1180px;
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* ---- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }

/* icons */
.icon   { width: 26px; height: 26px; }
.ico-sm { width: 17px; height: 17px; vertical-align: middle; }
.ico-xs { width: 15px; height: 15px; flex: none; }

/* ---- Shared headings ------------------------------------------------------ */
.eyebrow {
    text-align: center; color: var(--blue); font-weight: 600; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem;
}
.section-title {
    text-align: center; color: var(--navy); font-size: 2.2rem; font-weight: 700;
    margin: 0 0 3rem;
}
.section-title--left { text-align: left; margin-bottom: 1.4rem; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-weight: 600; font-size: .92rem;
    padding: .8rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border-color: #fff; }

.link-more {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--blue); font-weight: 600; font-size: .9rem;
}
.link-more:hover { gap: .65rem; }

/* ---- Top bar -------------------------------------------------------------- */
.topbar { background: var(--blue); color: #fff; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; padding-top: 10px; padding-bottom: 10px; }
.topbar__info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; opacity: .95; }
.topbar__social { display: flex; align-items: center; gap: .5rem; }
.topbar__social span { opacity: .9; }
.topbar__social a {
    width: 24px; height: 24px; display: grid; place-items: center; font-size: .72rem;
    font-weight: 700; background: rgba(255,255,255,.18); border-radius: 5px; color: #fff;
}
.topbar__social a:hover { background: rgba(255,255,255,.32); }

/* ---- Header --------------------------------------------------------------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 20px rgba(21,37,126,.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.brand span { color: var(--teal); }
.main-nav ul { display: flex; gap: 2rem; align-items: center; }
.main-nav a { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: .95rem; position: relative; padding: .3rem 0; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.main-nav a.is-active::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--blue);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    /* Drop your photo at assets/images/hero-bg.jpg (≈1920x1080).
       The gradient below stays as a fallback if the image is missing. */
    background:
        url('../images/hero-bg.jpg') center / cover no-repeat,
        linear-gradient(120deg, #122a8e 0%, #1d4fd0 55%, #1668ff 100%);
}
.hero__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.10), transparent 40%),
        linear-gradient(115deg, rgba(13,28,99,.55) 30%, transparent 75%);
}
.hero__inner { position: relative; padding: 110px 24px 120px; max-width: 720px; }
.hero__badge {
    display: inline-block; border: 1px solid rgba(255,255,255,.55); border-radius: 20px;
    padding: .4rem 1.1rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; font-size: 3.3rem; font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Intro ---------------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.intro__title { color: var(--navy); font-size: 2rem; font-weight: 700; }
.intro__actions { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.intro__side { display: grid; gap: 1.5rem; align-content: start; }
/* Home feature image. Drop your photo at assets/images/home-feature.jpg (≈720x540). */
.intro__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.callout {
    display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm);
}
.callout__icon { width: 42px; height: 42px; color: var(--blue); flex: none; }
.callout span { display: block; font-size: .82rem; color: var(--muted); }
.callout strong { color: var(--navy); font-family: var(--font-display); }

/* ---- Pillars -------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.6rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon {
    width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 50%;
    display: grid; place-items: center; background: var(--tint); color: var(--blue);
}
.pillar h3 { color: var(--navy); font-size: 1.05rem; min-height: 2.5em; }
.pillar ul { display: grid; gap: .55rem; text-align: left; margin-top: 1rem; }
.pillar li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.pillar li svg { color: var(--blue); }

/* ---- Stages --------------------------------------------------------------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stage {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm);
}
.stage__tag {
    display: inline-block; background: var(--navy); color: #fff; font-family: var(--font-display);
    font-weight: 600; padding: .55rem 1.2rem; border-radius: 8px; margin-bottom: 1.2rem;
    line-height: 1.25;
}
.stage__n {
    display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 400;
    letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: .15rem;
}
.stage ul { display: grid; gap: .55rem; margin-bottom: 1rem; }
.stage li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; }
.stage li svg { color: var(--blue); margin-top: 3px; }
.stage__note { font-size: .85rem; color: var(--muted); font-style: italic; margin: 0; }

/* ---- Services ------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.7rem; transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__icon {
    width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
    background: var(--tint); color: var(--blue); margin-bottom: 1.2rem;
}
.service-card h3 { color: var(--navy); font-size: 1.15rem; }
.service-card p { font-size: .92rem; }
.service-card--featured { background: linear-gradient(150deg, var(--blue) 0%, #1346c8 100%); border-color: transparent; color: #fff; }
.service-card--featured h3 { color: #fff; }
.service-card--featured .service-card__icon { background: rgba(255,255,255,.18); color: #fff; }
.service-card--featured .link-more { color: #fff; }

/* ---- Stats ---------------------------------------------------------------- */
.stats-section { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); padding: 64px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; color: #fff; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.stat__label { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ---- Founders ------------------------------------------------------------- */
.founders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.founder { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.founder:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.founder:hover .link-more { gap: .65rem; }
.founder__photo {
    position: relative; height: 265px; display: grid; place-items: center; font-family: var(--font-display);
    font-weight: 800; font-size: 3.5rem; color: #fff;
    background: linear-gradient(150deg, #1d4fd0, var(--teal));
}
/* Real photo overlays the gradient + initial. Drop founder-1.jpg … founder-4.jpg
   into assets/images/ (≈600x400). Remove the <img> to fall back to initials. */
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__body { padding: 1.3rem 1.4rem; }
.founder__country { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.founder__body h3 { color: var(--navy); font-size: 1.1rem; margin: .3rem 0 .2rem; }
.founder__body p { font-size: .88rem; margin: 0 0 .8rem; color: var(--muted); }
.founder__body .link-more { font-size: .85rem; }

/* ---- Skills --------------------------------------------------------------- */
.skills-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.skills { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.skill__head { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .5rem; }
.skill__bar { height: 8px; background: #d9e2f5; border-radius: 6px; overflow: hidden; }
.skill__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 6px; }
.skills-art { display: grid; place-items: center; }
.skills-art__icon { width: 200px; height: 200px; color: var(--blue); opacity: .25; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), #1d4fd0); color: #fff; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 54px 24px; flex-wrap: wrap; }
.cta-band span { font-size: .9rem; opacity: .85; }
.cta-band h2 { color: #fff; font-size: 2.2rem; margin: .3rem 0 0; }

/* ---- Clients -------------------------------------------------------------- */
.clients-head { text-align: center; margin-bottom: 2rem; position: relative; }
.clients-head span { font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: 0 1.2rem; background: #fff; position: relative; z-index: 1; letter-spacing: .05em; }
.clients-head::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; }
.client { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--muted); opacity: .7; transition: .2s; }
.client:hover { opacity: 1; color: var(--blue); }
/* Logo images: drop client-1.png … client-6.png into assets/images/ (transparent PNG). */
.client img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: .2s; }
.client:hover img { filter: none; opacity: 1; }

/* ---- Blog ----------------------------------------------------------------- */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.post__meta { display: flex; gap: 1.2rem; font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.post h3 { color: var(--navy); font-size: 1.15rem; }

/* ---- Process -------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
.step { text-align: center; }
.step__icon {
    width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 16px; background: #fff;
    border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue);
    position: relative; box-shadow: var(--shadow-sm);
}
.step__num {
    position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700;
    font-size: .8rem; display: grid; place-items: center;
}
.step h3 { color: var(--navy); font-size: 1.1rem; }
.step p { font-size: .9rem; max-width: 220px; margin: 0 auto; }

/* ---- Product showcase (eC Lead) ------------------------------------------- */
.product__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.2rem; align-items: center; }
.product__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
/* Drop your CRM screenshot at assets/images/eclead-preview.jpg (≈900x560). */
.product__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; display: block; }
.product__body .eyebrow { text-align: left; }
.product__features { display: grid; gap: .7rem; margin: 1.2rem 0 1.9rem; }
.product__features li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 500; }
.product__features li svg { color: var(--blue); }

/* ---- Page banner ---------------------------------------------------------- */
.page-banner {
    position: relative; color: #fff; overflow: hidden;
    /* Drop your photo at assets/images/banner-bg.jpg (≈1920x600).
       Shared by About / Engagements / How We Work / Contact pages. */
    background:
        url('../images/banner-bg.jpg') center / cover no-repeat,
        linear-gradient(120deg, #122a8e, #1d4fd0);
}
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,99,.78), rgba(14,28,99,.35)), radial-gradient(circle at 75% 30%, rgba(255,255,255,.08), transparent 45%); }
.page-banner__inner { position: relative; padding: 72px 24px; }
.page-banner h1 { color: #fff; font-size: 2.6rem; font-weight: 800; margin: 0 0 .5rem; }
.breadcrumb { font-size: .9rem; opacity: .9; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

/* ---- Optimization grid (growth page) -------------------------------------- */
.opt-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: 1.8rem; align-items: stretch; }
.opt-feature {
    position: relative; border-radius: var(--radius); overflow: hidden; color: #fff;
    background: linear-gradient(160deg, #1d4fd0, var(--navy-deep)); display: flex; align-items: flex-end;
    min-height: 420px;
}
.opt-feature__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,28,99,.7), transparent); }
.opt-feature__body { position: relative; padding: 2rem; }
.opt-feature__body span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.opt-feature__body h2 { color: #fff; font-size: 1.8rem; margin: .5rem 0 1.3rem; }
.opt-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.opt-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.7rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.opt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.opt-card__num { position: absolute; top: 1rem; right: 1.3rem; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--tint); }
.opt-card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.opt-card h3 { color: var(--navy); font-size: 1.15rem; }
.opt-card p { font-size: .9rem; margin: 0; }

/* ---- About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
/* About feature image. Drop your photo at assets/images/about-team.jpg (≈760x600). */
.media-frame { margin: 0 0 3rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 7; }
.about-values { display: grid; gap: 1.3rem; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.value__icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: .6rem; }
.value h3 { color: var(--navy); font-size: 1.15rem; }
.value p { font-size: .92rem; margin: 0; }

/* ---- Pricing -------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.9rem; box-shadow: var(--shadow-sm); }
.plan--featured { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 20px; }
.plan__name { color: var(--navy); font-size: 1.3rem; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--blue); margin-bottom: 1.4rem; }
.plan__price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan__features { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.plan__features li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.plan__features svg { color: var(--blue); }
.plan__cta { width: 100%; justify-content: center; }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list svg { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--tint); color: var(--blue); flex: none; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .9rem; }
.field input, .field textarea {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,255,.12); }
.err { color: #d6334a; font-size: .8rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-size: .92rem; }
.alert--ok { background: #e7f7ee; color: #1b7a44; border: 1px solid #b9e7cc; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #cdd6ec; }
.footer-strip { border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 28px 24px; }
.footer-strip__item { display: flex; gap: .9rem; align-items: center; }
.footer-strip__item svg { width: 36px; height: 36px; color: #8fb2ff; flex: none; }
.footer-strip__item span { display: block; font-size: .8rem; opacity: .7; }
.footer-strip__item strong { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1.2fr; gap: 2.5rem; padding-top: 56px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.1rem; }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-links { columns: 2; gap: 1rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .9rem; position: relative; padding-left: 14px; }
.footer-links a::before { content: '›'; position: absolute; left: 0; color: #8fb2ff; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 7px; color: #fff; font-weight: 700; font-size: .82rem; }
.footer-social a:hover { background: var(--blue); }
.newsletter { display: grid; gap: .7rem; margin-top: 1rem; }
.newsletter input { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); }
.newsletter input::placeholder { color: #9fabcd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; opacity: .7; }

/* ---- Back to top ---------------------------------------------------------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--blue); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; z-index: 60; box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); }

/* ---- Tech stack ----------------------------------------------------------- */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; }
.stack-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.stack-group h3 { color: var(--navy); font-size: 1rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    font-family: var(--font-mono); font-size: .8rem; color: var(--navy);
    background: var(--tint); border: 1px solid var(--line); border-radius: 6px;
    padding: .35rem .7rem; transition: .15s;
}
.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---- Engineering principles ----------------------------------------------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.principle {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.principle:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.principle__icon {
    width: 50px; height: 50px; margin: 0 auto 1rem; border-radius: 12px;
    display: grid; place-items: center; background: var(--tint); color: var(--blue);
}
.principle h3 { color: var(--navy); font-size: 1.08rem; }
.principle p { font-size: .9rem; margin: 0; }

/* ---- Pricing extras ------------------------------------------------------- */
.plan__tagline { color: var(--muted); font-size: .92rem; margin: -.3rem 0 1rem; }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }
.pricing-note a { color: var(--blue); font-weight: 600; }

/* ---- How-we-work feature text --------------------------------------------- */
.opt-feature__text { font-size: .95rem; opacity: .9; margin-bottom: 1.3rem; }

/* ---- Select (contact) ----------------------------------------------------- */
.field select {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,255,.12); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
    .pillars, .stages, .founders, .stats, .principles { grid-template-columns: repeat(2, 1fr); }
    .services, .blog, .process, .pricing { grid-template-columns: repeat(2, 1fr); }
    .opt-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 760px) {
    .section { padding: 56px 0; }
    .topbar__info { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .main-nav.open { max-height: 360px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 24px 1rem; align-items: stretch; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { display: block; padding: .9rem 0; }
    .intro__grid, .skills-grid, .about-grid, .contact-grid, .product__grid { grid-template-columns: 1fr; }
    .pillars, .stages, .services, .founders, .stats, .blog, .process, .pricing, .opt-cards, .footer-grid, .footer-strip__inner, .principles {
        grid-template-columns: 1fr;
    }
    .plan--featured { transform: none; }
    .hero h1 { font-size: 2.1rem; }
    .hero__inner { padding: 70px 24px 80px; }
    .section-title { font-size: 1.7rem; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
