/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy-950: #0a1628;
    --navy-900: #0f2140;
    --navy-800: #142d54;
    --navy-700: #1a3a6b;
    --navy-600: #1e4d8f;
    --navy-500: #2563a8;
    --gold-500: #C8A45E;
    --gold-400: #d4b76a;
    --gold-300: #e0c980;
    --gold-200: #f0dfa0;
    --gold-100: #faf3d8;
    --warm-50: #faf8f5;
    --warm-100: #f5f0ea;
    --warm-200: #ebe4d8;
    --warm-300: #d4c9b8;
    --warm-600: #6b5e50;
    --warm-700: #4a4036;
    --warm-800: #2d2720;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 6px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.16), 0 8px 20px rgba(10, 22, 40, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--warm-800);
    background: var(--warm-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
    color: var(--navy-900);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.15);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    font-weight: 700;
    transition: var(--transition);
}

.logo:hover {
    color: var(--navy-700);
}

.logo--light,
.logo--light:hover {
    color: var(--white);
}

.logo__icon {
    color: var(--gold-500);
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo__line1 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo__line2 {
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-500);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ===== NAV ===== */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--warm-700);
    transition: var(--transition);
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--navy-900);
    background: rgba(200, 164, 94, 0.1);
}

.nav__link--cta {
    background: var(--navy-900);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--navy-800);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(15, 33, 64, 0.85) 40%,
        rgba(26, 58, 107, 0.7) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 164, 94, 0.15);
    border: 1px solid rgba(200, 164, 94, 0.3);
    color: var(--gold-300);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.08;
}

.hero__accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__trust-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--gold-500);
    line-height: 1;
}

.hero__trust-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(6px); }
    60% { transform: translateX(-50%) translateY(3px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn--primary {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn--primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-label--light {
    color: var(--gold-300);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--warm-50);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__media {
    position: relative;
}

.about__image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.03);
}

.about__image-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--warm-50);
}

.about__image-secondary img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.about__content {
    padding: 20px 0;
}

.about__lead {
    font-size: 1.12rem;
    color: var(--warm-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__content > p {
    color: var(--warm-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--warm-200);
}

.about__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about__stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--navy-900);
    line-height: 1;
}

.about__stat-label {
    font-size: 13px;
    color: var(--warm-600);
    font-weight: 500;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--warm-100);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 164, 94, 0.2);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(200, 164, 94, 0.12), rgba(200, 164, 94, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--warm-600);
    line-height: 1.7;
}

/* ===== PREVENTION ===== */
.prevention {
    padding: 100px 0;
    background: var(--navy-900);
    overflow: hidden;
}

.prevention__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.prevention__lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 32px;
}

.prevention__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.prevention__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.prevention__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(200, 164, 94, 0.15);
    border: 1px solid rgba(200, 164, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-top: 2px;
}

.prevention__visual {
    position: relative;
}

.prevention__image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== COMMUNITY ===== */
.community {
    padding: 100px 0;
    background: var(--warm-50);
}

.community__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.community-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--warm-200);
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 164, 94, 0.3);
}

.community-card__emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.community-card__title {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.community-card__desc {
    font-size: 0.95rem;
    color: var(--warm-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-500);
    transition: var(--transition);
}

.link-arrow:hover {
    gap: 10px;
    color: var(--gold-400);
}

/* ===== CTA / CONTACT ===== */
.cta {
    padding: 100px 0;
    background: var(--warm-100);
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.cta__text {
    font-size: 1.05rem;
    color: var(--warm-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.cta__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cta__detail svg {
    flex-shrink: 0;
    color: var(--gold-500);
    margin-top: 2px;
}

.cta__detail strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cta__detail span,
.cta__detail a {
    font-size: 0.95rem;
    color: var(--warm-600);
    line-height: 1.6;
}

.cta__detail a:hover {
    color: var(--gold-500);
}

.cta__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-200);
}

.cta__form-title {
    font-size: 1.4rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--warm-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--warm-800);
    background: var(--warm-50);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form-input::placeholder {
    color: var(--warm-300);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%236b5e50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    color: var(--gold-500);
    margin-bottom: 16px;
}

.form-success__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--navy-900);
}

.form-success__text {
    color: var(--warm-600);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.65);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__list a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer__list a:hover {
    color: var(--gold-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__emergency strong {
    color: var(--gold-500);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-2px);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--warm-50);
        flex-direction: column;
        align-items: stretch;
        padding: 96px 24px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 105;
    }

    .nav__menu.open {
        transform: translateX(0);
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 22, 40, 0.5);
        z-index: 100;
    }

    .nav__overlay.visible {
        display: block;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about__grid,
    .prevention__inner,
    .cta__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-secondary {
        right: 16px;
        bottom: -24px;
    }

    .services__grid,
    .community__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .hero__content {
        padding: 100px 20px 60px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .hero__trust {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero__trust-divider {
        display: none;
    }

    .services__grid,
    .community__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .prevention__image {
        height: 400px;
    }

    .cta__form-wrapper {
        padding: 28px 20px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .community-card {
        will-change: transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
