﻿/* ══════════════════════════════════════════════════════════
   NBG TEAM – Shared Stylesheet
   Extracted from inline <style> blocks across all pages.
   Page-specific CSS (hero backgrounds, article layouts, etc.)
   remains inline in each HTML file.
   ══════════════════════════════════════════════════════════ */

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

/* ── CSS VARIABLES ── */
:root {
    --bg: #f5f4f0;
    --bg-dark: #0d0d0d;
    --ink: #0d0d0d;
    --ink-muted: #6b6b6b;
    --accent: #1a56ff;
    --accent-light: #e8eeff;
    --surface: #ffffff;
    --border: #e2e1dc;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 2px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --max-w: 1200px;
    --pad-h: 60px;
}

html[data-theme="dark"] {
    --bg: #0a0a0a;
    --bg-dark: #000000;
    --ink: #c8c8c8;
    --ink-muted: #555555;
    --accent: #c9a84c;
    --accent-light: rgba(201,168,76,0.1);
    --surface: #111111;
    --border: #222222;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    transition: background 0.35s ease, color 0.35s ease;
}

/* ── SMOOTH THEME TRANSITIONS ── */
nav, section, footer, .service-card, .contact-form,
.about-img-block, .ticker-wrap, #stats, .stat-item,
.services-grid, .ref-grid, .ref-item, .ref-highlight {
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px var(--pad-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245,244,240,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    transition: background 0.35s;
}

nav.scrolled {
    background: rgba(245, 244, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

html[data-theme="dark"] nav {
    background: rgba(10,10,10,0.96);
}

html[data-theme="dark"] nav.scrolled {
    background: rgba(10,10,10,0.95) !important;
}

/* ── LOGO ── */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}

.logo-img-light { display: block; }
.logo-img-dark  { display: none;  }

html[data-theme="dark"] .logo-img-light { display: none;  }
html[data-theme="dark"] .logo-img-dark  { display: block; }

/* Footer always dark background — always dark logo */
.footer-logo .logo-img-light { display: none;  }
.footer-logo .logo-img-dark  { display: block; }

/* ── NAV LINKS ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-cta {
    background: var(--ink) !important;
    color: var(--bg) !important;
    padding: 9px 20px !important;
    border-radius: 100px !important;
    font-weight: 500 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] .nav-cta {
    background: linear-gradient(135deg,#c9a84c,#e8d48a) !important;
    color: #0a0a0a !important;
}

html[data-theme="dark"] .nav-cta:hover {
    background: linear-gradient(135deg,#e8d48a,#c9a84c) !important;
}

/* ── DROPDOWN ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a::after {
    content: '';
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--ink-muted) !important;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg);
    color: var(--accent) !important;
}

.dropdown-menu a.active {
    color: var(--accent) !important;
    font-weight: 500 !important;
}

.dd-num {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.6;
    min-width: 18px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 8px;
}

.dd-all {
    font-weight: 500 !important;
    color: var(--accent) !important;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 12px;
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.theme-toggle svg,
.theme-toggle-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.icon-sun { display: none; }
.icon-moon { display: block; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }

html[data-theme="dark"] .theme-toggle {
    border-color: #2a2a2a;
    color: #666;
}

html[data-theme="dark"] .theme-toggle:hover {
    border-color: #c9a84c;
    color: #c9a84c;
}

/* ── LANGUAGE SWITCH ── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 12px;
    transition: border-color 0.2s, color 0.2s;
    letter-spacing: 0.05em;
}

.lang-switch:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.lang-switch.active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

html[data-theme="dark"] .lang-switch.active {
    background: linear-gradient(135deg,#c9a84c,#e8d48a);
    color: #0a0a0a;
    border-color: transparent;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 400;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, border-color 0.2s;
}

.hamburger.open {
    background: var(--bg);
    border-color: var(--accent);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.hamburger.open span { background: var(--accent); }
.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); }

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 350;
    background: var(--surface);
    padding: 72px 28px 40px;
    overflow-y: auto;
    flex-direction: column;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--accent); }

.mob-label {
    font-size: 11px;
    font-family: var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 20px 0 6px;
    font-weight: 600;
}

.mob-sub {
    font-size: 15px !important;
    padding: 12px 0 12px 14px !important;
    color: var(--ink-muted) !important;
}

.mob-sub:hover,
.mob-sub.active { color: var(--accent) !important; }

.mob-cta {
    margin-top: 16px;
    background: var(--ink) !important;
    color: var(--bg) !important;
    text-align: center;
    border-radius: 100px;
    padding: 15px 24px !important;
    border-bottom: none !important;
    font-weight: 500;
}

html[data-theme="dark"] .mob-cta {
    background: linear-gradient(135deg,#c9a84c,#e8d48a) !important;
    color: #0a0a0a !important;
}

.mob-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.mob-theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 16px;
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}

.mob-theme-btn:hover { border-color: var(--accent); color: var(--ink); }

.mob-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 16px;
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.mob-lang-btn:hover { border-color: var(--accent); color: var(--ink); }

/* ── BREADCRUMB ── */
.breadcrumb {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb span { opacity: 0.4; }

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--bg);
    padding: 14px 24px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

html[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg,#c9a84c,#e8d48a);
    color: #0a0a0a;
}

.btn-fit { width: fit-content !important; }

.btn-ghost {
    color: var(--ink-muted);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.btn-ghost:hover { color: var(--ink); }

/* ── SECTION BASE ── */
section { padding: 120px 60px; }

.section-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.section-label::after {
    content: '';
    height: 1px;
    width: 30px;
    background: var(--accent);
    opacity: 0.4;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 24px;
    position: relative;
}

.section-desc {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-muted);
    max-width: 500px;
    line-height: 1.7;
}

/* ── SERVICE PAGE LAYOUT ── */
.page-hero {
    padding: 60px var(--pad-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 18px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-img {
    border-radius: 8px;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-box {
    background: var(--bg);
    padding: 40px 32px;
    text-align: center;
}

.stat-box-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box-label {
    font-size: 13px;
    color: var(--ink-muted);
}

.content-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 80px var(--pad-h);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.content-main h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.15;
}

.content-main h2:first-child { margin-top: 0; }

.content-main p {
    font-size: 16px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.content-main strong {
    font-weight: 500;
    color: var(--ink);
}

.service-list {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    color: var(--ink-muted);
    font-weight: 300;
    transition: border-color 0.2s, background 0.2s;
}

.service-list li:hover {
    border-color: var(--accent);
    background: var(--surface);
}

.service-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}

.service-list li strong {
    display: block;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 3px;
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 120px; }

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.sidebar-card p {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 14px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-muted);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-item svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    font-size: 12px;
    font-weight: 400;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--ink-muted);
    background: var(--bg);
}

/* ── INFO BOX ── */
.info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px;
    margin: 32px 0;
}

.info-box-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.info-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-box-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-muted);
}

.info-box-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ── FAQ SECTION ── */
.faq-section {
    background: var(--surface);
    padding: 80px var(--pad-h);
}

.faq-inner { max-width: var(--max-w); margin: 0 auto; }

.faq-section h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 40px;
}

.faq-list {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

details {
    background: var(--surface);
    cursor: pointer;
}

details summary {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    padding: 22px 28px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.01em;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s;
}

details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--accent); }

details .faq-answer {
    padding: 0 28px 22px;
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.75;
}

/* ── OTHER SERVICES ── */
.other-services { padding: 80px var(--pad-h); }
.other-services-inner { max-width: var(--max-w); margin: 0 auto; }

.other-services h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 32px;
}

.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-mini-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.2s, transform 0.2s;
    display: block;
    position: relative;
    overflow: hidden;
}

.service-mini-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 0.3s;
}

.service-mini-card:hover::before { width: 100%; }

.service-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.service-mini-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-mini-card-desc {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* ── CALLOUT ── */
.callout {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.callout p {
    color: var(--ink);
    font-weight: 400;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* ── SPEC TABLE ── */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.spec-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--ink);
}

.spec-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    color: var(--ink-muted);
    font-weight: 300;
}

.spec-table tr:hover td { background: var(--bg); }

/* ── ARTICLE / BLOG ── */
.article-hero {
    padding: 60px var(--pad-h) 48px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.article-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: 100px;
}

.article-date,
.article-read { font-size: 13px; color: var(--ink-muted); }

h1.article-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 20px;
}

.article-lead {
    font-size: 18px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.7;
}

.article-hero-visual {
    border-radius: 8px;
    width: 100%;
    height: 340px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.article-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px var(--pad-h);
}

.article-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.2;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-body strong {
    font-weight: 500;
    color: var(--ink);
}

.article-body ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-body ul li {
    display: flex;
    gap: 14px;
    font-size: 15px;
    color: var(--ink-muted);
    font-weight: 300;
    line-height: 1.7;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.article-body ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

.article-body li strong {
    display: block;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2px;
}

.toc { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.toc li a {
    display: block;
    font-size: 13px;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    font-weight: 300;
}

.toc li a:hover {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-light);
}

/* ── RELATED SECTION ── */
.related-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px var(--pad-h);
}

.related-inner { max-width: var(--max-w); margin: 0 auto; }

.related-section h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.blog-card-img {
    height: 100px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-bottom: 1px solid var(--border);
}

.blog-card-body { padding: 20px; flex: 1; }

.blog-card-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ── TOAST NOTIFICATION ── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 999;
    background: #0d0d0d;
    color: #fff;
    padding: 20px 32px;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 480px;
    width: calc(100% - 48px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast.toast-error {
    background: #1a0a0a;
    border-left: 3px solid #ff4444;
}

.toast.toast-success {
    border-left: 3px solid #c9a84c;
}

.toast-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.toast-msg {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    line-height: 1;
}

.toast-close:hover { color: white; }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── PROGRESS BAR ── */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #1a56ff, #7ab3ff);
    z-index: 999;
    transition: width 0.1s linear;
}

html[data-theme="dark"] #progress-bar {
    background: linear-gradient(90deg, #c9a84c, #e8d48a);
}

/* ── FOOTER ── */
footer {
    background: #0a0a0a;
    color: white;
    padding: 40px var(--pad-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #1a1a1a;
}

html[data-theme="dark"] footer {
    background: #050505;
    border-top: 1px solid #1a1a1a;
}

.footer-logo-img { height: 52px; width: auto; }

.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

/* ══════════════════════════════════════════════════════════
   FOOTER INNER WRAPPER
   ══════════════════════════════════════════════════════════ */
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

/* ══════════════════════════════════════════════════════════
   BLOG INDEX PAGE
   ══════════════════════════════════════════════════════════ */

/* Hero – single-column override (blog has no hero image) */
.page-hero-inner {
    grid-column: 1 / -1;
    max-width: 680px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 20px;
}

.page-lead {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.75;
    max-width: 560px;
}

/* Blog listing grid */
.blog-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 72px var(--pad-h);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-wrap .blog-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 190px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 70%, rgba(26, 86, 255, 0.05) 100%);
}

.blog-wrap .blog-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 230px;
}

.blog-wrap .blog-card-img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    border-bottom: 0;
    border-right: 1px solid var(--border);
    font-size: 46px;
    background:
        radial-gradient(circle at 30% 25%, rgba(26, 86, 255, 0.16), transparent 34%),
        linear-gradient(180deg, var(--bg), var(--surface));
}

.blog-wrap .blog-card:first-child .blog-card-img {
    min-height: 230px;
    font-size: 64px;
}

.blog-wrap .blog-card-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.blog-wrap .blog-card-title {
    font-size: 20px;
    line-height: 1.22;
}

.blog-wrap .blog-card:first-child .blog-card-title {
    max-width: 760px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
}

.blog-card-excerpt {
    font-size: 13px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-top: 10px;
    flex: 1;
}

.blog-wrap .blog-card-excerpt {
    max-width: 620px;
    font-size: 14px;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.blog-card-date {
    font-size: 11px;
    color: var(--ink-muted);
}

.blog-card-read {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    :root { --pad-h: 20px; }
    body { padding-top: 68px; }
    nav { padding: 12px 20px; }
    .nav-links { display: none !important; }
    .hamburger { display: flex; }
    .logo-img { height: 42px; }

    /* Service hero */
    .page-hero { padding: 36px 20px 52px; grid-template-columns: 1fr; gap: 28px; }
    .hero-img { height: 230px; border-radius: 6px; }
    h1 { font-size: clamp(28px, 7vw, 44px); }
    .hero-lead { font-size: 16px; margin-bottom: 24px; }
    .btn-fit { width: 100% !important; justify-content: center; }

    /* Stats */
    .stats-strip { grid-template-columns: 1fr; }
    .stat-box-num { font-size: 30px; }

    /* Content */
    .content-wrap { padding: 40px 20px; }
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar { position: static; }

    /* Article */
    .article-hero { padding: 36px 20px 40px; }
    .article-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .article-hero-visual { display: none; }
    h1.article-title { font-size: clamp(24px, 7vw, 36px); }
    .article-lead { font-size: 16px; }
    .article-wrap { padding: 40px 20px; }
    .article-grid { grid-template-columns: 1fr; gap: 40px; }
    .article-body h2 { font-size: 22px; margin-top: 36px; }
    .article-body p { font-size: 15px; }

    /* Related */
    .related-section { padding: 40px 20px; }
    .related-grid { grid-template-columns: 1fr; gap: 12px; }

    /* FAQ */
    .faq-section { padding: 52px 20px; }
    .faq-section h2 { font-size: 26px; margin-bottom: 28px; }
    details summary { font-size: 15px; padding: 18px 20px; }
    details .faq-answer { padding: 0 20px 18px; font-size: 14px; }

    /* Services mini */
    .other-services { padding: 52px 20px; }
    .other-services h2 { font-size: 22px; }
    .services-mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .service-mini-card { padding: 18px 16px; }
    .service-mini-card-title { font-size: 14px; }
    .section-title { font-size: clamp(28px, 7vw, 44px); }

    /* Section */
    section { padding: 60px 20px; }

    /* Toast */
    .toast { bottom: 20px; padding: 16px 20px; }

    /* Footer */
    footer { padding: 28px 20px; flex-direction: column; gap: 16px; text-align: center; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

    /* Blog index */
    .blog-wrap { padding: 48px 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-wrap .blog-card,
    .blog-wrap .blog-card:first-child {
        grid-column: auto;
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .blog-wrap .blog-card-img,
    .blog-wrap .blog-card:first-child .blog-card-img {
        min-height: 118px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        font-size: 42px;
    }
    .blog-wrap .blog-card:first-child .blog-card-title {
        font-size: clamp(24px, 7vw, 34px);
    }
    .page-hero-inner { max-width: 100%; }
}

@media (min-width: 601px) and (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .blog-wrap .blog-card,
    .blog-wrap .blog-card:first-child { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .logo-img { height: 36px; }
    h1 { font-size: clamp(26px, 8vw, 36px); }
    .stat-box-num { font-size: 30px; }
    .services-mini-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════════════════════════════════ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

#cookie-banner.visible {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    min-width: 200px;
}

.cookie-text a {
    color: #c9a84c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: #1a56ff;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.cookie-btn-accept:hover { background: #1246d6; }

.cookie-btn-reject {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}

.cookie-btn-reject:hover {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.75);
}

@media (max-width: 600px) {
    #cookie-banner { padding: 16px 20px; }
    .cookie-actions { width: 100%; }
    .cookie-btn-accept, .cookie-btn-reject { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP / VIBER FLOATING BUTTON
   ══════════════════════════════════════════════════════════ */
.float-contact {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 8888;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.float-contact-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.40);
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.float-contact-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.50);
}

.float-contact-toggle svg { width: 26px; height: 26px; }

.float-contact-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.95);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    transform-origin: bottom right;
}

.float-contact.open .float-contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.float-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 16px 10px 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.float-link:hover { transform: translateX(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.14); }

.float-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-link-icon svg { width: 18px; height: 18px; }

.float-link-wa .float-link-icon  { background: #25D366; color: #fff; }
.float-link-vb .float-link-icon  { background: #7360f2; color: #fff; }
.float-link-tel .float-link-icon { background: var(--accent); color: #fff; }

html[data-theme="dark"] .float-link {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #c8c8c8;
}

@media (max-width: 600px) {
    .float-contact { bottom: 20px; right: 16px; }
    .float-contact-toggle { width: 48px; height: 48px; }
}

