/* ══════════════════════════════════════════
   PropFlow AI — Design System
   Aesthetic: Geometric Precision / Dark Gold
   ══════════════════════════════════════════ */

:root {
    --black:        #080808;
    --surface:      #0f0f10;
    --card:         #141416;
    --card-hover:   #1a1a1d;
    --border:       rgba(255, 255, 255, 0.07);
    --border-gold:  rgba(212, 175, 55, 0.28);
    --gold:         #D4AF37;
    --gold-bright:  #F0CE5E;
    --gold-dim:     rgba(212, 175, 55, 0.1);
    --gold-glow:    rgba(212, 175, 55, 0.35);
    --white:        #F0EEE8;
    --muted:        rgba(240, 238, 232, 0.44);

    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    --section-pad:  clamp(5rem, 10vw, 9rem);

    --ease:         cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast:       0.2s var(--ease);
    --t-med:        0.45s var(--ease);
    --t-slow:       0.7s var(--ease);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Background ── */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -20%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.055) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ── Container ── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}

/* ── Helpers ── */
.gold-text { color: var(--gold); }

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.section-header { margin-bottom: 4rem; }

/* ── Scroll animations ── */
[data-observe] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

[data-observe].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Buttons ── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast);
}

.btn-ghost:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: padding var(--t-med), background var(--t-med), border-color var(--t-med);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(8, 8, 8, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.logo-text strong {
    color: var(--gold);
    font-weight: 800;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    transition: color var(--t-fast);
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
    margin-left: 0.6rem;
    padding: 0.55rem 1.3rem !important;
    background: var(--gold-dim) !important;
    border: 1px solid var(--border-gold);
    color: var(--gold) !important;
    font-weight: 600 !important;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: background var(--t-fast) !important, color var(--t-fast) !important;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform var(--t-fast), opacity var(--t-fast);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: clamp(7rem, 15vw, 11rem);
    position: relative;
    overflow: hidden;
}

.hero .container { padding-bottom: 4rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border-gold);
    background: var(--gold-dim);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6.5vw, 5.8rem);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s var(--ease) 0.25s both;
}

.hero-title em {
    font-style: normal;
    color: var(--gold);
}

.hero-outline {
    -webkit-text-stroke: 2px rgba(240, 238, 232, 0.3);
    color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeUp 0.8s var(--ease) 0.55s both;
}

/* Ticker */
.hero-ticker {
    width: 100%;
    border-top: 1px solid var(--border);
    overflow: hidden;
    padding: 1.1rem 0;
    background: rgba(212, 175, 55, 0.025);
    animation: fadeUp 0.8s var(--ease) 0.7s both;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: ticker 28s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.ticker-item strong {
    color: var(--gold);
    font-weight: 500;
}

.ticker-sep {
    color: var(--border-gold);
    flex-shrink: 0;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

/* ══════════════════════════════════════════
   STATS
   ══════════════════════════════════════════ */
.stats {
    padding: 4.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.65rem;
    max-width: 130px;
    line-height: 1.4;
}

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.services { padding: var(--section-pad) 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-card {
    background: var(--card);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    transition: background var(--t-med);
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height var(--t-med);
}

.service-card:hover { background: var(--card-hover); }
.service-card:hover::before { height: 100%; }

.card-num {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0.75;
}

.card-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-metric {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-gold);
    display: inline-block;
    background: var(--gold-dim);
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════ */
.process {
    padding: var(--section-pad) 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4rem;
}

.process-line {
    position: absolute;
    top: 27px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), var(--border-gold), transparent);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    text-align: center;
}

.step-circle {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--black);
    border: 1.5px solid var(--gold);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 auto 2rem;
    transition: background var(--t-fast), color var(--t-fast);
}

.process-step:hover .step-circle {
    background: var(--gold);
    color: var(--black);
}

.step-body h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-body p {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ══════════════════════════════════════════
   RESULTS
   ══════════════════════════════════════════ */
.results { padding: var(--section-pad) 0; }

.results-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 0.75fr 1.25fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 4rem;
}

.result-card {
    background: var(--card);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.quote-text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 2rem;
    flex: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    flex-shrink: 0;
}

.quote-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.quote-author span {
    font-size: 0.78rem;
    color: var(--muted);
}

.result-badge {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 0.8rem;
    display: inline-block;
    background: var(--gold-dim);
    align-self: flex-start;
}

.result-stat-card {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.big-stat {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5vw, 5.5rem);
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.result-stat-card p {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 120px;
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq {
    padding: var(--section-pad) 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 6rem;
    align-items: start;
}

.faq-left p {
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 1.5rem;
    line-height: 1.7;
}

.faq-accordion { border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--t-fast);
}

.faq-q:hover { color: var(--gold); }


.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-a { max-height: 400px; }

.faq-a p {
    padding-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.72;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact { padding: var(--section-pad) 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0.75rem 0 1.5rem;
}

.contact-info p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.72;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-detail svg { color: var(--gold); flex-shrink: 0; }

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.trust-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

/* Form */
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-row .form-group { margin-bottom: 0; }

label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.06em;
}

input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: var(--black);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.93rem;
    outline: none;
    -webkit-appearance: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

input::placeholder, textarea::placeholder { color: rgba(240, 238, 232, 0.2); }

input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23D4AF37' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option { background: var(--card); color: var(--white); }

textarea { resize: vertical; min-height: 130px; }

/* ── Custom select wrapper ── */
.sel-wrap {
    position: relative;
    width: 100%;
}

.sel-wrap select {
    width: 100%;
    padding-right: 2.8rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
}

.sel-wrap svg {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gold);
}

/* ── Group labels ── */
.group-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.85rem;
}

.label-hint {
    color: rgba(240, 238, 232, 0.22);
    font-size: 0.65rem;
}

/* ── Checkboxes ──────────────────────────────
   Técnica: input[display:none] + label adyacente
   input:checked + label activa el estilo dorado
   ─────────────────────────────────────────── */
.cb-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.check-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: var(--black);
    font-size: 0.83rem;
    color: var(--muted);
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
    user-select: none;
}

.check-card svg {
    flex-shrink: 0;
    color: var(--muted);
    transition: color var(--t-fast);
    pointer-events: none;
}

/* Estado seleccionado */
.check-card.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: var(--gold);
}

.check-card.selected svg {
    color: var(--gold);
}

/* Hover */
.check-card:hover {
    border-color: var(--border-gold);
    color: var(--white);
}

/* ── Radio buttons ───────────────────────────
   Misma técnica: rb-hidden antes de radio-card
   ─────────────────────────────────────────── */
.rb-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.4rem;
    border: 1px solid var(--border);
    background: var(--black);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
    user-select: none;
}

/* Estado seleccionado */
.radio-card.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: var(--gold);
}

/* Hover */
.radio-card:hover {
    border-color: var(--border-gold);
    color: var(--white);
}

/* Form disclaimer */
.form-disclaimer {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.04em;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1.1rem 2rem;
    margin-top: 0.5rem;
    clip-path: none;
}

.form-status {
    margin-top: 1.25rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    padding: 0.8rem 1rem;
    display: none;
}

.form-status.success {
    display: block;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
    background: rgba(74, 222, 128, 0.06);
}

.form-status.error {
    display: block;
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: rgba(248, 113, 113, 0.06);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 5rem 0 2.5rem;
    background: var(--surface);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.87rem;
    margin-top: 1.2rem;
    max-width: 260px;
    line-height: 1.65;
}

.footer-nav h5 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--t-fast);
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
}

/* ══════════════════════════════════════════
   CHATBOT WIDGET
   ══════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    pointer-events: none;
}

.chat-bubble,
.chat-panel.open {
    pointer-events: auto;
}

.chat-bubble {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--black);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    box-shadow: 0 8px 32px var(--gold-glow);
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.chat-bubble:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 42px rgba(212, 175, 55, 0.55);
    background: var(--gold-bright);
}

.chat-notif {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid var(--black);
}

/* Chat panel */
.chat-panel {
    width: 390px;
    max-width: calc(100vw - 3rem);
    height: 530px;
    max-height: calc(100svh - 8rem);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0.88) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-med), opacity var(--t-med);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.chat-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Chat header */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid var(--border);
    background: var(--card);
    flex-shrink: 0;
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.chat-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.chat-agent-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.chat-status-dot {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #4ade80;
}

.chat-status-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2.5s ease-in-out infinite;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.35rem;
    transition: color var(--t-fast);
    display: grid;
    place-items: center;
}

.chat-close-btn:hover { color: var(--white); }

/* Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.chat-msg.bot  { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.msg-bubble {
    padding: 0.78rem 1rem;
    font-size: 0.87rem;
    line-height: 1.58;
}

.chat-msg.bot .msg-bubble {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    border-radius: 0 8px 8px 8px;
}

.chat-msg.user .msg-bubble {
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--white);
    border-radius: 8px 0 8px 8px;
}

.msg-time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 0.28rem;
    padding: 0 0.2rem;
}

.chat-msg.user .msg-time { text-align: right; }

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.85rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0 8px 8px 8px;
    width: fit-content;
    align-self: flex-start;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: typingBounce 1.3s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-7px); opacity: 1; }
}

/* Quick replies */
.chat-quick-replies {
    padding: 0.75rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.quick-reply {
    padding: 0.38rem 0.85rem;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}

.quick-reply:hover {
    background: var(--gold);
    color: var(--black);
}

/* Input area */
.chat-input-area {
    display: flex;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
}

#chatInput {
    flex: 1;
    padding: 0.85rem 1.1rem;
    background: var(--card);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--white);
    font-size: 0.87rem;
    font-family: var(--font-body);
    outline: none;
}

#chatInput:focus { background: var(--card-hover); }

#chatInput::placeholder { color: rgba(240, 238, 232, 0.22); }

#chatSend {
    padding: 0 1.2rem;
    background: var(--gold);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--t-fast);
    flex-shrink: 0;
}

#chatSend:hover { background: var(--gold-bright); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .results-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    /* Mobile nav */
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links.open a { font-size: 1.4rem; padding: 0.85rem; opacity: 0.9; }
    .nav-links.open .nav-cta {
        margin-top: 1rem;
        font-size: 1.1rem !important;
        padding: 0.75rem 2rem !important;
    }
    .hamburger { display: flex; }

    /* Grid adjustments */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--border); }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 2.5rem 2rem; }

    .process-timeline { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .process-line { display: none; }

    .results-grid { grid-template-columns: 1fr; }

    .faq-layout { grid-template-columns: 1fr; gap: 3rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-form-wrap { padding: 2rem; }

    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-sub br { display: none; }
    .hero-actions { flex-direction: column; }
    .btn-gold, .btn-ghost { justify-content: center; width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 1.5rem 0.75rem; }

    .process-timeline { grid-template-columns: 1fr; gap: 2.5rem; }
    .process-step { padding: 0; }

    .contact-form .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .radio-grid { grid-template-columns: repeat(2, 1fr); }
    .radio-card { font-size: 0.7rem; padding: 0.65rem 0.3rem; }

    .chat-widget { bottom: 1.25rem; right: 1.25rem; }
    .chat-panel { width: calc(100vw - 2.5rem); }
    .chat-bubble { width: 54px; height: 54px; }
}
