/* ============================================================
   AutomateBolt — Site Stylesheet
   Palette
     --bg            #FFFAF7
     --section-break #FFEBE0
     --text          #0F1B26  (logo navy)
     --primary       #1190CE  (logo azure blue)
     --secondary     #FB923C
     --highlight     #14B8A6
     --muted         #7B6B7A
   Fonts: Sora (display) + Plus Jakarta Sans (body)
   ============================================================ */

:root {
    --bg: #FFFAF7;
    --section-break: #FFEBE0;
    --text: #0F1B26;
    --primary: #1190CE;
    --primary-dark: #0C6E9E;
    --secondary: #FB923C;
    --secondary-dark: #EA7A1F;
    --highlight: #14B8A6;
    --highlight-dark: #0F8C7E;
    --muted: #7B6B7A;
    --line: rgba(15, 27, 38, 0.08);
    --card: #FFFFFF;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(15, 27, 38, 0.06);
    --shadow: 0 18px 50px -20px rgba(15, 27, 38, 0.18);
    --shadow-lg: 0 30px 80px -30px rgba(17, 144, 206, 0.35);
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --max-w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--text); }

img { max-width: 100%; display: block; }

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

.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--section-break); }
.section--dark {
    background: linear-gradient(135deg, #0F1B26 0%, #123A55 60%, #1190CE 100%);
    color: #FFFAF7;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #FFFAF7; }
.section--dark p { color: rgba(255, 250, 247, .82); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(17, 144, 206, .08);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.eyebrow--teal { color: var(--highlight); background: rgba(20, 184, 166, .1); }
.eyebrow--orange { color: var(--secondary-dark); background: rgba(251, 146, 60, .12); }
.eyebrow--light { color: #FFFAF7; background: rgba(255, 250, 247, .12); }

.lead {
    font-size: 1.18rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .lead { margin: 0 auto; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    padding: 9px 18px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--secondary); color: #0F1B26; box-shadow: 0 12px 28px -10px rgba(251, 146, 60, .65); }
.btn--primary:hover { background: var(--secondary-dark); color: #0F1B26; box-shadow: 0 18px 36px -10px rgba(251, 146, 60, .8); }
.btn--purple { background: var(--primary); color: #FFFAF7; box-shadow: 0 12px 28px -10px rgba(17, 144, 206, .55); }
.btn--purple:hover { background: var(--primary-dark); color: #FFFAF7; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--light { background: #FFFAF7; color: #0F1B26; }
.btn--light:hover { background: #fff; color: #0F1B26; }
.btn--outline-light { background: transparent; color: #FFFAF7; border-color: rgba(255, 250, 247, .35); }
.btn--outline-light:hover { background: rgba(255, 250, 247, .1); color: #FFFAF7; }
.btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 12px;
    height: 8px;
    font-size: 0;
    line-height: 1;
    margin-left: 3px;
    color: inherit;
    position: relative;
    transition: transform .25s ease;
}
.btn .arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1.4px;
    background: currentColor;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: width .25s ease;
}
.btn .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1.4px solid currentColor;
    border-top: 1.4px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { transform: translateX(2px); }
.btn:hover .arrow::before { width: 12px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row--center { justify-content: center; }

/* ========== Header / Navigation ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 250, 247, .85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.28rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 90%);
    color: #FFFAF7;
    border-radius: 11px;
    font-weight: 800;
    font-size: 1.08rem;
    box-shadow: 0 8px 20px -6px rgba(17, 144, 206, .6);
}
.brand-img {
    height: 60px;
    width: auto;
    display: block;
}
.site-footer .brand-img { height: 60px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: .96rem;
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
    padding: 9px 6px;
    transition: color .18s ease;
}
.nav-login:hover { color: var(--primary); }
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
    .nav-links, .nav-cta .btn:not(.btn--primary) { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-mobile-open .nav-links {
        display: flex;
        position: absolute;
        left: 16px; right: 16px;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow);
    }
    .nav-mobile-open .nav-links a { padding: 10px 8px; }
}

/* ========== Hero ========== */
.hero {
    padding: 110px 0 80px;
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 480px at 90% -10%, rgba(20, 184, 166, .14), transparent 60%),
        radial-gradient(700px 420px at -10% 20%, rgba(17, 144, 206, .14), transparent 60%),
        linear-gradient(180deg, rgba(255, 250, 247, .82) 0%, rgba(255, 250, 247, .88) 100%),
        url('/images/hero/hero-bg.jpg');
    background-size: 100% 100%, 100% 100%, 100% 100%, 135% 135%;
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 30%;
    background-repeat: no-repeat;
    animation: hero-bg-pan 32s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes hero-bg-pan {
    0%, 100% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 30%; }
    50%      { background-position: 0% 0%, 0% 0%, 0% 0%, 100% 70%; }
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
    will-change: transform;
}
.hero::before {
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(17, 144, 206, .35), transparent 65%);
    top: -220px; left: -180px;
    animation: hero-blob-a 22s ease-in-out infinite;
}
.hero::after {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(20, 184, 166, .32), transparent 65%);
    bottom: -180px; right: -160px;
    animation: hero-blob-b 26s ease-in-out infinite;
}
.hero .container { position: relative; z-index: 1; }

@keyframes hero-blob-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(70px, 50px, 0) scale(1.1); }
    66%      { transform: translate3d(-40px, 80px, 0) scale(.92); }
}
@keyframes hero-blob-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(-80px, -60px, 0) scale(1.15); }
}

/* ===== Hero entry / ambient animations ===== */
@keyframes hero-up {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-pop {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes hero-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes hero-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -10px, 0); }
}
@keyframes hero-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(20, 184, 166, .25), 0 0 0 12px rgba(20, 184, 166, 0); }
    50%      { box-shadow: 0 0 0 6px rgba(20, 184, 166, .15), 0 0 0 18px rgba(20, 184, 166, .04); }
}
@keyframes hero-star-glow {
    0%, 100% { text-shadow: 0 0 0 rgba(251, 146, 60, 0); }
    50%      { text-shadow: 0 0 14px rgba(251, 146, 60, .55); }
}
@keyframes hero-shine {
    0%   { transform: translateX(-130%) skewX(-22deg); }
    60%  { transform: translateX(330%)  skewX(-22deg); }
    100% { transform: translateX(330%)  skewX(-22deg); }
}

.hero .eyebrow    { opacity: 0; animation: hero-up .9s cubic-bezier(.16, 1, .3, 1) .05s forwards; }
.hero h1          { opacity: 0; animation: hero-up 1s   cubic-bezier(.16, 1, .3, 1) .15s forwards; }
.hero .hero-lead  { opacity: 0; animation: hero-up 1s   cubic-bezier(.16, 1, .3, 1) .28s forwards; }
.hero .cta-row    { opacity: 0; animation: hero-up 1s   cubic-bezier(.16, 1, .3, 1) .42s forwards; }
.hero .hero-trust { opacity: 0; animation: hero-up 1s   cubic-bezier(.16, 1, .3, 1) .55s forwards; }
.hero .hero-visual { opacity: 0; animation: hero-pop 1.2s cubic-bezier(.16, 1, .3, 1) .35s forwards; }
.hero .hero-badge  { opacity: 0; animation: hero-up .9s cubic-bezier(.16, 1, .3, 1) 1.1s forwards; }

.hero h1 .grad {
    background: linear-gradient(90deg, var(--primary), var(--highlight), var(--primary));
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-shimmer 7s ease-in-out infinite;
}

.hero-badge .dot { animation: hero-pulse-dot 2.4s ease-in-out infinite; }
.hero-trust .stars { display: inline-block; animation: hero-star-glow 3.2s ease-in-out infinite; }

/* Hover parallax on hero visual */
.hero-visual { transition: transform .7s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.hero-visual:hover { transform: translateY(-8px); }
.hero-visual img { transition: transform 1.1s ease; }
.hero-visual:hover img { transform: scale(1.05); }

/* Ambient float on the hero image (delayed until entry finishes) */
.hero .hero-visual img { animation: hero-float 7s ease-in-out 1.6s infinite; }

/* Shine sweep on primary CTA in hero */
.hero .cta-row .btn--primary { position: relative; overflow: hidden; }
.hero .cta-row .btn--primary::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-130%) skewX(-22deg);
    animation: hero-shine 4.5s ease-in-out 1.8s infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .hero *,
    .hero::before,
    .hero::after { animation: none !important; opacity: 1 !important; transform: none !important; }
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead { font-size: 1.18rem; color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.hero-trust {
    display: flex; align-items: center; gap: 14px;
    margin-top: 28px; color: var(--muted);
    font-size: .9rem;
}
.hero-trust .stars { color: var(--secondary); letter-spacing: 2px; }
.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    min-height: 540px;
}
.hero-visual img { object-position: center center; }
.hero-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 27, 38, 0) 40%, rgba(15, 27, 38, .45) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute;
    bottom: 22px; left: 22px;
    z-index: 2;
    background: rgba(255, 250, 247, .96);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow);
}
.hero-badge .dot {
    width: 12px; height: 12px;
    background: var(--highlight);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(20, 184, 166, .18);
}
.hero-badge strong { font-family: var(--font-display); font-size: .95rem; }
.hero-badge span { display: block; font-size: .78rem; color: var(--muted); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { padding: 80px 0 60px; }
}

/* ========== Logo strip ========== */
.logo-strip {
    padding: 56px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.logo-strip-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: 28px;
}
.logo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
}
.logo-row .logo {
    font-family: var(--font-display);
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    opacity: .8;
    transition: opacity .2s ease, color .2s ease;
}
.logo-row .logo:hover { opacity: 1; color: var(--text); }
.logo-row .logo small { display: block; font-size: .65rem; font-weight: 500; letter-spacing: .18em; opacity: .6; }
@media (max-width: 800px) { .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }

/* ========== Feature grid ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-thumb {
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    position: relative;
}
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card:hover .feature-thumb img { transform: scale(1.04); }
.feature-thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,27,38,0) 50%, rgba(15,27,38,.35) 100%);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card .feature-meta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== Split / showcase ========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    position: relative;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-list { list-style: none; padding: 0; margin: 22px 0 0; }
.split-list li {
    display: flex; gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.split-list li:last-child { border-bottom: 0; }
.split-list .check {
    width: 26px; height: 26px;
    background: rgba(20, 184, 166, .12);
    color: var(--highlight);
    border-radius: 8px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin-top: 3px;
}
.split-list b { font-family: var(--font-display); display: block; margin-bottom: 2px; }
.split-list small { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ========== Stats ========== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 36px;
}
.stat-card {
    background: rgba(255, 250, 247, .06);
    border: 1px solid rgba(255, 250, 247, .12);
    border-radius: var(--radius);
    padding: 30px;
    text-align: left;
}
.stat-card .stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1;
    font-weight: 800;
    background: linear-gradient(90deg, #FFFAF7, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}
.stat-card .stat-label {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 6px;
    color: #FFFAF7;
}
.stat-card .stat-desc { font-size: .92rem; color: rgba(255, 250, 247, .65); margin: 0; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ========== Industries / Solutions Cards ========== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.industry-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-sm);
    isolation: isolate;
    transition: transform .3s ease;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
    z-index: 0;
}
.industry-card:hover img { transform: scale(1.07); }
.industry-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,27,38,0) 25%, rgba(15,27,38,.85) 100%);
    z-index: 1;
}
.industry-card .industry-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 26px;
    color: #FFFAF7;
}
.industry-card h3 { color: #FFFAF7; margin-bottom: 8px; }
.industry-card p { color: rgba(255, 250, 247, .85); margin: 0; font-size: .95rem; }
.industry-card .pill {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .7rem;
    letter-spacing: .14em;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 250, 247, .18);
    border: 1px solid rgba(255, 250, 247, .25);
    margin-bottom: 10px;
    color: #FFFAF7;
}
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* ========== Workflow steps ========== */
.workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}
.work-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.work-card::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    background: rgba(17, 144, 206, .12);
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-block;
    margin-bottom: 18px;
    letter-spacing: .08em;
}
.work-card h4 { font-family: var(--font-display); margin-bottom: 8px; font-size: 1.1rem; }
.work-card p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 1000px) { .workflow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .workflow { grid-template-columns: 1fr; } }

/* ========== Testimonials ========== */
.tg {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}
.testimonial {
    background: #fff;
    border-radius: var(--radius);
    padding: 38px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial--large { background: linear-gradient(135deg, #fff 0%, #FFEBE0 100%); }
.testimonial p.quote {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.45;
    color: var(--text);
    font-size: 1.4rem;
    margin: 0 0 26px;
    letter-spacing: -0.01em;
}
.testimonial--small p.quote { font-size: 1.05rem; }
.tperson { display: flex; align-items: center; gap: 14px; }
.tperson img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.tperson strong { font-family: var(--font-display); display: block; font-size: 1rem; }
.tperson span { color: var(--muted); font-size: .85rem; }
.tg-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
@media (max-width: 920px) { .tg { grid-template-columns: 1fr; } }

/* ========== CTA / banner ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #5B1B9C 60%, var(--highlight) 130%);
    color: #FFFAF7;
    border-radius: var(--radius-lg);
    padding: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-banner::before {
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    background: rgba(255, 250, 247, .08);
    border-radius: 50%;
    top: -120px; right: -120px;
    z-index: -1;
}
.cta-banner::after {
    content: "";
    position: absolute;
    width: 260px; height: 260px;
    background: rgba(20, 184, 166, .25);
    border-radius: 50%;
    bottom: -80px; left: -80px;
    z-index: -1;
    filter: blur(20px);
}
.cta-banner h2 { color: #FFFAF7; max-width: 720px; }
.cta-banner p { color: rgba(255, 250, 247, .85); max-width: 580px; margin-bottom: 26px; font-size: 1.1rem; }
@media (max-width: 700px) { .cta-banner { padding: 50px 26px; } }

/* ========== Pricing ========== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.price-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 38px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
    background: linear-gradient(180deg, #0F1B26 0%, #123A55 100%);
    color: #FFFAF7;
    border: 0;
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.price-card.featured h3,
.price-card.featured .price-cost,
.price-card.featured ul li,
.price-card.featured .price-tag { color: #FFFAF7; }
.price-card.featured p,
.price-card.featured small { color: rgba(255, 250, 247, .8); }
.price-card.featured ul li::before { background: var(--secondary); }
.price-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(17, 144, 206, .12);
    color: var(--primary);
    margin-bottom: 14px;
}
.price-card.featured .price-tag {
    background: var(--secondary);
    color: #0F1B26;
    position: absolute;
    top: 22px; right: 22px;
    margin: 0;
}
.price-cost {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 18px 0 6px;
    letter-spacing: -0.03em;
}
.price-cost small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card p.desc { color: var(--muted); font-size: .95rem; }
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 30px;
    flex: 1;
}
.price-card ul li {
    padding: 9px 0 9px 28px;
    position: relative;
    color: var(--text);
    font-size: .96rem;
}
.price-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 14px; height: 14px;
    background: var(--highlight);
    border-radius: 4px;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}
@media (max-width: 980px) {
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price-card.featured { transform: none; }
}

/* ========== FAQ ========== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 36px;
}
.faq {
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 22px 26px;
}
.faq summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary);
    transition: transform .2s ease;
}
.faq[open] summary::after { content: "–"; }
.faq p { margin: 14px 0 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* ========== Page heads ========== */
.page-head {
    padding: 110px 0 70px;
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(20, 184, 166, .14), transparent 60%),
        radial-gradient(700px 380px at 0% 30%, rgba(17, 144, 206, .14), transparent 60%),
        var(--bg);
    text-align: center;
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head .lead { margin: 0 auto 24px; }

/* ========== Contact form ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info { padding: 10px 0; }
.contact-info .info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 18px;
}
.contact-info .info-card .ico {
    width: 48px; height: 48px;
    background: rgba(17, 144, 206, .12);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 800;
    font-family: var(--font-display);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.contact-info b { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.contact-info span { color: var(--muted); font-size: .96rem; }

.form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 38px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row--full { grid-template-columns: 1fr; }
.field label {
    display: block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #FFFAF7;
    color: var(--text);
    transition: border-color .15s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 144, 206, .15);
}
.field textarea { min-height: 130px; resize: vertical; }
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ========== Blog ========== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-card .tag {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; flex: 1; }
.post-card .meta {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    font-size: .82rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 500;
}
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

/* ========== Team grid ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.team-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.team-card .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 20px 22px; }
.team-card h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.05rem; }
.team-card span { color: var(--primary); font-size: .88rem; font-weight: 600; }
.team-card p { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* ========== Footer ========== */
.site-footer {
    background: #20081F;
    color: rgba(255, 250, 247, .8);
    padding: 84px 0 28px;
    margin-top: 0;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 56px;
}
.footer-col h5 {
    font-family: var(--font-display);
    font-weight: 600;
    color: #FFFAF7;
    margin: 0 0 18px;
    font-size: .95rem;
    letter-spacing: .04em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 250, 247, .7); font-size: .92rem; }
.footer-col a:hover { color: var(--secondary); }
.footer-brand .brand { color: #FFFAF7; margin-bottom: 18px; }
.footer-brand .brand:hover { color: #FFFAF7; }
.footer-brand p { font-size: .94rem; color: rgba(255, 250, 247, .65); max-width: 320px; }
.newsletter { display: flex; gap: 8px; margin-top: 22px; }
.newsletter input {
    flex: 1;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 250, 247, .15);
    background: rgba(255, 250, 247, .06);
    color: #FFFAF7;
    font-family: var(--font-body);
    font-size: .9rem;
}
.newsletter input::placeholder { color: rgba(255, 250, 247, .4); }
.newsletter input:focus { outline: 0; border-color: var(--secondary); }
.newsletter button {
    padding: 13px 22px;
    background: var(--secondary);
    color: #0F1B26;
    border: 0;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.newsletter button:hover { background: var(--secondary-dark); }

/* Newsletter on light section backgrounds (Resources page etc.) */
.section .newsletter input,
.newsletter--light input {
    background: #FFFFFF;
    border: 1px solid var(--line);
    color: var(--text);
}
.section .newsletter input::placeholder,
.newsletter--light input::placeholder { color: var(--muted); }
.section .newsletter input:focus,
.newsletter--light input:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 144, 206, .15);
}
.foot-bar {
    border-top: 1px solid rgba(255, 250, 247, .1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .85rem;
    color: rgba(255, 250, 247, .55);
}
.foot-bar a { color: rgba(255, 250, 247, .65); }
.foot-bar a:hover { color: var(--secondary); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 250, 247, .08);
    color: rgba(255, 250, 247, .85);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .82rem;
    transition: background .2s ease;
}
.socials a:hover { background: var(--primary); color: #fff; }
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ========== Legal pages ========== */
.legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 70px 24px 30px;
}
.legal-wrap h1 { margin-bottom: 14px; }
.legal-wrap .updated {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 36px;
    font-family: var(--font-display);
}
.legal-wrap h2 {
    font-size: 1.4rem;
    margin: 40px 0 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.legal-wrap h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-wrap p, .legal-wrap li { color: #3F1B40; font-size: 1rem; line-height: 1.75; }
.legal-wrap ul { padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; }

/* ========== Utility ========== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hide-sm { }
@media (max-width: 700px) { .hide-sm { display: none; } }
