/* =========================================================
   GLOBALIS HOLDING — Estilo corporativo premium
   Navy marino + dorado metálico · Serif institucional
   ========================================================= */

:root {
    /* Navy */
    --navy-950: #060e1f;
    --navy-900: #0b1b34;
    --navy-800: #122548;
    --navy-700: #1a3260;
    --navy-600: #24437f;

    /* Gold metálico */
    --gold-100: #f7ecc9;
    --gold-200: #ecd699;
    --gold-300: #dfc074;
    --gold-400: #cda44a;
    --gold-500: #b8912f;
    --gold-600: #8f6e22;
    --gold-gradient: linear-gradient(135deg, #f7ecc9 0%, #dfc074 22%, #b8912f 50%, #e8c874 68%, #9a7b2e 100%);
    --gold-gradient-soft: linear-gradient(135deg, #ecd699 0%, #cda44a 50%, #ecd699 100%);

    /* Neutros */
    --ivory: #faf7f0;
    --ivory-deep: #f1ead9;
    --paper: #fffdf9;
    --ink: #1c1a14;
    --ink-soft: #3c3a33;
    --line: rgba(184, 145, 47, 0.28);

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-accent: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'EB Garamond', 'Georgia', serif;

    --container: 1180px;
    --container-narrow: 820px;
    --radius: 4px;
    --shadow-lg: 0 30px 60px -25px rgba(6, 14, 31, 0.45);
    --shadow-md: 0 18px 40px -20px rgba(6, 14, 31, 0.35);
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.75rem;
}

.container-narrow { max-width: var(--container-narrow); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--navy-900);
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

::selection { background: var(--gold-300); color: var(--navy-950); }

:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy-900);
    color: var(--gold-200);
    padding: 0.75rem 1.25rem;
    z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============ EYEBROW / LABELS ============ */
.eyebrow {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin: 0 0 0.9rem;
    font-weight: 600;
}
.eyebrow-light { color: var(--gold-200); }
.text-light { color: var(--ivory); }

/* ============ GOLD DIVIDER ============ */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.6rem;
    width: 220px;
}
.gold-divider::before,
.gold-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400));
}
.gold-divider::after { background: linear-gradient(90deg, var(--gold-400), transparent); }
.gold-divider span {
    width: 8px;
    height: 8px;
    margin: 0 0.7rem;
    background: var(--gold-gradient);
    transform: rotate(45deg);
    box-shadow: 0 0 0 1px rgba(184, 145, 47, 0.5);
}
.gold-divider-small { width: 120px; margin: 1.2rem 0; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1rem 2.2rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-gold {
    background: var(--gold-gradient);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: var(--navy-950);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-gold:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-200);
    border-color: var(--gold-400);
}
.btn-outline-gold:hover {
    background: rgba(223, 192, 116, 0.1);
    transform: translateY(-2px);
    border-color: var(--gold-200);
}

.btn-block { width: 100%; padding: 1.05rem 2.2rem; }

/* ============ HEADER / NAV ============ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(6, 14, 31, 0.92), rgba(6, 14, 31, 0.75));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(223, 192, 116, 0.18);
    transition: background var(--transition), box-shadow var(--transition);
    animation: fadeInDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-header.is-scrolled {
    background: var(--navy-950);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.75rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-emblem {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    letter-spacing: 0.16em;
    color: var(--gold-200);
    font-weight: 600;
}
.brand-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(250, 247, 240, 0.65);
    letter-spacing: 0.03em;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    font-family: var(--font-accent);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ivory);
    padding: 0.4rem 0;
    position: relative;
}
.primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gold-300);
    transition: width var(--transition);
}
.primary-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--gold-gradient);
    color: var(--navy-950) !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.1em !important;
    padding: 0.75rem 1.7rem !important;
    line-height: 1;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(223, 192, 116, 0.4);
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--gold-200);
    margin: 0 auto;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO (versión clara) ============ */
.hero {
    position: relative;
    color: var(--ink);
    padding: 9.5rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -20px;
    z-index: 0;
    background-position: center 65%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(6px) grayscale(100%) contrast(102%);
    transform: scale(1.04);
    opacity: 0.3;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(184, 145, 47, 0.07), transparent 55%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.93) 45%, rgba(255, 253, 249, 0.98) 100%);
}

.hero .eyebrow-light { color: var(--gold-600); }
.hero .btn-outline-gold { color: var(--navy-800); border-color: var(--gold-500); }
.hero .btn-outline-gold:hover { background: rgba(184, 145, 47, 0.08); }

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

.hero-crest {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}
.crest-ring {
    margin-top: 2.5rem;
    width: 720px;
    height: 720px;
    max-width: 140vw;
    border-radius: 50%;
    border: 1px solid rgba(184, 145, 47, 0.22);
    box-shadow: 0 0 0 40px rgba(184, 145, 47, 0.035), 0 0 0 90px rgba(184, 145, 47, 0.02);
}

.hero-inner { position: relative; z-index: 2; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.18s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.42s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.52s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.62s; }
.hero-inner > *:nth-child(7) { animation-delay: 0.72s; }

.hero-emblem {
    width: 340px;
    height: 340px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55));
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    color: var(--navy-900);
    margin-bottom: 1.4rem;
    letter-spacing: 0.01em;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto 2.2rem;
    font-size: 1.2rem;
    color: rgba(28, 26, 20, 0.7);
}

.hero-actions {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
}

.hero-slogan {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-600);
}

/* ============ CTA BAND (imagen + llamado a la acción) ============ */
.cta-band {
    position: relative;
    padding: 7rem 0;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.cta-band-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 14, 31, 0.82) 0%, rgba(6, 14, 31, 0.68) 45%, rgba(6, 14, 31, 0.88) 100%);
}
.cta-band-inner { max-width: 680px; margin: 0 auto; }
.cta-band-lead {
    color: rgba(250, 247, 240, 0.88);
    font-size: 1.2rem;
    max-width: 560px;
    margin: 0 auto 2.2rem;
}

@media (max-width: 720px) {
    .cta-band-bg { background-attachment: scroll; }
}

/* Fondo fotográfico sutil para "Por Qué Globalis" */
.section-navy-photo { isolation: isolate; }
.section-navy-photo-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center 60%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.16;
}
.section-navy-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.section-cta { text-align: center; margin-top: 2.6rem; }
.reasons-cta { text-align: left; margin-top: 2rem; }

@media (max-width: 860px) {
    .reasons-cta { text-align: center; }
}

/* ============ SECTIONS ============ */
.section { padding: 6.5rem 0; position: relative; }
.section-light { background: var(--ivory); }
.section-ivory { background: var(--ivory-deep); }
.section-navy {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: var(--ivory);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 1.2rem; }
.section-navy .section-lead { color: rgba(250, 247, 240, 0.8); }

.prose { max-width: 760px; }
.prose-center { margin: 0 auto; text-align: center; }
.prose p { font-size: 1.15rem; color: var(--ink-soft); }
.text-light.prose p { color: rgba(250, 247, 240, 0.85); }
.prose strong { color: var(--navy-800); font-weight: 600; }
.text-light strong { color: var(--gold-200); }

/* Fila centrada de nombres de empresas/aliados dentro de un párrafo */
.names-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.3rem;
    margin: -0.4rem 0 1.6rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.names-row span {
    position: relative;
    padding: 0 0.7rem;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--navy-800);
}
.names-row span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.7rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    background: var(--gold-gradient);
}
/* ============ PULL QUOTE ============ */
.pull-quote {
    margin: 3.2rem auto 0;
    max-width: 720px;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--navy-800);
    padding: 2.4rem 2rem 0;
    border-top: 1px solid var(--line);
    position: relative;
}
.pull-quote::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
}
.pull-quote span { display: block; margin-top: 0.6rem; font-size: 1.1rem; font-style: normal; color: var(--gold-600); }
.pull-quote-light { color: var(--ivory); border-top-color: rgba(223, 192, 116, 0.25); }
.pull-quote-light span { color: var(--gold-200); }

/* ============ PILLARS ROW (Quiénes Somos) ============ */
.pillars-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 820px;
    margin: 3.4rem auto 0;
}
.pillar { text-align: center; }
.pillar-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--gold-500);
    background: var(--paper);
    border: 1.5px solid var(--gold-400);
    box-shadow: 0 6px 18px -8px rgba(184, 145, 47, 0.5), inset 0 0 0 4px rgba(255, 255, 255, 0.6);
}
.pillar p { font-family: var(--font-accent); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--navy-800); margin: 0; }

/* ============ SPLIT LAYOUT (imagen + texto) ============ */
.text-gold { color: var(--gold-400); }

.split-block {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
    margin-top: 1rem;
}
.split-block--reverse { grid-template-columns: 1.05fr 0.95fr; }
.split-block--reverse .split-media { order: 2; }
.split-block--reverse .split-content { order: 1; }

.split-media img,
.split-media .img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.split-media img { display: block; object-fit: cover; }

.split-content { text-align: left; }
.split-content .eyebrow { text-align: left; }
.split-content h2 { text-align: left; margin-bottom: 0; }
.split-underline {
    width: 64px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 1.2rem 0 1.6rem;
}
.split-content .prose { text-align: left; max-width: none; margin: 0; }
.split-content .prose p { font-size: 1.08rem; }

.split-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--gold-400);
    margin: 1.6rem 0 0.9rem;
}

.gold-bullet-list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.gold-bullet-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1.05rem;
}
.gold-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--gold-gradient);
}

/* Espacio reservado para imágenes que el cliente subirá más tarde */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1.5px dashed rgba(184, 145, 47, 0.4);
    background: rgba(184, 145, 47, 0.06);
    color: inherit;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}
.img-placeholder-icon { width: 38px; height: 38px; opacity: 0.55; color: var(--gold-400); }
.img-placeholder-text {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    opacity: 0.75;
}
.img-placeholder-text strong {
    display: inline-block;
    margin-top: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0;
    color: var(--gold-400);
    opacity: 1;
}

@media (max-width: 860px) {
    .split-block,
    .split-block--reverse { grid-template-columns: 1fr; gap: 2rem; }
    .split-block--reverse .split-media,
    .split-block--reverse .split-content { order: initial; }
    .split-content, .split-content .eyebrow, .split-content h2 { text-align: center; }
    .split-underline { margin-left: auto; margin-right: auto; }
}

/* ============ ENTITY GRID (Estructura del Holding) ============ */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 3.4rem 0;
    align-items: stretch;
}
.entity-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
}
.entity-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-gradient);
}
.entity-card-featured {
    transform: translateY(-14px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-400);
}
.entity-eyebrow {
    font-family: var(--font-accent);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 0.6rem;
}
.entity-card h3 { color: var(--navy-900); margin-bottom: 0.8rem; }
.entity-card p:not(.entity-eyebrow):not(.entity-alliance) { color: var(--ink-soft); font-size: 1.02rem; flex-grow: 1; }
.entity-alliance {
    margin: 1rem 0 0;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--navy-700);
    border-top: 1px solid var(--line);
    padding-top: 0.9rem;
}

/* ============ MODEL BLOCK ============ */
.model-block {
    text-align: center;
    background: var(--navy-900);
    border-radius: var(--radius);
    padding: 3.2rem 2rem;
    margin-top: 3.6rem;
}
.model-title {
    font-family: var(--font-accent);
    color: var(--gold-200);
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.model-intro {
    max-width: 640px;
    margin: 0 auto 2.2rem;
    color: rgba(250, 247, 240, 0.82);
}
.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.model-item {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--ivory);
    border: 1px solid rgba(223, 192, 116, 0.3);
    border-radius: var(--radius);
    padding: 1.4rem 1rem;
}

/* ============ TEAM GRID ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.4rem;
}
.team-card {
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.6rem 1.8rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-monogram {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--navy-950);
    background: var(--gold-gradient);
    box-shadow: 0 8px 22px -10px rgba(184, 145, 47, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.team-card h3 { margin-bottom: 0.3rem; font-size: 1.25rem; }
.team-role {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1rem;
}
.team-card p:not(.team-role) { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ============ REASONS LAYOUT (Por Qué Globalis) ============ */
.reasons-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    text-align: left;
    margin-top: 1rem;
}
.reasons-main .eyebrow,
.reasons-main h2 { text-align: left; }
.reasons-main .prose { text-align: left; max-width: none; margin: 0; }
.reasons-main .prose p { font-size: 1.08rem; }

.reasons-quote-card {
    background: rgba(223, 192, 116, 0.07);
    border: 1px solid rgba(223, 192, 116, 0.25);
    border-radius: var(--radius);
    padding: 1.7rem 1.9rem;
    margin: 1.8rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--gold-100);
}

.reasons-media { margin-top: 1.8rem; }
.reasons-media .img-placeholder,
.reasons-media img {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.reasons-media img { width: 100%; display: block; object-fit: cover; }

.reasons-list { display: flex; flex-direction: column; gap: 1.9rem; }
.reason-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.reason-icon {
    flex: none;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(223, 192, 116, 0.35);
    border-radius: var(--radius);
    color: var(--gold-300);
}
.reason-icon svg { width: 22px; height: 22px; }
.reason-row-title { font-family: var(--font-display); font-size: 1.08rem; color: var(--gold-100); margin: 0 0 0.4rem; }
.reason-row p { margin: 0; color: rgba(250, 247, 240, 0.78); font-size: 0.98rem; }

@media (max-width: 860px) {
    .reasons-layout { grid-template-columns: 1fr; text-align: center; }
    .reasons-main .eyebrow, .reasons-main h2 { text-align: center; }
    .reasons-main .prose { text-align: center; }
    .reason-row { text-align: left; }
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.6rem;
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
    color: var(--ivory);
    border-radius: var(--radius);
    padding: 2.6rem 2.2rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 7rem;
}
.contact-label {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 1rem;
}
.contact-person { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.4rem; }
.contact-email { color: var(--gold-200); font-size: 1.05rem; border-bottom: 1px solid rgba(223, 192, 116, 0.4); padding-bottom: 2px; }
.contact-note { margin-top: 1.2rem; color: rgba(250, 247, 240, 0.75); font-size: 0.98rem; }

.contact-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.6rem;
    box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 1.4rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-row label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-800);
    margin-bottom: 0.55rem;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(28, 26, 20, 0.2);
    border-radius: var(--radius);
    background: var(--ivory);
    color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(184, 145, 47, 0.18);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
    margin: 1.1rem 0 0;
    font-size: 0.95rem;
    min-height: 1.4em;
    text-align: center;
}
.form-status.is-success { color: #3f6b3f; }
.form-status.is-error { color: #9b3b3b; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--navy-950);
    color: rgba(250, 247, 240, 0.8);
    padding-top: 4.5rem;
    position: relative;
}
.footer-ornament {
    height: 1px;
    margin: 50px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(184, 145, 47, 0.55) 20%,
        var(--gold-300) 50%,
        rgba(184, 145, 47, 0.55) 80%,
        transparent 100%
    );
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr 0.95fr;
    gap: 2.75rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid rgba(223, 192, 116, 0.15);
}
.footer-brand { text-align: left; }
.footer-emblem { border-radius: 50%; margin-bottom: 1.1rem; }
.footer-name {
    font-family: var(--font-accent);
    letter-spacing: 0.14em;
    color: var(--gold-200);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.7rem;
}
.footer-slogan { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: rgba(250, 247, 240, 0.68); max-width: 260px; line-height: 1.5; }

.footer-col-label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin: 0 0 1.3rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(223, 192, 116, 0.2);
}

.footer-nav {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 2.4rem;
    row-gap: 0.85rem;
    justify-content: start;
}
.footer-nav a {
    font-size: 0.95rem;
    color: rgba(250, 247, 240, 0.78);
    position: relative;
    width: fit-content;
    transition: color var(--transition);
}
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--gold-300);
    transition: width var(--transition);
}
.footer-nav a:hover { color: var(--gold-200); }
.footer-nav a:hover::after { width: 100%; }

.footer-contact { text-align: left; }
.footer-contact-name { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ivory); }
.footer-contact-email { color: var(--gold-200); border-bottom: 1px solid rgba(223, 192, 116, 0.35); padding-bottom: 2px; }
.footer-contact-email:hover { color: var(--gold-100); border-color: var(--gold-200); }

.footer-legal {
    padding: 1.6rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(250, 247, 240, 0.55);
}
.footer-legal p { margin: 0.2rem 0; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-300); }
.footer-credits { font-size: 0.72rem; color: rgba(250, 247, 240, 0.35); margin-top: 0.8rem; }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    right: 1.6rem;
    bottom: 1.6rem;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--navy-950);
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ FLOATING CTA ============ */
.floating-cta {
    position: fixed;
    left: 1.6rem;
    bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--navy-950);
    color: var(--gold-200);
    border: 1px solid rgba(223, 192, 116, 0.45);
    border-radius: 999px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    z-index: 900;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.floating-cta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-gradient);
    box-shadow: 0 0 0 3px rgba(223, 192, 116, 0.25);
}
.floating-cta:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 720px) {
    .floating-cta span { display: none; }
    .floating-cta { padding: 0.85rem; }
    .floating-cta::before { margin: 0 auto; }
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* Efecto escalonado: las tarjetas de una misma fila aparecen una tras otra */
.pillars-row > [data-reveal]:nth-child(1),
.entity-grid > [data-reveal]:nth-child(1),
.team-grid > [data-reveal]:nth-child(1),
.gold-bullet-list > [data-reveal]:nth-child(1),
.reasons-list > [data-reveal]:nth-child(1),
.model-grid > [data-reveal]:nth-child(1) { transition-delay: 0ms; }

.pillars-row > [data-reveal]:nth-child(2),
.entity-grid > [data-reveal]:nth-child(2),
.team-grid > [data-reveal]:nth-child(2),
.gold-bullet-list > [data-reveal]:nth-child(2),
.reasons-list > [data-reveal]:nth-child(2),
.model-grid > [data-reveal]:nth-child(2) { transition-delay: 100ms; }

.pillars-row > [data-reveal]:nth-child(3),
.entity-grid > [data-reveal]:nth-child(3),
.team-grid > [data-reveal]:nth-child(3),
.gold-bullet-list > [data-reveal]:nth-child(3),
.reasons-list > [data-reveal]:nth-child(3),
.model-grid > [data-reveal]:nth-child(3) { transition-delay: 200ms; }

.pillars-row > [data-reveal]:nth-child(4),
.gold-bullet-list > [data-reveal]:nth-child(4),
.reasons-list > [data-reveal]:nth-child(4),
.model-grid > [data-reveal]:nth-child(4) { transition-delay: 300ms; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .entity-grid,
    .team-grid,
    .model-grid,
    .pillars-row { grid-template-columns: repeat(2, 1fr); }
    .entity-card-featured { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .footer-brand, .footer-contact { text-align: center; }
    .footer-slogan { margin-left: auto; margin-right: auto; }
    .footer-col-label { padding-bottom: 0.8rem; }
    .footer-nav {
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        row-gap: 0.8rem;
    }
}

@media (max-width: 720px) {
    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        background: var(--navy-950);
        border-left: 1px solid rgba(223, 192, 116, 0.2);
        transform: translateX(100%);
        transition: transform var(--transition);
        padding: 6.5rem 2rem 2rem;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
    .nav-toggle { display: flex; }

    .hero { padding: 8rem 0 4.5rem; }
    .hero-emblem { width: 240px; height: 240px; }
    .section { padding: 4.5rem 0; }

    .entity-grid,
    .team-grid,
    .model-grid,
    .pillars-row { grid-template-columns: 1fr; }

    .form-row-split { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
}
