/* ============================================================
   Milocheff Holding GmbH — site stylesheet
   Modern dark-silver business theme. Single source of truth.
   ============================================================ */

/* --- Reset & base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 4px; }

/* --- Design tokens -------------------------------------------------- */
:root {
    --bg:           #0a0c10;
    --bg-2:         #0f1217;
    --panel:        #14181f;
    --card:         #181c24;
    --card-hover:   #1d222b;
    --border:       rgba(255, 255, 255, 0.06);
    --border-bright:rgba(255, 255, 255, 0.12);

    --silver:        #c0c5cc;
    --silver-bright: #e8eaef;
    --silver-soft:   #8a8f99;
    --silver-deep:   #6a6f78;

    --text:        #d8dbe0;
    --text-strong: #ffffff;
    --text-dim:    #8a8f99;
    --text-muted:  #5a5f68;

    --green-glow:  #4ade80;

    --grad-silver: linear-gradient(135deg, #ffffff 0%, #c0c5cc 35%, #8a8f99 70%, #c0c5cc 100%);
    --grad-card:   linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    --grad-glow:   radial-gradient(ellipse at center, rgba(192,197,204,0.18), transparent 60%);

    --shadow-sm:   0 2px 8px rgba(0,0,0,0.25);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.35);
    --shadow-lg:   0 24px 60px rgba(0,0,0,0.45);
    --shadow-glow: 0 0 40px rgba(192,197,204,0.08);

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Helpers -------------------------------------------------------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 920px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--silver-soft);
    padding: 6px 14px;
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
}
.eyebrow::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--silver);
    box-shadow: 0 0 12px var(--silver);
}
h1, h2, h3, h4 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 18px;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 16px; color: var(--text); }
.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--silver);
    line-height: 1.7;
    font-weight: 400;
}
.text-grad {
    background: var(--grad-silver);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- Buttons -------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn .mi { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover .mi { transform: translateX(3px); }
.btn-primary {
    background: linear-gradient(135deg, #f5f7fa 0%, #c0c5cc 100%);
    color: #0a0c10 !important;
    box-shadow: 0 10px 30px rgba(192,197,204,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(192,197,204,0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--silver-bright) !important;
    border: 1px solid var(--border-bright);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--silver);
    transform: translateY(-2px);
}
.btn-ico-only { padding: 12px; }

/* --- Promo bar (top) ----------------------------------------------- */
.promo-bar {
    background: linear-gradient(90deg, #0a0c10 0%, #14181f 50%, #0a0c10 100%);
    border-bottom: 1px solid var(--border);
    color: var(--silver-bright);
    font-size: 13px;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}
.promo-bar::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(192,197,204,0.06), transparent);
    transform: translateX(-100%);
    animation: promoShimmer 8s linear infinite;
}
@keyframes promoShimmer {
    0%, 30%   { transform: translateX(-100%); }
    70%, 100% { transform: translateX(100%); }
}
.promo-bar .wrap {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}
.promo-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: var(--green-glow);
    box-shadow: 0 0 12px var(--green-glow);
    position: relative;
    flex: 0 0 auto;
}
.promo-dot::before {
    content: ''; position: absolute; inset: -4px;
    border-radius: 999px;
    background: var(--green-glow);
    opacity: .4;
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0%   { opacity: .5; transform: scale(.8); }
    100% { opacity: 0;  transform: scale(2.2); }
}
.promo-bar a {
    color: var(--silver-bright);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.promo-bar a:hover { border-bottom-color: var(--silver); }
.promo-bar .pill {
    padding: 3px 10px;
    background: rgba(192,197,204,0.12);
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Header --------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s, border-color .3s;
}
.site-header.scrolled {
    background: rgba(10, 12, 16, 0.92);
    border-bottom-color: var(--border-bright);
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 18px; padding-bottom: 18px;
}
.brand {
    display: inline-flex; align-items: center; gap: 12px;
    font-weight: 800; font-size: 17px;
    color: var(--text-strong) !important;
    letter-spacing: -0.01em;
}
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--grad-silver);
    display: inline-flex; align-items: center; justify-content: center;
    color: #0a0c10;
    font-weight: 900;
    font-size: 16px;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    transition: transform .6s var(--ease);
}
.brand:hover .brand-mark::after { transform: translateX(100%); }
.brand small {
    display: block;
    font-size: 11px; font-weight: 500;
    color: var(--silver-soft); letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-main {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
}
.nav-main a {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--silver) !important;
    transition: background .2s, color .2s;
    position: relative;
}
.nav-main a:hover { background: rgba(255,255,255,0.04); color: var(--text-strong) !important; }
.nav-main a.active {
    color: var(--text-strong) !important;
    background: rgba(255,255,255,0.05);
}
.nav-main a.active::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
    height: 2px; border-radius: 2px;
    background: var(--grad-silver);
}

.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}
.lang-switch a {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--silver-soft) !important;
    transition: background .2s, color .2s;
    letter-spacing: 0.05em;
}
.lang-switch a.active {
    background: var(--silver-bright);
    color: #0a0c10 !important;
}

.nav-toggle {
    display: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-bright);
    width: 40px; height: 40px;
    border-radius: 10px;
    align-items: center; justify-content: center;
    color: var(--silver);
}

/* --- Hero ----------------------------------------------------------- */
.hero {
    position: relative;
    padding: 140px 0 110px;
    overflow: hidden;
    isolation: isolate;
}
.hero-grid-bg {
    position: absolute; inset: -1px;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    z-index: -2;
    opacity: .8;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}
.hero-orb.a {
    top: -200px; left: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, #c0c5cc 0%, transparent 70%);
    animation: orbA 22s ease-in-out infinite alternate;
}
.hero-orb.b {
    bottom: -300px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, #4a5061 0%, transparent 70%);
    animation: orbB 28s ease-in-out infinite alternate;
}
.hero-orb.c {
    top: 30%; left: 50%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #8a8f99 0%, transparent 70%);
    animation: orbC 18s ease-in-out infinite alternate;
    opacity: .2;
}
@keyframes orbA { 0% { transform: translate(0,0); } 100% { transform: translate(80px, 120px); } }
@keyframes orbB { 0% { transform: translate(0,0); } 100% { transform: translate(-100px, -80px); } }
@keyframes orbC { 0% { transform: translate(-50%, -50%); } 100% { transform: translate(-30%, -70%); } }

.hero-inner { max-width: 980px; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--silver-soft); }
.hero .lead { max-width: 720px; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 24px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 13px;
}
.hero-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .mi { font-size: 16px; color: var(--silver); }

/* --- Stat grid ----------------------------------------------------- */
.stat-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background-image: var(--grad-card);
    transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad-silver);
    opacity: 0; transform: scaleX(.3); transform-origin: left;
    transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.stat:hover::before { opacity: 1; transform: scaleX(1); }
.stat .v {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.stat .l {
    font-size: 13px;
    color: var(--silver-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- Generic card grid --------------------------------------------- */
.grid-cards {
    display: grid; gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-cards { grid-template-columns: 1fr; } }
.card {
    padding: 32px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background-image: var(--grad-card);
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(192,197,204,0.10), transparent 50%);
    opacity: 0; transition: opacity .4s var(--ease);
    pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card .ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border-bright);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    color: var(--silver-bright);
    position: relative;
}
.card .ico .mi { font-size: 26px; }
.card .ico::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at center, rgba(192,197,204,0.3), transparent 70%);
    opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover .ico::after { opacity: 1; }
.card .tag {
    position: absolute; top: 22px; right: 22px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--silver-soft);
    padding: 4px 10px;
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}
.card .tag.flagship { color: var(--green-glow); border-color: rgba(74,222,128,0.3); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0; }

/* --- Two-column feature ------------------------------------------- */
.feature {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 70px; align-items: center;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 40px; } }
.feature-visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, #14181f, #1d222b);
    border: 1px solid var(--border-bright);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.feature-visual::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 30% 30%, rgba(192,197,204,0.18), transparent 50%),
      radial-gradient(circle at 70% 70%, rgba(74,222,128,0.08), transparent 50%);
}
.feature-visual::after {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
            -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
}
.feature-points {
    list-style: none; margin: 28px 0 32px; padding: 0;
}
.feature-points li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 15px;
}
.feature-points li:last-child { border-bottom: none; }
.feature-points .mi { color: var(--silver-bright); font-size: 20px; margin-top: 1px; }

/* --- Mockup (inside feature-visual on tech page) ------------------- */
.mockup-window {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 86%; max-width: 480px;
    background: rgba(10,12,16,0.85);
    border: 1px solid var(--border-bright);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}
.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}
.mockup-bar .dot {
    width: 10px; height: 10px; border-radius: 999px;
    background: rgba(255,255,255,0.12);
}
.mockup-bar .url {
    margin-left: 10px;
    font-size: 11px; color: var(--silver-soft);
    font-family: 'SF Mono', 'Consolas', monospace;
}
.mockup-body { padding: 16px; }
.mockup-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    font-size: 12px;
}
.mockup-row .mi { font-size: 14px; }
.mockup-row.r1 .mi { color: #f87171; }
.mockup-row.r2 .mi { color: #fbbf24; }
.mockup-row.r3 .mi { color: var(--green-glow); }
.mockup-row .lbl { color: var(--text); flex: 1; }
.mockup-row .meta { color: var(--text-muted); font-size: 10px; }

/* --- Timeline ------------------------------------------------------ */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 780px;
    margin: 0 auto;
}
.timeline::before {
    content: ''; position: absolute;
    top: 8px; bottom: 8px; left: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--silver), transparent);
}
.t-item {
    position: relative;
    margin-bottom: 36px;
}
.t-item:last-child { margin-bottom: 0; }
.t-item::before {
    content: ''; position: absolute;
    top: 8px; left: -34px;
    width: 14px; height: 14px;
    border-radius: 999px;
    background: var(--silver-bright);
    box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--silver);
}
.t-year {
    font-size: 13px; font-weight: 700;
    color: var(--silver-bright);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.t-text { color: var(--text); font-size: 15px; line-height: 1.65; margin: 0; }

/* --- Stack tiles (technology page) --------------------------------- */
.stack-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-tile {
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.stack-tile:hover { border-color: var(--silver); background: var(--card-hover); }
.stack-tile .t {
    font-weight: 700; color: var(--text-strong);
    font-size: 15px;
    margin-bottom: 4px;
    font-family: 'SF Mono', 'Consolas', monospace;
    letter-spacing: -0.01em;
}
.stack-tile .d {
    font-size: 13px; color: var(--silver-soft);
}

/* --- Process steps ------------------------------------------------- */
.process-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    position: relative;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.process-step:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.process-step .n {
    font-size: 12px; font-weight: 700;
    color: var(--silver-soft); letter-spacing: 0.1em;
    margin-bottom: 14px;
    font-family: 'SF Mono', 'Consolas', monospace;
}
.process-step h4 {
    font-size: 1.2rem; margin-bottom: 10px;
    color: var(--text-strong);
}
.process-step p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.65; }

/* --- AI feature list (icon left, text right) ----------------------- */
.ai-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 800px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-item {
    display: flex; gap: 18px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.ai-item:hover { border-color: var(--border-bright); background: var(--card-hover); }
.ai-item .ico {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(192,197,204,0.18), rgba(192,197,204,0.04));
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--silver-bright);
    border: 1px solid var(--border-bright);
}
.ai-item .ico .mi { font-size: 22px; }
.ai-item h4 { color: var(--text-strong); margin-bottom: 4px; font-size: 1rem; }
.ai-item p  { color: var(--text-dim); font-size: 14px; margin: 0; line-height: 1.6; }

/* --- Section heading block ----------------------------------------- */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }

/* --- CTA section --------------------------------------------------- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: var(--grad-glow);
    opacity: .8;
    z-index: -1;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section .lead { margin: 0 auto 32px; max-width: 580px; }
.cta-buttons { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- Contact ------------------------------------------------------- */
.contact-grid {
    display: grid; gap: 30px;
    grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
    padding: 36px;
    background: var(--card);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
    font-size: 12px; font-weight: 600;
    color: var(--silver-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.field input, .field textarea {
    padding: 13px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-bright);
    border-radius: 10px;
    color: var(--text-strong);
    font: inherit;
    font-size: 15px;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--silver);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 0 0 4px rgba(192,197,204,0.1);
}
.field textarea { resize: vertical; min-height: 140px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.consent input { accent-color: var(--silver); margin-top: 3px; }

.info-card {
    padding: 36px;
    background: linear-gradient(180deg, var(--card), var(--panel));
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
}
.info-card h3 { margin-bottom: 24px; font-size: 1.4rem; }
.info-row {
    display: flex; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.info-row:last-of-type { border-bottom: none; }
.info-row .ico {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-bright);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--silver-bright);
}
.info-row .ico .mi { font-size: 18px; }
.info-row .l {
    font-size: 11px; font-weight: 700;
    color: var(--silver-soft);
    letter-spacing: 0.08em; text-transform: uppercase;
}
.info-row .v { color: var(--text-strong); font-size: 14px; margin-top: 2px; }
.info-row .v a { color: var(--text-strong); }
.info-row .v a:hover { color: var(--silver-bright); border-bottom: 1px solid var(--silver); }

.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert.success { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.3); color: #86efac; }
.alert.error   { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.3); color: #fca5a5; }

/* --- Footer -------------------------------------------------------- */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
    color: var(--text-dim);
}
.footer-cols {
    display: grid; gap: 40px;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols h5 {
    font-size: 12px; font-weight: 700;
    color: var(--silver-bright);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin: 0 0 18px;
}
.footer-cols .brand { margin-bottom: 18px; }
.footer-cols p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
    color: var(--silver) !important;
    font-size: 14px;
    transition: color .2s;
}
.footer-list a:hover { color: var(--text-strong) !important; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap; gap: 12px;
}

/* --- Reveal animation --------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

/* Counter span (filled by JS) */
.counter { display: inline-block; }

/* --- Mobile nav ---------------------------------------------------- */
@media (max-width: 900px) {
    .nav-main { display: none; }
    .nav-toggle { display: inline-flex; }
    body.nav-open .nav-main {
        display: flex; flex-direction: column;
        position: fixed; top: 76px; left: 0; right: 0;
        background: rgba(10,12,16,0.95);
        backdrop-filter: blur(20px);
        padding: 18px 28px 28px;
        gap: 4px;
        border-bottom: 1px solid var(--border-bright);
        z-index: 99;
        animation: slideDown .3s var(--ease);
    }
    body.nav-open .nav-main a { padding: 12px 14px; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --- Material Icons ----------------------------------------------- */
.mi {
    font-family: 'Material Icons';
    font-weight: normal; font-style: normal;
    font-size: 24px; line-height: 1;
    letter-spacing: normal; text-transform: none;
    display: inline-block; white-space: nowrap;
    word-wrap: normal; direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
