/* ============ PAGE HERO (SUBPAGE) ============ */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.page-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.page-hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.35s;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ PAGE-SPECIFIC HEADER VISIBLE ============ */
.header.page-header {
    opacity: 1;
    transform: translateY(0);
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 5rem 2rem 6rem;
    background: var(--cream);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ============ CONTACT INFO SIDE ============ */
.contact-info {
    padding-top: 1rem;
}

.contact-info-title {
    font-family: 'Fraunces', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(61, 52, 40, 0.06);
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
}

.contact-method-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-method-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-method-content a {
    color: var(--orange-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method-content a:hover {
    color: var(--orange);
}

/* Social Links */
.contact-social {
    display: flex;
    gap: 0.75rem;
}

.contact-social a {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 2px 12px rgba(61, 52, 40, 0.06);
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-social svg {
    width: 18px;
    height: 18px;
}

/* ============ CONTACT FORM ============ */
.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 4px 40px rgba(61, 52, 40, 0.08);
}

.contact-form-title {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label .required {
    color: var(--coral);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A7968' stroke-width='2'%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;
    cursor: pointer;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit Button */
.btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.btn-submit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-submit-icon svg {
    width: 20px;
    height: 20px;
}

.btn-submit:hover .btn-submit-icon {
    transform: translateX(4px);
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.active {
    display: block;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-success-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.form-success h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ FAQ TEASER ============ */
.faq-teaser {
    padding: 5rem 2rem;
    background: var(--cream-dark);
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(61, 52, 40, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--orange);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--warm-gray);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ DEMO CTA ============ */
.demo-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
    text-align: center;
}

.demo-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.demo-cta h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.demo-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Demo CTA button - matches primary style */
.btn-demo-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    color: var(--orange-dark);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-demo-cta:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-demo-cta-bg {
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: 100px;
    z-index: 0;
}

.btn-demo-cta-spotlight {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.btn-demo-cta:hover .btn-demo-cta-spotlight {
    opacity: 1;
    animation: spotlight-move-demo 0.5s ease forwards;
}

@keyframes spotlight-move-demo {
    0% {
        background: radial-gradient(
            circle at 20% 50%,
            rgba(245, 166, 35, 0.15) 0%,
            rgba(245, 166, 35, 0.05) 35%,
            transparent 60%
        );
    }
    100% {
        background: radial-gradient(
            circle at 80% 50%,
            rgba(245, 166, 35, 0.15) 0%,
            rgba(245, 166, 35, 0.05) 35%,
            transparent 60%
        );
    }
}

.btn-demo-cta-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.btn-demo-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(232, 148, 42, 0.1) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.btn-demo-cta-icon svg {
    width: 18px;
    height: 18px;
    color: var(--orange-dark);
    transition: color 0.3s ease;
}

.btn-demo-cta-text {
    white-space: nowrap;
}

.btn-demo-cta:hover .btn-demo-cta-icon {
    order: 2;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.3) 0%, rgba(232, 148, 42, 0.2) 100%);
    animation: slide-icon-right-demo 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.btn-demo-cta:hover .btn-demo-cta-text {
    order: 1;
    animation: slide-text-left-demo 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slide-icon-right-demo {
    0% {
        transform: translateX(calc(-100% - 0.75rem));
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-text-left-demo {
    0% {
        transform: translateX(calc(32px + 0.75rem));
    }
    100% {
        transform: translateX(0);
    }
}

.btn-demo-cta:hover .btn-demo-cta-icon svg {
    color: var(--orange);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .contact-section {
        padding: 3rem 1.5rem 4rem;
    }

    .faq-teaser {
        padding: 3rem 1.5rem;
    }

    .demo-cta {
        padding: 4rem 1.5rem;
    }

    .contact-form-card {
        padding: 1.75rem;
    }
}