/* ==========================================================
   ARQUÉTIKA — Landing "Arquitectura Campaign"
   Tokens alineados al sitio principal
   ========================================================== */
:root {
    --primary-green: #3A5A4A;
    --dark-green: #2F4F3E;
    --text-dark: #2a2a2a;
    --text-light: #666;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --gris-card: #f0f0f0;
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Lexend', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 5;
    padding: 28px 0;
    width: 100%;
    background: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }

.header-site-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    border: 1.5px solid rgba(255,255,255,0.85);
    border-radius: 100px;
    padding: 11px 24px;
    transition: background 0.25s ease, color 0.25s ease;
    justify-self: end;
}
.header-site-link:hover { background: #fff; color: var(--text-dark); text-shadow: none; }

@media (max-width: 760px) {
    .header-site-link { font-size: 12.5px; padding: 9px 18px; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero-section { padding: 0; background: var(--white); }

.hero-frame {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,8,0.05) 0%, rgba(10,10,8,0.08) 40%, rgba(10,10,8,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 5% 56px;
}

/* Left: logo + form */
.hero-left { display: flex; flex-direction: column; align-items: center; max-width: 460px; }
.hero-form-logo { height: 26px; width: auto; margin-bottom: 32px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }

.hero-funnel { width: 460px; max-width: 100%; }

.funnel-box {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 26px;
    border-radius: 16px;
    color: var(--text-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(58, 90, 74, 0.25);
}

.funnel-box h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 18px;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* Right: CTA */
.hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }

.hero-preview-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 230px;
    max-width: 100%;
    background: #fff;
    color: var(--text-dark);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
.hero-preview-cta-title { display: block; font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.hero-preview-cta-sub { display: block; font-size: 12.5px; color: rgba(42,42,36,0.6); line-height: 1.4; }
.hero-preview-cta-btn {
    display: inline-block;
    text-align: center;
    background: var(--text-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 11px 16px;
    border-radius: 100px;
    transition: opacity 0.25s ease;
}
.hero-preview-cta:hover .hero-preview-cta-btn { opacity: 0.8; }

/* ==========================================================
   FUNNEL FORM (estructura y color conservados, solo tipografía)
   ========================================================== */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    background: rgba(42, 42, 42, 0.04);
}
.radio-option:hover { background: rgba(58, 90, 74, 0.1); transform: translateX(4px); }
.radio-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.radio-circle {
    width: 18px; height: 18px;
    border: 1px solid rgba(42, 42, 42, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.radio-option input:checked + .radio-circle { background: var(--primary-green); border-color: var(--primary-green); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; text-align: left; }
.input-stack label { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); margin-bottom: -4px; display: block; }
.green-input {
    padding: 11px;
    border-radius: 4px;
    border: 1px solid rgba(42, 42, 42, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--text-dark);
    outline: none;
    width: 100%;
}
.green-input:focus { background-color: #fff; border-color: var(--primary-green); }

.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary-green);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.orange-btn { background-color: #C17A5B; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(58, 90, 74, 0.4); filter: brightness(1.1); }
.orange-btn:hover { box-shadow: 0 8px 25px rgba(193, 122, 91, 0.4); }
.btn-back {
    background: transparent;
    border: none;
    color: rgba(42, 42, 42, 0.55);
    margin-top: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: underline;
}

.funnel-box .funnel-progress__track { background: rgba(42, 42, 42, 0.12); }
.funnel-box .funnel-progress__bar { background: var(--primary-green); }

/* ==========================================================
   GIF COVER
   ========================================================== */
.landing-gif { width: 100%; background: #000; }
.landing-gif img { width: 100%; height: auto; display: block; }

/* ==========================================================
   FAN CAROUSEL
   ========================================================== */
.fan-section { padding: 90px 0 110px; background: var(--white); overflow: hidden; }
.fan-head { text-align: center; margin-bottom: 64px; }
.fan-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.fan-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; color: var(--text-dark); }

.fan-carousel { display: flex; align-items: center; justify-content: center; gap: 20px; }

.fan-arrow {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.2);
    background: #fff;
    color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    z-index: 10;
}
.fan-arrow:hover { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }

.fan-track {
    position: relative;
    flex: 1;
    max-width: 920px;
    height: 360px;
}
.fan-card {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 380px;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 30px 50px -20px rgba(20, 24, 16, 0.45);
    --diff: 0;
    transform: translate(-50%, -50%) translateX(calc(var(--diff) * 72%)) scale(0.78);
    opacity: 0.4;
    filter: brightness(0.5);
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease, filter 0.5s ease, z-index 0s;
    z-index: 1;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fan-card.is-near { opacity: 0.75; filter: brightness(0.75); z-index: 3; }
.fan-card.is-active {
    opacity: 1;
    filter: none;
    z-index: 5;
    transform: translate(-50%, -50%) translateX(0) scale(1);
    box-shadow: 0 36px 60px -16px rgba(20, 24, 16, 0.55);
}

.fan-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.fan-card.is-active .fan-card-overlay { opacity: 1; }
.fan-card-name { color: #fff; font-size: 18px; font-weight: 600; }

.fan-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.fan-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.fan-dot.is-active { background: var(--text-dark); transform: scale(1.3); }

/* ==========================================================
   SERVICIOS (idéntico al sitio principal)
   ========================================================== */
.section { padding: 70px 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.servicios-section { background: var(--gris-card); padding: 90px 0; }

.servicios-head { margin-bottom: 56px; }
.servicios-eyebrow {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
    margin: 0;
    font-family: var(--font-heading);
}
.servicios-rule { display: block; width: 64px; height: 3px; background: var(--text-dark); margin-top: 22px; }

.servicios-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 48px;
}
.servicios-step h3 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin: 0 0 24px; }

.servicio-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.servicio-point {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px -16px rgba(20, 24, 16, 0.25);
}
.servicio-point-icon {
    display: block;
    width: 30px;
    height: 30px;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.servicio-point-icon svg { width: 100%; height: 100%; }
.servicio-point p {
    font-size: 14px;
    color: rgba(42, 42, 36, 0.7);
    line-height: 1.55;
    margin: 0;
}
.servicio-point p strong { color: var(--text-dark); font-weight: 600; }

.servicios-connector {
    display: block;
    width: 1px;
    align-self: stretch;
    margin-top: 8px;
    background: rgba(0,0,0,0.35);
}

.servicio-bildek {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.servicio-bildek img { width: 220px; height: auto; max-width: 100%; }

.servicios-bildek-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    transition: gap 0.25s ease;
}
.servicios-bildek-link:hover { gap: 12px; }

.pp-link-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    transition: gap 0.25s ease;
}
.pp-link-mas:hover { gap: 12px; }

/* ==========================================================
   FOOTER (idéntico al sitio principal)
   ========================================================== */
.site-footer { background: #000; padding: 56px 0 40px; }
.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "logo   info"
        "rights social";
    align-items: center;
    row-gap: 22px;
    column-gap: 40px;
}
.footer-logo { grid-area: logo; height: 24px; width: auto; justify-self: start; }
.footer-rights { grid-area: rights; margin: 0; color: rgba(255,255,255,0.32); font-size: 13px; text-align: left; align-self: end; }
.footer-info { grid-area: info; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.footer-info-item { display: flex; align-items: center; gap: 10px; text-align: left; }
.footer-info-icon { color: rgba(255,255,255,0.55); flex-shrink: 0; }
.footer-info-item p { margin: 0; color: rgba(255,255,255,0.85); font-size: 13.5px; line-height: 1.6; max-width: 230px; }
.footer-info-item p a { color: rgba(255,255,255,0.85); }
.footer-info-item p a:hover { color: #fff; }
.footer-social { grid-area: social; justify-self: end; align-self: end; display: flex; align-items: center; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.75); transition: color 0.25s ease; }
.footer-social a:hover { color: #fff; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
    .hero-section { padding: 0; }
    .hero-frame { aspect-ratio: auto; min-height: auto; }
    .hero-content { flex-direction: column; align-items: center; padding: 116px 20px 36px; gap: 32px; }
    .hero-left { align-items: center; max-width: 100%; text-align: center; }
    .hero-form-logo { margin-left: auto; margin-right: auto; }
    .hero-funnel { width: 100%; }
    .hero-right { align-items: center; width: 100%; }
    .hero-preview-cta { width: 100%; max-width: 300px; text-align: center; padding: 16px; gap: 10px; margin: 0 auto; }
    .hero-preview-cta-title { font-size: 14px; }
    .hero-preview-cta-sub { font-size: 12px; }
    .hero-preview-cta-btn { padding: 9px 14px; font-size: 12.5px; }

    .fan-section { padding: 56px 0 70px; }
    .fan-head { margin-bottom: 40px; }
    .fan-carousel { gap: 10px; }
    .fan-track { height: 220px; }
    .fan-card { width: 240px; }
    .fan-arrow { width: 36px; height: 36px; }
    .fan-card-name { font-size: 15px; }

    .servicios-section { padding: 56px 0; }
    .servicios-head { margin-bottom: 40px; }
    .servicios-steps { grid-template-columns: 1fr; gap: 40px; }
    .servicios-connector { width: 100%; height: 1px; align-self: auto; margin-top: 0; background: rgba(0,0,0,0.35); }
    .servicio-points { grid-template-columns: 1fr 1fr; gap: 12px; }
    .servicio-point { padding: 18px 16px; }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas: "logo" "info" "social" "rights";
        justify-items: center;
        text-align: center;
        row-gap: 28px;
    }
    .footer-logo { justify-self: center; }
    .footer-info { align-items: center; gap: 16px; width: 100%; justify-self: center; }
    .footer-social { justify-self: center; }
    .footer-rights { text-align: center; align-self: auto; }
}

@media (max-width: 480px) {
    .fan-track { height: 180px; }
    .fan-card { width: 190px; }
}
