/* ============================================
   SEDIMENT DATA — Brand Style System (Warm Cream)
   ============================================

   Brand Colors:
   - CREAM:       #F6F1E8 (main background)
   - CREAM_LT:    #E7DED0 (secondary background)
   - CREAM_DK:    #D6CCBC (deep background)
   - TERRA:       #B8572D (primary accent)
   - TERRA_LT:    #D36D42 (hover/highlight)
   - TERRA_DK:    #7A4B36 (deep accent)
   - GOLD:        #C9A24B (tertiary accent / CTA)
   - INK:         #1C1A18 (primary text)
   - INK_MUTED:   #645C54 (secondary text)

   Typography:
   - Headings: Sora (600/700)
   - Body: DM Sans (300-600)
   - Code/Tech: IBM Plex Mono (400)

   ============================================ */

:root {
    /* Primary Accents — terracota cálida sobre fondo crema */
    --terracotta: #B8572D;
    --terracotta-light: #D36D42;
    --terracotta-dark: #7A4B36;
    --clay: rgba(100, 92, 84, 0.30);
    --clay-light: rgba(100, 92, 84, 0.45);

    /* Text Scale (texto oscuro sobre crema) */
    --sand: #1C1A18;
    --sand-dark: #1C1A18;
    --sand-muted: #645C54;
    --earth-400: #837c73;
    --earth-500: #645C54;
    --earth-600: #4d463f;
    --earth-700: #3a342f;
    --earth-800: #F6F1E8;
    --earth-900: #E7DED0;

    /* Tech Accents — gold cálido */
    --cyan: #C9A24B;
    --mint: #C9A24B;

    /* Backgrounds — crema cálido */
    --bg-primary: #F6F1E8;
    --bg-secondary: #E7DED0;
    --bg-dark: #D6CCBC;

    /* RGB companion tuples for rgba(var(--*-rgb), alpha) usage */
    --terracotta-rgb: 184, 87, 45;
    --cyan-rgb: 201, 162, 75;
    --bg-primary-rgb: 246, 241, 232;
    --bg-secondary-rgb: 231, 222, 208;
    --bg-dark-rgb: 214, 204, 188;

    /* Functional */
    --success: #C9A24B;
    --border: rgba(100, 92, 84, 0.18);

    /* Spacing */
    --section-padding: 72px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Blog aliases */
    --color-sand: var(--sand);
    --color-sand-60: var(--sand-muted);
    --color-sand-40: var(--earth-400);
    --color-accent: var(--terracotta);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--sand-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.3s ease;
}

.nav--scrolled {
    background: rgba(var(--bg-dark-rgb), 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav__logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav__logo-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1;
}

.nav__logo-name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--sand);
    letter-spacing: 0.14em;
}

.nav__logo-sub {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 9px;
    color: var(--terracotta);
    letter-spacing: 0.28em;
    margin-left: 1px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--sand-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav__links a:hover {
    color: var(--sand);
}

a.nav__cta {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    background: var(--cyan);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.nav__cta:hover {
    background: var(--mint);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--cyan-rgb), 0.3);
}

.nav__mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sand);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 3px;
    margin-left: 12px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--sand-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--sand);
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn--active {
    color: var(--earth-800);
    background: var(--cyan);
    font-weight: 600;
}

.lang-btn--active:hover {
    background: var(--mint);
    color: var(--earth-800);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__mountains {
    position: absolute;
    bottom: -2%;
    left: 50%;
    transform: translateX(-50%);
    width: 115%;
    max-width: none;
    height: auto;
    opacity: 0.12;
    user-select: none;
    will-change: transform;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(var(--bg-dark-rgb),0.70) 0%, rgba(var(--bg-dark-rgb),0.25) 55%, rgba(var(--bg-dark-rgb),0.05) 100%),
        linear-gradient(to bottom, rgba(var(--bg-dark-rgb),0.35) 0%, transparent 25%, transparent 65%, rgba(var(--bg-dark-rgb),0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
}


/* Animaciones de entrada staggered */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__content--animate .hero__badge {
    animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.2s;
}
.hero__content--animate .hero__title {
    animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.4s;
}
.hero__content--animate .hero__subtitle {
    animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.65s;
}
.hero__content--animate .hero__actions {
    animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.85s;
}

.hero__content {
    max-width: 820px;
}

/* Services strip below hero */
.services-strip {
    background: var(--bg-secondary);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--terracotta);
    background: rgba(var(--terracotta-rgb), 0.1);
    border: 1px solid rgba(var(--terracotta-rgb), 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
}

.hero__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--sand);
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero__title .accent {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--sand);
    display: inline-block;
    max-width: 100%;
    margin-bottom: 32px;
    font-weight: 300;
    background: rgba(var(--bg-dark-rgb), 0.72);
    padding: 18px 24px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
}

.hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn--primary {
    background: var(--cyan);
    color: var(--earth-900);
    box-shadow: 0 4px 20px rgba(var(--cyan-rgb), 0.25);
}

.btn--primary:hover {
    background: var(--mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--cyan-rgb), 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--sand);
    border: 1.5px solid var(--clay);
}

.btn--secondary:hover {
    border-color: var(--terracotta);
    color: var(--terracotta-light);
    background: rgba(var(--terracotta-rgb), 0.08);
}

.btn--large {
    padding: 18px 40px;
    font-size: 15px;
}

/* Hero cards grid (right column) */
.hero__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}


.hero__cards .service-card {
    position: relative;
    z-index: 1;
}

.service-card--compact {
    padding: 24px;
    border-radius: 12px;
}

.service-card--compact .service-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.service-card--compact .service-card__number {
    font-size: 14px;
    color: var(--terracotta);
    margin-bottom: 0;
    line-height: 1;
}

.service-card--compact .service-card__title {
    font-size: 14px;
    margin-bottom: 0;
}

.service-card--compact .service-card__text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--sand-muted);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

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

.section--dark {
    background: var(--bg-dark);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section__label {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sand-muted);
    margin-bottom: 12px;
}

.section__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--sand);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__description {
    font-size: 16px;
    color: var(--sand-muted);
    line-height: 1.7;
}

/* ============================================
   SERVICES (cards)
   ============================================ */
.service-card {
    background: linear-gradient(135deg,
        rgba(139, 111, 71, 0.1) 0%,
        rgba(74, 87, 89, 0.1) 100%);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.service-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 32px rgba(var(--cyan-rgb), 0.1);
    transform: translateY(-4px);
}

.service-card__number {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--earth-600);
    line-height: 1;
    margin-bottom: 20px;
}

.service-card:hover .service-card__number {
    color: rgba(var(--cyan-rgb), 0.2);
}

.service-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sand-dark);
}

.service-card__tag {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--terracotta);
    background: rgba(var(--terracotta-rgb), 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 16px;
}

/* ============================================
   PROCESS
   ============================================ */
.process__flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.process__step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.process__step::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--earth-600);
}

.process__step:last-child::after {
    display: none;
}

.process__step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.process__step:nth-child(1) .process__step-badge {
    background: rgba(74, 87, 89, 0.25);
    color: #7A9A9E;
}

.process__step:nth-child(2) .process__step-badge {
    background: rgba(var(--terracotta-rgb), 0.15);
    color: var(--terracotta);
}

.process__step:nth-child(3) .process__step-badge {
    background: rgba(var(--cyan-rgb), 0.1);
    color: var(--cyan);
}

.process__step-name {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sand-muted);
    margin-bottom: 8px;
}

.process__step-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 12px;
}

.process__step-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sand-muted);
    max-width: 280px;
    margin: 0 auto;
}

.process__arrow {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--earth-400);
    font-size: 20px;
}

/* ============================================
   TARGET & TECH STACK
   ============================================ */
.target {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.target__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--sand);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.target__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sand-muted);
    margin-bottom: 32px;
}

.target__verticals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.vertical-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan);
    background: rgba(var(--cyan-rgb), 0.08);
    border: 1px solid rgba(var(--cyan-rgb), 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.target__checklist {
    list-style: none;
}

.target__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--sand-dark);
    margin-bottom: 16px;
    line-height: 1.5;
}

.target__checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: rgba(var(--cyan-rgb), 0.1);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23F5C31E'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

.target__stack {
    background: rgba(139, 111, 71, 0.08);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 20px;
    padding: 48px;
}

.target__stack-label {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-muted);
    margin-bottom: 8px;
}

.target__stack-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 8px;
}

.target__stack-subtitle {
    font-size: 14px;
    color: var(--sand-muted);
    margin-bottom: 32px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid var(--clay);
    border-radius: 100px;
    color: var(--terracotta);
    background: rgba(139, 111, 71, 0.1);
    transition: all 0.2s ease;
}

.tech-pill:hover {
    border-color: var(--terracotta);
    background: rgba(var(--terracotta-rgb), 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--terracotta-rgb), 0.2);
}

.tech-pill--highlight {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(var(--cyan-rgb), 0.06);
}

.tech-pill--highlight:hover {
    border-color: var(--cyan);
    background: rgba(var(--cyan-rgb), 0.12);
    box-shadow: 0 4px 12px rgba(var(--cyan-rgb), 0.2);
}

.tech-pill--with-desc {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 12px 20px;
}

.tech-pill__name {
    font-weight: 600;
    font-size: 13px;
}

.tech-pill__desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-sand-60);
    line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
/* Form */
.contact__form {
    background: rgba(96, 102, 117, 0.04);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form__group {
    margin-bottom: 16px;
}

.form__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--sand-dark);
    margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(96, 102, 117, 0.06);
    border: 1px solid rgba(96, 102, 117, 0.15);
    border-radius: 10px;
    color: var(--sand);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--sand-muted);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    border-color: var(--cyan);
    background: rgba(96, 102, 117, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), 0.1);
}

.form__select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239AA0AD'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form__select option {
    background: var(--earth-700);
    color: var(--sand);
}

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

.form__submit {
    width: 100%;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 16px 32px;
    background: var(--cyan);
    color: var(--earth-900);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.form__submit:hover {
    background: var(--mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--cyan-rgb), 0.25);
}

/* ============================================
   METRICS STRIP
   ============================================ */
.metrics-strip {
    background: var(--bg-dark);
    border-top: 2px solid var(--terracotta);
    border-bottom: 1px solid var(--border);
    padding: 52px 0;
}

.metrics-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.metrics-strip__item {
    text-align: center;
    padding: 20px 28px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.metrics-strip__item:last-child { border-right: none; }

.metrics-strip__value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1.05;
    margin-bottom: 10px;
    min-height: 3.2rem;           /* all headings start at same Y */
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrics-strip__heading {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 8px;
}

.metrics-strip__value--sm {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.metrics-strip__label {
    font-size: 0.82rem;
    color: var(--sand-muted);
    line-height: 1.45;
    max-width: 170px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .metrics-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .metrics-strip__item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 22px 16px;
    }
    .metrics-strip__item:nth-child(odd) { border-right: 1px solid var(--border); }
    .metrics-strip__item:last-child,
    .metrics-strip__item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ============================================
   AI-READY SECTION
   ============================================ */
.ai-ready {
    background: var(--bg-primary);
}

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

.ai-ready__card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.2s;
}
.ai-ready__card:hover { border-color: var(--terracotta); }

.ai-ready__card-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--terracotta);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}

.ai-ready__card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ai-ready__card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.ai-ready__card--highlight {
    border-color: var(--terracotta);
    background: linear-gradient(135deg, var(--bg-secondary), rgba(var(--terracotta-rgb),0.06));
}
.ai-ready__card--highlight .ai-ready__card-num { opacity: 0.55; }

@media (max-width: 768px) {
    /* ── AI-Ready: timeline vertical en móvil ── */
    .ai-ready__cards {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        margin-top: 32px;
    }

    /* Línea vertical que conecta los círculos */
    .ai-ready__cards::before {
        content: '';
        position: absolute;
        left: 17px;           /* centro del círculo de 36px */
        top: 38px;            /* empieza bajo el primer círculo */
        bottom: 38px;         /* termina sobre el último */
        width: 1px;
        background: linear-gradient(
            to bottom,
            rgba(var(--terracotta-rgb), 0.15),
            rgba(var(--terracotta-rgb), 0.45) 50%,
            rgba(var(--terracotta-rgb), 0.15)
        );
    }

    /* Cada tarjeta = fila horizontal */
    .ai-ready__card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 28px 0;
    }
    .ai-ready__card:last-child { padding-bottom: 0; }
    .ai-ready__card--highlight { background: transparent; }

    /* Número → círculo pequeño anclado a la línea */
    .ai-ready__card-num {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--bg-secondary);
        border: 1.5px solid rgba(var(--terracotta-rgb), 0.35);
        font-size: 0.72rem;
        font-weight: 700;
        opacity: 1;           /* override el 0.25 decorativo del desktop */
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--terracotta);
        margin-top: 2px;
        position: relative;
        z-index: 1;           /* queda sobre la línea */
    }

    /* Círculo relleno para el paso central (destacado) */
    .ai-ready__card--highlight .ai-ready__card-num {
        background: var(--terracotta);
        border-color: var(--terracotta);
        color: #fff;
    }

    /* Título del paso central en cyan para distinguirlo */
    .ai-ready__card--highlight .ai-ready__card-title {
        color: var(--cyan);
    }

    .ai-ready__card-text { font-size: 0.88rem; }
}

/* ============================================
   HOW WE WORK
   ============================================ */
.how-we-work__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

.how-we-work__step {
    text-align: center;
    padding: 0 16px;
}

.how-we-work__num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--terracotta);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.how-we-work__step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.how-we-work__step-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Connector arrows between steps */
.how-we-work__steps::before,
.how-we-work__steps::after {
    content: '→';
    position: absolute;
    top: 24px;
    font-size: 1.4rem;
    color: var(--terracotta);
    opacity: 0.4;
}
.how-we-work__steps::before { left: calc(33.33% - 14px); }
.how-we-work__steps::after  { left: calc(66.66% - 14px); }

@media (max-width: 768px) {
    /* ── Cómo lo hacemos: stepper con tabs en móvil ── */
    .how-we-work__steps {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 200px;   /* evita saltos de layout al cambiar steps */
    }
    .how-we-work__steps::before,
    .how-we-work__steps::after { display: none; }

    /* Todos los pasos ocultos; solo el activo se muestra */
    .how-we-work__step {
        display: none;
        text-align: left;
        padding: 24px 0 8px;
        animation: stepFadeIn 0.25s ease both;
    }
    .how-we-work__step.is-active { display: block; }

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

    /* Número: más compacto en el panel */
    .how-we-work__num {
        font-size: 2.8rem;
        margin-bottom: 8px;
    }

    /* Tabs generados por JS */
    .how-we-work__tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 4px;
    }
    .how-we-work__tab {
        flex: 1;
        padding: 10px 4px;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        background: transparent;
        color: var(--text-muted);
        font-family: var(--font-heading);
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
        letter-spacing: 0.05em;
    }
    .how-we-work__tab.is-active {
        background: var(--terracotta);
        border-color: var(--terracotta);
        color: #fff;
    }
}

/* ============================================
   TECH MARQUEE
   ============================================ */
.tech-marquee {
    margin-top: 64px;
    overflow: hidden;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.tech-marquee__label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0.6;
}

.tech-marquee__track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee__inner {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

.tech-marquee__inner:hover { animation-play-state: paused; }

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 32px;
    border-right: 1px solid var(--border);
}

.tech-item img {
    width: 30px;
    height: 30px;
    opacity: 0.45;
    transition: opacity 0.25s;
    display: block;
}
.tech-item:hover img { opacity: 0.85; }

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--earth-900);
    color: var(--sand-muted);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(96, 102, 117, 0.08);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(96, 102, 117, 0.08);
    margin-bottom: 32px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1;
}

.footer__tagline {
    font-size: 14px;
    color: var(--sand-muted);
    max-width: 320px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 48px;
}

.footer__links-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: 16px;
}

.footer__links-col a {
    display: block;
    font-size: 14px;
    color: var(--sand-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer__links-col a:hover {
    color: var(--sand);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--earth-400);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    color: var(--sand-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__social a:hover {
    color: var(--cyan);
}

/* ============================================
   METRICS STRIP
   ============================================ */
.metrics {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.metrics__item {
    text-align: center;
    padding: 8px 16px;
}

.metrics__value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 8px;
}

.metrics__label {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.metrics__detail {
    font-size: 13px;
    color: var(--sand-muted);
    line-height: 1.4;
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--sand);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sand-muted);
    margin-bottom: 16px;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__text--highlight {
    color: var(--sand-dark);
    font-size: 14px;
    border-left: 2px solid var(--cyan);
    padding-left: 12px;
    opacity: 0.75;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.about__value {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about__value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(var(--cyan-rgb), 0.08);
    border: 1px solid rgba(var(--cyan-rgb), 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.about__value-icon svg {
    width: 22px;
    height: 22px;
}

.about__value-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--sand);
    margin-bottom: 4px;
}

.about__value-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sand-muted);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 56px;
}

.compare__col {
    background: rgba(96, 102, 117, 0.03);
    border: 1px solid rgba(96, 102, 117, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.compare__col--highlight {
    border-color: rgba(var(--cyan-rgb), 0.25);
    background: rgba(var(--cyan-rgb), 0.03);
    box-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.06);
}

.compare__header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(96, 102, 117, 0.08);
}

.compare__header--highlight {
    background: rgba(var(--cyan-rgb), 0.06);
    border-bottom-color: rgba(var(--cyan-rgb), 0.15);
}

.compare__title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 2px;
}

.compare__header--highlight .compare__title {
    color: var(--cyan);
}

.compare__subtitle {
    font-size: 13px;
    color: var(--sand-muted);
}

.compare__list {
    list-style: none;
    padding: 20px 24px;
}

.compare__item {
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--sand-dark);
    border-bottom: 1px solid rgba(96, 102, 117, 0.05);
}

.compare__item:last-child {
    border-bottom: none;
}

.compare__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-size: contain;
}

.compare__item--good::before {
    background: rgba(var(--cyan-rgb), 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F5C31E'%3E%3Cpath d='M13.354 4.354a.5.5 0 010 .707l-6 6a.5.5 0 01-.708 0l-3-3a.5.5 0 11.708-.707L7 10.086l5.646-5.647a.5.5 0 01.708 0z'/%3E%3C/svg%3E");
}

.compare__item--good {
    color: var(--sand);
}

.compare__item--bad::before {
    background: rgba(var(--terracotta-rgb), 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23CD5A23'%3E%3Cpath d='M4.646 4.646a.5.5 0 01.708 0L8 7.293l2.646-2.647a.5.5 0 01.708.708L8.707 8l2.647 2.646a.5.5 0 01-.708.708L8 8.707l-2.646 2.647a.5.5 0 01-.708-.708L7.293 8 4.646 5.354a.5.5 0 010-.708z'/%3E%3C/svg%3E");
}

.compare__item--neutral::before {
    background: rgba(168, 155, 130, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239AA0AD'%3E%3Cpath d='M4 8a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 014 8z'/%3E%3C/svg%3E");
}

/* ============================================
   WORKFORMAT CHIPS (reemplaza las 4 tarjetas)
   ============================================ */
.workformat-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 8px;
    margin-top: 40px;
    padding: 20px 28px;
    border: 1px solid rgba(var(--terracotta-rgb), 0.2);
    border-radius: 16px;
    background: rgba(var(--terracotta-rgb), 0.04);
}

.workformat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.workformat-chip svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.workformat-chip__sep {
    color: rgba(96, 102, 117, 0.35);
    font-size: 1rem;
    line-height: 1;
    user-select: none;
}

/* En móvil los separadores desaparecen y los chips se apilan en 2 columnas */
@media (max-width: 580px) {
    .workformat-chips {
        justify-content: flex-start;
        gap: 10px 16px;
        padding: 16px 20px;
    }
    .workformat-chip__sep { display: none; }
    .workformat-chip { font-size: 0.82rem; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 0;
}

.cta-banner__inner {
    background: linear-gradient(135deg, rgba(var(--cyan-rgb), 0.08) 0%, rgba(var(--terracotta-rgb), 0.08) 100%);
    border: 1px solid rgba(var(--cyan-rgb), 0.15);
    border-radius: 20px;
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-banner__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-banner__text {
    font-size: 15px;
    color: var(--sand-muted);
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease-out);
}

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

.reveal-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.reveal-children--visible > *:nth-child(1) { transition-delay: 0s;   opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(7) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-children--visible > *:nth-child(8) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 56px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .target {
        grid-template-columns: 1fr;
        gap: 48px;
    }


    .process__flow {
        flex-direction: column;
    }

    .process__step::after {
        right: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 1px;
    }

    .process__arrow {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 48px 40px;
    }

    .metrics__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .compare {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .workformat-REMOVED {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
    }

    .nav__links {
        display: none;
    }

    .nav__mobile-toggle {
        display: block;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }

    .nav__links--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(var(--bg-dark-rgb), 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 100px 0 48px;
    }

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

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mountains: fill the full hero background on mobile.
       object-fit: cover scales the SVG to cover the container without distortion. */
    .hero__mountains {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        left: 0;
        bottom: 0;
        transform: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Badge: hide on mobile — 3 lines takes too much hero space */
    .hero__badge {
        display: none;
    }

    /* Subtitle: slightly tighter on mobile */
    .hero__subtitle {
        font-size: 16px;
    }

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

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .footer__links {
        flex-direction: column;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .service-card--compact {
        padding: 20px;
    }

    .metrics__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .metrics__detail {
        display: none;
    }

    .cta-banner__inner {
        padding: 40px 24px;
    }

    /* ── Compare: carrusel centrado en móvil ──
       Freelancer ← [Sediment] → Enterprise
       Sediment ya está en el medio del DOM; snap center lo mantiene ahí. */
    .compare {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        /* 7.5% padding = (100% - 85% card) / 2 → primer y último card pueden centrarse */
        padding-left: 7.5%;
        padding-right: 7.5%;
        padding-bottom: 16px;
        margin-bottom: 8px;
    }
    .compare::-webkit-scrollbar { display: none; }

    .compare__col {
        flex: 0 0 85%;
        scroll-snap-align: center;   /* centrado, no al inicio */
        min-width: 0;
    }

    /* Sediment queda en su posición natural del DOM (centro) */
    .compare__col--highlight {
        order: 0;
    }

    /* Dots del compare — misma lógica que problems */
    .compare__dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 32px;
    }
    .compare__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .compare__dot--active {
        background: var(--terracotta);
        transform: scale(1.3);
    }

    .workformat-REMOVED {
        grid-template-columns: 1fr;
    }

    /* Contact form: reduce padding on mobile */
    .contact__form {
        padding: 24px;
    }

    /* CTA banner: button full-width from 768px (not only 480px) */
    .cta-banner .btn {
        width: 100%;
        text-align: center;
    }

}

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.problems {
    padding: var(--section-padding) 0 40px;
    background: var(--bg-secondary);
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.problem-card {
    background: rgba(var(--bg-dark-rgb), 0.7);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.problem-card:hover {
    border-color: rgba(var(--terracotta-rgb), 0.35);
    transform: translateY(-2px);
}

.problem-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--terracotta);
    opacity: 0.85;
    flex-shrink: 0;
}

.problem-card__icon svg {
    width: 100%;
    height: 100%;
}

.problem-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sand);
    line-height: 1.3;
}

.problem-card__solution {
    font-size: 0.88rem;
    color: var(--sand-muted);
    line-height: 1.6;
    flex: 1;
}

.problem-card__solution strong {
    color: var(--sand-dark);
    font-weight: 500;
}

.problem-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.problem-card__tag {
    font-size: 0.7rem;
    color: var(--sand-muted);
    background: rgba(96, 102, 117, 0.06);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 2rem;
    padding: 0.15rem 0.5rem;
}

.problems__cta {
    margin-top: 2.5rem;
    text-align: center;
}

.problems__cta a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
}

.problems__cta a:hover {
    text-decoration: underline;
}

.inline-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.inline-link:hover {
    text-decoration: underline;
}

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

@media (max-width: 580px) {
    /* ── Carrusel horizontal con scroll snap ── */
    .problems__grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;          /* Firefox */
        gap: 14px;
        padding-bottom: 16px;
        /* Negative margin bleeds to screen edges; padding restores first-card indent */
        margin-left: calc(-1 * var(--container-padding, 20px));
        margin-right: calc(-1 * var(--container-padding, 20px));
        padding-left: var(--container-padding, 20px);
        padding-right: var(--container-padding, 20px);
    }
    .problems__grid::-webkit-scrollbar { display: none; }

    .problem-card {
        flex: 0 0 82%;       /* 82% wide → 18% of next card always peeks */
        scroll-snap-align: start;
        min-width: 0;
    }

    /* Spacer so last card can scroll fully into view */
    .problems__grid::after {
        content: '';
        flex: 0 0 1px;
    }

    /* Navigation dots */
    .problems__dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }
    .problems__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .problems__dot--active {
        background: var(--terracotta);
        transform: scale(1.3);
    }
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.package-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(212, 118, 75, 0.06);
    border: 1px solid rgba(212, 118, 75, 0.25);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2.5rem;
    position: relative;
}

.package-banner__left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-banner__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.package-banner__list li {
    font-size: 0.9rem;
    color: var(--sand-muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.package-banner__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-size: 0.8rem;
}

@media (max-width: 700px) {
    .package-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.packages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    align-items: start;
}

.package-card {
    background: rgba(var(--bg-dark-rgb), 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s;
}

.package-card--highlight {
    background: rgba(var(--terracotta-rgb), 0.07);
    border-color: rgba(var(--terracotta-rgb), 0.4);
    position: relative;
}

.package-card__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracotta);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.9rem;
    border-radius: 2rem;
    white-space: nowrap;
}

.package-card__name {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sand);
}

.package-card__tagline {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    opacity: 0.85;
}

.package-card__desc {
    font-size: 0.9rem;
    color: var(--sand-muted);
    line-height: 1.6;
}

.package-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.package-card__list li {
    font-size: 0.88rem;
    color: var(--sand-dark);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.package-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.8rem;
}

.package-card__delivery {
    font-size: 0.8rem;
    color: var(--sand-muted);
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

.package-card__delivery strong {
    color: var(--sand-dark);
}

.package-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.package-card__price-note {
    font-size: 0.78rem;
    color: var(--sand-muted);
    font-style: italic;
}

.package-card .btn {
    margin-top: 0.5rem;
    text-align: center;
}

.packages__note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--sand-muted);
}

.packages__tracks-label {
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.package-card--entry {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.1fr auto;
    gap: 2.5rem;
    align-items: start;
}

.package-card--entry .package-card__list {
    flex: unset;
}

.package-card__cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 210px;
}

@media (max-width: 860px) {
    .package-card--entry {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.packages__note a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 900px) {
    .packages__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   SMART BLUEPRINT BANNER
   ============================================ */
.smart-blueprint-banner {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.smart-blueprint-banner__inner {
    background: linear-gradient(135deg, rgba(var(--terracotta-rgb), 0.12), rgba(var(--bg-dark-rgb), 0.5));
    border: 1px solid rgba(var(--terracotta-rgb), 0.3);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.smart-blueprint-banner__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.smart-blueprint-banner__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--sand);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.smart-blueprint-banner__subtitle {
    font-size: 1rem;
    color: var(--sand-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.smart-blueprint-banner__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 2rem;
}

.smart-blueprint-banner__list li {
    font-size: 0.88rem;
    color: var(--sand-dark);
    padding-left: 1.1rem;
    position: relative;
}

.smart-blueprint-banner__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-size: 0.8rem;
}

.smart-blueprint-banner__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    min-width: 200px;
}

.smart-blueprint-banner__price {
    font-size: 0.8rem;
    color: var(--sand-muted);
}

@media (max-width: 768px) {
    .smart-blueprint-banner__inner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .smart-blueprint-banner__cta {
        align-items: flex-start;
    }
    .smart-blueprint-banner__list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AI READY SECTION
   ============================================ */
.ai-ready {
    padding: var(--section-padding) 0;
}

.ai-ready__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.ai-ready__stat {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ai-ready__stat-text {
    font-size: 1rem;
    color: var(--sand-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.ai-ready__blocks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ai-ready__block {
    background: rgba(var(--bg-dark-rgb), 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.ai-ready__block-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.ai-ready__block-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 0.4rem;
}

.ai-ready__body {
    color: var(--sand-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.ai-ready__body--last {
    margin-bottom: 2rem;
}

.ai-ready__emphasis {
    color: var(--sand-dark);
}

.ai-ready__block-text {
    font-size: 0.88rem;
    color: var(--sand-muted);
    line-height: 1.6;
}

.ai-ready__checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.ai-ready__checklist li {
    font-size: 0.88rem;
    color: var(--sand-dark);
    padding-left: 1.25rem;
    position: relative;
}

.ai-ready__checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .ai-ready__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq__list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.faq__question:hover {
    background: rgba(96, 102, 117, 0.04);
}

.faq__question.is-open {
    background: rgba(var(--terracotta-rgb), 0.06);
}

.faq__question-text {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sand);
    line-height: 1.4;
}

.faq__question-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--terracotta);
    transition: transform 0.25s var(--ease-out);
}

.faq__question.is-open .faq__question-icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer.is-open {
    max-height: 400px;
}

.faq__answer-inner {
    padding: 0 1.75rem 1.4rem;
    font-size: 0.93rem;
    color: var(--sand-muted);
    line-height: 1.75;
}

/* ============================================
   BRIEF MEJORAS — Abril 2026
   ============================================ */

/* Unificar color de labels de sección */
.target__stack-label {
    color: var(--terracotta) !important;
}

/* Hero cards: igualar alturas */
.hero__cards {
    align-items: stretch;
}
.hero__cards .service-card--compact {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Métricas: contraste visual como banda separada */
.metrics {
    background: var(--bg-dark);
    border-top: 2px solid var(--terracotta);
    border-bottom: 1px solid var(--border);
}

/* Botón "Cómo funciona →" en hero: borde naranja para contraste */
.hero__actions .btn--secondary {
    border-color: var(--terracotta);
    color: var(--sand);
}
.hero__actions .btn--secondary:hover {
    border-color: var(--terracotta-light);
    color: var(--terracotta-light);
    background: rgba(var(--terracotta-rgb), 0.08);
}

/* "Leer más →": más peso visual */
.blog-card__link {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(var(--terracotta-rgb), 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.blog-card:hover .blog-card__link {
    text-decoration-color: rgba(var(--terracotta-rgb), 0.7);
}

/* Footer: LinkedIn icon alineado */
.footer__social-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.footer__social-icon svg {
    flex-shrink: 0;
}

/* Formulario: nota de privacidad */
.form__privacy {
    font-size: 0.78rem;
    color: var(--earth-400);
    margin-top: 0.75rem;
    line-height: 1.5;
}
.form__privacy a {
    color: var(--terracotta);
    text-decoration: underline;
    text-decoration-color: rgba(var(--terracotta-rgb), 0.4);
    text-underline-offset: 2px;
}
.form__privacy a:hover {
    color: var(--terracotta-light);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--earth-700);
    border-top: 1px solid rgba(96, 102, 117, 0.12);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.cookie-banner.is-visible {
    transform: translateY(0);
}
.cookie-banner__text {
    font-size: 13px;
    color: var(--sand-muted);
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}
.cookie-banner__text a {
    color: var(--terracotta);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cookie-btn--accept {
    background: var(--cyan);
    color: var(--earth-900);
}
.cookie-btn--accept:hover {
    background: var(--mint);
}
.cookie-btn--reject {
    background: transparent;
    color: var(--sand-muted);
    border: 1px solid var(--earth-500);
}
.cookie-btn--reject:hover {
    color: var(--sand);
    border-color: var(--earth-400);
}

/* Blog TOC sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.blog-toc {
    position: sticky;
    top: 100px;
    padding: 1.5rem;
    background: rgba(96, 102, 117, 0.04);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 12px;
}

.blog-toc__title {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.blog-toc__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-toc__list a {
    font-size: 0.85rem;
    color: var(--sand-muted);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.2s;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
}

.blog-toc__list a:hover,
.blog-toc__list a.is-active {
    color: var(--sand);
    border-left-color: var(--terracotta);
}

.blog-toc__cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(96, 102, 117, 0.1);
}

.blog-toc__cta p {
    font-size: 0.82rem;
    color: var(--sand-muted);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Blog byline */
.blog-post__byline {
    font-size: 0.82rem;
    color: var(--earth-400);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-post__byline-author {
    color: var(--sand-muted);
    font-weight: 500;
}

.blog-post__byline-sep {
    opacity: 0.4;
}

.blog-post__readtime {
    color: var(--earth-400);
}

/* Blog author box at end of post */
.blog-post__author-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(96, 102, 117, 0.04);
    border: 1px solid rgba(96, 102, 117, 0.1);
    border-radius: 12px;
}

.blog-post__author-box h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.blog-post__author-box p {
    font-size: 0.85rem;
    color: var(--sand-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive: hide TOC on mobile, show at bottom */
@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-toc {
        position: static;
        order: 2;
    }
}

/* Process step badge: números más pequeños */
.process__step-badge {
    font-size: 18px;
    letter-spacing: -0.02em;
}

/* ==========================================================
   USE CASES SECTION
   ========================================================== */

.use-cases__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(96, 102, 117, 0.12);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.use-case-card__type {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.use-case-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-sand);
    margin: 0;
    line-height: 1.3;
}

.use-case-card__section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.use-case-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-sand-60);
}

.use-case-card__section p {
    font-size: 0.92rem;
    color: var(--color-sand-60);
    line-height: 1.6;
    margin: 0;
}

.use-case-card__disclaimer {
    font-size: 0.78rem;
    color: var(--color-sand-40);
    margin: auto 0 0 0;  /* pushes disclaimer to bottom of flex card */
    padding-top: 0.75rem;
    border-top: 1px solid rgba(96, 102, 117, 0.1);
    font-style: italic;
}

@media (max-width: 768px) {
    .use-cases__grid {
        grid-template-columns: 1fr;
    }
}

/* Cases grid — 2-column layout for the restored use cases section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Skip-to-content link (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    background: var(--terracotta);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s;
}
.skip-link:focus {
    top: 0;
}

/* ==========================================================
   BLOG NEWSLETTER FORM
   ========================================================== */

.blog-newsletter {
    background: var(--bg-secondary);
    border: 1px solid rgba(96, 102, 117, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.blog-newsletter__question {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-accent);
    margin: 0 0 0.5rem;
}

.blog-newsletter__title {
    font-size: 1.1rem;
    color: var(--color-sand);
    margin: 0 0 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-newsletter__row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-newsletter__input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid rgba(96, 102, 117, 0.25);
    border-radius: 8px;
    color: var(--color-sand);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.blog-newsletter__input:focus {
    border-color: var(--color-accent);
}

.blog-newsletter__input::placeholder {
    color: var(--color-sand-40);
}

.blog-newsletter__btn {
    white-space: nowrap;
}

.blog-newsletter__disclaimer {
    font-size: 0.78rem;
    color: var(--color-sand-40);
    margin: 0.75rem 0 0;
}

.blog-newsletter__success {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
}

/* ============================================
   MOBILE — refinamiento general (< 480px)
   ============================================ */

/* Imágenes y SVGs en contenido markdown */
.blog-post__content img,
.blog-post__content svg {
    max-width: 100%;
    height: auto;
}

/* Tablas en posts: scroll horizontal en vez de overflow */
.blog-post__content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.blog-post__content th,
.blog-post__content td {
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(96, 102, 117, 0.2);
    text-align: left;
    color: var(--color-sand-60);
    white-space: nowrap;
}

.blog-post__content th {
    background: rgba(96, 102, 117, 0.12);
    color: var(--color-sand);
    font-weight: 600;
}

/* Código en posts: scroll horizontal */
.blog-post__content pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    /* Contenedor */
    .container {
        padding: 0 16px;
    }

    /* Nav: lang-switcher más compacto, logo sin texto en muy chico */
    .lang-switcher {
        margin-left: auto;
        margin-right: 8px;
    }
    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    .nav__logo-text {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 88px 0 36px;
    }
    /* Mountains: extra override not needed, 768px rule handles it */
    .hero__title {
        font-size: clamp(26px, 7vw, 36px);
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .hero__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 13px 20px;
    }
    .hero__cards {
        grid-template-columns: 1fr;
    }

    /* Métricas: 1 columna en pantalla muy chica */
    .metrics__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Packages */
    .packages__grid {
        max-width: 100%;
    }
    .package-card {
        padding: 1.5rem;
    }
    .package-card--entry {
        padding: 1.5rem;
    }

    /* Audit banner */
    .smart-blueprint-banner__inner {
        padding: 1.5rem;
        border-radius: 14px;
    }
    .smart-blueprint-banner__list {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process__step {
        padding: 1.5rem;
    }

    /* Blog post */
    .blog-post {
        padding: 5rem 0 2rem;
    }
    .blog-post__title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .blog-post__description {
        font-size: 1rem;
    }

    /* TOC en mobile: ocultar (confunde al final del artículo) */
    .blog-toc {
        display: none;
    }

    /* Blog newsletter */
    .blog-newsletter__form {
        flex-direction: column;
    }
    .blog-newsletter__input {
        min-width: 0;
        width: 100%;
    }

    /* CTA banner */
    .cta-banner__inner {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }

    /* Secciones: menos padding */
    :root {
        --section-padding: 40px;
    }

    /* Botones: ancho completo en secciones CTA */
    .smart-blueprint-banner__cta .btn,
    .cta-banner .btn {
        width: 100%;
        text-align: center;
    }

    /* About: slightly tighter value-icons on very small screens */
    .about__value-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .about__value {
        gap: 14px;
    }

    /* FAQ: tighter question/answer padding on very small screens */
    .faq__question {
        padding: 1.1rem 1rem;
    }
    .faq__answer-inner {
        padding: 0 1rem 1.1rem;
    }
}
