/* ============================================================
   Jamaica Family Practice LLC — Styles
   Classic & Elegant · Deep Navy + Warm Gold
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2C3E50;
    background-color: #FDFBF7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: #1B2A4A;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #C9A84C;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1B2A4A;
}

/* ---------- Preloader ---------- */
#page-preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #1B2A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    animation: preloaderPulse 1.4s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1B2A4A;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-size: 0.875rem;
    font-weight: 500;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Typography Helpers ---------- */
.section-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #5A6B7D;
    max-width: 600px;
    margin: 0 auto;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #3D4F60;
    margin-bottom: 1.25rem;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #C9A84C;
    color: #1B2A4A;
    border-color: #C9A84C;
}

.btn-primary:hover {
    background: #B8943F;
    border-color: #B8943F;
    color: #1B2A4A;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.btn-outline-dark {
    background: transparent;
    color: #1B2A4A;
    border-color: #1B2A4A;
}

.btn-outline-dark:hover {
    background: #1B2A4A;
    color: #fff;
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(27, 42, 74, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(27, 42, 74, 0.97);
    box-shadow: 0 4px 32px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand:hover {
    color: #fff;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-primary {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A84C;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-links a {
    color: rgba(255,255,255,0.78);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201, 168, 76, 0.15);
    color: #C9A84C;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    margin-left: 1rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #C9A84C;
    color: #1B2A4A;
    border-color: #C9A84C;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(27, 42, 74, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .nav-links a {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .nav-cta {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1B2A4A;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(27, 42, 74, 0.92) 0%,
        rgba(27, 42, 74, 0.78) 50%,
        rgba(27, 42, 74, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: #C9A84C;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.trust-item svg {
    color: #C9A84C;
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Intro Strip ---------- */
.intro-strip {
    padding: 5rem 0;
    background: #FDFBF7;
}

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

.intro-block {
    background: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(27, 42, 74, 0.06);
    box-shadow: 0 2px 16px rgba(27, 42, 74, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27, 42, 74, 0.1);
}

.intro-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.intro-block h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1B2A4A;
}

.intro-block p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #5A6B7D;
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .intro-strip {
        padding: 3.5rem 0;
    }
}

/* ---------- About ---------- */
.about {
    padding: 6rem 0;
    background: #fff;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 42, 74, 0.15);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.2);
    border: 4px solid #fff;
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-accent-bar {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    background: #1B2A4A;
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.3);
}

.accent-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C9A84C;
    line-height: 1;
}

.accent-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #5A6B7D;
    margin-bottom: 1rem;
}

.about-values {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2C3E50;
}

.value-item svg {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image-accent {
        right: 0;
        bottom: -1.5rem;
    }
    .about-accent-bar {
        left: 0;
        top: -1rem;
    }
}

@media (max-width: 480px) {
    .about-values {
        grid-template-columns: 1fr;
    }
}

/* ---------- Services Detail ---------- */
.services-detail {
    padding: 6rem 0;
    background: #FDFBF7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(27, 42, 74, 0.06);
    box-shadow: 0 2px 16px rgba(27, 42, 74, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(27, 42, 74, 0.1);
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #E0C068);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-accent {
    opacity: 1;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 42, 74, 0.05);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(201, 168, 76, 0.12);
}

.service-card h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1B2A4A;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #5A6B7D;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-detail {
        padding: 4rem 0;
    }
}

/* ---------- Insurance ---------- */
.insurance {
    padding: 6rem 0;
    background: #1B2A4A;
    position: relative;
    overflow: hidden;
}

.insurance::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.insurance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.insurance-content .section-title {
    color: #fff;
}

.insurance-content .lead {
    color: rgba(255,255,255,0.75);
}

.insurance-content p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.25rem;
}

.insurance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin: 2rem 0;
}

.insurance-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.insurance-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #C9A84C;
    border-radius: 50%;
    flex-shrink: 0;
}

.insurance-note {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7) !important;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid #C9A84C;
}

.insurance-note a {
    color: #C9A84C;
    font-weight: 600;
}

.insurance-note a:hover {
    color: #E0C068;
}

.insurance-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 320px;
    width: 100%;
}

.insurance-card svg {
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.insurance-card-label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .insurance-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .insurance-visual {
        order: -1;
    }
    .insurance-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Location ---------- */
.location {
    padding: 6rem 0;
    background: #fff;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-info .section-title {
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.location-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-detail svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.location-detail strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 0.25rem;
}

.location-detail p,
.location-detail a {
    font-size: 0.9375rem;
    color: #5A6B7D;
    line-height: 1.7;
}

.location-detail a:hover {
    color: #C9A84C;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.1);
    border: 1px solid rgba(27, 42, 74, 0.06);
}

.location-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
}

.location-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 42, 74, 0.12);
    position: sticky;
    top: 100px;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .location-image {
        position: static;
        order: -1;
    }
}

/* ---------- Contact ---------- */
.contact {
    padding: 6rem 0;
    background: #FDFBF7;
}

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

.contact-info .section-title {
    margin-bottom: 1.25rem;
}

.contact-info .lead {
    color: #5A6B7D;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(27, 42, 74, 0.06);
    box-shadow: 0 2px 12px rgba(27, 42, 74, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
    color: #1B2A4A;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A9BAB;
    margin-bottom: 0.2rem;
}

.contact-method-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1B2A4A;
    line-height: 1.4;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.08);
    border: 1px solid rgba(27, 42, 74, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1B2A4A;
}

.required {
    color: #C0392B;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    color: #2C3E50;
    background: #FDFBF7;
    border: 1.5px solid rgba(27, 42, 74, 0.12);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #C9A84C;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0AEBF;
}

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

.form-group 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 24 24' fill='none' stroke='%235A6B7D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.form-success.visible {
    display: flex;
}

.form-success svg {
    color: #27AE60;
}

.form-success h3 {
    font-size: 1.5rem;
    color: #1B2A4A;
}

.form-success p {
    font-size: 0.9375rem;
    color: #5A6B7D;
    line-height: 1.7;
    max-width: 360px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 1.5rem;
    }
}

/* ---------- Footer ---------- */
.footer {
    background: #1B2A4A;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: #fff;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #C9A84C;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-contact a {
    color: #C9A84C;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #E0C068;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.3) !important;
    max-width: 500px;
    text-align: right;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-disclaimer {
        text-align: center;
    }
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    pointer-events: none;
}

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

.back-to-top button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1B2A4A;
    color: #fff;
    border: 1px solid rgba(201, 168, 76, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.back-to-top button:hover {
    background: #C9A84C;
    color: #1B2A4A;
    transform: scale(1.08);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
