/* =============================================================
   APSELOM THEME — assets/css/screen.css
   Minimalista · Corporativo · B2B
   Paleta: Rojo #ee2737 · Negro #212322 · Celeste #009aFF
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.cdnfonts.com/css/fivo-sans');

/* ── Variables ── */
:root {
    --red:     #ee2737;
    --red-dark:#c01e2b;
    --black:   #212322;
    --black-2: #1a1b1a;
    --white:   #ffffff;
    --sky:     #009aff;
    --gray-1:  #f5f5f5;
    --gray-2:  #e8e8e8;
    --gray-3:  #9a9a9a;
    --gray-4:  #555555;

    --font-head: 'Fivo Sans', sans-serif;
    --font-body: 'Fivo Sans', sans-serif;

    --max-w: 1200px;
    --radius: 2px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }

/* ── Utility ── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.site-header {
    background: var(--gray-1);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: var(--gray-1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-logo-mark {
    width: 36px; height: 36px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo-mark svg {
    width: 22px; height: 22px;
    fill: var(--white);
}

.site-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /*color: rgba(255,255,255,0.72);*/
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--red);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white) !important;
    background: var(--red);
    padding: 10px 22px;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--white);
    transition: transform var(--transition), opacity var(--transition);
}

/* Mobile menu */
.nav-mobile {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black-2);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.open { transform: none; }

.nav-mobile a {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--red); }

.nav-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* Grid background texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
	linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
	linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Red accent line */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--red);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 100px 0 120px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--sky);
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--black);
    max-width: 800px;
    margin-bottom: 28px;
}

.hero-title em {
    font-style: normal;
    color: var(--red);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    color: var(--gray-4);
    max-width: 520px;
    margin-bottom: 52px;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 52px;
}

.hero-tag {
    font-family: var(--font-head);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-4);
    border: 1px solid var(--gray-2);
    padding: 7px 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 18px 36px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(238,39,55,0.3);
}

.btn-primary svg { width: 16px; height: 16px; fill: currentColor; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-4);
    border-bottom: 1px solid var(--gray-3);
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}

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

/* Hero decoration */
.hero-deco {
    position: absolute;
    right: -80px; bottom: -80px;
    width: 600px; height: 600px;
    border: 1px solid rgba(238,39,55,0.18);
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco::before {
    content: '';
    position: absolute;
    inset: 60px;
    border: 1px solid rgba(238,39,55,0.08);
    border-radius: 50%;
}

/* ─────────────────────────────────────────────
   PROBLEMS SECTION
───────────────────────────────────────────── */
.problems {
    padding: 120px 0;
    background: var(--gray-1);
}

.section-header {
    margin-bottom: 72px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--red);
}

.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
    max-width: 600px;
}

.section-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--gray-4);
    max-width: 520px;
    margin-top: 16px;
    line-height: 1.7;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-2);
}

.problem-card {
    background: var(--white);
    padding: 48px 40px;
    transition: background var(--transition);
}

.problem-card:hover {
    background: var(--black);
}

.problem-card:hover .problem-icon { background: var(--red); }
.problem-card:hover .problem-title { color: var(--white); }
.problem-card:hover .problem-text { color: rgba(255,255,255,0.55); }

.problem-icon {
    width: 48px; height: 48px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background var(--transition);
}

.problem-icon svg { width: 22px; height: 22px; fill: var(--white); }

.problem-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--black);
    margin-bottom: 12px;
    transition: color var(--transition);
}

.problem-text {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--gray-4);
    line-height: 1.65;
    transition: color var(--transition);
}

/* ─────────────────────────────────────────────
   ABOUT / PROPUESTA
───────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--red);
}

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

.about-left .section-eyebrow { color: var(--sky); }
.about-left .section-eyebrow::before { background: var(--sky); }
.about-left .section-title { color: var(--white); }
.about-left .section-desc { color: rgba(255,255,255,0.5); }

.about-services {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 16px;
}

.about-service {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about-service:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-service-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.7rem;
    color: var(--red);
    letter-spacing: 0.1em;
    padding-top: 4px;
}

.about-service-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 8px;
}

.about-service-text {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}

/* ─────────────────────────────────────────────
   WHY US / DIFERENCIADORES
───────────────────────────────────────────── */
.why {
    padding: 120px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 72px;
}

.why-card {
    border-top: 2px solid var(--gray-2);
    padding-top: 32px;
    transition: border-color var(--transition);
}

.why-card:hover { border-color: var(--red); }

.why-number {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gray-3);
    margin-bottom: 20px;
}

.why-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 12px;
}

.why-text {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-4);
    line-height: 1.65;
}

/* ─────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────── */
.process {
    padding: 120px 0;
    background: var(--black);
}

.process .section-title { color: var(--white); }
.process .section-desc { color: rgba(255,255,255,0.5); }
.process .section-eyebrow { color: var(--sky); }
.process .section-eyebrow::before { background: var(--sky); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 72px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.process-step {
    padding: 0 32px 0 0;
    position: relative;
}

.process-step:last-child { padding-right: 0; }

.step-dot {
    width: 56px; height: 56px;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    transition: border-color var(--transition), background var(--transition);
}

.process-step:hover .step-dot {
    background: var(--red);
    border-color: var(--red);
}

.step-dot-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
}

.step-badge {
    font-family: var(--font-head);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 12px;
}

.step-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

/* ─────────────────────────────────────────────
   SERVICES / PRICING
───────────────────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--gray-1);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 72px;
}

.service-card {
    background: var(--white);
    padding: 56px 48px;
    position: relative;
    border: 1px solid var(--gray-2);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    border-color: rgba(238,39,55,0.3);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.service-card.featured {
    background: var(--black);
    border-color: var(--black);
}

.service-card.featured:hover {
    border-color: var(--red);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 6px 12px;
    margin-bottom: 32px;
}

.service-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 32px;
}

.service-card.featured .service-title { color: var(--white); }

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-4);
    line-height: 1.5;
}

.service-card.featured .service-feature { color: rgba(255,255,255,0.6); }

.service-feature::before {
    content: '';
    flex-shrink: 0;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ee2737' d='M6.5 11.3L3.2 8 2 9.2l4.5 4.5 9-9L14.3 3.5z'/%3E%3C/svg%3E") no-repeat center;
    margin-top: 1px;
}

.service-price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--red);
}

.service-price-note {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--gray-3);
    margin-top: 4px;
}

.service-card.featured .service-price-note { color: rgba(255,255,255,0.35); }

/* ─────────────────────────────────────────────
   RESULTS / CASOS
───────────────────────────────────────────── */
.results {
    padding: 120px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-2);
    margin-top: 72px;
}

.result-card {
    background: var(--white);
    padding: 48px 40px;
    transition: background var(--transition);
}

.result-card:hover { background: var(--black); }
.result-card:hover .result-client { color: rgba(255,255,255,0.4); }
.result-card:hover .result-stat { color: var(--red); }
.result-card:hover .result-label { color: rgba(255,255,255,0.5); }
.result-card:hover .result-title { color: rgba(255,255,255,0.35); }
.result-card:hover .result-text { color: rgba(255,255,255,0.55); }

.result-client {
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-3);
    margin-bottom: 24px;
    transition: color var(--transition);
}

.result-stat {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--black);
    margin-bottom: 8px;
    transition: color var(--transition);
}

.result-label {
    font-size: 0.85rem;
    color: var(--gray-4);
    margin-bottom: 28px;
    transition: color var(--transition);
}

.result-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-3);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.result-text {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-4);
    line-height: 1.65;
    transition: color var(--transition);
}

/* ─────────────────────────────────────────────
   BLOG / POSTS
───────────────────────────────────────────── */
.blog {
    padding: 120px 0;
    background: var(--gray-1);
}

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

.post-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-2);
    flex-shrink: 0;
}

.post-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-no-image {
    aspect-ratio: 16/9;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.post-card-no-image svg {
    width: 40px; height: 40px;
    fill: rgba(255,255,255,0.1);
}

.post-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-tag {
    font-family: var(--font-head);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

.post-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--black);
    margin-bottom: 16px;
    flex: 1;
}

.post-title a { transition: color var(--transition); }
.post-title a:hover { color: var(--red); }

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--gray-3);
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-2);
}

.post-meta-dot { width: 3px; height: 3px; background: var(--gray-3); border-radius: 50%; }

.blog-cta {
    text-align: center;
    margin-top: 56px;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-list {
    margin-top: 72px;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    transition: color var(--transition);
}

.faq-question:hover { color: var(--red); }

.faq-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before {
    width: 14px; height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px; height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
    padding-bottom: 28px;
    font-size: 0.93rem;
    font-weight: 300;
    color: var(--gray-4);
    line-height: 1.7;
}

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--red);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(238,39,55,0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.contact-left .section-eyebrow { color: var(--sky); }
.contact-left .section-eyebrow::before { background: var(--sky); }
.contact-left .section-title { color: var(--white); }

.contact-headline {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
    line-height: 1.7;
    max-width: 420px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 48px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    font-weight: 300;
    transition: color var(--transition);
}

.contact-channel:hover { color: var(--white); }

.contact-channel-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.contact-channel:hover .contact-channel-icon { background: var(--red); }
.contact-channel-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 14px 18px;
    font-size: 0.92rem;
    font-weight: 300;
    transition: border-color var(--transition), background var(--transition);
    width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--red);
    background: rgba(255,255,255,0.09);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-select option { background: var(--black-2); color: var(--white); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
    margin-top: 8px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 18px 36px;
    transition: background var(--transition), transform var(--transition);
}

.form-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255,255,255,0.28);
    text-align: center;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
    background: var(--black-2);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col-title {
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.3);
}

.footer-copy a { color: var(--red); }

.footer-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

.footer-location svg { width: 12px; height: 12px; fill: var(--red); }

/* ─────────────────────────────────────────────
   SINGLE POST / PAGE
───────────────────────────────────────────── */
.post-page {
    padding-top: var(--nav-h);
}

.post-hero {
    background: var(--black);
    padding: 80px 0 64px;
}

.post-hero-tag {
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.post-hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    max-width: 760px;
    margin-bottom: 24px;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.post-feature-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 32px;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-top: 48px;
    margin-bottom: 20px;
}

.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content h4 { font-size: 1.05rem; }

.post-content p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 24px;
}

.post-content a { color: var(--red); border-bottom: 1px solid rgba(238,39,55,0.3); }
.post-content a:hover { border-color: var(--red); }

.post-content blockquote {
    border-left: 3px solid var(--red);
    margin: 40px 0;
    padding: 20px 32px;
    background: var(--gray-1);
}

.post-content blockquote p { font-size: 1.1rem; font-style: italic; color: var(--gray-4); margin: 0; }

.post-content img { width: 100%; margin: 40px 0; }

.post-content ul, .post-content ol {
    list-style: initial;
    padding-left: 28px;
    margin-bottom: 24px;
}

.post-content li {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 8px;
}

.post-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--gray-1);
    padding: 2px 6px;
    border-radius: 2px;
    color: var(--red);
}

.post-content pre {
    background: var(--black);
    color: var(--white);
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
}

.post-content pre code { background: none; color: inherit; padding: 0; }

/* ─────────────────────────────────────────────
   ERROR / 404
───────────────────────────────────────────── */
.error-page {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

.error-code {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 8rem;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: 24px;
}

.error-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.error-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    margin-bottom: 40px;
}

/* ─────────────────────────────────────────────
   GHOST CARDS
───────────────────────────────────────────── */
.kg-width-full { margin: 40px calc(50% - 50vw); }
.kg-width-wide { margin: 40px -80px; }
.kg-image-card img { width: 100%; }
.kg-gallery-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin: 32px 0; }
.kg-gallery-image img { width: 100%; height: 200px; object-fit: cover; }
.kg-embed-card { margin: 32px 0; }
.kg-embed-card iframe { width: 100%; }
.kg-bookmark-card { border: 1px solid var(--gray-2); padding: 20px; display: flex; gap: 20px; align-items: flex-start; margin: 32px 0; }
.kg-bookmark-content {}
.kg-bookmark-title { font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }
.kg-bookmark-description { font-size: 0.88rem; color: var(--gray-4); }
.kg-bookmark-thumbnail img { width: 120px; height: 80px; object-fit: cover; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero-inner { padding: 64px 0 80px; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }

    .problems-grid { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 40px 32px; }

    .results-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }

    .why-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .faq-list { max-width: 100%; }

    .problems { padding: 80px 0; }
    .about { padding: 80px 0; }
    .why { padding: 80px 0; }
    .process { padding: 80px 0; }
    .services { padding: 80px 0; }
    .results { padding: 80px 0; }
    .blog { padding: 80px 0; }
    .faq { padding: 80px 0; }
    .contact { padding: 80px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .result-stat { font-size: 2.8rem; }
}





/* ─────────────────────────────────────────────
   KOENIG CARD ASSETS — Ghost 5.x
───────────────────────────────────────────── */
.kg-card,
.kg-image-card,
.kg-gallery-card,
.kg-embed-card,
.kg-bookmark-card,
.kg-audio-card,
.kg-video-card,
.kg-file-card,
.kg-product-card,
.kg-header-card,
.kg-callout-card,
.kg-toggle-card,
.kg-button-card,
.kg-divider-card,
.kg-html-card {
  display: block;
  visibility: visible;
  opacity: 1;
}

.kg-image-card { margin: 32px auto; }
.kg-image-card img, .kg-image { display: block; max-width: 100%; height: auto; margin: 0 auto; }

.kg-width-wide { width: 85vw; max-width: 1040px; margin-left: auto; margin-right: auto; }
.kg-width-full { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

.kg-gallery-card { margin: 32px auto; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 4px; }
.kg-gallery-row { display: flex; gap: 4px; }
.kg-gallery-image { flex: 1; min-width: 0; overflow: hidden; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.kg-embed-card { margin: 32px 0; display: flex; flex-direction: column; align-items: center; }
.kg-embed-card iframe, .kg-embed-card video { max-width: 100%; }

.kg-bookmark-card { margin: 32px 0; border: 1px solid var(--gray-2); overflow: hidden; }
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; min-height: 112px; }
.kg-bookmark-content { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kg-bookmark-title { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--black); }
.kg-bookmark-description { font-size: 0.85rem; color: var(--gray-4); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gray-3); margin-top: auto; }
.kg-bookmark-icon { width: 16px; height: 16px; object-fit: contain; }
.kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; overflow: hidden; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.kg-callout-card { margin: 32px 0; padding: 20px 24px; display: flex; align-items: flex-start; gap: 16px; background: var(--gray-1); border-left: 3px solid var(--red); }
.kg-callout-emoji { font-size: 1.4rem; line-height: 1.4; flex-shrink: 0; }
.kg-callout-text { font-size: 0.95rem; line-height: 1.65; color: var(--black); }

.kg-toggle-card { margin: 24px 0; border: 1px solid var(--gray-2); overflow: hidden; }
.kg-toggle-heading { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; background: var(--gray-1); }
.kg-toggle-heading-text { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--black); }
.kg-toggle-content { padding: 16px 20px; font-size: 0.92rem; line-height: 1.65; color: var(--gray-4); }

.kg-button-card { margin: 28px 0; display: flex; }
.kg-btn { display: inline-flex; align-items: center; padding: 14px 28px; font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; background: var(--red); color: var(--white); transition: background var(--transition); }
.kg-btn:hover { background: var(--red-dark); }

.kg-divider-card { margin: 40px 0; border: none; border-top: 1px solid var(--gray-2); height: 0; display: block; }

.kg-video-card { margin: 32px 0; }
.kg-video-card video { width: 100%; display: block; }

.kg-audio-card { margin: 32px 0; border: 1px solid var(--gray-2); padding: 16px 20px; display: flex; align-items: center; gap: 16px; }

.kg-file-card { margin: 24px 0; border: 1px solid var(--gray-2); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--black); transition: border-color var(--transition); }
.kg-file-card:hover { border-color: var(--red); }
.kg-file-card-title { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.kg-file-card-caption, .kg-file-card-metadata { font-size: 0.8rem; color: var(--gray-3); }

.kg-code-card { margin: 32px 0; }
.kg-code-card pre { background: var(--black); color: #f8f8f2; padding: 24px; overflow-x: auto; font-family: 'Courier New', monospace; font-size: 0.88rem; line-height: 1.6; }

.kg-header-card { margin: 32px 0; padding: 64px 40px; background: var(--black); text-align: center; }
.kg-header-card h2 { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--white); margin-bottom: 16px; }
.kg-header-card p { color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.kg-header-card a { display: inline-block; padding: 14px 28px; background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

figcaption, .kg-image-card figcaption, .kg-gallery-card figcaption { font-size: 0.8rem; color: var(--gray-3); text-align: center; margin-top: 10px; font-style: italic; }
