﻿@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
    --primary: #1E3A8A;   /* Royal Blue */
    --secondary: #0F172A; /* Dark Slate */
    --accent: #D97706;    /* Gold / Amber */
    --text-dark: #334155;
    --text-light: #F8FAFC;
    --bg-light: #FAFAF9;  /* Warm Off-White */
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: var(--white); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid #E2E8F0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.logo-box { display: flex; align-items: center; gap: 12px; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.5rem; color: var(--primary); letter-spacing: 0.5px; }
.logo-box img { width: 38px; height: 38px; }
nav { display: flex; gap: 35px; }
nav a { font-weight: 700; font-size: 0.95rem; color: var(--secondary); transition: color 0.3s; text-transform: uppercase; letter-spacing: 1px; }
nav a:hover { color: var(--accent); }
.btn-cta { background: var(--accent); color: var(--white); padding: 12px 26px; font-weight: 700; transition: all 0.3s; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.btn-cta:hover { background: #B45309; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 100px 5% 90px; background: linear-gradient(rgba(30, 58, 138, 0.95), rgba(15, 23, 42, 0.95)), url('hero-bg.jpg') center/cover; color: var(--text-light); border-bottom: 5px solid var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); color: var(--white); margin-bottom: 25px; line-height: 1.2; max-width: 1000px; font-weight: 800; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { font-size: 1.25rem; color: #E2E8F0; margin-bottom: 40px; max-width: 800px; font-weight: 400; }
.hero-badges { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-top: 40px; font-size: 0.95rem; font-weight: 700; color: #E2E8F0; text-transform: uppercase; letter-spacing: 1px; }
.hero-badges span { display: flex; align-items: center; gap: 10px; }
.hero-badges i { color: var(--accent); font-size: 1.2rem; }

/* Stats Bar */
.stats-bar { background: var(--white); padding: 40px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; border-bottom: 1px solid #E2E8F0; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.stat-item p { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary); }

/* About */
.about { padding: 90px 5%; max-width: 900px; margin: 0 auto; text-align: center; }
.about h2 { font-size: 2.5rem; margin-bottom: 30px; }
.about p { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 20px; line-height: 1.8; }

/* Features */
.features { padding: 90px 5%; background: var(--white); border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; }
.feat-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feat-img { position: relative; padding: 20px; background: var(--bg-light); border: 1px solid #E2E8F0; }
.feat-img img { box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.feat-text h2 { font-size: 2.5rem; margin-bottom: 35px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 30px; }
.feat-list li { display: flex; gap: 20px; align-items: flex-start; }
.feat-icon { color: var(--accent); font-size: 2rem; flex-shrink: 0; line-height: 1; }
.feat-list h4 { font-size: 1.3rem; margin-bottom: 8px; font-family: 'Lato', sans-serif; font-weight: 700; color: var(--secondary); }
.feat-list p { font-size: 1rem; color: #475569; }

/* FAQ */
.faq { padding: 90px 5%; background: var(--bg-light); }
.faq-wrap { max-width: 850px; margin: 0 auto; }
.faq-wrap h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
details { background: var(--white); margin-bottom: 15px; border: 1px solid #E2E8F0; border-left: 4px solid var(--primary); transition: all 0.3s ease; }
details[open] { border-left-color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
summary { padding: 25px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; font-size: 1.1rem; color: var(--secondary); font-family: 'Playfair Display', serif; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f0d7'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); transition: 0.3s; font-size: 1.2rem; }
details[open] summary::after { transform: rotate(180deg); }
.faq-content { padding: 0 25px 25px; color: #475569; font-size: 1.05rem; }

/* Form Section */
.form-section { padding: 100px 5%; background: var(--secondary); color: var(--white); background-image: radial-gradient(circle at top right, rgba(30,58,138,0.4), transparent); }
.form-card { max-width: 700px; margin: 0 auto; background: var(--white); padding: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); color: var(--text-dark); border-top: 5px solid var(--accent); min-height: 480px; position: relative; }
.form-card h2 { text-align: center; margin-bottom: 10px; font-size: 2.2rem; }
.form-card p.subtitle { text-align: center; color: #64748B; margin-bottom: 40px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

.form-step { display: none; opacity: 0; transition: opacity 0.4s ease; }
.form-step.active { display: block; opacity: 1; }

.input-group { margin-bottom: 22px; }
.input-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; color: var(--secondary); }
.input-group select, .input-group input { width: 100%; padding: 15px; border: 1px solid #CBD5E1; font-family: 'Lato', sans-serif; font-size: 1rem; background: var(--bg-light); transition: all 0.3s; color: var(--text-dark); }
.input-group select:focus, .input-group input:focus { border-color: var(--primary); background: var(--white); outline: none; box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2); }

.btn-next, .btn-submit { width: 100%; background: var(--primary); color: var(--white); padding: 16px; border: none; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }
.btn-next:hover, .btn-submit:hover { background: var(--accent); }

/* Loader */
.calc-loader { text-align: center; padding: 60px 0; }
.spinner { width: 60px; height: 60px; border: 4px solid #E2E8F0; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 25px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success-box { text-align: center; padding: 50px 0; display: none; }
.success-box i { font-size: 4.5rem; color: var(--accent); margin-bottom: 20px; }
.success-box h3 { font-size: 2rem; margin-bottom: 15px; }
.success-box p { font-size: 1.1rem; color: #475569; }

/* Legal Pages */
.legal-page { padding: 80px 5%; background: var(--bg-light); }
.legal-container { max-width: 850px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #E2E8F0; border-top: 5px solid var(--primary); }
.legal-container h1 { font-size: 2.5rem; margin-bottom: 30px; border-bottom: 1px solid #E2E8F0; padding-bottom: 15px; }
.legal-container h2 { font-size: 1.5rem; margin: 35px 0 15px; color: var(--primary); }
.legal-container p, .legal-container ul { margin-bottom: 18px; font-size: 1.05rem; color: #475569; }
.legal-container ul { padding-left: 20px; }
.map-iframe { margin-top: 40px; border: 1px solid #E2E8F0; height: 400px; }

/* Footer */
footer { background: var(--secondary); color: #94A3B8; padding: 70px 5% 30px; text-align: center; }
.foot-logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--white); font-weight: 800; margin-bottom: 30px; display: flex; justify-content: center; align-items: center; gap: 12px; letter-spacing: 1px; }
.foot-logo img { width: 32px; height: 32px; }
.foot-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 35px; flex-wrap: wrap; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 700; }
.foot-links a { transition: color 0.3s; }
.foot-links a:hover { color: var(--accent); }
.copy { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; font-size: 0.85rem; }

/* Cookie */
.cookie-bar { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--secondary); padding: 25px 5%; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); z-index: 9999; display: flex; justify-content: space-between; align-items: center; transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1); border-top: 2px solid var(--accent); }
.cookie-bar.active { bottom: 0; }
.cookie-txt { font-size: 0.9rem; max-width: 65%; color: var(--text-light); line-height: 1.5; }
.cookie-actions { display: flex; gap: 15px; }
.btn-cookie { padding: 12px 24px; font-weight: 700; cursor: pointer; border: none; font-family: 'Lato', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.btn-cookie.acc { background: var(--accent); color: var(--white); }
.btn-cookie.rej { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-cookie.acc:hover { background: #B45309; }

@media (max-width: 768px) {
    nav { display: none; }
    .hero { padding: 70px 5%; }
    .hero h1 { font-size: 2rem; }
    .feat-container { grid-template-columns: 1fr; }
    .cookie-bar { flex-direction: column; gap: 20px; text-align: center; }
    .cookie-txt { max-width: 100%; }
    .legal-container { padding: 40px 20px; }
}
