/* ===========================================================
   SSA IT — Sentinel design system
   Dark video hero · white sections · green accent · Poppins
   =========================================================== */

:root {
    font-size: 17px;
    /* brand green, two strengths:
       vivid for dark surfaces, deep for readable accents on white */
    --green-vivid: hsl(119, 99%, 46%);
    --green-deep: hsl(119, 90%, 30%);
    --orange: var(--green-deep);        /* accent (legacy name, used everywhere incl. inline SVGs) */
    --bg-dark: #ffffff;                 /* page surface (legacy name) */
    --bg-card: #fafafa;
    --band-bg: #111111;
    --band-text: #f0f0f0;
    --band-muted: rgba(240, 240, 240, 0.55);
    --band-card: rgba(255, 255, 255, 0.05);
    --band-border: rgba(255, 255, 255, 0.14);
    --border: #e6e8ec;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --text-main: #111111;
    --text-muted: #4a4a4a;
    --shadow-hover: 0 18px 40px -20px rgba(0, 0, 0, 0.22);
    --surface-soft: #f4f5f4;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-mono: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
}


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

/* --- GLOBAL RESET --- */
input,
textarea,
.square-card,
.case,
.timeline-step,
.cert-row,
.svc-viz,
.case-viz,
.contact-form-wrapper {
    border-radius: 0 !important;
}

input,
textarea,
button,
.nav-cta,
.btn-solid,
.btn-white {
    -webkit-appearance: none;
    appearance: none;
}

*:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

::selection {
    background: var(--green-vivid);
    color: hsl(0, 0%, 4%);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.orange {
    color: var(--orange);
}

/* dark surfaces use the fluorescent green */
.hero,
.dark-band,
footer,
nav {
    --orange: var(--green-vivid);
}

/* ===========================================================
   ANIMATION
   =========================================================== */

@keyframes fade-up {
    0%   { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.fade-up {
    opacity: 0;
    animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* scroll-triggered reveal for sections below the hero */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(3px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up { animation: none; opacity: 1; }
    .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===========================================================
   BUTTONS
   =========================================================== */

.btn-solid,
.btn-white {
    padding: 13px 30px;
    position: relative;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    line-height: 1.4;
}

/* solid: fluorescent green + near-black text everywhere */
.btn-solid {
    background-color: var(--green-vivid);
    color: hsl(0, 0%, 4%);
}

.btn-solid:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}


.btn-white {
    background: #ffffff;
    color: hsl(0, 0%, 8%);
}

.btn-white:hover {
    filter: brightness(0.88);
    transform: translateY(-2px);
}

/* ===========================================================
   NAVIGATION
   =========================================================== */

nav {
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

/* light text on the dark bar at all times */
nav .logo,
nav .nav-links a,
nav .lang-btn {
    color: #f5f5f5;
}

nav .hamburger span {
    background: #f5f5f5;
}

/* after scrolling: dark glass bar */
nav.scrolled {
    background: rgba(7, 11, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.logo {
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}

/* the "IT" matches the rest of the wordmark */
.logo .orange {
    color: inherit;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-cta {
    background: var(--green-vivid);
    border: 1px solid var(--green-vivid);
    /* compact: same metrics as the DA/EN toggle */
    padding: 4px 14px;
    line-height: 1.5;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* fluorescent green with near-black text on every surface */
nav .nav-links a.nav-cta {
    color: hsl(0, 0%, 4%);
    font-size: 0.66rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 5px;
    padding-left: 15px;
    border-left: 1px solid var(--border-subtle);
}

nav .nav-actions {
    border-left-color: rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--green-vivid);
    color: var(--text-main);
    border-radius: 6px;
    padding: 4px 11px;
    line-height: 1.5;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: uppercase;
}

.lang-btn:hover {
    background: var(--green-vivid);
    color: hsl(0, 0%, 4%);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   HERO (Sentinel)
   =========================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: #070b0a;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    background: #070b0a;
}

.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

/* left gradient + bottom-up gradient for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, #070b0a 0%, rgba(7, 11, 10, 0) 60%),
        linear-gradient(to top, rgba(7, 11, 10, 0.92) 0%, rgba(7, 11, 10, 0) 45%);
    z-index: 1;
    pointer-events: none;
}

/* portrait phones: the left gradient would black out most of the frame,
   so protect the text from the bottom instead and let the video show */
@media (max-width: 768px) {
    /* lift the text block off the bottom edge for a composed placement */
    .hero-content-wrap {
        padding-bottom: 11vh;
    }

    .hero-overlay {
        background:
            linear-gradient(to bottom, rgba(7, 11, 10, 0.55) 0%, rgba(7, 11, 10, 0) 22%),
            linear-gradient(to top, rgba(7, 11, 10, 0.95) 0%, rgba(7, 11, 10, 0.4) 50%, rgba(7, 11, 10, 0) 78%);
    }
}

/* same geometry as .container so the text lines up with the SSA IT logo */
.hero-content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 8rem 24px 2.5rem;
}

.hero h1 {
    max-width: 46rem;
}

.hero h1 {
    color: hsl(0, 0%, 96%);
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.hero-desc {
    color: hsl(0, 0%, 62%);
    font-size: clamp(0.78rem, 1.1vw, 0.95rem);
    font-weight: 300;
    margin-bottom: 1rem;
    max-width: 560px;
}

@media (min-width: 768px) {
    .hero h1   { margin-bottom: 1rem; }
    .hero-desc { margin-bottom: 2rem; }
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    color: hsl(0, 0%, 60%, 0.6);
    font-size: 0.68rem;
    font-weight: 300;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .hero-trust { margin-top: 1.5rem; }
}

/* ===========================================================
   STAT BAND (key figures)
   =========================================================== */

main > section.stats-band {
    padding: 72px 0 !important;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 18px;
    border-left: 2px solid var(--orange);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===========================================================
   SECTIONS & HEADERS
   =========================================================== */

html {
    scroll-padding-top: 70px;
}

section {
    padding: 112px 0;
}

main > section {
    padding: 112px 0 !important;
    border-top: none !important;
}

/* soft alternating surfaces instead of hard rules */
#use-cases {
    background: #f7f8f7;
}

.section-head {
    max-width: 680px;
    margin-bottom: 64px;
}

.section-label {
    display: block;
    color: var(--orange);
    font-size: 0.68rem;
    margin-bottom: 16px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--text-main);
}

.section-intro {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 580px;
}

/* ===========================================================
   SERVICE CARDS
   =========================================================== */

.square-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.square-card {
    background-color: var(--surface-soft);
    padding: 34px 30px;
    border: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.square-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.code-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-mono);
}

.square-card h2,
.square-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.square-card p {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.65;
}

.square-card p strong {
    font-weight: 600;
    color: var(--text-main);
}

/* service list inside the pillar cards */
.svc-list {
    list-style: none;
    margin-top: 16px;
}

.svc-list li {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 9px 0;
    border-top: 1px solid var(--border);
}

.svc-list li::before {
    content: "—";
    color: var(--orange);
    margin-right: 9px;
}

/* framework tags in the industry cards */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.svc-viz {
    height: 60px;
    border: none;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.svc-viz svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* inline SVG diagrams reference --bg-card for node fills */
.square-card .svc-viz {
    --bg-card: #ebedeb;   /* gray nodes on the white strip */
}

.case-viz {
    --bg-card: #ffffff;   /* white nodes on the gray strip */
}

/* editorial service numbers inside the cards */
.svc-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--orange);
    margin-bottom: 14px;
}

/* ===========================================================
   CASE STUDIES
   =========================================================== */

.cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case {
    background: #ffffff;
    border: none;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sector {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
}

.case-viz {
    height: 140px;
    background: var(--surface-soft);
    border: none;
    overflow: hidden;
}

.case-viz svg {
    display: block;
    width: 100%;
    height: 100%;
}

.case h3 {
    font-size: 0.98rem;
    font-weight: 600;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0;
}

.case p {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.case-meta {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-meta-row {
    display: flex;
    gap: 12px;
    font-size: 0.68rem;
}

.meta-label {
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 64px;
}

.meta-value {
    color: var(--text-main);
    font-weight: 300;
}

.case-meta-row:last-child .meta-label {
    color: var(--orange);
}

/* ===========================================================
   DARK BAND (PRICING)
   =========================================================== */

main > section.dark-band {
    background: var(--band-bg);
    color: var(--band-text);
    border-top: none !important;
    border-bottom: none !important;
}

main > section.dark-band + section {
    border-top: none !important;
}

.dark-band .section-title {
    color: var(--band-text);
}

.dark-band .section-intro {
    color: var(--band-muted);
}

.dark-band .square-card {
    background: rgba(255, 255, 255, 0.06);
    color: var(--band-text);
    border: 1.5px solid transparent;
    box-shadow: none;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.dark-band .square-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.dark-band .square-card h3 {
    color: var(--band-text);
}

.dark-band .square-card p {
    color: var(--band-muted);
}

.dark-band .square-card p strong {
    color: var(--band-text);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pricing-featured {
    border-color: var(--orange) !important;
    position: relative;
}

.pricing-featured:hover {
    box-shadow: 0 0 28px -6px rgba(5, 233, 1, 0.35),
                0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--orange);
    color: hsl(0, 0%, 4%);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 700;
    padding: 6px 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.pricing-detail {
    margin-top: 18px;
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--band-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
}

.highlight {
    color: var(--band-text);
    font-weight: 700;
}

.dark-band .code-label {
    color: var(--orange);
}

/* About on the dark band */
.dark-band .about-bio h3 {
    color: var(--band-text);
}

.dark-band .about-bio p {
    color: var(--band-muted);
}

.dark-band .about-bio .about-inline-role {
    color: var(--green-vivid);
}

.dark-band .cert-row {
    background: rgba(255, 255, 255, 0.06);
}

.dark-band .cert-row:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.dark-band .cert-name {
    color: var(--band-text);
}

.dark-band .cert-id {
    color: var(--band-muted);
}

/* ===========================================================
   PROCESS TIMELINE
   =========================================================== */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.timeline-step {
    background: var(--surface-soft);
    border: none;
    padding: 34px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.timeline-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--orange);
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: color 0.25s;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
}

.timeline-content p strong {
    font-weight: 600;
    color: var(--text-main);
}

.timeline-step--highlight {
    background: rgba(10, 145, 8, 0.06);
}

.timeline-step--highlight:hover {
    background: rgba(10, 145, 8, 0.06);
}

.timeline-step--highlight .timeline-content h3 {
    color: var(--orange);
}

.timeline-step--highlight .timeline-content p {
    font-weight: 400;
    color: var(--text-main);
}

/* ===========================================================
   ABOUT & CREDENTIALS
   =========================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 40px;
}

.about-photo {
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease;
    cursor: default;
}

.about-photo:hover {
    transform: translateY(-4px);
}

.about-photo img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 500px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-photo img {
        width: 200px;
        height: 260px;

    }
}

.about-bio h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--text-main);
}

.about-bio .about-inline-role {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 16px;
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-bio p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 720px;
}


.cert-section-label {
    margin-top: 28px;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.cert-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-vivid);
    border: 1px solid var(--green-vivid);
    padding: 5px 12px;
    cursor: default;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cert-tag:hover {
    background: var(--green-vivid);
    color: hsl(0, 0%, 4%);
    transform: translateY(-2px);
}

.cert-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 0;
}

.about-inline-certs {
    grid-template-columns: repeat(3, 1fr) !important;
}

.cert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #ffffff;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cert-meta {
    display: flex;
    flex-direction: column;
}

.cert-issuer {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 3px;
}

.cert-name {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-main);
}

.cert-id {
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ===========================================================
   CONTACT
   =========================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
}

.contact-info .section-label {
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-info .section-title {
    margin-bottom: 14px;
}

.contact-info p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-info p a {
    font-weight: 500;
}

.lead-quote {
    margin: 32px 0;
    padding-left: 20px;
    border-left: 2px solid var(--orange);
}

.lead-quote blockquote {
    font-style: italic;
    font-weight: 300;
    color: var(--text-main);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 450px;
}

.signature {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.contact-form-wrapper {
    background: var(--surface-soft);
    border: none;
    padding: 32px;
    align-self: start;
}

.contact-form input,
.contact-form textarea {
    background: #ffffff;
    border: 1.5px solid transparent;
    border-radius: 0;
    padding: 13px 16px;
    color: var(--text-main);
    font-size: 0.8rem;
    font-family: var(--font-body);
    width: 100%;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa0a8;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
}

.contact-form button[type="submit"] {
    width: 100%;
    display: block;
    margin-top: 6px;
}

#formSuccess {
    grid-column: 2;
    align-self: start;
    padding-top: calc(0.65rem * 1.5 + 20px);
}

#formSuccess h2,
#formSuccess h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

#formPrivacy {
    font-size: 0.62rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 14px;
}

#formPrivacy a {
    color: var(--orange);
    text-decoration: underline;
}

/* ===========================================================
   FOOTER (dark, bookends the hero)
   =========================================================== */

footer {
    background: var(--band-bg);
    border-top: none;
    padding: 48px 0;
    font-size: 0.66rem;
    color: var(--band-muted);
    text-align: center;
}

footer address {
    font-style: normal;
    letter-spacing: 0.03em;
    font-size: 0.7rem;
}

.footer-copyright {
    margin-top: 12px;
    opacity: 0.6;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.footer-link {
    color: var(--orange);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ===========================================================
   SCROLLBAR
   =========================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
    background: #d4d7db;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-deep);
}

/* ===========================================================
   MEDIA QUERIES
   =========================================================== */

@media (max-width: 960px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

}

@media (max-width: 768px) {
    section,
    main > section {
        padding: 72px 0 !important;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        width: fit-content;
        margin-inline: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        background: rgba(7, 11, 10, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.78rem;
        color: #f5f5f5;
    }

    .nav-links.open a.nav-cta {
        color: hsl(0, 0%, 4%) !important;
        text-align: center;
    }

    .nav-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 640px) {
    .cert-grid-compact,
    .about-inline-certs {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .cases,
    .square-grid {
        grid-template-columns: 1fr;
    }

    .svc-list li {
        padding: 8px 0;
    }

    .square-card,
    .case,
    .timeline-step {
        padding: 22px 20px;
    }

    .svc-viz {
        height: 50px;
    }

    .case-viz {
        height: auto;
        aspect-ratio: 320 / 100;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .cert-grid-compact,
    .about-inline-certs {
        grid-template-columns: 1fr !important;
    }

    .cert-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
