/* ========================================
   VITTORIA FINANZA - Styles
   ======================================== */

:root {
    --navy: #1a2744;
    --navy-light: #2a4374;
    --gold: #d4a843;
    --gold-light: #f5e6c8;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --red: #dc2626;
    --green: #16a34a;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}
.btn-primary:hover { background: #131f36; }

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212,168,67,0.3);
}
.btn-gold:hover { background: #e0b853; transform: translateY(-1px); }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s;
    background: transparent;
}
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--gray-100);
}
.header.scrolled .nav-desktop a,
.header.scrolled .header-phone,
.header.scrolled .menu-toggle { color: var(--gray-700); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}
.header.scrolled .nav-desktop a:hover,
.nav-desktop a:hover { color: var(--navy); }

.header-actions { display: none; align-items: center; gap: 1rem; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}
.header-phone:hover { color: var(--navy); }

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    gap: 0.75rem;
    flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy) !important;
}

@media (min-width: 1024px) {
    .nav-desktop, .header-actions { display: flex; }
    .menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #131f36, #1a2744, #253a65);
    overflow: hidden;
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: 10%; right: 5%;
    width: 400px; height: 400px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(100px);
}
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 10%; left: 5%;
    width: 300px; height: 300px;
    background: var(--navy-light);
    border-radius: 50%;
    filter: blur(80px);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 600px;
}
.text-gold { color: var(--gold); }

.hero-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 480px;
}
.stat { text-align: center; }
.stat-icon {
    display: flex;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}
.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.25rem;
}

/* Hero Card */
.hero-card-desktop { display: none; }
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-card-icon {
    width: 48px; height: 48px;
    background: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.hero-card-title { font-weight: 600; color: var(--white); font-size: 1rem; }
.hero-card-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.6); }

.hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-card-stat {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-card-label { font-size: 0.6875rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-card-value-gold { font-size: 1.5rem; font-weight: 700; color: var(--gold); font-family: 'Inter', sans-serif; }
.hero-card-value { font-size: 1.5rem; font-weight: 700; color: var(--white); font-family: 'Inter', sans-serif; }

.hero-card-bar {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}
.hero-card-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}
.hero-card-bar-value { color: var(--gold); font-weight: 600; }
.hero-card-progress { width: 100%; height: 6px; background: rgba(255,255,255,0.2); border-radius: 9999px; overflow: hidden; }
.hero-card-progress-fill { height: 100%; width: 60%; background: var(--gold); border-radius: 9999px; }
.hero-card-bar-label { font-size: 0.6875rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }
.hero-card-disclaimer { font-size: 0.6875rem; color: rgba(255,255,255,0.4); text-align: center; }

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-card-desktop { display: block; }
    .stat { text-align: left; }
    .hero-stats { gap: 2.5rem; }
}

/* Section */
.section { padding: 5rem 0; }
.section-gray { background: var(--gray-50); }
.section-dark {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.section-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}
.section-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 25%;
    width: 400px; height: 400px;
    background: var(--white);
    border-radius: 50%;
    filter: blur(80px);
}
.section-bg::after {
    content: '';
    position: absolute;
    bottom: 0; right: 25%;
    width: 300px; height: 300px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(80px);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: block;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,39,68,0.2);
    transform: translateY(-2px);
}
.service-icon {
    width: 56px; height: 56px;
    background: rgba(26,39,68,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: var(--navy);
    color: var(--white);
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.service-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.service-meta {
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.service-meta > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.meta-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.meta-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
}
.meta-accent { color: var(--navy); }

/* Features */
.features-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    background: rgba(248,249,250,0.5);
    transition: all 0.3s;
}
.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-color: rgba(212,168,67,0.4);
}
.feature-icon {
    width: 48px; height: 48px;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.feature-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
}
.feature-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Steps */
.steps-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.step-card:hover { background: rgba(255,255,255,0.15); }
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.step-icon {
    width: 48px; height: 48px;
    background: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.step-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    font-family: 'Inter', sans-serif;
}
.step-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.step-card p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--gold);
}
.testimonial-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.testimonial-author strong {
    display: block;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}
.testimonial-author > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}
.testimonial-role { color: var(--navy); font-weight: 600; }
.testimonial-loc { color: var(--gray-500); }

/* CTA */
.cta-box {
    position: relative;
    background: linear-gradient(135deg, #131f36, #1a2744, #253a65);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}
.cta-bg::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 250px; height: 250px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(80px);
}
.cta-bg::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 200px; height: 200px;
    background: var(--white);
    border-radius: 50%;
    filter: blur(60px);
}
.cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}
.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.cta-contact {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.cta-contact h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}
.cta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cta-icon {
    width: 40px; height: 40px;
    background: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
}
.cta-label {
    display: block;
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.cta-item a, .cta-item p {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
}
.cta-item a:hover { color: var(--gold); }

@media (min-width: 1024px) {
    .cta-box { padding: 4rem; }
    .cta-grid { grid-template-columns: 1fr 1fr; }
    .cta-content h2 { font-size: 2.5rem; }
}

/* Legal Banner */
.legal-banner {
    background: #fef9eb;
    border-top: 1px solid #f0e0b0;
    border-bottom: 1px solid #f0e0b0;
    padding: 1.5rem 0;
}
.legal-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.legal-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #92400e;
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
}
.legal-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.legal-text svg {
    color: #b45309;
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.legal-text p {
    font-size: 0.6875rem;
    color: #78350f;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .legal-inner { flex-direction: row; align-items: flex-start; }
}

/* Footer */
.footer {
    background: #0d1320;
    color: var(--white);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}
.footer-piva {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
}
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}
.footer-item svg { color: var(--gold); flex-shrink: 0; margin-top: 0.125rem; }
.footer-item p, .footer-item a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.footer-item a:hover { color: var(--white); }
.footer-link {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

/* ========================================
   PAGE: SOLICITAR (Form)
   ======================================== */
.page-form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
}
.page-form main { flex: 1; padding-top: 120px; padding-bottom: 3rem; }

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.form-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}
.form-header .back-link:hover { color: var(--navy); }
.form-header h1 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.form-header p { color: var(--gray-500); }

.form-box {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}
@media (max-width: 640px) { .form-box { padding: 1.5rem; } }

.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-error svg { color: var(--red); flex-shrink: 0; margin-top: 0.125rem; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

.form-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.form-group { margin-bottom: 0.25rem; }
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}
.form-group label .required { color: var(--red); }

.input-wrap { position: relative; }
.input-wrap svg {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.input-wrap input,
.input-wrap select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
    transition: all 0.2s;
}
.input-wrap input:focus,
.input-wrap select:focus,
textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26,39,68,0.1);
}
.input-wrap input.error,
.input-wrap select.error {
    border-color: #fca5a5;
    background: #fef2f2;
}
.input-wrap input { padding-left: 2.5rem; }
.input-wrap select { padding-left: 2.5rem; appearance: none; }
.input-wrap select option { padding: 0.5rem; }
textarea { resize: vertical; min-height: 100px; }

.error-msg {
    font-size: 0.75rem;
    color: var(--red);
    margin-top: 0.25rem;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 1.5rem 0;
}
.privacy-check input {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    accent-color: var(--navy);
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.privacy-check .check-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.privacy-check .check-label a {
    color: var(--navy);
    text-decoration: underline;
}
.privacy-check .check-label a:hover { text-decoration: none; }

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}
.btn-submit:hover:not(:disabled) { background: #131f36; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-submit .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* ========================================
   PAGE: GRACIAS (Thank You)
   ======================================== */
.page-center {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
}
.page-center main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 3rem;
}

.thanks-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    text-align: center;
}
.thanks-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--green);
}
.thanks-card h1 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.thanks-card > p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.steps-box {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
}
.steps-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.steps-box h3 svg { color: var(--navy); }

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.step-row:last-child { margin-bottom: 0; }
.step-num-badge {
    width: 24px;
    height: 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step-row p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding-top: 0.125rem;
}

.help-box {
    background: rgba(26,39,68,0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
}
.help-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.help-box h3 svg { color: var(--navy); }
.help-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}
.help-item svg { color: var(--gray-400); flex-shrink: 0; }
.help-item a {
    color: var(--navy);
    font-weight: 600;
}
.help-item a:hover { text-decoration: underline; }

.thanks-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ========================================
   PAGE: LEGAL (Privacy / Termini)
   ======================================== */
.page-legal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
}
.page-legal main {
    flex: 1;
    padding-top: 120px;
    padding-bottom: 3rem;
}

.legal-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}
@media (max-width: 640px) { .legal-card { padding: 1.5rem; } }

.legal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.legal-title-icon {
    width: 40px;
    height: 40px;
    background: rgba(26,39,68,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.legal-title h1 {
    font-size: 1.75rem;
    color: var(--gray-900);
}
.legal-updated {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}
.legal-content a {
    color: var(--navy);
    text-decoration: underline;
}
.legal-content a:hover { text-decoration: none; }
.legal-content strong { color: var(--gray-900); }
