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

:root {
    --white: #ffffff;
    --black: #111111;
    --grey: #666666;
    --grey-light: #999999;
    --accent: #b8962e;
    --accent-light: #d4b54a;
    --bg-card: #f9f9f9;
    --display: 'Playfair Display', Georgia, serif;
    --body: 'Inter', 'Helvetica Neue', Helvetica, sans-serif;
}

body::before {
    content: '';
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent);
    z-index: 200;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--black); color: var(--white); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ==================== HEADER ==================== */
.header {
    position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
    background: var(--black);
    pointer-events: auto;
}
.header-inner {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    padding: 16px 40px;
    max-width: 1500px; margin: 0 auto;
    position: relative;
}
.header-left, .header-right {
    display: flex; gap: 32px;
    list-style: none;
    flex: 1;
}
.header-left { justify-content: flex-end; }
.header-right { justify-content: flex-start; }
.header-link {
    font-family: var(--body); font-size: 11px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--white);
    transition: color 200ms;
    white-space: nowrap;
}
.header-link:hover { color: var(--accent); }
.header-logo {
    font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    transition: opacity 200ms;
    flex-shrink: 0;
}
.header-logo:hover { opacity: 0.85; }

/* ==================== HEADER LOGIN BUTTON ==================== */
.header-login-btn {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    background: none; border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-family: var(--body); font-size: 10px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 18px; cursor: pointer;
    transition: all 250ms; white-space: nowrap;
}
.header-login-btn:hover {
    background: var(--white); color: var(--black);
    border-color: var(--white);
}

/* Mobile menu toggle (only shown on small screens) */
.header-mobile-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; padding: 6px;
    cursor: pointer;
    pointer-events: auto;
}
.header-mobile-toggle span {
    display: block; width: 22px; height: 1.5px;
    background: var(--white);
}

/* ==================== NAV OVERLAY (mobile) ==================== */
.nav-overlay {
    position: fixed; inset: 0; z-index: 110;
    background: var(--white);
    display: none; flex-direction: column;
    padding: 100px 32px 40px;
    overflow-y: auto;
}
.nav-overlay.open { display: flex; }
.nav-close {
    position: absolute; top: 22px; right: 32px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; background: none; border: none;
    color: var(--black); cursor: pointer;
}
.nav-overlay-title {
    font-family: var(--display); font-size: 24px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 32px;
}
.nav-overlay a {
    display: block; font-family: var(--display);
    font-size: 28px; font-weight: 400; color: var(--black);
    margin-bottom: 16px; transition: opacity 200ms;
}
.nav-overlay a:hover { opacity: 0.5; }

/* ==================== CARDS HERO ==================== */
.cards-hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 40px 80px;
    background: var(--white);
    position: relative;
}
.cards-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/static/hero-bg.webp') center/cover no-repeat;
    opacity: 0.92;
    transform: scale(1.045);
    filter: blur(0);
    transition:
        opacity 1200ms ease,
        transform 2200ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.cards-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.04) 26%, rgba(255, 255, 255, 0.12) 100%),
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 42%);
    z-index: 0;
}

body.has-loaded .cards-hero::before {
    opacity: 1;
    transform: scale(1);
}
.cards-hero-inner {
    width: 100%; max-width: 1100px;
    position: relative; z-index: 1;
}
.cards-hero-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600; letter-spacing: 0.06em;
    color: var(--black);
    text-align: center; margin-bottom: 22px;
    line-height: 1.25;
    position: relative;
    padding-bottom: 28px;
}
.cards-hero-title::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 2px;
    background: var(--accent);
}
.cards-hero-subtitle {
    font-family: var(--body);
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    text-align: center;
    margin: 0 0 44px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.card-item {
    background: var(--white);
    border: 1px solid rgba(17, 17, 17, 0.08);
    padding: 48px 44px 40px;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.06);
    transition:
        box-shadow 360ms ease,
        border-color 360ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
    min-height: 320px;
}
.card-item:hover {
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
    border-color: rgba(184, 150, 46, 0.3);
    transform: translateY(-6px);
}
.card-icon {
    color: var(--accent);
    margin-bottom: 28px;
}
.card-title {
    font-family: var(--display);
    font-size: 22px; font-weight: 500;
    letter-spacing: 0.02em; color: var(--black);
    margin-bottom: 12px;
    line-height: 1.25;
}
.card-desc {
    font-family: var(--body);
    font-size: 14px; line-height: 1.65;
    color: var(--grey); font-weight: 300;
    margin-bottom: 28px;
    flex: 1;
}
.card-btn {
    display: inline-block; align-self: flex-start;
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); background: transparent;
    border: 1px solid var(--accent);
    padding: 10px 28px;
    transition: all 250ms;
    text-decoration: none;
}
.card-btn:hover {
    background: var(--accent); color: var(--black);
}
.card-btn-disabled {
    background: #f5efe0; border-color: #e8ddc0; color: #b8a472;
    pointer-events: none;
}

/* ==================== TAGLINE ==================== */
.tagline-section {
    padding: 100px 60px;
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.tagline-section,
.nosotros-section,
.faq-section,
.galeria-section,
.contacto-directo {
    content-visibility: auto;
    contain-intrinsic-size: 860px;
}
.tagline-text .eyebrow {
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--grey-light); margin-bottom: 16px;
}
.tagline-text .logo-inline {
    font-family: var(--display); font-size: 18px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.tagline-text p {
    font-family: var(--body); font-size: 15px; line-height: 1.8;
    color: var(--grey); font-weight: 300;
}
.tagline-quote {
    margin-top: 32px; padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}
.tagline-quote p {
    font-family: var(--display); font-size: 18px; font-style: italic;
    color: var(--black); line-height: 1.5;
}
.tagline-quote cite {
    display: block; margin-top: 8px;
    font-family: var(--body); font-size: 11px; font-style: normal;
    font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--grey-light);
}

.tagline-images {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.tagline-img {
    width: 100%; height: 100%; object-fit: cover;
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 420ms ease,
        box-shadow 320ms ease;
}
.tagline-img.tall { grid-row: span 2; }

.tagline-images:hover .tagline-img {
    filter: saturate(0.94);
}

.tagline-images .tagline-img:hover {
    transform: scale(1.02);
    filter: saturate(1.02);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
}

/* ==================== NOSOTROS ==================== */
.nosotros-section {
    padding: 80px 60px;
    background: var(--black); color: var(--white);
    text-align: center;
}
.nosotros-eyebrow {
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.nosotros-heading {
    font-family: var(--display); font-size: clamp(32px, 4vw, 48px);
    font-weight: 600; letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.nosotros-subtitle {
    font-family: var(--body); font-size: 15px; font-weight: 300;
    color: rgba(255,255,255,0.6); max-width: 520px;
    margin: 0 auto 48px; line-height: 1.6;
}

.nosotros-cards {
    display: flex; justify-content: center; gap: 32px;
    max-width: 880px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0;
}
.nosotros-card {
    flex: 1; max-width: 340px;
    position: relative; cursor: pointer;
    overflow: hidden; display: block;
    text-decoration: none; color: inherit;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 400ms;
}
.nosotros-card:hover {
    border-color: rgba(255,255,255,0.25);
}
.nosotros-card-img {
    width: 100%; height: 68vh;
    object-fit: cover;
    filter: grayscale(1);
    transition:
        transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1),
        filter 500ms ease;
}
.nosotros-card-img.media-fade.is-loaded {
    filter: grayscale(1);
}
.nosotros-card-img--fran {
    object-position: center 18%;
    transform: scale(0.92);
}
.nosotros-card:hover .nosotros-card-img {
    transform: scale(1.04);
    filter: grayscale(0);
}
.nosotros-card:hover .nosotros-card-img--fran {
    transform: scale(0.97);
}
.nosotros-card:hover .nosotros-card-img.media-fade.is-loaded {
    filter: grayscale(0);
}
.nosotros-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 50%);
    z-index: 1;
}
.nosotros-card-info {
    position: absolute; bottom: 40px; left: 40px; right: 40px;
    z-index: 2; text-align: left;
}
.nosotros-card-name {
    font-family: var(--display); font-size: 24px; font-weight: 600;
    color: var(--white); margin-bottom: 4px;
}
.nosotros-card-role {
    font-family: var(--body); font-size: 11px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
}
.nosotros-card-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px;
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--white); background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
    transition: all 300ms;
}
.nosotros-card:hover .nosotros-card-btn {
    background: var(--white); color: var(--black);
    border-color: var(--white);
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 92px 60px;
    background:
        linear-gradient(180deg, #f8f5ee 0%, #ffffff 42%),
        var(--white);
}

.faq-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.faq-intro {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.faq-eyebrow {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 16px;
}

.faq-heading {
    font-family: var(--display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--black);
    margin-bottom: 14px;
}

.faq-subtitle {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--grey);
    font-weight: 300;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-panel {
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.06);
}

.faq-panel-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: none;
    background: transparent;
    padding: 24px 28px;
    color: var(--black);
    text-align: left;
}

.faq-panel-toggle span:first-child {
    font-family: var(--display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.faq-panel-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.faq-panel-icon::before,
.faq-panel-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1.5px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 280ms ease, opacity 220ms ease;
}

.faq-panel-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

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

.faq-panel-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-panel-body > .faq-list {
    overflow: hidden;
    padding: 0 18px 0;
}

.faq-panel.is-open .faq-panel-body {
    grid-template-rows: 1fr;
}

.faq-panel.is-open .faq-panel-body > .faq-list {
    padding: 0 18px 18px;
}

.faq-item {
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.04);
    transition:
        border-color 280ms ease,
        box-shadow 360ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item:hover {
    border-color: rgba(184, 150, 46, 0.32);
    box-shadow: 0 22px 52px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
}

.faq-item.is-open {
    border-color: rgba(184, 150, 46, 0.42);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: transparent;
    border: none;
    padding: 24px 28px;
    text-align: left;
    color: var(--black);
}

.faq-question span:first-child {
    font-family: var(--display);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: 0.01em;
}

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

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 280ms ease, opacity 220ms ease;
}

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

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

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer p {
    overflow: hidden;
    padding: 0 28px;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.85;
    color: var(--grey);
    font-weight: 300;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 240ms ease, transform 320ms ease, padding-bottom 320ms ease;
    padding-bottom: 0;
}

.faq-answer-actions {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 240ms ease, transform 320ms ease, padding-bottom 320ms ease;
    padding-bottom: 0;
}

.faq-answer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: #111111;
    color: #ffffff;
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        background 260ms ease,
        color 260ms ease,
        border-color 260ms ease,
        transform 260ms ease;
}

.faq-answer-link:hover {
    background: #ffffff;
    color: #111111;
    border-color: #111111;
    transform: translateY(-1px);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 16px;
}

.faq-item.is-open .faq-answer-actions {
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 24px;
}

/* ==================== TELEGRAM CTA ==================== */
.telegram-cta-section {
    padding: 0 60px 96px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,245,238,0.8) 100%);
}

.telegram-cta-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.telegram-cta-copy,
.telegram-cta-action {
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 52px rgba(17, 17, 17, 0.06);
}

.telegram-cta-copy {
    padding: 38px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.telegram-cta-eyebrow {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 16px;
}

.telegram-cta-heading {
    font-family: var(--display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: 0.01em;
    color: var(--black);
    max-width: 12ch;
}

.telegram-cta-text {
    margin-top: 18px;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--grey);
    font-weight: 300;
    max-width: 56ch;
}

.telegram-cta-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.telegram-cta-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f6f1e3;
    border: 1px solid rgba(184, 150, 46, 0.24);
    color: #8c7220;
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.telegram-cta-action {
    display: flex;
    min-height: 100%;
    background-image: url('/static/landing/img1.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.telegram-cta-action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.telegram-cta-button {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--white);
    padding: 34px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease,
        background 320ms ease;
    position: relative;
    z-index: 2;
}

.telegram-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 50px rgba(17, 17, 17, 0.22);
    background: #171717;
}

.telegram-cta-button-top,
.telegram-cta-button-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.telegram-cta-button-label {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}

.telegram-cta-button-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(201, 53, 53, 0.16);
    border: 1px solid rgba(201, 53, 53, 0.26);
    color: #ff8d8d;
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.telegram-cta-button-title {
    display: block;
    margin: 24px 0 30px;
    font-family: var(--display);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: var(--white);
    max-width: 9ch;
}

.telegram-cta-button-count {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.telegram-cta-button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
    transform: translateX(0);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.telegram-cta-button:hover .telegram-cta-button-arrow {
    transform: translateX(7px);
}

/* ==================== PRIMER PASO ==================== */
.primer-paso-section {
    padding: 100px 60px;
    max-width: 800px; margin: 0 auto;
    text-align: center;
}
.primer-paso-header {
    margin-bottom: 32px;
}
.primer-paso-eyebrow {
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--grey-light); margin-bottom: 12px;
}
.primer-paso-header h2 {
    font-family: var(--display); font-size: clamp(28px, 3vw, 44px);
    font-weight: 500; line-height: 1.2;
}
.primer-paso-texto {
    font-family: var(--body); font-size: 15px; line-height: 1.8;
    color: var(--grey); font-weight: 300;
    margin-bottom: 36px; max-width: 680px;
    margin-left: auto; margin-right: auto;
}
.primer-paso-btn {
    display: inline-block;
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--white); background: var(--black);
    border: 1px solid var(--black);
    padding: 14px 40px; cursor: pointer;
    transition: all 250ms;
}
.primer-paso-btn:hover {
    background: transparent; color: var(--black);
}

/* ==================== MODAL CONTACTO ==================== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal-content {
    background: var(--white);
    padding: 48px 40px 40px;
    max-width: 420px; width: 90%;
    position: relative;
    text-align: center;
    animation: modalFadeIn 300ms ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    font-size: 24px; color: var(--grey-light);
    cursor: pointer; line-height: 1;
    transition: color 200ms;
}
.modal-close:hover { color: var(--black); }

.modal-title {
    font-family: var(--display); font-size: 24px; font-weight: 500;
    margin-bottom: 32px;
}

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

.modal-link {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    font-family: var(--body); font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none; text-align: left;
    transition: all 200ms;
}
.modal-link svg { flex-shrink: 0; }

.modal-link-phone {
    color: var(--black); border: 1px solid #e0e0e0;
}
.modal-link-phone:hover { background: #f5f5f5; }

.modal-link-telegram {
    color: #fff; background: #0088cc; border: 1px solid #0088cc;
}
.modal-link-telegram:hover { background: #0077b3; }

.modal-link-whatsapp {
    color: #fff; background: #25D366; border: 1px solid #25D366;
}
.modal-link-whatsapp:hover { background: #20bd5a; }

/* ==================== MODAL LOGIN ==================== */
#modalLogin .modal-content {
    max-width: 380px;
}
#modalLogin .form-group {
    text-align: left; margin-bottom: 16px;
}
#modalLogin .form-group label {
    display: block;
    font-family: var(--body); font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--grey-light); margin-bottom: 6px;
}
#modalLogin .form-group input {
    width: 100%; padding: 10px 12px;
    border: 1px solid #ddd;
    font-family: var(--body); font-size: 13px; outline: none;
}
#modalLogin .form-group input:focus { border-color: var(--black); }

.login-error {
    font-size: 12px; color: #c0392b;
    margin-bottom: 12px; min-height: 18px;
}

.btn-login-submit {
    width: 100%; padding: 12px;
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    cursor: pointer; border: none;
    color: var(--white); background: var(--accent);
    transition: background 200ms;
}
.btn-login-submit:hover { background: #a07e24; }
.btn-login-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== GALERIA ==================== */
.galeria-section {
    padding: 80px 0;
}
.galeria-shell {
    position: relative;
}
.galeria-track {
    display: flex; gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 150, 46, 0.8) rgba(17, 17, 17, 0.08);
    padding: 0 60px 12px;
}
.galeria-track::-webkit-scrollbar {
    height: 6px;
}
.galeria-track::-webkit-scrollbar-track {
    background: rgba(17, 17, 17, 0.08);
    border-radius: 999px;
}
.galeria-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(184, 150, 46, 0.92), rgba(212, 181, 74, 0.92));
    border-radius: 999px;
}
.galeria-track::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(184, 150, 46, 1), rgba(212, 181, 74, 1));
}
.galeria-track img {
    flex: none; width: 320px;
    aspect-ratio: 3/4; object-fit: cover;
    filter: grayscale(1);
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 420ms ease;
}
.galeria-track img.media-fade.is-loaded {
    filter: grayscale(1);
}
.galeria-item {
    scroll-snap-align: start;
}
.galeria-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}
.galeria-item:hover img.media-fade.is-loaded {
    filter: grayscale(0);
}
.galeria-scroll-hint {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    padding: 0 20px;
}
.galeria-scroll-hint span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-light);
}
.galeria-scroll-hint span::after {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(184, 150, 46, 0.8);
}
.galeria-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding: 0 20px;
}
.galeria-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 360px;
    padding: 20px 34px 18px;
    border: 1px solid var(--black);
    background: var(--black);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
    text-decoration: none;
    text-align: center;
    color: var(--white);
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease,
        border-color 320ms ease,
        background 320ms ease,
        color 320ms ease;
}
.galeria-cta-eyebrow {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}
.galeria-cta-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--white);
}
.galeria-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: var(--body);
    font-size: 20px;
    font-weight: 500;
    transform: translateX(0);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), color 320ms ease;
}
.galeria-cta:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--white);
    color: var(--black);
    box-shadow: 0 22px 38px rgba(17, 17, 17, 0.18);
}
.galeria-cta:hover .galeria-cta-eyebrow {
    color: rgba(17,17,17,0.56);
}
.galeria-cta:hover .galeria-cta-title {
    color: var(--black);
}
.galeria-cta:hover .galeria-cta-arrow {
    transform: translateX(7px);
}

/* "Ver historial completo" link below the En Marcha carousel.
 * Designed as an editorial-style text link rather than a hard button so
 * it matches the tone of the rest of the landing (lots of fine type,
 * gold underline accents, no heavy boxes). */
.galeria-history-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin: 56px auto 12px;
    padding: 0 24px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.galeria-history-eyebrow {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-light);
    transition: color 260ms ease;
}
.galeria-history-title {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--display);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 500;
    font-style: italic;
    color: var(--black);
    line-height: 1.1;
    padding-bottom: 10px;
}
.galeria-history-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60%;
    max-width: 240px;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease, width 360ms ease;
    opacity: 0.7;
}
.galeria-history-link:hover .galeria-history-title::after,
.galeria-history-link:focus-visible .galeria-history-title::after {
    width: 88%;
    opacity: 1;
}
.galeria-history-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.galeria-history-link:hover .galeria-history-arrow,
.galeria-history-link:focus-visible .galeria-history-arrow {
    transform: translateX(8px);
}
.galeria-history-link:hover .galeria-history-eyebrow,
.galeria-history-link:focus-visible .galeria-history-eyebrow {
    color: var(--black);
}
@media (max-width: 560px) {
    .galeria-history-link { margin: 42px auto 4px; padding: 0 16px; }
    .galeria-history-title { gap: 10px; }
}

/* ==================== CONTACTO DIRECTO ==================== */
.contacto-directo {
    padding: 100px 60px;
    max-width: 1000px; margin: 0 auto;
    text-align: center;
}
.contacto-eyebrow {
    font-family: var(--body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey-light); margin-bottom: 16px;
}
.contacto-heading {
    font-family: var(--display); font-size: clamp(32px, 4vw, 48px);
    font-weight: 600; letter-spacing: 0.06em;
    margin-bottom: 48px;
}
.contacto-cards {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.contacto-card {
    background: var(--black); color: var(--white);
    border: 1px solid var(--black);
    padding: 36px 20px 28px;
    text-decoration: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    transition: all 300ms;
    min-width: 0;
    min-height: 196px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}
button.contacto-card {
    font: inherit;
    cursor: pointer;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.contacto-card:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
}
.contacto-card-icon {
    color: var(--accent);
    margin-bottom: 4px;
    transition: color 300ms;
}
.contacto-card-label {
    font-family: var(--body); font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 300ms;
}
.contacto-card-value {
    font-family: var(--body); font-size: 13px; font-weight: 500;
    color: var(--white);
    letter-spacing: 0.04em;
    transition: color 300ms;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.contacto-card:hover .contacto-card-label {
    color: rgba(17,17,17,0.56);
}
.contacto-card:hover .contacto-card-value {
    color: var(--black);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 800ms, transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .tagline-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    .header-inner {
        justify-content: space-between;
        padding: 16px 20px;
    }
    .header-left, .header-right, .header-login-btn { display: none; }
    .header-mobile-toggle { display: flex; }
}
@media (max-width: 768px) {
    .cards-hero { min-height: auto; padding: 108px 20px 44px; }
    .cards-hero-title { font-size: clamp(30px, 9vw, 42px); line-height: 1.15; margin-bottom: 18px; }
    .cards-hero-subtitle { font-size: 15px; letter-spacing: 0.12em; margin-bottom: 34px; }
    .cards-grid { grid-template-columns: 1fr; }
    .card-item { padding: 36px 28px 32px; min-height: auto; }
    .tagline-section { padding: 60px 20px; }
    .nosotros-section { padding: 60px 20px; }
    .faq-section { padding: 60px 20px; }
    .nosotros-cards { flex-direction: column; align-items: center; gap: 24px; }
    .nosotros-card { max-width: 100%; width: 100%; }
    .nosotros-card-img { height: 54vh; }
    .nosotros-card-img--fran { transform: scale(0.96); object-position: center 16%; }
    .nosotros-card-info { left: 24px; right: 24px; bottom: 28px; }
    .faq-intro { margin-bottom: 30px; }
    .telegram-cta-section { padding: 0 20px 60px; }
    .telegram-cta-shell { grid-template-columns: 1fr; }
    .telegram-cta-copy { padding: 30px 24px; }
    .telegram-cta-button { padding: 28px 24px 24px; }
    .faq-panel-toggle { padding: 20px 22px; }
    .faq-panel-body > .faq-list { padding-left: 14px; padding-right: 14px; }
    .faq-panel.is-open .faq-panel-body > .faq-list { padding-left: 14px; padding-right: 14px; padding-bottom: 14px; }
    .faq-question { padding: 20px 22px; gap: 18px; }
    .faq-question span:first-child { font-size: 20px; }
    .faq-answer p { padding-left: 22px; padding-right: 22px; }
    .faq-answer-actions { padding-left: 22px; padding-right: 22px; }
    .primer-paso-section { padding: 60px 20px; }
    .galeria-track { padding: 0 20px 10px; }
    .galeria-track img { width: 260px; }
    .galeria-cta { min-width: 280px; padding: 18px 22px 16px; }
    .galeria-cta-title { font-size: 21px; gap: 12px; }
    .contacto-directo { padding: 60px 20px; }
    .contacto-cards { grid-template-columns: 1fr 1fr; }
    .modal-content { padding: 36px 24px 32px; }
    .nav-overlay { padding: 80px 24px 40px; }
}

@media (max-width: 560px) {
    .cards-hero-title {
        padding-bottom: 22px;
    }

    .card-item {
        padding: 28px 22px 24px;
    }

    .card-title {
        font-size: 20px;
    }

    .tagline-section {
        gap: 28px;
    }

    .tagline-images {
        grid-template-columns: 1fr;
    }

    .tagline-img.tall {
        grid-row: span 1;
        min-height: 320px;
    }

    .nosotros-card-img {
        height: 420px;
    }
    .nosotros-card-img--fran {
        transform: scale(1);
        object-position: center 14%;
    }
    .faq-heading {
        font-size: 30px;
    }
    .telegram-cta-heading {
        max-width: none;
        font-size: 28px;
    }
    .telegram-cta-text {
        font-size: 14px;
        line-height: 1.75;
    }
    .telegram-cta-button-top,
    .telegram-cta-button-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .telegram-cta-button-title {
        margin: 20px 0 24px;
        max-width: none;
        font-size: 28px;
    }
    .faq-panel-toggle span:first-child {
        font-size: 20px;
    }
    .faq-question span:first-child {
        font-size: 18px;
    }
    .faq-answer p {
        font-size: 14px;
        line-height: 1.75;
    }
    .faq-answer-link {
        min-height: 32px;
        padding: 0 14px;
        font-size: 9px;
    }
    .galeria-cta {
        width: 100%;
        min-width: 0;
        padding: 18px 20px 16px;
    }
    .galeria-cta-title {
        font-size: 19px;
        gap: 10px;
    }

    .contacto-cards {
        grid-template-columns: 1fr;
    }
}
