/* ===================================
   ALMA PROJECTS EMPRESAS - STYLES
   Design: Premium Corporate Elegance
   Tipografía: Cormorant Garamond + Montserrat + Lato
   =================================== */

:root {
    /* Brand Colors — inmutables */
    --gold: #C9A77C;
    --gold-light: #d4b890;
    --gold-dark: #b89968;
    --green: #7C9A92;
    --green-light: #8faaa3;
    --green-dark: #6a8a80;
    --blue-gray: #7C8FA0;
    --copper: #8B6B4A;
    --copper-light: #A8845F;
    --copper-dark: #6E5238;
    --blue-gray-light: #9aaebb;
    --blue-gray-dark: #5a6e80;
    --dark: #1a1a2e;
    --dark-lighter: #2c3e50;
    --gray: #6b7280;
    --gray-light: #e8e4df;
    --white: #ffffff;
    --cream: #F5F1ED;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.10);
    --shadow-gold: 0 12px 40px rgba(201, 167, 124, 0.25);
}

/* =================================== BASE HEADINGS =================================== */

/* =================================== BASE =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.85;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: 0.01em;
}

/* === TIPOGRAFÍA GLOBAL DE PÁRRAFO — estándar unificado === */
p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray);
}

/* Párrafos en fondos oscuros */
.dark-bg p,
.proyecto-cta-section p,
footer p {
    color: rgba(255, 255, 255, 0.82);
}

/* Párrafos de introducción / destacados */
.why-description,
.article-intro p,
.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.9;
}

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

/* =================================== NAVIGATION =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.07);
    border-bottom-color: rgba(26, 26, 46, 0.15);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo — marca con separador vertical */
.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-medallon {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

/* Separador vertical entre "ALMA PROJECTS" y "Empresas" */
.logo-text::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    background: rgba(26, 26, 46, 0.3);
    margin: 0 14px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--dark), var(--green));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--dark);
}

/* CTA nav button */
.nav-link-cta {
    padding: 11px 28px;
    background: transparent;
    color: var(--dark) !important;
    border: 1px solid var(--dark);
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* =================================== HERO SECTION =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 60px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 1;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

/* Overlay dramático: imagen visible con peso visual oscuro */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(
            160deg,
            rgba(26, 26, 46, 0.62) 0%,
            rgba(26, 26, 46, 0.45) 45%,
            rgba(26, 26, 46, 0.58) 100%
        );
}

/* Acento dorado sutil en esquina inferior */
.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dark), var(--green), transparent);
    opacity: 0.7;
}

.hero-content {
    max-width: 860px;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Badge refinado: borde fino, letras blancas sobre fondo semi-transparente */
.hero-badge {
    display: inline-block;
    padding: 9px 26px;
    background: rgba(201, 167, 124, 0.12);
    border: 1px solid rgba(201, 167, 124, 0.6);
    border-radius: 2px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 44px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.5vw, 5.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 1s ease-out both;
}

.hero-title-line:nth-child(1) { animation-delay: 0.4s; }
.hero-title-line:nth-child(2) { animation-delay: 0.6s; }
.hero-title-line:nth-child(3) { animation-delay: 0.8s; }

/* La línea destacada en gold con cursiva elegante */
.hero-title-highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 auto 52px;
    line-height: 1.85;
    letter-spacing: 0.02em;
    animation: fadeIn 1s ease-out 1s both;
}

.hero-subtitle strong {
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 72px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* =================================== BOTONES =================================== */

.btn {
    display: inline-block;
    padding: 16px 38px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(201, 167, 124, 0.35);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Versión outline refinada para el hero (texto blanco) */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

/* Variante outline para fondos claros */
.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 154, 146, 0.25);
}

.btn-large {
    padding: 20px 52px;
    font-size: 0.88rem;
}

/* =================================== HERO STATS =================================== */

/* Stats con separadores verticales elegantes */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    animation: fadeIn 1s ease-out 1.4s both;
}

.stat {
    text-align: center;
    padding: 0 52px;
    position: relative;
}

/* Separador vertical entre stats */
.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(201, 167, 124, 0.5), transparent);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

.scroll-arrow {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, rgba(201, 167, 124, 0.5) 0%, transparent 100%);
}

/* =================================== HERO SEGMENT TABS =================================== */

.hero-segment-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 52px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.segment-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 260px;
    padding: 16px 24px;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Inactivo: transparente con borde blanco fino */
.segment-tab[data-tab="empresas"]:not(.active),
.segment-tab[data-tab="negocios"]:not(.active),
.segment-tab[data-tab="clinicas"]:not(.active) {
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.segment-tab[data-tab="empresas"]:not(.active):hover {
    background: rgba(201, 167, 124, 0.2);
    color: var(--white);
    border-color: rgba(201, 167, 124, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 167, 124, 0.25);
}

.segment-tab[data-tab="negocios"]:not(.active):hover {
    background: rgba(124, 143, 160, 0.2);
    color: var(--white);
    border-color: rgba(124, 143, 160, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 143, 160, 0.25);
}

.segment-tab[data-tab="clinicas"]:not(.active):hover {
    background: rgba(124, 154, 146, 0.2);
    color: var(--white);
    border-color: rgba(124, 154, 146, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 154, 146, 0.25);
}

/* Activo: color sólido corporativo */
.segment-tab.active[data-tab="empresas"] {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(201, 167, 124, 0.5);
}

.segment-tab.active[data-tab="negocios"] {
    background: var(--blue-gray);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(124, 143, 160, 0.5);
}

.segment-tab.active[data-tab="clinicas"] {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(124, 154, 146, 0.5);
}

/* Hover en estado activo — mismo efecto de elevación para los tres */
.segment-tab.active[data-tab="empresas"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201, 167, 124, 0.6);
}

.segment-tab.active[data-tab="negocios"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(124, 143, 160, 0.6);
}

.segment-tab.active[data-tab="clinicas"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(124, 154, 146, 0.6);
}

.segment-tab svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* =================================== TAB CONTENT =================================== */

.target-tab-content {
    display: none;
    animation: fadeInUp 0.45s ease-out both;
}

.target-tab-content.active {
    display: block;
}

.target-card-single {
    max-width: 780px;
    margin: 0 auto;
}

.target-card-inner {
    background: var(--cream);
    border-radius: 4px;
    padding: 56px 60px;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201, 167, 124, 0.12);
    transition: var(--transition);
}

.target-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    border-radius: 4px 4px 0 0;
}

.target-card-header {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(201, 167, 124, 0.15);
}

.target-card-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* =================================== SECTION HEADERS =================================== */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Divisor decorativo dorado entre tag y título */
.section-header .section-tag::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--dark) 0%, var(--green) 100%);
    margin: 16px auto 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 16px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.85;
    font-weight: 300;
}

.section-subtitle strong {
    color: var(--dark);
    font-weight: 700;
}

/* =================================== CLIENTS STRIP =================================== */

.clients-strip {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid rgba(201, 167, 124, 0.15);
    border-bottom: 1px solid rgba(201, 167, 124, 0.15);
}

.clients-strip .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.clients-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(201, 167, 124, 0.6);
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 50px;
    border-right: 1px solid rgba(201, 167, 124, 0.2);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    flex: 1;
}

.client-badge {
    display: flex;
    flex-direction: column;
    padding: 0 35px;
    transition: var(--transition);
}

.client-badge:hover .client-name {
    color: var(--gold);
}

.client-sector {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 4px;
}

.client-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.client-result {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(201, 167, 124, 0.45);
    margin-top: 3px;
}

.clients-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(201, 167, 124, 0.25), transparent);
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .clients-strip .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .clients-label {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(201, 167, 124, 0.2);
        padding-bottom: 20px;
        width: 100%;
    }

    .client-badge {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .clients-track {
        gap: 10px 0;
    }

    .client-badge {
        padding: 8px 16px;
    }

    .clients-divider {
        display: none;
    }
}

/* =================================== TARGET SECTION =================================== */

.target-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.target-card {
    background: var(--cream);
    padding: 56px 52px;
    border-radius: 4px;
    border: 1px solid rgba(201, 167, 124, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Barra superior — visible siempre en gold, animada en hover */
.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
    transform: scaleX(0.3);
    transform-origin: left;
    opacity: 0.4;
    transition: var(--transition);
}

/* Glow sutil en hover — color según segmento */
.target-card:hover {
    transform: translateY(-8px);
}

.target-card[data-segment="empresas"]:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 167, 124, 0.2);
    border-color: rgba(201, 167, 124, 0.35);
}

.target-card[data-segment="negocios"]:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124, 143, 160, 0.2);
    border-color: rgba(124, 143, 160, 0.35);
}

.target-card[data-segment="clinicas"]:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124, 154, 146, 0.2);
    border-color: rgba(124, 154, 146, 0.35);
}

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

.target-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    color: var(--gold);
}

/* === COLORES POR SEGMENTO: icono, barra superior, tags, enlace === */

/* Fondo tintado por segmento */
.target-card-single[data-segment="empresas"] .target-card-inner {
    background: linear-gradient(135deg, #FFFBF5 0%, #ffffff 100%);
    border-color: rgba(201, 167, 124, 0.2);
}
.target-card-single[data-segment="negocios"] .target-card-inner {
    background: linear-gradient(135deg, #F4F7FA 0%, #ffffff 100%);
    border-color: rgba(124, 143, 160, 0.2);
}
.target-card-single[data-segment="clinicas"] .target-card-inner {
    background: linear-gradient(135deg, #F4F9F7 0%, #ffffff 100%);
    border-color: rgba(124, 154, 146, 0.2);
}

/* Barra superior */
.target-card-single[data-segment="empresas"] .target-card-inner::before {
    background: var(--gold);
}
.target-card-single[data-segment="negocios"] .target-card-inner::before {
    background: var(--blue-gray);
}
.target-card-single[data-segment="clinicas"] .target-card-inner::before {
    background: var(--green);
}

/* Icono */
.target-card-single[data-segment="empresas"] .target-icon { color: var(--gold); }
.target-card-single[data-segment="negocios"] .target-icon { color: var(--blue-gray); }
.target-card-single[data-segment="clinicas"] .target-icon { color: var(--green); }

/* Sector tags */
.target-card-single[data-segment="empresas"] .sector-tag {
    background: rgba(201, 167, 124, 0.08);
    color: var(--gold-dark);
    border-color: rgba(201, 167, 124, 0.2);
}
.target-card-single[data-segment="negocios"] .sector-tag {
    background: rgba(124, 143, 160, 0.08);
    color: #5a6e80;
    border-color: rgba(124, 143, 160, 0.2);
}
.target-card-single[data-segment="clinicas"] .sector-tag {
    background: rgba(124, 154, 146, 0.08);
    color: var(--green-dark);
    border-color: rgba(124, 154, 146, 0.2);
}

/* Enlace "Ver metodología" */
.target-card-single[data-segment="empresas"] .target-link {
    color: var(--gold);
    border-bottom-color: rgba(201, 167, 124, 0.35);
}
.target-card-single[data-segment="negocios"] .target-link {
    color: var(--blue-gray);
    border-bottom-color: rgba(124, 143, 160, 0.35);
}
.target-card-single[data-segment="clinicas"] .target-link {
    color: var(--green);
    border-bottom-color: rgba(124, 154, 146, 0.35);
}

/* Borde inferior del header de cada tarjeta */
.target-card-single[data-segment="empresas"] .target-card-header {
    border-bottom-color: rgba(201, 167, 124, 0.15);
}
.target-card-single[data-segment="negocios"] .target-card-header {
    border-bottom-color: rgba(124, 143, 160, 0.15);
}
.target-card-single[data-segment="clinicas"] .target-card-header {
    border-bottom-color: rgba(124, 154, 146, 0.15);
}

.target-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.25;
}

.target-title {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.target-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.8;
    font-weight: 300;
}

.target-description em {
    color: var(--dark);
    font-style: italic;
    font-weight: 400;
}

.target-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.target-benefits li {
    padding: 11px 0;
    padding-left: 32px;
    position: relative;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.98rem;
    color: var(--dark);
    border-bottom: 1px solid rgba(124, 154, 146, 0.08);
}

.target-benefits li:last-child {
    border-bottom: none;
}

.target-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(124, 154, 146, 0.15);
    border: 1px solid var(--green);
}

/* Checkmark SVG inline via CSS */
.target-benefits li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-55%) rotate(45deg);
    width: 5px;
    height: 8px;
    border-right: 1.5px solid var(--green);
    border-bottom: 1.5px solid var(--green);
}

.target-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.sector-tag {
    padding: 7px 16px;
    background: rgba(124, 154, 146, 0.08);
    color: var(--green-dark);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(124, 154, 146, 0.2);
}

.target-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(201, 167, 124, 0.35);
    padding-bottom: 3px;
}

.target-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    transition: var(--transition-fast);
}

.target-link:hover {
    gap: 14px;
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}

/* =================================== METODOLOGIA PREVIEW =================================== */

.metodologia-preview {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

/* Grid sutil de fondo */
.metodologia-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 1;
    background-image:
        linear-gradient(rgba(201, 167, 124, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 167, 124, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.metodologia-dimensions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dimension-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(201, 167, 124, 0.1);
    position: relative;
    overflow: hidden;
}

/* Indicador lateral izquierdo gold */
.dimension-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dimension-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 167, 124, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.dimension-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 167, 124, 0.15);
    border-color: rgba(201, 167, 124, 0.25);
}

.dimension-card:hover::before {
    height: 100%;
}

.dimension-card:hover::after {
    opacity: 1;
}

.dimension-number {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 300;
    background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.8;
}

.dimension-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.dimension-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
}

.dimension-list {
    list-style: none;
}

.dimension-list li {
    padding: 9px 0;
    padding-left: 22px;
    position: relative;
    font-family: var(--font-body);
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 1px solid rgba(201, 167, 124, 0.06);
}

.dimension-list li:last-child {
    border-bottom: none;
}

.dimension-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--gold);
}

/* Proceso */
.metodologia-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    max-width: 180px;
}

.process-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    position: relative;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.process-step p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    font-weight: 300;
}

.process-arrow {
    font-size: 1.4rem;
    color: rgba(201, 167, 124, 0.5);
    font-weight: 300;
    flex-shrink: 0;
}

.metodologia-cta {
    text-align: center;
}

/* =================================== WHY ALMA =================================== */

.why-alma {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.why-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.why-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 167, 124, 0.08);
}

.value-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.value-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(124, 154, 146, 0.25);
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.value-item p {
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
}

/* Stat cards del lado derecho */
.why-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.why-stat-card {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(245, 241, 237, 0.5) 100%);
    padding: 36px 40px;
    border-radius: 4px;
    border: 1px solid rgba(201, 167, 124, 0.2);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Acento izquierdo sutil */
.why-stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%);
}

.why-stat-card:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(201, 167, 124, 0.2);
    border-color: rgba(201, 167, 124, 0.35);
}

.stat-big {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.why-stat-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.6;
}

/* =================================== CTA FINAL =================================== */

.cta-final {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón sutil: puntos en negativo */
.cta-final::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Círculos decorativos de luz */
.cta-final::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Línea dorada superior */
.cta-final .container::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(201, 167, 124, 0.8));
    margin: 0 auto 40px;
}

.cta-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 48px;
    line-height: 1.85;
    font-weight: 300;
}

.cta-final .btn-primary {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    font-weight: 700;
}

.cta-final .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

/* =================================== FOOTER =================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 72px 0 36px;
    /* Línea dorada fina en el borde superior */
    border-top: 2px solid;
    border-image: linear-gradient(90deg, transparent, var(--gold), var(--green), transparent) 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo .logo-text {
    font-size: 1.7rem;
    color: var(--white);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 4px;
}

/* Separador fino bajo el logo del footer — vía pseudo-elemento en logo-sub */
.footer-logo .logo-text::after {
    display: none;
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    letter-spacing: 4px;
    display: block;
    margin-top: 3px;
}

/* Línea separadora bajo el bloque logo */
.footer-logo {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(201, 167, 124, 0.18);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    max-width: 320px;
    font-weight: 300;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 22px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.footer-col ul li a:hover {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* =================================== RESPONSIVE =================================== */

@media (max-width: 1200px) {
    :root {
        --section-padding: 90px;
    }

    .container {
        padding: 0 40px;
    }

    .nav-container {
        padding: 20px 40px;
    }

    .why-content {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 36px 36px;
        box-shadow: -8px 0 40px rgba(26, 26, 46, 0.12);
        transition: var(--transition);
        gap: 32px;
        border-left: 1px solid rgba(201, 167, 124, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .why-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 0;
    }

    .stat {
        padding: 0 28px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 18px 24px;
    }

    .hero {
        padding: 110px 24px 72px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
    }

    .stat {
        padding: 0 20px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .target-card {
        padding: 40px 28px;
    }

    .metodologia-process {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat:not(:last-child)::after {
        height: 36px;
    }
}

@media (max-width: 400px) {
    .hero-stats {
        gap: 0;
    }

    .stat {
        padding: 0 14px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .logo-text::after {
        margin: 0 9px;
    }
}

/* =================================== RESPONSIVE FIXES — ALMA v2 =================================== */

/* TABLET (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    .nav-container {
        padding: 18px 40px;
    }
    .hero {
        padding: 100px 40px 60px;
    }
    .hero-segment-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .segment-tab {
        width: auto;
        min-width: 200px;
        flex: 1 1 200px;
    }
}

/* MÓVIL GRANDE (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    .nav-container {
        padding: 16px 24px;
    }
    /* Hero: tabs en columna */
    .hero-segment-tabs {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 380px;
        margin: 36px auto 0;
        gap: 10px;
    }
    .segment-tab {
        width: 100% !important;
        flex: none;
        white-space: normal;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
    }
    /* Tarjeta segmento */
    .target-card-inner {
        padding: 32px 24px;
    }
    .target-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    /* Footer */
    .footer {
        padding: 48px 0 24px;
    }
    .footer-content {
        gap: 32px;
        margin-bottom: 32px;
    }
}

/* MÓVIL PEQUEÑO (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .nav-container {
        padding: 14px 16px;
    }
    /* Logo — simplificar en pantallas pequeñas */
    .nav-logo a {
        gap: 8px;
    }
    .logo-medallon {
        width: 34px;
        height: 34px;
    }
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .logo-text::after {
        display: none;
    }
    .logo-sub {
        display: none;
    }
    /* Hero */
    .hero {
        padding: 90px 16px 50px;
    }
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    /* Tarjeta segmento */
    .target-card-inner {
        padding: 24px 16px;
    }
    .target-title {
        font-size: 1.5rem;
    }
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-logo {
        border-bottom: 1px solid rgba(201, 167, 124, 0.15);
        padding-bottom: 24px;
    }
}
