/* ==========================================================================
   Concord KSA - Official Station Identity Stylesheet (Cairo + Red/Green)
   ========================================================================== */

:root {
    /* Official Concord Station & Fleet Colors */
    --brand-primary: #0b0f17;
    --brand-accent: #d91b24;        /* Crimson Red from Station Canopy & Logo */
    --brand-accent-dark: #a81219;
    --brand-accent-glow: rgba(217, 27, 36, 0.28);
    --brand-green: #0f8a4b;         /* Emerald Green from "كونكورد للوقود" Sign */
    --brand-green-glow: rgba(15, 138, 75, 0.25);

    /* Light Mode Tokens */
    --bg-body: #f5f7fa;
    --bg-surface: #ffffff;
    --bg-surface-alt: #eef2f6;
    --bg-glass: rgba(255, 255, 255, 0.94);
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-subtle: #6b7280;
    --border-color: #e5e7eb;
    --border-strong: #d1d5db;

    --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 12px 28px -6px rgba(17, 24, 39, 0.09);
    --shadow-lg: 0 24px 48px -12px rgba(17, 24, 39, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --font-sans: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html.dark,
body.dark-mode {
    --bg-body: #090d14;
    --bg-surface: #111827;
    --bg-surface-alt: #161f30;
    --bg-glass: rgba(17, 24, 39, 0.94);
    --text-main: #f9fafb;
    --text-muted: #d1d5db;
    --text-subtle: #9ca3af;
    --border-color: #1f2937;
    --border-strong: #374151;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition), color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-accent-dark);
}

ul {
    list-style: none;
}

.ltr-num {
    direction: ltr;
    display: inline-block;
    unicode-bidi: isolate;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--brand-accent);
    transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo img {
    height: 52px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(217, 27, 36, 0.25);
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
}

.brand-sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-green);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav a {
    color: var(--text-main);
    font-weight: 700;
    font-size: 14.5px;
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #ffffff;
    background-color: var(--brand-accent);
    box-shadow: 0 4px 12px var(--brand-accent-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn,
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding-inline: 13px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-main);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-btn {
    width: 40px;
    padding: 0;
}

.lang-btn:hover,
.theme-btn:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--brand-accent-glow);
}

.theme-btn .icon-sun { display: block; }
.theme-btn .icon-moon { display: none; }
html.dark .theme-btn .icon-sun,
body.dark-mode .theme-btn .icon-sun { display: none; }
html.dark .theme-btn .icon-moon,
body.dark-mode .theme-btn .icon-moon { display: block; }

.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 76px;
    inset-inline: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--brand-accent);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 6px;
}

.mobile-drawer.open {
    display: flex;
    animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer a {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer a:last-child {
    border-bottom: none;
}

.mobile-drawer a.active,
.mobile-drawer a:hover {
    color: #ffffff;
    background: var(--brand-accent);
}

@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger-btn { display: inline-flex; }
}

@media (max-width: 480px) {
    .brand-name { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--brand-accent-glow);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(217, 27, 36, 0.45);
}

.btn-green {
    background: linear-gradient(135deg, #12a159 0%, var(--brand-green) 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--brand-green-glow);
}

.btn-green:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 138, 75, 0.45);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--brand-accent);
    transform: translateY(-3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--brand-primary);
    overflow: hidden;
    padding: 84px 20px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 15, 23, 0.62) 0%, rgba(168, 18, 25, 0.35) 55%, rgba(11, 15, 23, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin-inline: auto;
    color: #ffffff;
    animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    background: rgba(15, 138, 75, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: clamp(28px, 4.8vw, 52px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.hero-content p {
    font-size: clamp(16px, 2.2vw, 20px);
    color: #f3f4f6;
    margin-bottom: 32px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* Page Sub-Hero */
.page-hero {
    position: relative;
    padding: 74px 20px;
    background: linear-gradient(135deg, #111827 0%, #7f1d1d 60%, #111827 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-green), var(--brand-accent));
}

.page-hero h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 10px;
    animation: heroFadeUp 0.7s ease forwards;
}

.page-hero p {
    color: #e5e7eb;
    max-width: 700px;
    margin-inline: auto;
    font-size: 16.5px;
}

/* ==========================================================================
   Sections & Cards with Professional Entrance Animations
   ========================================================================== */
.section {
    padding: 76px 0;
}

.section-alt {
    background-color: var(--bg-surface-alt);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    color: var(--brand-green);
    font-weight: 800;
    font-size: 13.5px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.section-header h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
}

.card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-green));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-accent-right {
    border-inline-start: 4px solid var(--brand-accent);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(217, 27, 36, 0.12), rgba(15, 138, 75, 0.1));
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 800;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-3deg);
    background: var(--brand-accent);
    color: #ffffff;
}

.card h3, .card h4 {
    color: var(--text-main);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* Partners Section */
.partner-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-green);
}

.partner-logo-box {
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid var(--border-color);
}

.partner-logo-box img {
    max-height: 68px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

.partner-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Why Concord List */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-inline-start: 4px solid var(--brand-accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
    transform: translateX(-4px);
    border-inline-start-color: var(--brand-green);
}

.why-item strong {
    color: var(--brand-accent);
    font-weight: 800;
}

.why-item span {
    color: var(--text-main);
}

.feature-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.feature-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-image-frame:hover img {
    transform: scale(1.03);
}

/* Tables (Branches & VAT) */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.data-table th,
.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 15px;
}

.data-table th {
    background: var(--bg-surface-alt);
    font-weight: 800;
    color: var(--brand-accent);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Contact Form with Animated Border */
.form-card {
    position: relative;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    z-index: 1;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg 220deg,
        var(--brand-accent) 260deg,
        var(--brand-green) 310deg,
        transparent 360deg
    );
    animation: rotateBorder 5s linear infinite;
    z-index: -2;
}

.form-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-surface);
    border-radius: calc(var(--radius-md) - 2px);
    z-index: -1;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px var(--brand-accent-glow);
}

.form-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(15, 138, 75, 0.14);
    color: var(--brand-green);
    border: 1px solid rgba(15, 138, 75, 0.35);
}

.form-status.error {
    display: block;
    background: rgba(217, 27, 36, 0.14);
    color: var(--brand-accent);
    border: 1px solid rgba(217, 27, 36, 0.35);
}

/* Map Embed */
.map-frame {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

/* Blog Cards */
.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    background: var(--bg-surface-alt);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

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

.blog-meta {
    font-size: 13px;
    color: var(--brand-green);
    font-weight: 800;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.45;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 18px;
    flex: 1;
}

/* Article Content & FAQ */
.article-body {
    max-width: 920px;
    margin-inline: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 38px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .article-body { padding: 22px 18px; }
}

.article-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2.5px solid var(--brand-accent);
}

.article-body h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--brand-green);
    margin: 20px 0 8px;
}

.article-body p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.article-body ul {
    list-style: disc;
    padding-inline-start: 22px;
    margin-bottom: 18px;
    color: var(--text-muted);
}

.article-body li {
    margin-bottom: 8px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 28px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: start;
    background: none;
    border: none;
    padding: 15px 18px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-q:hover {
    color: var(--brand-accent);
}

.faq-a {
    display: none;
    padding: 0 18px 16px;
    color: var(--text-muted);
    font-size: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-accent);
}

.faq-icon {
    font-size: 20px;
    font-weight: 800;
    transition: transform 0.25s ease;
}

/* Org Chart */
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.org-node {
    background: var(--bg-surface);
    border: 2px solid var(--brand-accent);
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-weight: 800;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.org-arrow {
    font-size: 22px;
    color: var(--brand-green);
    font-weight: 800;
}

/* ==========================================================================
   Footer & Developer Credit Bar
   ========================================================================== */
.site-footer {
    background-color: #090d14;
    color: #d1d5db;
    border-top: 3px solid var(--brand-accent);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 42px;
}

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

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 96px; }
}

.footer-title {
    color: #ffffff;
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 18px;
    padding-bottom: 8px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 3px;
    background: var(--brand-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 14.5px;
}

.footer-links a:hover {
    color: var(--brand-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

@media (max-width: 680px) {
    .footer-bottom {
        justify-content: center;
        flex-direction: column;
    }
}

.dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #9ca3af;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.dev-credit:hover {
    border-color: rgba(217, 27, 36, 0.45);
    color: #e5e7eb;
}

.dev-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    background: rgba(217, 27, 36, 0.16);
    border: 1px solid rgba(217, 27, 36, 0.4);
    color: #fca5a5 !important;
    font-weight: 700;
    font-size: 11.5px;
    transition: all 0.2s ease;
}

.dev-call-btn:hover {
    background: var(--brand-accent);
    color: #ffffff !important;
    border-color: var(--brand-accent);
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 990;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.float-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.float-call {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark));
}

.float-wa {
    background: linear-gradient(135deg, #25D366, var(--brand-green));
}

@media (max-width: 640px) {
    .floating-actions {
        left: 14px;
        bottom: 16px;
        gap: 10px;
    }
    .float-btn {
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Staggered Scroll Reveal Animations (Respects prefers-reduced-motion)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

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

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