/* ========================
   DESIGN SYSTEM
======================== */
:root {
    --bg: #070b10;
    --bg-2: #0d1117;
    --bg-3: #111820;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-glass: rgba(13, 17, 23, 0.7);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --text-1: #f8fafc;
    --text-2: #8b9cb5;
    --text-3: #5a6a7e;

    --accent: #2563eb;
    --accent-light: #60a5fa;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --accent-2: #06b6d4;
    --accent-2-glow: rgba(6, 182, 212, 0.15);

    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.15);

    --font: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ── Premium Background & Atmosphere ── */
.tech-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.bg-glow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.bg-glow-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 { top: -20%; left: -10%; background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%); }
.orb-2 { bottom: -20%; right: -10%; background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%); animation-delay: -5s; }

@keyframes floatOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(150px, 80px) scale(1.1); }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 2000;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
    z-index: 1;
}

/* ========================
   RESET & BASE
======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg);
    color: var(--text-1);
    font-family: var(--font);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* Grid overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========================
   TYPOGRAPHY
======================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

.text-accent {
    color: var(--accent-light);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-2);
    font-size: 1.1rem;
}

.section-header .section-eyebrow {
    display: block;
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-primary.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-1);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-cta {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--accent-light);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ========================
   NAVBAR
======================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 5%;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-mark.small {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.logo-text strong {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    padding: 0.5rem 0.9rem;
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-1);
    background: var(--surface);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-3);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem 0.3rem;
    border-radius: 4px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-1);
}

.lang-divider {
    color: var(--border);
    font-size: 0.75rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-2);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li+li {
    margin-top: 0.5rem;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-2);
    transition: var(--transition);
    display: block;
    padding: 0.5rem 1rem;
}

.mobile-link:hover {
    color: var(--text-1);
}

.mobile-cta {
    margin-top: 2rem;
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
}

/* ========================
   SCROLL ANIMATIONS
======================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    transform: translateX(28px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ========================
   HERO
======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-2);
    font-weight: 500;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero>.hero-inner>.hero-content>p {
    color: var(--text-2);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    color: var(--text-3);
    font-size: 0.82rem;
    font-weight: 500;
}

.trust-sep {
    color: var(--border);
}

.trust-item {
    color: var(--text-2);
}

/* Dashboard card */
.dashboard-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(37, 99, 235, 0.08);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dots span:nth-child(1) {
    background: #ff5f56;
}

.dash-dots span:nth-child(2) {
    background: #ffbd2e;
}

.dash-dots span:nth-child(3) {
    background: #27c93f;
}

.dash-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    margin-right: auto;
}

.dash-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--green);
}

.dash-status.live {
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.dash-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.dash-metric {
    display: block;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-3);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.metric-value {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.metric-value.green {
    color: var(--green);
}

.metric-value.blue {
    color: var(--accent-2);
}

.metric-value.accent {
    color: var(--accent-light);
}

.metric-bar {
    height: 4px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--green);
    border-radius: 4px;
    transition: width 1.5s ease;
}

.bar-fill.blue-bar {
    background: var(--accent-2);
}

.bar-fill.green-bar {
    background: var(--green);
}

.bar-fill.accent-bar {
    background: var(--accent-light);
}

.dash-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.dash-tag {
    padding: 0.25rem 0.7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--text-2);
    font-weight: 500;
}

/* ========================
   METRICS STRIP
======================== */
.metrics {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-1);
    line-height: 1;
    letter-spacing: -0.02em;
}

.metric-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
}

.metric-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-2);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ========================
   SERVICES
======================== */
.services {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-light);
}

.card-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.6rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card>p {
    color: var(--text-2);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.card-features {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.card-features li {
    font-size: 0.85rem;
    color: var(--text-2);
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.card-features li::before {
    content: '→';
    color: var(--accent-light);
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 0.05rem;
}

/* ========================
   WHY US
======================== */
.why-us {
    padding: 8rem 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 1rem;
}

.why-content>p {
    color: var(--text-2);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.why-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.why-icon {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    flex-shrink: 0;
    line-height: 1;
}

.why-point h4 {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.why-point p {
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Cert Panel */
.cert-panel {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.cert-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 1.5rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    transition: var(--transition);
}

.cert-badge:hover {
    border-color: var(--border-light);
    color: var(--text-1);
}

.cert-icon {
    font-size: 1.1rem;
}

.uptime-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 500;
}

.uptime-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

/* ========================
   CONTACT
======================== */
.contact {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-2);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-glow);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent-light);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-3);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-1);
    font-weight: 500;
}

a.detail-value:hover {
    color: var(--accent-light);
}

/* Form */
.contact-form-wrap {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-1);
    font-family: var(--font);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #0d1117;
    color: var(--text-1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-3);
    text-align: center;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success.visible {
    display: flex;
}

/* ========================
   FOOTER
======================== */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.footer-logo strong {
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-3);
    font-size: 0.875rem;
    max-width: 260px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-2);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text-1);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-3);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--text-3);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-2);
}

/* ========================
   RESPONSIVE
======================== */
/* ========================
   HOME SERVICES
======================== */
.home-services {
    padding: 8rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.home-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.home-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.home-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--green);
    opacity: 0;
    transition: var(--transition);
}

.home-card:hover {
    border-color: rgba(16, 185, 129, 0.2);
    background: var(--bg-3);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.home-card:hover::before {
    opacity: 1;
}

.home-card-icon {
    width: 46px;
    height: 46px;
    background: var(--green-glow);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.home-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--green);
}

.home-card-body {
    flex: 1;
}

.home-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.35rem;
}

.home-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.home-card-body>p {
    color: var(--text-2);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.home-card-features {
    border-top: 1px solid var(--border);
    padding-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.home-card-features li {
    font-size: 0.8rem;
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.home-card-features li::before {
    content: '✓';
    color: var(--green);
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.05rem;
}

/* Home CTA strip */
.home-cta-strip {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.home-cta-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--green);
    font-weight: 500;
    font-size: 0.95rem;
}

.home-cta-strip .btn-primary {
    background: var(--green);
    flex-shrink: 0;
}

.home-cta-strip .btn-primary:hover {
    background: #0d9e71;
    box-shadow: 0 8px 24px var(--green-glow);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-bar {
        justify-content: center;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 640px) {

    .services-grid,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .home-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .home-card-icon {
        margin-top: 0;
    }
}

/* ========================
   LOGO IMAGE
======================== */
.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ========================
   HERO BACKGROUND IMAGE
======================== */
.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('hero_bg.webp') center center / cover no-repeat;
    opacity: 0.18;
    z-index: -1;
    pointer-events: none;
}

/* ========================
   SHOWCASE BANNER
======================== */
.showcase-banner {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.showcase-img-wrap {
    position: relative;
    height: 440px;
    overflow: hidden;
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-img-wrap:hover img {
    transform: scale(1.03);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 11, 16, 0.85) 0%,
        rgba(7, 11, 16, 0.6) 50%,
        rgba(7, 11, 16, 0.2) 100%
    );
    display: flex;
    align-items: center;
}

.showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.showcase-content h2 {
    margin-top: 0.75rem;
}

/* ========================
   HOME SERVICES IMAGE
======================== */
.home-showcase-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.home-showcase-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.home-showcase-img:hover img {
    transform: scale(1.03);
}

.home-showcase-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(7, 11, 16, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-1);
    font-weight: 500;
}

/* ========================
   WHY US — TEAM PHOTO
======================== */
.why-photo-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.why-photo-wrap > img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: var(--shadow-lg);
}

.why-photo-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    right: -1.5rem;
    background: var(--bg-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.cert-grid.mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cert-grid.mini .cert-badge {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
}

/* ========================
   TESTIMONIALS
======================== */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-2);
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.testimonial-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.08;
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-1);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-3);
}

/* ========================
   RESPONSIVE — NEW ELEMENTS
======================== */
@media (max-width: 1024px) {
    .why-photo-badge {
        left: 0;
        right: 0;
        bottom: -1rem;
    }
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .showcase-img-wrap {
        height: 320px;
    }

    .why-photo-wrap > img {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .showcase-img-wrap {
        height: 240px;
    }

    .cert-grid.mini {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-showcase-img img {
        height: 220px;
    }
}

/* ========================
   OUR PROCESS
   ======================== */
.process-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 2.5rem;
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ========================
   HERO SCROLL INDICATOR
   ======================== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; transform: translate(-50%, 5px); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   WHATSAPP FAB
======================== */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 0.85rem 1.4rem 0.85rem 1rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fabEntrance 0.6s 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.whatsapp-fab svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
    background: #1ebe5d;
}

.whatsapp-fab-label {
    white-space: nowrap;
}

@keyframes fabEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Collapse to icon-only on mobile */
@media (max-width: 480px) {
    .whatsapp-fab {
        padding: 0.9rem;
        border-radius: 50%;
    }
    .whatsapp-fab-label {
        display: none;
    }
}

/* ========================
   FOOTER PHONE
======================== */
.footer-phone {
    color: var(--accent-light) !important;
    font-weight: 600;
}
.footer-phone:hover {
    color: #fff !important;
}

/* ========================
   NAV ACTIVE LINK
======================== */
.nav-links a.active-section {
    color: var(--text-1);
    background: var(--surface);
}

/* ========================
   PROCESS STEP ICON
======================== */
.step-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent-light);
}

.step-icon svg {
    width: 26px;
    height: 26px;
}

/* ========================
   CASES OF SUCCESS
======================== */
.cases-section {
    padding: 7rem 0;
    background: var(--bg-2);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.case-card:hover {
    border-color: rgba(37,99,235,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.case-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-glow);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.case-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.case-card p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-weight: 700;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.case-result-icon {
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .cases-grid { grid-template-columns: 1fr; }
}

/* ========================
   SERVICE AREAS
======================== */
.areas-section {
    padding: 7rem 0;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.area-tag {
    padding: 0.5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    transition: var(--transition);
    cursor: default;
}

.area-tag:hover {
    background: var(--accent-glow);
    border-color: rgba(37,99,235,0.35);
    color: var(--accent-light);
}

/* ========================
   FAQ SECTION
======================== */
.faq-section {
    padding: 7rem 0;
    background: var(--bg-2);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(37,99,235,0.35);
}

.faq-q {
    list-style: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-1);
    user-select: none;
    transition: color 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-light);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
}

.faq-item[open] .faq-q {
    color: var(--accent-light);
}

.faq-a {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-2);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================
   BLOG SECTION
======================== */
.blog-section {
    padding: 7rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card:hover {
    border-color: rgba(37,99,235,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.blog-card-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: var(--accent-glow);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
}

.blog-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-1);
}

.blog-card p {
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.2s;
    display: inline-block;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #fff;
    letter-spacing: 0.01em;
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ========================
   SOCIAL FOOTER
======================== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2);
    transition: var(--transition);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================
   HOME SERVICES PRICE TAG
======================== */
.hs-price-tag {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-glow);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 8px;
    color: var(--accent-light);
    font-size: 0.95rem;
    font-weight: 700;
}

/* ========================
   WHATSAPP & TIDIO FLOATS
======================== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-fab svg {
    width: 32px;
    height: 32px;
}

.whatsapp-fab-label {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-fab svg {
        width: 28px;
        height: 28px;
    }
}

/* TIDIO OVERRIDE (MOVER ARRIBA DE WHATSAPP) */
#tidio-chat-iframe {
    bottom: 95px !important;
}
@media (max-width: 768px) {
    #tidio-chat-iframe {
        bottom: 85px !important;
    }
}

/* ======================================================
   ACCESSIBILITY — Mobile Touch Targets & Font Sizes
   WCAG 2.1 AA compliance
   ====================================================== */
@media (max-width: 768px) {
    /* Base font size: minimum 16px to prevent iOS text zoom */
    html { font-size: 16px; }
    body { font-size: 1rem; }

    /* Minimum touch target: 44x44px for all interactive elements */
    a, button, input[type="submit"], input[type="button"],
    .btn-cta, .btn-primary, .lang-btn, .mobile-link,
    .blog-read-more, .faq-q, .service-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Navigation links — ensure 44px tap area */
    .mobile-link {
        padding: 0.875rem 1.5rem;
        width: 100%;
        display: flex;
        align-items: center;
    }

    /* Hamburger button — 44px tap area */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    /* Form inputs — make them large enough for comfortable typing */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        min-height: 48px;
        font-size: 1rem; /* Prevent iOS from zooming on focus */
    }

    /* Lang switcher buttons */
    .lang-btn {
        min-height: 36px;
        min-width: 36px;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Read more links */
    .blog-read-more {
        padding: 0.75rem 0;
        min-height: 44px;
    }

    /* Form submit buttons */
    .contact-form button[type="submit"],
    .btn-download {
        min-height: 52px;
        font-size: 1rem;
    }

    /* FAQ summary elements */
    .faq-q {
        padding: 1.25rem 1rem;
        min-height: 44px;
    }

    /* Service card links */
    .service-link {
        padding: 0.75rem 1.25rem;
        min-height: 44px;
        justify-content: center;
    }
}
