/* ═══════════════════════════════════════════
   AULACAT LANDING – BRANDING CSS (autocontigut)
   Paleta: #f18d1a taronja · #0f1117 fosc
   Adaptat per a Vigilant de Seguretat
   Basat en la identitat visual d'Aulacat
   ═══════════════════════════════════════════ */

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

:root {
    --brand-color: #f18d1a;
    --brand-light: #f9b018;
    --brand-hover: #d97a10;
    --dark: #0f1117;
    --dark2: #1a1d2b;
    --text: #1a1a2e;
    --muted: #6c757d;
    --light: #f8f9fc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    margin: 0;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 1100px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media (max-width: 767px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

em {
    font-style: italic;
    color: var(--brand-color);
}

.text-orange {
    color: var(--brand-color) !important;
}

.fw-black {
    font-weight: 900 !important;
}

/* ─── TOPBAR ─── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000;
    box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
    height: 90px;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .topbar {
        height: 70px;
    }

    .topbar-logo img {
        height: 40px !important;
    }
}

.topbar-logo img {
    height: 48px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    background-image: url("imagenes/hero_vigilante.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    padding: 88px 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero {
        background-image: url("imagenes/hero_vigilante.webp");
        background-attachment: scroll;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

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

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 18px;
    gap: 10px;
}

.eyebrow-line {
    display: inline-block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-color);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(34px, 5.2vw, 72px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: white;
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: normal;
    color: var(--brand-color);
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin-bottom: 28px;
}

.hero-tagline strong {
    color: #fff;
}

/* achievs */
.achiev-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    color: #fff;
}

.achiev-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.achiev-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.achiev-label span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* stats */
.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hstat {
    text-align: center;
}

.hstat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-color);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.hstat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

@media (min-width: 576px) {
    .border-sm-end {
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

/* ─── PREMIUM FORM CARD ─── */
.form-card-premium {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.85);
}

.form-header-premium {
    background: var(--brand-color);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.floating-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-header-text h3 {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.form-header-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.form-body-premium {
    padding: 32px 28px;
}

.new-form-premium .fgroup {
    margin-bottom: 18px;
}

.new-form-premium label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.new-form-premium input[type=text],
.new-form-premium input[type=email],
.new-form-premium input[type=tel],
.new-form-premium input[type=date],
.new-form-premium select {
    width: 100%;
    border: 1.5px solid #dde3ef;
    border-radius: 10px;
    padding: 13px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
    transition: all .2s;
    outline: none;
}

.new-form-premium input:focus,
.new-form-premium select:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(241, 141, 26, .1);
}

.btn-submit-premium {
    display: inline-block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: #2088e5;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 6px 20px rgba(32, 136, 229, 0.3);
}

.btn-submit-premium:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(32, 136, 229, 0.4);
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.form-privacy label {
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.form-privacy a {
    color: var(--brand-color);
    font-weight: 400;
    text-decoration: underline;
}

.frow {
    display: flex;
    gap: 15px;
}

.frow .fgroup {
    flex: 1;
}

/* ─── SECTION COMMONS ─── */
.section {
    position: relative;
    padding: 88px 0;
}

.s-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 8px;
}

.s-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.s-title em {
    font-style: normal;
    color: var(--brand-color);
}

.s-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 700px;
}

/* ─── WHY ─── */
.why-section {
    background: #f4f3f0;
}

.why-number {
    color: var(--brand-color);
    line-height: 0.85;
    letter-spacing: -6px;
    font-size: 150px;
    font-weight: 900;
}

.why-number span {
    font-size: 0.4em;
    color: var(--brand-color);
    opacity: 1;
}

.why-item {
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
}

.why-item:hover {
    background: #fff8f0;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.why-item p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

/* ─── INCLUYE / TEMARIO ─── */
.card-feature {
    background: #fff;
    border: 1px solid #c2c7cc;
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: all .3s;
}

.card-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(241, 141, 26, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-color);
    font-size: 20px;
}

/* ─── PROCESS / HOW IT WORKS ─── */
.process-section {
    background-image: url("imagenes/process_bg.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 23, 0.9);
}

.process-container {
    position: relative;
    z-index: 2;
}

.pstep-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--brand-color);
    color: var(--brand-color);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* ─── FAQ ─── */
.faq-section {
    background: var(--light);
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: transparent !important;
}

.accordion-button {
    font-size: 17px;
    font-weight: 700;
    color: var(--text) !important;
    padding: 24px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button::before {
    content: "+";
    order: 2;
    width: 34px;
    height: 34px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
    margin-left: auto;
}

.accordion-button:not(.collapsed)::before {
    background: var(--brand-color);
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0 0 24px 0 !important;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── CTA FINAL ─── */
.step-num {
    width: 32px;
    height: 32px;
    background: var(--brand-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.cta-card {
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

/* ─── FOOTER ─── */
footer {
    background: #000;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0;
    font-size: 13px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: var(--brand-color);
}

/* ─── UTILITIES ─── */
.bg-light-gray {
    background: #f8f9fa;
}

.bg-orange {
    background: var(--brand-color);
}

.bg-orange-light {
    background: #fff8f0;
}

.rounded-20 {
    border-radius: 20px;
}

.shadow-premium {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

/* ─── RESPONSIVE REFINEMENTS ─── */
@media (max-width: 767px) {
    .frow {
        flex-direction: column;
        gap: 0;
    }

    .form-header-premium {
        padding: 20px;
        gap: 15px;
    }

    .floating-avatar {
        width: 70px;
        height: 70px;
    }

    .form-header-text h3 {
        font-size: 17px;
    }

    .form-body-premium {
        padding: 25px 20px;
    }

    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero-header-badge {
        justify-content: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .achiev-item {
        text-align: left;
        padding: 12px;
    }

    .achiev-label {
        font-size: 13px;
    }

    .achiev-label span {
        font-size: 11px;
    }

    .hero-header-badge {
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-eyebrow {
        text-align: center;
    }

    .hstat {
        margin-bottom: 20px;
    }

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

    .border-sm-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

    #salidas {
        padding-bottom: 30px;
    }

    #requisitos {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #testimonios {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #faqs {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #cta-final {
        padding-top: 30px;
    }
}