/* ==========================================================================
   COGEFIS – site stylesheet
   ========================================================================== */

:root {
    --ink: #0b1b2e;
    --ink-2: #13294a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --teal: #14b8a6;
    --teal-2: #2dd4bf;
    --indigo: #6366f1;
    --grad: linear-gradient(120deg, #14b8a6 0%, #3b82f6 55%, #6366f1 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .14);
    --shadow-lg: 0 30px 60px -20px rgba(11, 27, 46, .35);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Plus Jakarta Sans", var(--font);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
p { margin: 0 0 1em; }

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

.icon { width: 24px; height: 24px; flex: none; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 64px; height: 64px; }

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 130, 246, .7); background-size: 150% 100%; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 30px -10px rgba(59, 130, 246, .8); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: #0f766e; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #0f766e; background: rgba(20, 184, 166, .1);
    padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--teal-2); background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .25); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
    background: rgba(11, 27, 46, .86); backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; }
.brand-mark {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
    box-shadow: 0 8px 20px -8px rgba(20, 184, 166, .8);
}
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; line-height: 1.1; }
.brand-text small { font-family: var(--font); font-weight: 500; font-size: .7rem; letter-spacing: .02em; color: rgba(255, 255, 255, .6); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-link {
    display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 999px;
    color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; font-family: inherit;
    transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active, .has-dropdown.is-open > .nav-link { color: #fff; background: rgba(255, 255, 255, .08); }
.has-dropdown { position: relative; }
.has-dropdown .icon { transition: transform .2s; }
.has-dropdown.is-open .icon { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; width: 380px; padding: .6rem;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .2s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.dropdown-item { display: flex; gap: .9rem; padding: .8rem; border-radius: var(--radius-sm); transition: background .2s; }
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item strong { display: block; color: var(--ink); font-size: .95rem; }
.dropdown-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.dropdown-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(20, 184, 166, .1); color: #0f766e; }
.dropdown-icon .icon { width: 20px; height: 20px; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.phone-link { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.phone-link:hover { color: var(--teal-2); }

.menu-toggle { display: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; place-items: center; }
.menu-close { display: none; }
.nav-open .menu-open { display: none; }
.nav-open .menu-close { display: inline; }

/* ---------- Dark hero backgrounds ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .78); isolation: isolate; }
.hero h1, .page-hero h1 { color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #0d9488; top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.blob-2 { width: 460px; height: 460px; background: #4f46e5; bottom: -220px; left: -140px; opacity: .45; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero { padding: calc(var(--header-h) + 80px) 0 110px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero-photo { border-radius: 28px; box-shadow: var(--shadow-lg); object-fit: cover; }
.hero-orb { position: relative; width: 340px; height: 340px; display: grid; place-items: center; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 40s linear infinite; }
.orb-ring::before, .orb-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 20px var(--teal-2); }
.orb-ring::before { top: -7px; left: 50%; }
.orb-ring::after { bottom: 20%; left: -7px; background: #818cf8; box-shadow: 0 0 20px #818cf8; }
.orb-core {
    width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 50%), var(--grad);
    box-shadow: 0 30px 80px -20px rgba(20, 184, 166, .7), inset 0 -10px 30px rgba(0, 0, 0, .2);
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
    position: absolute; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px;
    backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; }
.float-card small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .65); line-height: 1.3; }
.float-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); flex: none; }
.float-card-1 { top: 6%; left: -2%; }
.float-card-2 { top: 44%; right: -6%; animation-delay: -2s; }
.float-card-3 { bottom: 4%; left: 6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.page-hero { padding: calc(var(--header-h) + 70px) 0 80px; }
.page-hero .lead { font-size: 1.15rem; max-width: 46em; color: rgba(255, 255, 255, .72); margin: 0; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 22em; }
.page-hero-center { text-align: center; min-height: 70vh; display: grid; align-items: center; }
.page-hero-center .lead { margin: 0 auto 2rem; }
.page-hero-center h1 { margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; margin-bottom: 1.5rem; color: rgba(255, 255, 255, .5); }
.breadcrumb a:hover { color: var(--teal-2); }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .85); }
.success-badge { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 1.5rem; box-shadow: 0 20px 40px -15px rgba(20, 184, 166, .8); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Stats */
.stats-band { position: relative; margin-top: -56px; z-index: 2; }
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: .5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
    position: relative; display: flex; flex-direction: column; padding: 2.2rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { color: var(--muted); font-size: .98rem; }
.card-icon {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none;
    background: linear-gradient(135deg, rgba(20, 184, 166, .14), rgba(99, 102, 241, .14)); color: #0f766e; margin-bottom: 1.4rem;
}
.card-icon .icon { width: 26px; height: 26px; }
.card-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; font-size: .9rem; color: var(--text); }
.card-list li { display: flex; gap: .55rem; align-items: baseline; }
.card-list .icon { color: var(--teal); transform: translateY(2px); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #0f766e; font-size: .95rem; }
.card-link .icon { transition: transform .2s; }
.service-card:hover .card-link .icon { transform: translateX(4px); }

/* Feature split */
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.feature-grid.is-reversed .feature-copy { order: 2; }
.feature-side { position: relative; }
.feature-image { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 0; padding: 2rem; display: grid; gap: 1rem; background: var(--ink); color: rgba(255, 255, 255, .85); border-radius: 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.check-list::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #0d9488; filter: blur(70px); opacity: .45; top: -120px; right: -80px; }
.check-list li { position: relative; display: flex; gap: .9rem; align-items: flex-start; font-weight: 500; }
.check-list-overlay { position: absolute; left: -2rem; bottom: -2rem; max-width: 80%; padding: 1.5rem; }
.check-list-compact { background: var(--bg-soft); color: var(--text); box-shadow: none; padding: 1.4rem 1.6rem; margin: 1.5rem 0; gap: .65rem; border-radius: var(--radius-sm); }
.check-list-compact::before { display: none; }
.check-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; flex: none; margin-top: 2px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* CTA */
.cta-section { padding: 60px 0 100px; }
.cta-panel {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: 3.5rem; border-radius: 28px; background: var(--ink); color: rgba(255, 255, 255, .75); isolation: isolate;
}
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 0% 0%, rgba(20, 184, 166, .45), transparent 60%), radial-gradient(600px circle at 100% 100%, rgba(99, 102, 241, .45), transparent 60%); }
.cta-copy { max-width: 560px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Rich text & content blocks */
.rich-text > :last-child { margin-bottom: 0; }
.rich-text a { color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
.rich-text ul, .rich-text ol { padding-left: 1.3em; }
.rich-text li { margin-bottom: .35em; }
.rich-text h3 { margin-top: 1.6em; }
.intro { font-size: 1.15rem; color: var(--ink-2); }
.content-heading { margin-top: 2.5rem; }
.highlight {
    margin: 2rem 0; padding: 1.6rem 2rem; border-radius: var(--radius); font-size: 1.12rem; font-weight: 500; color: var(--ink);
    background: linear-gradient(135deg, rgba(20, 184, 166, .08), rgba(99, 102, 241, .08)); border-left: 4px solid var(--teal);
}
.content-image { margin: 2rem 0; }
.content-image img { border-radius: var(--radius); }
.content-image figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.narrow .section, .service-main .section { padding: 0; margin: 2.5rem 0; }
.narrow .section .container, .service-main .section .container { width: 100%; }
.service-main .feature-grid, .narrow .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
.service-main .cta-panel, .narrow .cta-panel { padding: 2.5rem; }
.service-main .check-list-overlay, .narrow .check-list-overlay { position: relative; left: 0; bottom: 0; max-width: none; margin-top: -3rem; }

/* Service page */
.service-layout { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 1.8rem; border-radius: var(--radius); background: var(--bg-soft); }
.service-badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; margin-bottom: 1.5rem; box-shadow: 0 14px 30px -14px rgba(20, 184, 166, .9); }
.aside-card .aside-title { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.toc { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: toc; display: grid; gap: .2rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; font-size: .9rem; line-height: 1.4; color: var(--text); transition: background .2s, color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--teal); font-size: .8rem; padding-top: 1px; }
.toc a:hover, .toc a.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.aside-cta { border-top: 1px solid var(--line); padding-top: 1.4rem; display: grid; gap: .6rem; }
.aside-cta p { margin: 0 0 .3rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.service-main { min-width: 0; }
.service-main > .intro { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.service-section { padding: 2.5rem; margin-bottom: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-section-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.service-section-head .card-icon { margin: 0; }
.service-section-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 0; }
.section-lead { font-size: 1.1rem; font-weight: 500; color: var(--ink-2); }
.service-section .btn { margin-top: 1.5rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { width: 120px; height: 120px; margin: 0 auto 1.3rem; border-radius: 50%; overflow: hidden; padding: 4px; background: var(--grad); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.team-initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: .04em; }
.team-card h3 { margin-bottom: .2rem; }
.team-role { color: #0f766e; font-weight: 600; font-size: .9rem; margin: 0; }
.team-mail { display: inline-block; margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.team-mail:hover { color: #0f766e; }

/* News */
.news-intro { max-width: 760px; margin-bottom: 3rem; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem; }
.news-card-body p { color: var(--muted); font-size: .96rem; }
.news-card:hover .card-link .icon { transform: translateX(4px); }
.news-date { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: #0f766e; margin-bottom: .7rem; }
.news-empty { color: var(--muted); }
.section-foot { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 3rem; color: var(--muted); font-size: .92rem; }
.news-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 3rem 0 1.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.news-nav a { display: grid; gap: .2rem; max-width: 48%; font-weight: 600; color: var(--ink); }
.news-nav a:hover { color: #0f766e; }
.news-nav small { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.news-nav-older { text-align: right; margin-left: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-info .rich-text { margin-bottom: 1rem; font-size: 1.08rem; }
.info-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--bg-soft); transition: background .2s, transform .2s; }
a.info-card:hover { background: #ecf6f5; transform: translateX(4px); }
.info-card .card-icon { margin: 0; width: 50px; height: 50px; }
.info-card small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.info-card strong { color: var(--ink); font-weight: 600; line-height: 1.4; }
.form-card { padding: 2.8rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.7rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-field { display: grid; gap: .4rem; }
.form-field-full, .form-check, .form > .btn, .form-error { grid-column: 1 / -1; }
.form-field:has(select) { grid-column: 1 / -1; }
.form label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--teal); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
    width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-soft);
    font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.form-check { display: flex; gap: .7rem; align-items: flex-start; flex-wrap: wrap; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form-check label { flex: 1; font-weight: 400; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form > .btn { justify-self: start; margin-top: .5rem; }
.field-error, .form-error { color: #dc2626; font-size: .84rem; width: 100%; }
.has-error input, .has-error textarea, .has-error select { border-color: #f87171 !important; }
.map-wrap { height: 420px; filter: grayscale(.3); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #0d9488; filter: blur(120px); opacity: .18; top: -250px; left: 30%; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 3rem; }
.footer-brand p { margin: 1.3rem 0; max-width: 28em; }
.site-footer .footer-title { color: #fff; margin-bottom: 1.2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a:hover { color: var(--teal-2); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--teal-2); margin-top: 4px; }
.muted { color: rgba(255, 255, 255, .4); font-size: .88rem; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 60px; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .45); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.reveal-delay { transition-delay: .15s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .phone-link { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    body { font-size: 16px; }
    .menu-toggle { display: grid; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
        padding: 1.5rem 24px 2rem; background: var(--ink); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s ease;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .site-header { background: var(--ink); }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .nav-link { width: 100%; justify-content: space-between; padding: .9rem 1rem; font-size: 1.05rem; }
    .dropdown { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; background: rgba(255, 255, 255, .04); box-shadow: none; margin-top: .3rem; }
    .has-dropdown:hover .dropdown { transform: none; }
    .has-dropdown.is-open .dropdown { display: block; transform: none; }
    .dropdown-item strong { color: #fff; }
    .dropdown-item small { color: rgba(255, 255, 255, .55); }
    .dropdown-item:hover { background: rgba(255, 255, 255, .06); }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .phone-link { display: inline-flex; justify-content: center; padding: .8rem; }
    .nav-actions .btn { padding: .9rem; }

    .hero { padding: calc(var(--header-h) + 50px) 0 100px; }
    .hero-grid, .feature-grid, .contact-grid, .service-layout { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { min-height: 380px; }
    .hero-orb { width: 260px; height: 260px; }
    .orb-core { width: 160px; height: 160px; }
    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }
    .feature-grid.is-reversed .feature-copy { order: 0; }
    .check-list-overlay { position: relative; left: 0; bottom: 0; max-width: none; margin-top: -3rem; }
    .service-aside { position: static; order: 2; }
    .section { padding: 72px 0; }
}

@media (max-width: 640px) {
    .container, .container.narrow { width: calc(100% - 32px); }
    .brand-text small { display: none; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: 0; }
    .float-card { padding: .65rem .85rem; }
    .float-card small { display: none; }
    .service-section, .form-card { padding: 1.6rem; }
    .cta-panel { padding: 2.2rem 1.6rem; }
    .form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .hero-actions .btn { width: 100%; }
}
