/* ===================================================
   OmegaCode – style.css
   Prémium dark IT landing page (framework-mentes)
   =================================================== */

:root {
    --navy-900: #061020;
    --navy-800: #0a1a33;
    --navy-700: #0f2547;
    --navy-600: #16345f;
    --blue: #2f8fff;
    --blue-dark: #1f6fe0;
    --cyan: #63e0ff;
    --text: #e8f0ff;
    --muted: #9db2d6;
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(120, 170, 255, 0.15);
    --glass: rgba(12, 26, 51, 0.55);
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --grad: linear-gradient(135deg, var(--blue), var(--cyan));
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

*:where(:not(svg, svg *)) { min-width: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy-900);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.15; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea { max-width: 100%; }
h1, h2, h3, h4, h5, p, a, li { overflow-wrap: break-word; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container.narrow { max-width: 820px; }

/* ============ Animated Background ============ */
.bg-canvas { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
    radial-gradient(1200px 800px at 80% -10%, rgba(47,143,255,0.14), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(99,224,255,0.10), transparent 55%),
    var(--navy-900); }
.bg-grid { position: absolute; inset: -2px; background-image:
    linear-gradient(rgba(120,170,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px; mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 80%); }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { width: 480px; height: 480px; background: var(--blue); top: -120px; right: -80px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--cyan); bottom: -140px; left: -100px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 340px; height: 340px; background: #7b5bff; top: 40%; left: 45%; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,60px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px,-40px); } }

/* ============ Scroll journey ============ */
.scroll-journey { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; opacity: .68; }
.scroll-journey svg { width: 100%; height: 100%; display: block; }
.journey-track, .journey-progress { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.journey-track { stroke: rgba(99,224,255,.13); stroke-width: 2; stroke-dasharray: .012 .018; }
.journey-progress { stroke: url(#journeyGradient); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1;
    filter: url(#journeyGlow); will-change: stroke-dashoffset; }
.journey-dot { fill: #fff; stroke: #63e0ff; stroke-width: 3; vector-effect: non-scaling-stroke;
    filter: url(#journeyGlow); opacity: 0; transition: opacity .2s; }
.scroll-journey.started .journey-dot { opacity: 1; }

/* ============ Scroll Progress ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
    background: var(--grad); box-shadow: 0 0 12px var(--blue); transform: scaleX(0);
    transform-origin: left center; will-change: transform; }

/* ============ Header ============ */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 18px 0; transition: all .4s var(--ease); }
.header.scrolled { padding: 10px 0; background: var(--glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(15deg) scale(1.08); }
.logo-text { font-family: 'Poppins'; font-weight: 700; letter-spacing: 2px; font-size: 1.15rem; }
.logo-text span { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 8px 14px; font-size: .92rem; font-weight: 500;
    color: var(--muted); border-radius: 10px; transition: color .3s, background .3s; }
.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.nav-cta { background: var(--grad); color: #041022 !important; font-weight: 600; padding: 9px 18px; }
.nav-cta::after { display: none; }
.nav-cta:hover { box-shadow: 0 8px 24px rgba(47,143,255,.5); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 30px; border-radius: 40px; font-weight: 600; font-size: .98rem;
    cursor: pointer; border: 0; transition: transform .3s var(--ease), box-shadow .3s; font-family: 'Poppins'; }
.btn-primary { background: var(--grad); color: #041022; box-shadow: 0 10px 30px rgba(47,143,255,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(47,143,255,.55); }
.btn-ghost { background: rgba(255,255,255,.05); color: #fff; border: 1px solid var(--card-border); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); border-color: var(--blue); }
.btn.full { width: 100%; }
.btn-link { color: var(--blue); font-weight: 600; font-size: .95rem; transition: gap .3s, color .3s; display: inline-flex; }
.btn-link:hover { color: var(--cyan); letter-spacing: .3px; }

/* Ripple */
.ripple .rip { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5);
    transform: translate(-50%,-50%) scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: translate(-50%,-50%) scale(18); opacity: 0; } }

/* ============ Glass card ============ */
.glass-card { background: var(--card); border: 1px solid var(--card-border);
    border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ============ Hero ============ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-block; padding: 7px 16px; border-radius: 40px; font-size: .82rem; font-weight: 600;
    background: rgba(47,143,255,.12); border: 1px solid var(--card-border); color: var(--cyan); margin-bottom: 22px; }
.hero-title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.typing-wrap { display: inline-flex; align-items: baseline; }
.typing { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cursor { color: var(--cyan); font-weight: 300; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-family: 'Poppins'; font-size: 2rem; font-weight: 800;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }

.hero-visual { position: relative; }
.code-window { padding: 18px; }
.code-dots { display: flex; gap: 7px; margin-bottom: 14px; }
.code-dots span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }
.code-body { font-family: 'Courier New', monospace; font-size: .92rem; line-height: 1.9; color: #cfe0ff; overflow-x: auto; }
.code-body-mobile { display: none; }
.c-key { color: #ff7edb; } .c-var { color: #63e0ff; } .c-prop { color: #9db2d6; }
.c-str { color: #7ee787; } .c-num { color: #ffbd2e; } .c-fn { color: #2f8fff; }

.float-card { animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.float-badge { position: absolute; padding: 10px 16px; border-radius: 14px; font-size: .88rem; font-weight: 600;
    background: var(--glass); border: 1px solid var(--card-border); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.fb-1 { top: -22px; right: 10%; animation: cardFloat 5s ease-in-out infinite; }
.fb-2 { bottom: 20%; left: -30px; animation: cardFloat 7s ease-in-out infinite .5s; }
.fb-3 { bottom: -20px; right: 20%; animation: cardFloat 6s ease-in-out infinite 1s; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px;
    border: 2px solid var(--muted); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-hint span { width: 5px; height: 8px; background: var(--cyan); border-radius: 4px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ============ Sections ============ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15,37,71,.35), transparent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.group-label { font-size: 1.2rem; color: var(--cyan); margin: 40px 0 22px; font-weight: 600; }

/* ============ Service cards ============ */
.audit-section { background: linear-gradient(180deg, rgba(7,24,45,.25), rgba(15,37,71,.52), rgba(7,24,45,.2)); }
.audit-hero { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 48px; margin-bottom: 34px; }
.audit-hero .section-title { font-size: clamp(2.1rem, 4.8vw, 4rem); text-transform: uppercase; }
.audit-hero .section-title span { color: #39c777; }
.audit-hero .section-sub { max-width: 760px; margin: 22px 0 26px; }
.audit-slogan { display: inline-flex; gap: 10px; flex-wrap: wrap; padding: 9px 18px; border-radius: 9px; background: #071b39; font-family: 'Poppins'; font-weight: 700; text-transform: uppercase; }
.audit-slogan b { color: #57d392; }
.audit-ai-mark { aspect-ratio: 1; max-width: 280px; width: 100%; margin: auto; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center; border: 2px solid rgba(99,224,255,.45); box-shadow: 0 0 0 18px rgba(47,143,255,.05), 0 0 70px rgba(47,143,255,.25); background: radial-gradient(circle, rgba(47,143,255,.2), rgba(6,16,32,.85)); }
.audit-ai-mark span { font: 800 clamp(4rem, 8vw, 7rem)/1 'Poppins'; color: var(--cyan); }
.audit-ai-mark small { color: var(--muted); padding: 10px 20px 0; }
.audit-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 24px; }
.audit-audience { padding: 30px; }
.audit-audience-title { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.audit-audience-title > span { flex: 0 0 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-dark); font-size: 1.7rem; }
.audit-audience-title h3 { color: var(--cyan); text-transform: uppercase; }
.audit-audience-title p { color: var(--muted); }
.audit-audience-green .audit-audience-title > span { background: #078243; }
.audit-audience-green .audit-audience-title h3 { color: #57d392; }
.audit-checks { display: grid; gap: 9px; }
.audit-checks li { position: relative; padding-left: 26px; color: var(--muted); }
.audit-checks li::before { content: '✓'; position: absolute; left: 0; color: #57d392; font-weight: 800; }
.audit-deliverables { padding: 30px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); }
.audit-deliverables > h3 { text-align: center; text-transform: uppercase; margin-bottom: 24px; }
.audit-deliverables-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.audit-deliverables-grid div { padding: 6px 16px; text-align: center; border-right: 1px solid var(--card-border); }
.audit-deliverables-grid div:last-child { border: 0; }
.audit-deliverables-grid span { display: block; color: var(--cyan); font: 700 2.2rem/1.2 'Poppins'; margin-bottom: 10px; }
.audit-deliverables-grid p { font-size: .82rem; color: var(--muted); }
.audit-program { margin-top: 24px; padding: 14px; display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 10px; background: linear-gradient(135deg, #06142c, #09234b); }
.audit-program-intro, .audit-price-card { padding: 24px; border-radius: 12px; }
.audit-program-intro p { color: var(--muted); margin-top: 16px; }
.audit-price-card { background: #f5f8fd; color: #091936; text-align: center; }
.audit-price-card h3 { font-size: 1.5rem; text-transform: uppercase; color: #1f6fe0; }
.audit-price-card.featured h3 { color: #078243; }
.audit-price-card > p { font-size: .8rem; text-transform: uppercase; }
.audit-price-card strong { display: block; font: 800 1.25rem 'Poppins'; margin-top: 10px; }
.audit-price-card small { display: block; }
.audit-price-card ul { margin-top: 14px; text-align: left; }
.audit-price-card li { position: relative; padding-left: 18px; font-size: .88rem; margin: 5px 0; }
.audit-price-card li::before { content: '•'; position: absolute; left: 2px; color: #087ad8; font-weight: 900; }
.audit-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.audit-bottom > div { padding: 28px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); }
.audit-bottom h3 { margin-bottom: 16px; text-transform: uppercase; }
.audit-contact { display: flex; flex-direction: column; align-items: flex-start; }
.audit-contact p, .audit-contact span { color: var(--muted); }
.audit-contact > a:not(.btn) { color: var(--cyan); font-weight: 700; margin-top: 8px; }
.audit-contact .btn { margin-top: 20px; }

.services-section { background: linear-gradient(180deg, rgba(6,16,32,.1), rgba(9,35,75,.45), rgba(6,16,32,.1)); }
.services-section .section-head { max-width: 820px; margin-bottom: 38px; }
.services-section .section-title { text-transform: uppercase; }
.services-slogan { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; padding: 9px 18px; border-radius: 9px; background: #071b39; color: #fff; font-family: 'Poppins'; font-size: .84rem; font-weight: 700; text-transform: uppercase; }
.services-slogan b { color: #57d392; }
.services-section .group-label { display: flex; align-items: center; gap: 16px; margin-top: 48px; color: #fff; text-transform: uppercase; }
.services-section .group-label::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(99,224,255,.55), transparent); }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.services-section .cards-grid + .cards-grid { margin-top: 26px; }
.service-card { display: flex; flex-direction: column; padding: 34px; color: #091936; background: #f5f8fd; border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(0,0,0,.22); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #156ed0, #63e0ff); }
.service-card-featured::before { background: linear-gradient(90deg, #087c42, #57d392); }
.service-card:hover { transform: translateY(-8px); border-color: var(--blue); box-shadow: 0 26px 60px rgba(0,0,0,.32); }
.svc-icon { font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
    background: #e4effc; margin-bottom: 20px; transition: transform .4s var(--ease); }
.service-card-featured .svc-icon { background: #daf4e7; }
.service-card:hover .svc-icon { transform: scale(1.1) rotate(-6deg); }
.service-card h4 { font-size: 1.35rem; margin-bottom: 10px; color: #0a3470; text-transform: uppercase; }
.service-card-featured h4 { color: #087c42; }
.service-card > p { color: #53627a; margin-bottom: 18px; }
.service-card > p strong { color: #152847; }
.svc-list { display: grid; gap: 8px; margin-bottom: 22px; }
.svc-list li { position: relative; padding-left: 25px; font-size: .9rem; color: #243754; }
.svc-list li::before { content: '✓'; position: absolute; left: 0; color: #1574d1; font-weight: 900; }
.service-card-featured .svc-list li::before { color: #078243; }
.service-card .btn-link { align-self: flex-start; margin-top: auto; padding: 10px 18px; border-radius: 999px; color: #fff; background: #0a3470; }
.service-card-featured .btn-link { background: #087c42; }
.service-card .btn-link:hover { color: #fff; transform: translateX(3px); }
.service-card-support { background: linear-gradient(135deg, #0a2349, #0d315f); color: #fff; border-color: rgba(99,224,255,.22); }
.service-card-support h4, .service-card-support > p strong { color: #fff; }
.service-card-support > p, .service-card-support .svc-list li { color: #c7d7ef; }
.service-card-support .svc-icon { background: rgba(99,224,255,.13); }
.service-card-support .btn-link { background: var(--grad); color: #041022; }
.basic-card-wrap { display: grid; place-items: center; margin-bottom: 26px; }
.service-card-basic { width: min(680px, 100%); text-align: center; border-color: rgba(99,224,255,.5);
    background: linear-gradient(145deg, #f7fbff, #eaf5ff); }
.service-card-basic::before { background: linear-gradient(90deg, #3457c8, #63e0ff, #57d392); }
.service-card-basic .svc-icon { margin-inline: auto; background: #dcecff; color: #2348b2; }
.service-card-basic h4 { color: #2348b2; }
.service-card-basic .svc-price strong { color: #087c42; }
.service-card-basic .svc-list { width: min(520px, 100%); margin-inline: auto; text-align: left; }
.service-card-basic .btn-link { align-self: center; background: linear-gradient(135deg, #2348b2, #087c42); }
.package-kicker { display: inline-block; align-self: center; margin: -4px 0 12px; padding: 5px 12px; border-radius: 999px;
    background: #dcecff; color: #2348b2; font: 700 .72rem 'Poppins'; letter-spacing: .06em; text-transform: uppercase; }
.services-details { margin-top: 88px; padding-top: 86px; position: relative; }
.services-details::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,224,255,.65), transparent); }
.services-details .section-head { margin-bottom: 46px; }
.services-details .section-title { text-transform: none; }

/* ============ Price styling ============ */
.svc-price { font-size: 1.15rem; margin-bottom: 8px; }
.svc-price strong { display: inline-block; font: 800 clamp(1.35rem, 2.6vw, 1.8rem) 'Poppins'; color: #0a3470; }
.service-card-featured .svc-price strong { color: #087c42; }
.price-note { font-size: .82rem !important; color: #6a7890 !important; margin-bottom: 16px !important; }
.svc-note { font-size: .84rem; color: #53627a !important; margin-top: 8px; }
.svc-note strong { color: #10284b; }

/* ============ Why grid ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { padding: 28px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border);
    transition: transform .4s var(--ease), box-shadow .4s; text-align: center; }
.why-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.why-ic { font-size: 2rem; display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
    background: rgba(47,143,255,.12); margin-bottom: 16px; transition: transform .4s; box-shadow: 0 0 0 0 rgba(47,143,255,.4); }
.why-item:hover .why-ic { transform: translateY(-4px); box-shadow: 0 0 30px rgba(47,143,255,.5); }
.why-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .9rem; }

/* ============ Timeline ============ */
.timeline { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 60px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--card-border); transform: translateX(-50%); }
.tl-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--card-border); transition: transform .4s var(--ease), border-color .4s; position: relative; }
.tl-item:hover { transform: translateY(-4px); border-color: var(--blue); }
.tl-num { font-family: 'Poppins'; font-weight: 800; font-size: 1.4rem; min-width: 54px; height: 54px; display: grid; place-items: center;
    border-radius: 14px; background: var(--grad); color: #041022; }
.tl-body h4 { font-size: 1.1rem; margin-bottom: 4px; }
.tl-body p { color: var(--muted); font-size: .9rem; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
    border-radius: var(--radius); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.about-float { position: absolute; bottom: -24px; right: -18px; padding: 18px 24px; text-align: center; }
.about-float strong { display: block; font-family: 'Poppins'; font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-float span { font-size: .82rem; color: var(--muted); }
.about-content p { color: var(--muted); margin-bottom: 16px; }
.about-content strong { color: var(--text); }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.about-tags span { font-size: .82rem; padding: 6px 14px; border-radius: 20px; background: rgba(47,143,255,.1);
    border: 1px solid var(--card-border); color: var(--cyan); }

/* ============ Details ============ */
.detail-row { scroll-margin-top: 104px; display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: start;
    padding: 32px; border-radius: var(--radius); background: #f5f8fd; color: #091936;
    border: 1px solid rgba(255,255,255,.7); box-shadow: 0 18px 45px rgba(0,0,0,.2); margin-bottom: 26px;
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; position: relative; overflow: hidden; }
.detail-row::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px;
    background: linear-gradient(180deg, #156ed0, #63e0ff); }
.detail-row:hover { transform: translateY(-5px); border-color: rgba(47,143,255,.65); box-shadow: 0 26px 60px rgba(0,0,0,.3); }
.detail-row.reverse { grid-template-columns: 1fr 92px; }
.detail-row.reverse .detail-icon { order: 2; }
.detail-icon { position: sticky; top: 110px; font-size: 2.55rem; width: 76px; height: 76px; display: grid;
    place-items: center; border-radius: 50%; background: #e4effc; box-shadow: inset 0 0 0 1px rgba(21,110,208,.14); }
.detail-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-text h3 { grid-column: 1 / -1; font-size: 1.4rem; margin-bottom: 4px; color: #0a3470; text-transform: uppercase; }
.detail-text p { padding: 14px 16px; border-radius: 12px; background: #eaf1fa; color: #43536c; font-size: .9rem; margin: 0; }
.detail-text p:first-of-type { grid-column: 1 / -1; background: #dceafa; font-size: .95rem; }
.detail-text strong { display: block; color: #0a3470; font-family: 'Poppins'; font-size: .78rem;
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }

/* Basic detail cards */
.detail-row-basic { border-color: rgba(52,87,200,.3); }
.detail-row-basic::before { background: linear-gradient(180deg, #3457c8, #63e0ff); }
.detail-row-basic .detail-icon { background: #dcecff; color: #2348b2; box-shadow: inset 0 0 0 1px rgba(52,87,200,.14); }
.detail-row-basic .detail-text h3, .detail-row-basic .detail-text strong { color: #2348b2; }
.detail-row-basic .detail-text p { background: #edf3ff; }
.detail-row-basic .detail-text p:first-of-type { background: #dce8fb; }

/* Pro AI detail cards */
.detail-row-ai { border-color: rgba(87,211,146,.35); }
.detail-row-ai::before { background: linear-gradient(180deg, #087c42, #57d392); }
.detail-row-ai .detail-icon { background: #daf4e7; box-shadow: inset 0 0 0 1px rgba(8,124,66,.14); }
.detail-row-ai .detail-text h3, .detail-row-ai .detail-text strong { color: #087c42; }
.detail-row-ai .detail-text p { background: #e6f5ed; }
.detail-row-ai .detail-text p:first-of-type { background: #d6eee1; }

/* IT operations and support detail cards */
.detail-row-support { background: linear-gradient(135deg, #0a2349, #0d315f); color: #fff;
    border-color: rgba(99,224,255,.22); }
.detail-row-support .detail-icon { background: rgba(99,224,255,.13); }
.detail-row-support .detail-text h3 { color: #fff; }
.detail-row-support .detail-text p { background: rgba(255,255,255,.055); color: #c7d7ef; }
.detail-row-support .detail-text p:first-of-type { background: rgba(99,224,255,.09); }
.detail-row-support .detail-text strong { color: var(--cyan); }

/* ============ FAQ ============ */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { border-radius: 14px; background: var(--card); border: 1px solid var(--card-border); overflow: hidden; transition: border-color .3s; }
.acc-item.active { border-color: var(--blue); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 24px; background: none; border: 0; cursor: pointer; color: #fff; font-family: 'Poppins';
    font-weight: 600; font-size: 1.02rem; text-align: left; }
.acc-icon { font-size: 1.5rem; color: var(--blue); transition: transform .35s var(--ease); flex-shrink: 0; }
.acc-item.active .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 24px 20px; color: var(--muted); }
.faq-category { display: flex; align-items: center; gap: 12px; margin: 34px 0 4px; color: var(--cyan); font-size: 1.08rem; }
.faq-category::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(99,224,255,.5), transparent); }
.faq-category span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #087c42, #57d392); color: #fff; font-size: .82rem; }
.faq-category-web span { background: linear-gradient(135deg, #156ed0, #63e0ff); color: #061020; font-size: .65rem; }
.faq-category-support span { background: linear-gradient(135deg, #102c59, #2f8fff); }
.faq-category-general span { background: linear-gradient(135deg, #654cc7, #9c89ef); font-size: 1.15rem; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--cyan); }
.ci-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,143,255,.12); font-size: 1.2rem; }
.contact-form { padding: 34px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.04);
    border: 1px solid var(--card-border); color: #fff; font-family: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,143,255,.15); }
.field input.invalid, .field textarea.invalid { border-color: #ff5f56; }
.field .err { color: #ff8a80; font-size: .8rem; min-height: 1em; display: block; margin-top: 4px; }
.form-success { margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(39,201,63,.12);
    border: 1px solid rgba(39,201,63,.4); color: #7ee787; text-align: center; }
.form-error { margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(255,95,86,.1);
    border: 1px solid rgba(255,95,86,.45); color: #b42318; text-align: center; }
.form-privacy { margin: 12px 2px 0; color: var(--muted); font-size: .78rem; line-height: 1.55; text-align: center; }
.form-privacy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important;
    overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.contact-form button[disabled] { cursor: wait; opacity: .72; }

/* ============ Lower-page visual system ============ */
#why, #about, #faq { background: linear-gradient(180deg, rgba(9,35,75,.18), rgba(15,37,71,.5), rgba(6,16,32,.12)); }
#process, #contact { background: linear-gradient(180deg, rgba(6,16,32,.08), rgba(7,27,57,.4), rgba(6,16,32,.08)); }
#why .section-head::after, #process .section-head::after, #faq .section-head::after {
    content: ''; display: block; width: 84px; height: 3px; margin: 24px auto 0; border-radius: 4px;
    background: linear-gradient(90deg, #156ed0, #63e0ff, #57d392); }

/* Why us: same bright offer-card language as Services */
#why .why-item { position: relative; overflow: hidden; background: #f5f8fd; color: #091936;
    border-color: rgba(255,255,255,.7); box-shadow: 0 16px 38px rgba(0,0,0,.2); }
#why .why-item::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px;
    background: linear-gradient(90deg, #156ed0, #63e0ff); }
#why .why-item:nth-child(3n+2)::before { background: linear-gradient(90deg, #087c42, #57d392); }
#why .why-item:nth-child(3n+2) .why-ic { background: #daf4e7; }
#why .why-item:hover { border-color: rgba(47,143,255,.55); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
#why .why-ic { background: #e4effc; box-shadow: none; }
#why .why-item h4 { color: #0a3470; }
#why .why-item:nth-child(3n+2) h4 { color: #087c42; }
#why .why-item p { color: #53627a; }

/* Process: a clear white roadmap on the dark technology background */
#process .timeline::before { width: 3px; background: linear-gradient(180deg, #2f8fff, #63e0ff, #57d392); }
#process .tl-item { background: #f5f8fd; color: #091936; border-color: rgba(255,255,255,.65);
    box-shadow: 0 14px 34px rgba(0,0,0,.18); }
#process .tl-item:hover { border-color: rgba(47,143,255,.6); box-shadow: 0 22px 46px rgba(0,0,0,.28); }
#process .tl-item:nth-child(even) .tl-num { background: linear-gradient(135deg, #087c42, #57d392); color: #fff; }
#process .tl-body h4 { color: #0a3470; }
#process .tl-item:nth-child(even) .tl-body h4 { color: #087c42; }
#process .tl-body p { color: #53627a; }

/* About: editorial image + readable information panel */
#about .about-visual img { border: 5px solid rgba(255,255,255,.92); box-shadow: 0 24px 60px rgba(0,0,0,.38); }
#about .about-visual::after { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid rgba(87,211,146,.5);
    border-radius: var(--radius); z-index: -1; }
#about .about-float { background: #f5f8fd; border-color: rgba(255,255,255,.7); color: #091936; }
#about .about-float span { color: #53627a; }
#about .about-content { padding: 38px; border-radius: var(--radius); background: #f5f8fd; color: #091936;
    box-shadow: 0 18px 45px rgba(0,0,0,.22); border-left: 5px solid #087c42; }
#about .about-content .section-title { color: #0a3470; }
#about .about-content p { color: #53627a; }
#about .about-tags span { background: #e4effc; border-color: rgba(21,110,208,.16); color: #0a3470; }
#about .about-tags span:nth-child(5), #about .about-tags span:nth-child(7) { background: #daf4e7; color: #087c42; }

/* FAQ: brighter, more readable accordion cards */
#faq .acc-item { background: #f5f8fd; border-color: rgba(255,255,255,.65); box-shadow: 0 10px 26px rgba(0,0,0,.14); }
#faq .acc-item.active { border-color: #2f8fff; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
#faq .acc-head { color: #10284b; }
#faq .acc-head:hover { background: #eaf1fa; }
#faq .acc-body p { color: #53627a; }
#faq .faq-category { color: #fff; }

/* Contact: dark contact information paired with a light form */
#contact .contact-info { padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, #0a2349, #0d315f);
    border: 1px solid rgba(99,224,255,.2); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
#contact .contact-list li { color: #c7d7ef; }
#contact .ci-ic { background: rgba(99,224,255,.13); }
#contact .contact-form { background: #f5f8fd; border-color: rgba(255,255,255,.7); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
#contact .field label { color: #10284b; font-weight: 600; }
#contact .field input, #contact .field textarea { background: #eaf1fa; border-color: rgba(21,110,208,.16); color: #091936; }
#contact .field input:focus, #contact .field textarea:focus { background: #fff; border-color: #2f8fff; }
#contact .field .err { color: #c83832; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--card-border); padding-top: 0; background: linear-gradient(180deg, rgba(9,35,75,.72), rgba(6,16,32,.96) 34%); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px 0;
    border-bottom: 1px solid var(--card-border); }
.footer-cta .eyebrow { margin-bottom: 8px; }
.footer-cta h2 { font-size: clamp(1.35rem, 3vw, 2rem); max-width: 720px; }
.footer-cta .btn { flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .85fr 1.25fr 1fr 1fr; gap: 34px; padding: 54px 0 44px; }
.footer-col h5 { font-size: 1rem; margin-bottom: 18px; color: #fff; }
.footer-col h5::after { content: ''; display: block; width: 34px; height: 2px; margin-top: 8px; background: var(--grad); }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 10px; transition: color .3s; }
.footer-col a:hover { color: var(--cyan); }
.footer-tagline { margin-top: 10px; color: #57d392; font-family: 'Poppins'; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-about { color: var(--muted); font-size: .92rem; margin: 12px 0 20px; max-width: 320px; }
.footer-ai-col h5::after { background: linear-gradient(90deg, #087c42, #57d392); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0;
    border-top: 1px solid var(--card-border); color: var(--muted); font-size: .86rem; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--cyan); }

/* ============ To top ============ */
.to-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; z-index: 90;
    display: grid; place-items: center; background: var(--grad); color: #041022; font-size: 1.3rem; font-weight: 700;
    box-shadow: 0 10px 30px rgba(47,143,255,.4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
    .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 460px; margin: 0 auto 20px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr; }
    .timeline::before { left: 27px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-cta { align-items: flex-start; }
    .about-content { text-align: left; }
    .audit-hero { grid-template-columns: 1fr; }
    .audit-ai-mark { display: none; }
    .audit-deliverables-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
    .audit-program { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
    .hero-visual, .float-card, .code-window, .code-body { width: 100%; max-width: 100%; min-width: 0; }
    .code-window { overflow: hidden; }
    .code-body-desktop { display: none; }
    .code-body-mobile { display: block; white-space: pre; overflow-x: hidden; overflow-wrap: normal; word-break: normal; }
    body.menu-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; overscroll-behavior: none; }
    body.menu-open::after { content: ''; position: fixed; inset: 0; z-index: 95; background: rgba(2,8,20,.68); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
    .nav { position: fixed; top: 0; right: 0; bottom: auto; left: auto; z-index: 105; width: min(360px, 86%);
        height: 100vh; height: 100dvh; max-height: 100dvh; flex-direction: column; justify-content: flex-start; align-items: stretch;
        gap: 5px; padding: max(86px, calc(env(safe-area-inset-top) + 70px)) 28px max(28px, env(safe-area-inset-bottom));
        overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
        background: rgba(6,20,43,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--card-border); transform: translate3d(100%,0,0); transition: transform .4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,.5); }
    .nav.open { transform: translateX(0); }
    .nav-link { flex: 0 0 auto; width: 100%; min-height: 48px; padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
    .nav-link::after { display: none; }
    .nav-cta { text-align: center; justify-content: center; }
    .hamburger { display: flex; }
}

@media (max-width: 640px) {
    .section { padding: 70px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta { flex-direction: column; align-items: stretch; }
    .footer-cta .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr; }
    .detail-row, .detail-row.reverse { grid-template-columns: 1fr; text-align: center; }
    .detail-row.reverse .detail-icon { order: 0; }
    .detail-icon { margin: 0 auto; }
    .detail-text { grid-template-columns: 1fr; text-align: left; }
    .detail-text p, .detail-text p:first-of-type { grid-column: 1; }
    .hero-stats { gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .audit-audiences, .audit-bottom, .audit-program { grid-template-columns: 1fr; }
    .audit-deliverables-grid { grid-template-columns: 1fr 1fr; }
    .audit-deliverables-grid div:nth-child(2n) { border-right: 0; }
    .audit-hero .section-title br { display: block; }
    .audit-hero .section-title span { display: block; white-space: nowrap; font-size: clamp(1.48rem, 7.4vw, 2rem); }
    .audit-slogan { font-size: .78rem; }
    .services-slogan { font-size: .74rem; }
    .service-card { padding: 26px 22px; }
    .services-details { margin-top: 62px; padding-top: 62px; }
    #about .about-content, #contact .contact-info, #contact .contact-form { padding: 26px 22px; }
    #about .about-visual::after { inset: 12px -8px -8px 12px; }
    .scroll-journey { opacity: .48; }
    .journey-track { stroke-width: 1.5; }
    .journey-progress { stroke-width: 2; }
}

/* Standard tablet portrait and large-phone breakpoint */
@media (max-width: 768px) {
    .container { width: min(94%, 680px); }
    .hero { min-height: auto; padding: 116px 0 72px; }
    .hero-visual { max-width: 100%; }
    .code-body { font-size: .78rem; line-height: 1.65; }
    .audit-audiences, .audit-bottom { grid-template-columns: 1fr; }
    .audit-deliverables-grid { grid-template-columns: repeat(2, 1fr); }
    .audit-deliverables-grid div:nth-child(2n) { border-right: 0; }
    .detail-text { grid-template-columns: 1fr; }
    .detail-text p, .detail-text p:first-of-type { grid-column: 1; }
    .about-grid { gap: 42px; }
    .footer-grid { gap: 28px; }
}

/* Common modern phone widths: 430/414/390/375 px */
@media (max-width: 480px) {
    html { scroll-padding-top: 76px; }
    .container { width: 92%; }
    .header { padding: 12px 0; }
    .header.scrolled { padding: 7px 0; }
    .logo-text { font-size: .94rem; letter-spacing: 1.3px; }
    .logo-mark svg { width: 32px; height: 32px; }
    .nav { width: min(340px, 90%); padding: max(78px, calc(env(safe-area-inset-top) + 64px)) 24px max(24px, env(safe-area-inset-bottom)); }
    .nav-link { padding: 12px 15px; font-size: .96rem; }
    .hero { padding: 100px 0 62px; }
    .hero-title { font-size: clamp(1.9rem, 10.5vw, 2.55rem); }
    .hero-desc, .section-sub { font-size: .98rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
    .stat strong { font-size: 1.55rem; }
    .stat span { font-size: .76rem; }
    .float-badge { position: static; display: inline-flex; margin: 8px 5px 0 0; box-shadow: none; }
    .scroll-hint { display: none; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 38px; }
    .section-title { font-size: clamp(1.55rem, 8vw, 2rem); }
    .audit-audience, .audit-deliverables, .audit-program-intro, .audit-price-card { padding: 22px 18px; }
    .audit-audience-title { align-items: flex-start; gap: 12px; }
    .audit-audience-title > span { flex-basis: 48px; height: 48px; }
    .audit-deliverables-grid { gap: 18px 0; }
    .audit-deliverables-grid div { padding: 5px 10px; }
    .audit-program { padding: 9px; }
    .service-card, .detail-row { padding: 24px 18px; }
    .detail-row { gap: 18px; }
    .detail-icon { position: static; width: 66px; height: 66px; font-size: 2.15rem; }
    .detail-text p { padding: 12px 13px; }
    .why-item { padding: 24px 18px; }
    .tl-item { padding: 18px 16px; gap: 13px; }
    .tl-num { min-width: 46px; height: 46px; font-size: 1.15rem; }
    #about .about-content, #contact .contact-info, #contact .contact-form { padding: 24px 18px; }
    .about-float { right: 8px; bottom: -18px; padding: 13px 18px; }
    .faq-category { font-size: .94rem; }
    .faq-category span { min-width: 36px; height: 36px; }
    .acc-head { padding: 17px 16px; font-size: .94rem; }
    .acc-body p { padding: 0 16px 17px; }
    .contact-list li { align-items: flex-start; }
    .footer-cta { padding: 34px 0; }
    .footer-grid { padding: 42px 0 34px; }
    .footer-links { flex-direction: column; gap: 4px; }
    .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* Compact phones such as 320–360 px wide devices */
@media (max-width: 360px) {
    .logo-text { font-size: .82rem; letter-spacing: .8px; }
    .logo-mark svg { width: 29px; height: 29px; }
    .hamburger { padding: 5px; }
    .hero-title { font-size: 1.82rem; }
    .hero-badge { font-size: .72rem; padding: 6px 11px; }
    .hero-stats { grid-template-columns: 1fr; text-align: left; }
    .stat { display: flex; align-items: baseline; gap: 8px; }
    .audit-deliverables-grid { grid-template-columns: 1fr; }
    .audit-deliverables-grid div { border-right: 0; border-bottom: 1px solid var(--card-border); }
    .audit-deliverables-grid div:last-child { border-bottom: 0; }
    .services-slogan, .audit-slogan { display: block; line-height: 1.8; }
    .btn { padding: 13px 20px; }
}

/* Phones and small tablets used in landscape orientation */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
    .nav { justify-content: flex-start; padding-top: 62px; overflow-y: auto; }
    .nav-link { padding: 9px 15px; }
    .hero { min-height: auto; padding-top: 96px; }
    .scroll-hint { display: none; }
}

/* Touch targets for coarse-pointer devices */
@media (hover: none) and (pointer: coarse) {
    .nav-link, .footer-col a { min-height: 44px; display: flex; align-items: center; }
    .acc-head { min-height: 56px; }
    .service-card:hover, .detail-row:hover, .why-item:hover, .tl-item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .journey-dot { display: none; }
}

/* Small adjustment: nudge header nav a bit left on wider screens */
@media (min-width: 1081px) {
    .code-window { overflow: hidden; }
    .code-body-desktop {
        max-width: 100%;
        overflow-x: hidden;
        font-size: clamp(.78rem, 1.05vw, .92rem);
    }
    .nav { transform: translateX(-24px); }
    /* add a bit more breathing room before the CTA */
    .nav-cta { margin-left: 18px; }
}
