/* ============================================================
   VIGIL LABS X — Shared Stylesheet
   Fonts: Cabinet Grotesk (h1/h2), Satoshi (body/h3)
   ============================================================ */

/* ── FONT FACES ── */
@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/cabinetgrotesk/CabinetGrotesk-Light.woff2') format('woff2'),
         url('../fonts/cabinetgrotesk/CabinetGrotesk-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/cabinetgrotesk/CabinetGrotesk-Bold.woff2') format('woff2'),
         url('../fonts/cabinetgrotesk/CabinetGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Regular.woff2') format('woff2'),
         url('../fonts/satoshi/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Medium.woff2') format('woff2'),
         url('../fonts/satoshi/Satoshi-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Bold.woff2') format('woff2'),
         url('../fonts/satoshi/Satoshi-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

/* ── TOKENS ── */
:root {
    --black: #05070A;
    --offblack: #0C0F14;
    --surface: #111520;
    --surface2: #181D2B;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent: #00E5A0;
    --accent-dim: rgba(0, 229, 160, 0.12);
    --accent-mid: rgba(0, 229, 160, 0.35);
    --text: #E8ECF0;
    --text-muted: #7A8394;
    --text-dim: #3E4555;
    --red: #FF4444;
    --amber: #FFB347;
    --font-display: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    --font-mono: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
}

html { scroll-behavior: smooth; }

::selection {
    background: var(--accent);
    color: #000;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: normal;
    color: var(--accent);
}

.h1 {
    display: block;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.h1 em {
    font-style: normal;
    color: var(--accent);
}

h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

strong { font-weight: 700; }

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--border);
    padding: 0 2rem;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--text);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--black) !important;
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--black);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
}

.hero-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 229, 160, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

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

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 3rem;
}

.stat-cell {
    background: var(--offblack);
    padding: 1.5rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

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

/* ── TERMINAL ── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal {
    background: var(--offblack);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.terminal-bar {
    background: var(--surface2);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F56; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #27C93F; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

.terminal-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
}

.t-comment { color: var(--text-dim); }
.t-cmd     { color: var(--text-muted); }
.t-cmd span { color: var(--accent); }
.t-vuln    { color: var(--red); }
.t-warn    { color: var(--amber); }
.t-ok      { color: var(--accent); }

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── TRUST BAR ── */
.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    background: var(--offblack);
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
}

.trust-items {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon { color: var(--accent); font-size: 16px; }

/* ── SECTION BASE ── */
section { padding: 6rem 2rem; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.75;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    position: relative;
    padding: 5rem 2rem 4rem;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 70%);
}

.page-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    max-width: 800px;
}

.page-hero .hero-desc {
    font-size: 18px;
    max-width: 660px;
    margin-bottom: 0;
}

/* ── BREADCRUMB ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--text-muted); }

/* ── SERVICIOS ── */
#servicios { background: var(--offblack); }

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--black);
    padding: 2.5rem;
    transition: background 0.25s;
}

.service-card:hover { background: var(--surface); }

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
}

.service-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.75rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--surface2);
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-link:hover { gap: 10px; }

/* ── METODOLOGÍA ── */
#metodologia { background: var(--black); }

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 3.5rem;
}

.method-step {
    background: var(--offblack);
    padding: 2rem 1.75rem;
    position: relative;
    transition: background 0.25s ease;
}

.method-step:hover {
    background: var(--surface);
}

.method-step:hover .step-accent {
    background: var(--accent);
}

.method-step:hover .step-num {
    color: var(--accent);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 1rem;
    transition: color 0.25s ease;
}

.step-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--border-strong);
    transition: background 0.25s ease;
}

/* ── SECTORES ── */
#sectores { background: var(--offblack); }

.sectors-carousel {
    margin: 3rem -2rem 0;
    padding-bottom: 3px;
    overflow-x: clip;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 18%,
        #000 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 18%,
        #000 82%,
        transparent 100%
    );
}

.sectors-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.sectors-set {
    display: flex;
    gap: 10px;
    padding-right: 10px;
}

.sectors-track--left {
    animation: sectors-left 32s linear infinite;
}

.sectors-track--right {
    animation: sectors-right 32s linear infinite;
}

@keyframes sectors-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes sectors-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.sector-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    width: 230px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}

.sector-pill:hover {
    border-color: var(--accent-mid);
    color: var(--text);
}

/* ── FAQ ── */
#faq { background: var(--black); }

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3rem;
}

.faq-sidebar p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-q {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--text);
}

.faq-q::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 300;
    flex-shrink: 0;
}

.faq-a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.faq-ext {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.faq-ext a { color: var(--accent); text-decoration: none; }
.faq-ext a:hover { text-decoration: underline; }

/* ── CTA FINAL ── */
.cta-section {
    background: var(--offblack);
    text-align: center;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

#contacto {
    background: var(--offblack);
    text-align: center;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 229, 160, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--accent-mid);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 1.5rem;
}

.cta-note a { color: var(--text-muted); text-decoration: underline; }

/* ── FOOTER ── */
footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--text-muted);
}

.footer-logo span { color: var(--accent); }

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

/* ── HIGHLIGHT CARD ── */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--offblack);
    padding: 2rem 1.75rem;
    transition: background 0.2s;
}

.highlight-card:hover { background: var(--surface); }

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── HIGHLIGHT CARD — 3 col variant ── */
.highlight-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 3rem;
}

/* ── CHECKLIST ── */
.checklist {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.checklist li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── DELIVERABLES GRID ── */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.deliverable-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 1.5rem;
}

.deliverable-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.deliverable-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── BLOG GRID ── */
.blog-header {
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.blog-card {
    background: var(--offblack);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover { background: var(--surface); }

.blog-cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 0;
}

.blog-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── CONTACT FORM ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-detail-icon {
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-form {
    background: var(--offblack);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-label span { color: var(--accent); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    width: 100%;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-mid);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }

.form-select { cursor: pointer; }

.form-select option { background: var(--surface2); }

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.form-checkbox input { margin-top: 3px; accent-color: var(--accent); }

.form-checkbox label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-checkbox a { color: var(--accent); text-decoration: none; }

.form-submit {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

/* ── PROSE (legal pages) ── */
.prose {
    max-width: 760px;
}

.prose h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.prose h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.prose h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.35rem;
}

.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.prose strong { color: var(--text); }

.legal-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.legal-meta-item { font-size: 13px; color: var(--text-muted); }
.legal-meta-item strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ── METHODOLOGY PAGE ── */
.method-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.method-detail-card {
    background: var(--offblack);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.method-detail-card .step-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.method-detail-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }

.method-detail-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.method-detail-card .checklist { margin-top: 1rem; }
.method-detail-card .checklist li { font-size: 13px; }

/* ── STANDARDS ROW ── */
.standards-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.standard-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface2);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.standard-badge span { color: var(--accent); font-size: 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hero-inner         { grid-template-columns: 1fr; }
    .hero-visual        { display: none; }
    .services-grid      { grid-template-columns: 1fr; }
    .faq-layout         { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout     { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-grid          { grid-template-columns: 1fr; }
    nav                 { display: none; }
    .method-detail-grid { grid-template-columns: 1fr; }
    .method-grid        { grid-template-columns: repeat(2, 1fr); }
    .deliverables-grid  { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid     { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid-3   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .highlight-grid     { grid-template-columns: 1fr; }
    .highlight-grid-3   { grid-template-columns: 1fr; }
    .blog-grid          { grid-template-columns: 1fr; }
    .deliverables-grid  { grid-template-columns: 1fr; }
    .method-grid        { grid-template-columns: 1fr; }
}

/* ── CUSTOM CURSOR ── */
@media (pointer: fine) {
    * { cursor: none !important; }

    .cursor-dot,
    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        will-change: transform;
        transform: translate(calc(var(--cx, -300px) - 50%), calc(var(--cy, -300px) - 50%));
    }

    .cursor-dot {
        width: 5px;
        height: 5px;
        background: var(--accent);
        transition: opacity 0.15s ease, width 0.2s ease, height 0.2s ease;
        z-index: 9999;
    }

    .cursor-ring {
        width: 34px;
        height: 34px;
        border: 1.5px solid rgba(0, 229, 160, 0.45);
        background: transparent;
        transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.3s ease,
                    background 0.3s ease,
                    opacity 0.15s ease;
        z-index: 9998;
    }

    /* hover: dot desaparece, ring se expande con glow */
    .cursor-dot.is-hover {
        width: 0;
        height: 0;
        opacity: 0;
    }

    .cursor-ring.is-hover {
        width: 52px;
        height: 52px;
        border-color: rgba(0, 229, 160, 0.75);
        background: rgba(0, 229, 160, 0.07);
        box-shadow: 0 0 18px rgba(0, 229, 160, 0.18);
    }

    /* click: ring se contrae */
    .cursor-dot.is-click {
        opacity: 0.5;
    }

    .cursor-ring.is-click {
        width: 20px;
        height: 20px;
        border-color: var(--accent);
        background: rgba(0, 229, 160, 0.15);
    }
}
