/* Hosrava Legal Pages — Shared Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
            /* 30% — Brand / Secondary */
            --navy: #1a2332;
            --navy-light: #2a3a4e;
            --black: #111111;

            /* 10% — Accent */
            --gold: #c9a96e;
            --gold-light: #d4b97e;
            --gold-border: rgba(201,169,110,0.35);

            /* 60% — Dominant / Backgrounds */
            --white: #ffffff;
            --cream: #faf8f5;
            --gray-50: #f7f7f7;
            --gray-100: #f0f0f0;
            --gray-200: #e2e2e2;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-700: #3d3d3d;
            --gray-900: #111111;
        }

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(255,255,255,0.97);
            border-bottom: 1px solid var(--gray-100);
            backdrop-filter: blur(8px);
        }

        nav .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--navy);
            letter-spacing: 0.02em;
        }

        .logo span { color: var(--gold); }

        .nav-links {
            display: flex;
            gap: 32px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--gray-700);
            transition: color 0.2s;
        }

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

        .nav-phone {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--navy) !important;
            white-space: nowrap;
        }
        .nav-phone:hover { color: var(--gold) !important; }

        .nav-cta {
            background: var(--gold);
            color: var(--navy) !important;
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 500;
            transition: background 0.2s;
        }

        .nav-cta:hover { background: var(--gold-light); }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--navy);
            margin: 6px 0;
            transition: 0.3s;
        }

        

/* FOOTER */

        footer {
            padding: 64px 0 40px;
            background: var(--navy);
            color: rgba(255,255,255,0.7);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-brand .logo { font-size: 1.3rem; }
        .footer-brand p {
            color: rgba(255,255,255,0.5);
            font-size: 0.88rem;
            margin-top: 12px;
            max-width: 280px;
        }

        footer h4 {
            color: var(--white);
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 16px;
        }

        footer ul { list-style: none; }
        footer ul li { margin-bottom: 10px; }
        footer ul a {
            color: rgba(255,255,255,0.6);
            font-size: 0.88rem;
            transition: color 0.2s;
        }
        footer ul a:hover { color: var(--white); }

        .footer-bottom {
            padding-top: 32px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.4);
        }

        

/* PAGE HEADER */
.page-header {
    background: var(--navy);
    padding: 100px 0 56px;
    margin-top: 68px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.page-header p {
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    font-size: 0.95rem;
}

/* POLICY CONTENT */
.policy-content {
    padding: 56px 0 80px;
    max-width: 780px;
}
.policy-content p {
    margin-bottom: 16px;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.policy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 40px 0 12px;
}
.policy-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 24px 0 8px;
}
.policy-content ul {
    margin: 10px 0 18px 24px;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.policy-content ul li { margin-bottom: 8px; }
.policy-content a { color: var(--navy); text-decoration: underline; }
.policy-content a:hover { color: var(--gold); }
hr.divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 32px 0;
}

/* OPT-OUT PAGE */
.optout-box {
    background: var(--cream);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 36px;
    margin: 32px 0;
}
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row input[type="tel"] {
    flex: 1; min-width: 200px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
}
.form-row input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.btn-optout {
    background: var(--navy); color: var(--white);
    padding: 12px 28px; border: none; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer; transition: background .2s;
}
.btn-optout:hover { background: var(--navy-light); }
.form-msg {
    margin-top: 14px; font-size: 0.9rem;
    display: none; padding: 12px 16px; border-radius: 8px;
}
.form-msg.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.form-msg.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-header { padding: 80px 0 40px; margin-top: 60px; }
    .policy-content { padding: 36px 0 60px; }
}
