/* =============================================
   Center Point Assembly - Main Styles
   Modern church theme inspired by brentwood.church
   ============================================= */

:root {
    --color-primary: #1a1a2e;
    --color-primary-light: #16213e;
    --color-accent: #c4a35a;
    --color-accent-hover: #d4b76a;
    --color-dark: #0f0f1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-light: #f8f7f4;
    --color-white: #ffffff;
    --color-border: #e5e5e5;
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --section-padding: 100px 0;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    margin-bottom: 24px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(196, 163, 90, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-dark {
    background: var(--color-primary);
    color: var(--color-white);
}
.btn-dark:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

.site-header.transparent {
    background: transparent;
}

.site-header.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 24px;
    position: relative;
    z-index: 1100;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-inner {
    padding: 8px 24px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1100;
}

.site-logo img {
    height: 120px;
    width: auto;
    transition: height 0.3s ease;
}

.site-header.scrolled .site-logo img {
    height: 50px;
}

/* Desktop Nav */
.nav-primary {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-primary a {
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    position: relative;
    white-space: nowrap;
}

.nav-primary a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-primary a:hover::after,
.nav-primary a.active::after {
    width: 60%;
}

.nav-primary a:hover {
    color: var(--color-accent);
}

/* Desktop CTA Button */
.nav-cta {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.78rem;
}

/* Hamburger - hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    margin: 7px 0;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 26, 0.4) 0%,
        rgba(15, 15, 26, 0.6) 50%,
        rgba(15, 15, 26, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content .section-label {
    color: var(--color-accent);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero (shorter) */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.page-hero .hero-bg::after {
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 26, 0.5) 0%,
        rgba(15, 15, 26, 0.7) 100%
    );
}

.page-hero h1 {
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.page-hero .section-label {
    position: relative;
    z-index: 2;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--color-light);
}

.section-dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-dark .section-text {
    color: rgba(255, 255, 255, 0.75);
}

.section-dark h4 {
    color: var(--color-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .expect-card h4 {
    color: var(--color-white);
}

.section-dark .expect-card p {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .expect-card p em {
    color: rgba(255, 255, 255, 0.95);
}

.section-dark .belief-card {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--color-accent);
}

.section-dark .belief-card h4 {
    color: var(--color-white);
}

.section-dark .belief-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-layout.reverse .split-content { order: 2; }
.split-layout.reverse .split-image { order: 1; }

.split-image {
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.split-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--color-accent);
    z-index: -1;
}

.split-content .section-text {
    margin-bottom: 32px;
}

/* =============================================
   SERVICE TIMES BLOCK
   ============================================= */
.service-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 32px;
    text-align: center;
    border-bottom: 3px solid var(--color-accent);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: 50%;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-accent);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.service-card .time {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.service-card .details {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =============================================
   MINISTRY CARDS
   ============================================= */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.ministry-card {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.ministry-card-image {
    height: 250px;
    overflow: hidden;
}

.ministry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-card:hover .ministry-card-image img {
    transform: scale(1.05);
}

.ministry-card-body {
    padding: 32px;
}

.ministry-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.ministry-card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ministry-card-body .schedule {
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   STAFF SECTION
   ============================================= */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

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

.staff-card-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid var(--color-accent);
}

.staff-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.staff-card .staff-title {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.staff-card .staff-bio {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.staff-card .staff-contact {
    margin-top: 16px;
    font-size: 0.9rem;
}

.staff-card .staff-contact a {
    color: var(--color-accent);
}
.staff-card .staff-contact a:hover {
    color: var(--color-accent-hover);
}

/* =============================================
   BELIEFS SECTION
   ============================================= */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.belief-card {
    padding: 32px;
    background: var(--color-white);
    border-left: 3px solid var(--color-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.belief-card h4 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: var(--color-primary);
}

.belief-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   CTA PARALLAX SECTION
   ============================================= */
.cta-parallax {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-parallax .hero-bg::after {
    background: rgba(15, 15, 26, 0.75);
}

.cta-parallax h2 {
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-parallax p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.cta-parallax .btn {
    position: relative;
    z-index: 2;
}

.cta-parallax .section-label {
    position: relative;
    z-index: 2;
}

/* =============================================
   SERMONS
   ============================================= */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.sermon-card {
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.sermon-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.sermon-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sermon-card-image .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.sermon-card:hover .play-icon {
    opacity: 1;
}

.play-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-white);
}

.sermon-card-body {
    padding: 24px;
}

.sermon-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sermon-card-body .sermon-meta {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Live Stream Section */
.livestream-section {
    text-align: center;
}

.livestream-embed {
    max-width: 800px;
    margin: 32px auto 0;
    aspect-ratio: 16 / 9;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.livestream-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-accent);
}

.contact-info-text h4 {
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.contact-info-text p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-text a {
    color: var(--color-accent);
}
.contact-info-text a:hover {
    color: var(--color-accent-hover);
}

.contact-form {
    background: var(--color-light);
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.contact-map {
    margin-top: 48px;
    height: 400px;
    background: var(--color-border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   WHAT TO EXPECT
   ============================================= */
.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.expect-card {
    text-align: center;
    padding: 32px;
}

.expect-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
}

.expect-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

.expect-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.expect-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 968px) {
    /* Hide desktop nav and CTA */
    .nav-primary {
        display: none;
    }

    .nav-cta {
        display: none !important;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    /* Mobile nav overlay */
    .nav-primary.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        z-index: 1050;
        padding: 100px 24px 60px;
        gap: 0;
        margin-left: 0;
    }

    .nav-primary.active a {
        font-size: 1.3rem;
        padding: 16px 24px;
        text-align: center;
    }

    .nav-primary.active a::after {
        display: none;
    }

    .site-logo img {
        height: 80px;
    }

    .site-header.scrolled .site-logo img {
        height: 40px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-layout.reverse .split-content { order: 1; }
    .split-layout.reverse .split-image { order: 2; }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ministry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero { min-height: 500px; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-times-grid {
        grid-template-columns: 1fr;
    }

    .sermon-grid {
        grid-template-columns: 1fr;
    }
}

/* Logo section description */
.logo-meaning {
    padding: 60px 0;
}

.logo-meaning-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.logo-meaning-image {
    text-align: center;
}

.logo-meaning-image img {
    max-width: 250px;
    margin: 0 auto;
}

.logo-meaning-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .logo-meaning-grid {
        grid-template-columns: 1fr;
    }
    .logo-meaning-image {
        order: -1;
    }
}

/* Map section */
.map-section {
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* =============================================
   CONTACT FORM 7 STYLES
   ============================================= */
.contact-form .wpcf7 {
    position: relative;
}

.contact-form .wpcf7-form {
    position: relative;
}

/* CF7 Row/Column layout */
.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.cf7-col {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-text);
}

.contact-form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
    margin-bottom: 20px;
}

.contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

.contact-form textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form select.wpcf7-form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-accent);
    color: var(--color-white);
    margin-top: 8px;
}

.contact-form .wpcf7-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(196, 163, 90, 0.3);
}

/* CF7 Validation */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: -16px;
    margin-bottom: 16px;
    display: block;
}

.wpcf7-not-valid {
    border-color: #e74c3c !important;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 16px 20px !important;
    border: none !important;
    border-radius: 0;
    font-size: 0.9rem;
    text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: #1a1a2e !important;
    color: var(--color-white) !important;
    border: none !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: #fef5f5 !important;
    color: #e74c3c !important;
    border: 1px solid #f5c6cb !important;
}

.wpcf7 form.failed .wpcf7-response-output {
    background: #fff8e1 !important;
    color: #856404 !important;
    border: 1px solid #ffeeba !important;
}

/* =============================================
   SUBMISSION ANIMATION
   ============================================= */
/* Loading spinner during submission */
.wpcf7 .wpcf7-spinner {
    display: none;
}

.wpcf7 form.submitting::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 247, 244, 0.9);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcf7 form.submitting::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    z-index: 11;
    animation: cf7spin 0.8s linear infinite;
}

@keyframes cf7spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success state animation */
.wpcf7 form.sent .wpcf7-response-output {
    animation: cf7SlideUp 0.5s ease-out;
}

@keyframes cf7SlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success checkmark overlay */
.cf7-success-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 247, 244, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    animation: cf7FadeIn 0.4s ease-out;
}

@keyframes cf7FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cf7-success-overlay .checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: cf7Pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cf7Pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cf7-success-overlay .checkmark-circle svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: cf7Draw 0.5s 0.3s ease forwards;
}

@keyframes cf7Draw {
    to { stroke-dashoffset: 0; }
}

.cf7-success-overlay h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cf7-success-overlay p {
    color: var(--color-text-light);
    font-size: 1rem;
    max-width: 300px;
    text-align: center;
    line-height: 1.6;
}

/* Responsive CF7 */
@media (max-width: 640px) {
    .cf7-row {
        grid-template-columns: 1fr;
    }
}

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
