/* ========================================
   CONTACT PAGE CSS - LinkCodeAI
   Matching About Page color scheme exactly
   ======================================== */

/* === VARIABLES (same as About Page) === */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f7fa;
    --gray-medium: #6b7280;
    --orange-primary: #ff6b35;
    --orange-hover: #ff5722;
    --green-accent: #10b981;
    --blue-hover: #3b82f6;
    --navy-dark: #0a1929;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;

    /* Extended palette */
    --navy-mid: #1e3a5f;
    --border-color: #e5e7eb;
    --input-bg: #f9fafb;
    --input-focus-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
    --shadow-orange: 0 8px 24px rgba(255,107,53,0.30);
    --shadow-green: 0 8px 24px rgba(16,185,129,0.22);
    --section-pad: 100px 0;
    --section-pad-sm: 60px 0;
}

/* ========================================
   ACCESSIBILITY HELPERS
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   SHARED UTILITIES
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-accent), var(--orange-primary));
    border-radius: 2px;
    margin: 14px auto 0;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
    line-height: 1.6;
    text-align: center;
    margin-top: 18px;
}

.dm-section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Breadcrumbs (dark hero version) */
.breadcrumbs ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: rgba(255,255,255,0.5);
}

.breadcrumbs a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-normal);
    position: relative;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--orange-primary);
    transition: width var(--transition-normal);
}

.breadcrumbs a:hover { color: var(--orange-primary); }
.breadcrumbs a:hover::after { width: 100%; }
.breadcrumbs li[aria-current="page"] { color: var(--orange-primary); font-weight: 600; }

/* ========================================
   CONTACT HERO SECTION
   ======================================== */
.contact-header {
    position: relative;
    min-height: 420px;
    height: 56vh;
    max-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
}

.contact-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.22;
    transition: transform 8s ease;
}

/* Subtle zoom on hero bg */
.contact-header:hover .contact-hero-background img {
    transform: scale(1.04);
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 41, 0.94) 0%,
        rgba(10, 25, 41, 0.78) 55%,
        rgba(30, 58, 95, 0.88) 100%
    );
    z-index: 1;
}

/* Animated gradient orbs */
.contact-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,53,0.09) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    z-index: 1;
    animation: contactOrb 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes contactOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

.contact-header .container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 60px;
}

.contact-hero-content { max-width: 700px; }

.contact-hero-headline {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.contact-hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    line-height: 1.4;
}

.contact-hero-intro {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 600px;
}

/* ========================================
   CONTACT INFO CARDS SECTION
   ======================================== */
.contact-info-cards-section {
    padding: 0;
    background: var(--white);
    margin-top: -1px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-bottom: 2px solid var(--border-color);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 36px 28px;
    border-right: 1px solid var(--border-color);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--green-accent));
    transition: width var(--transition-slow);
}

.info-card:hover::before { width: 100%; }

.info-card:last-child { border-right: none; }

.info-card:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-hover));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all var(--transition-slow);
}

.info-card:hover .info-card-icon {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: var(--shadow-orange);
}

.info-card-content { flex: 1; }

.info-card-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange-primary);
    margin-bottom: 8px;
}

.info-card-detail {
    display: block;
    font-size: 15px;
    color: var(--black);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: normal;
}

.info-card-detail--link {
    text-decoration: none;
    transition: color var(--transition-normal);
}

.info-card-detail--link:hover { color: var(--orange-primary); }

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-accent);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.info-card-link:hover {
    color: var(--orange-primary);
    gap: 10px;
}

.info-card-link--whatsapp {
    margin-top: 0;
    color: #25d366;
    gap: 6px;
}

.info-card-link--whatsapp:hover { color: #1da851; }

/* Hours List */
.hours-list { display: flex; flex-direction: column; gap: 4px; }

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--black);
    padding: 3px 0;
}

.hours-row span:first-child { font-weight: 500; color: var(--gray-medium); }
.hours-row span:last-child { font-weight: 600; }
.hours-row--closed span:last-child { color: var(--orange-primary); }

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact-form-section {
    padding: var(--section-pad);
    background: var(--gray-light);
}

.contact-form-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Form Header */
.form-header { margin-bottom: 32px; }

.form-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 16px;
}

.form-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--green-accent));
    border-radius: 2px;
}

.form-main-subtitle {
    font-size: 15px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Success / Error Global Messages */
.form-success,
.form-error-global {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}

.form-success {
    background: rgba(16,185,129,0.08);
    border: 2px solid rgba(16,185,129,0.3);
    color: var(--black);
}

.form-success svg { color: var(--green-accent); flex-shrink: 0; margin-top: 2px; }
.form-success strong { display: block; margin-bottom: 4px; color: var(--black); }

.form-error-global {
    background: rgba(239,68,68,0.07);
    border: 2px solid rgba(239,68,68,0.25);
    color: #dc2626;
}

.form-error-global svg { flex-shrink: 0; margin-top: 2px; }

/* The Form */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Honeypot — must be visually hidden but accessible */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* Form Rows */
.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row--2col { grid-template-columns: 1fr 1fr; }

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full { grid-column: 1 / -1; }

/* Labels */
.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.1px;
}

.required-star {
    color: var(--orange-primary);
    font-size: 16px;
    line-height: 1;
}

.optional-tag {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-medium);
    margin-left: 4px;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--black);
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    transition: all var(--transition-normal);
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #d1d5db;
    background: var(--input-focus-bg);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--orange-primary);
    background: var(--input-focus-bg);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

/* Validation states */
.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
    border-color: var(--green-accent);
    background: rgba(16,185,129,0.02);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: #ef4444;
    background: rgba(239,68,68,0.02);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

/* Field error messages */
.form-error {
    font-size: 12px;
    color: #dc2626;
    display: block;
    min-height: 16px;
    line-height: 1.4;
    font-weight: 500;
}

/* Select wrapper (for custom arrow) */
.select-wrapper {
    position: relative;
}

.form-select { padding-right: 44px; cursor: pointer; }

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-medium);
    pointer-events: none;
    transition: transform var(--transition-normal);
}

.select-wrapper:focus-within .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--orange-primary);
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Textarea meta (error + counter row) */
.textarea-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 20px;
}

.char-counter {
    font-size: 12px;
    color: var(--gray-medium);
    white-space: nowrap;
    flex-shrink: 0;
}

.char-counter.near-limit { color: #f59e0b; }
.char-counter.at-limit { color: #ef4444; font-weight: 600; }

/* Checkbox */
.form-group--checkbox {
    padding: 4px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background: var(--input-bg);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) scale(0);
    transition: transform var(--transition-fast);
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--green-accent);
    border-color: var(--green-accent);
}

.checkbox-input:checked + .checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

.checkbox-input:focus-visible + .checkbox-custom {
    outline: 3px solid var(--green-accent);
    outline-offset: 2px;
}

.checkbox-text {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover { text-decoration: underline; }

/* Submit Button */
.form-submit-wrap {
    margin-top: 8px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-hover));
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.5);
}

.submit-button:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.btn-loading { display: none; align-items: center; gap: 10px; }
.btn-text, .btn-arrow { position: relative; z-index: 1; }
.btn-arrow { transition: transform var(--transition-normal); }
.submit-button:hover:not(:disabled) .btn-arrow { transform: translateX(4px); }

/* Loading state */
.submit-button.loading .btn-text { display: none; }
.submit-button.loading .btn-loading { display: inline-flex; }
.submit-button.loading .btn-arrow { display: none; }

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.submit-button:focus-visible {
    outline: 3px solid var(--green-accent);
    outline-offset: 3px;
}

/* ========================================
   WHY CONTACT SIDEBAR
   ======================================== */
.why-contact-section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 90px;
}

.why-contact-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.why-contact-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-primary), var(--green-accent));
}

/* Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.benefit-item:last-child { border-bottom: none; padding-bottom: 0; }

.benefit-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--green-accent), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 1px;
}

.benefit-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: 13px;
    color: var(--gray-medium);
    margin: 0;
    line-height: 1.5;
}

/* Trust Indicators */
.contact-trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--gray-light);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.trust-badge:hover {
    border-color: var(--orange-primary);
    background: rgba(255,107,53,0.04);
}

.trust-badge svg { color: var(--orange-primary); }
.trust-badge div { display: flex; flex-direction: column; }
.trust-badge strong { font-size: 14px; font-weight: 800; color: var(--black); }
.trust-badge span { font-size: 11px; color: var(--gray-medium); }

/* Response Promise */
.response-promise {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 12px;
    padding: 16px 18px;
}

.promise-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--green-accent), #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.response-promise strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 3px;
}

.response-promise p {
    font-size: 12px;
    color: var(--gray-medium);
    margin: 0;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    padding: var(--section-pad);
    background: var(--white);
}

.map-section .container { margin-bottom: 28px; }

.map-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.map-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-accent), var(--orange-primary));
    border-radius: 2px;
    margin: 14px auto 0;
}

.map-section-subtitle {
    font-size: 16px;
    color: var(--gray-medium);
    text-align: center;
    margin-top: 16px;
}

.google-map {
    width: 100%;
    border-top: 3px solid var(--border-color);
    border-bottom: 3px solid var(--border-color);
    overflow: hidden;
    line-height: 0; /* remove gap under iframe */
}

.google-map iframe {
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(15%);
    transition: filter var(--transition-slow);
}

.google-map:hover iframe { filter: grayscale(0%); }

.map-open-link {
    text-align: center;
    margin-top: 28px;
}

/* Outline button used in map section */
.contact-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--orange-primary);
    color: var(--orange-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.contact-btn-outline:hover {
    background: var(--orange-primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

/* ========================================
   ALTERNATIVE METHODS SECTION
   ======================================== */
.alternative-methods {
    padding: var(--section-pad);
    background: var(--gray-light);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 24px;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
    border-radius: 18px;
}

.method-card:hover {
    transform: translateY(-8px);
    border-color: currentColor;
    box-shadow: var(--shadow-lg);
}

.method-card:hover::before { opacity: 0.05; }

.method-card--whatsapp { color: #25d366; }
.method-card--whatsapp:hover { box-shadow: 0 16px 40px rgba(37,211,102,0.2); }
.method-card--whatsapp::before { background: #25d366; }

.method-card--calendar { color: var(--orange-primary); }
.method-card--calendar:hover { box-shadow: var(--shadow-orange); }
.method-card--calendar::before { background: var(--orange-primary); }

.method-card--linkedin { color: #0a66c2; }
.method-card--linkedin:hover { box-shadow: 0 16px 40px rgba(10,102,194,0.2); }
.method-card--linkedin::before { background: #0a66c2; }

.method-card--facebook { color: #1877f2; }
.method-card--facebook:hover { box-shadow: 0 16px 40px rgba(24,119,242,0.2); }
.method-card--facebook::before { background: #1877f2; }

.method-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-slow);
}

.method-card:hover .method-icon {
    background: currentColor;
    transform: scale(1.06) rotate(-5deg);
}

.method-card:hover .method-icon svg { color: var(--white) !important; }

.method-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
}

.method-desc {
    font-size: 13px;
    color: var(--gray-medium);
    line-height: 1.5;
    margin: 0;
}

.method-cta {
    font-size: 13px;
    font-weight: 700;
    color: currentColor;
    transition: gap var(--transition-normal);
}

/* ========================================
   FAQ ACCORDION SECTION
   ======================================== */
.contact-faq {
    padding: var(--section-pad);
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--gray-light);
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.is-open,
.faq-item:has([aria-expanded="true"]) {
    border-color: var(--orange-primary);
    background: var(--white);
    box-shadow: 0 4px 16px rgba(255,107,53,0.10);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    font-family: inherit;
    transition: color var(--transition-normal);
}

.faq-question:hover { color: var(--orange-primary); }
.faq-question[aria-expanded="true"] { color: var(--orange-primary); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-medium);
    transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--orange-primary);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer[hidden] { display: none; }

.faq-answer p {
    font-size: 15px;
    color: var(--gray-medium);
    line-height: 1.7;
    margin: 0;
}

.faq-question:focus-visible {
    outline: 3px solid var(--green-accent);
    outline-offset: -3px;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.contact-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    text-align: center;
}

.contact-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(16,185,129,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.contact-cta-headline {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-cta-subheadline {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-hover));
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(255,107,53,0.55);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border: 2px solid rgba(255,255,255,0.35);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
    transition: all var(--transition-normal);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-3px);
}

/* ========================================
   FADE-IN UTILITY (matches About page)
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.cta-btn-primary:focus-visible,
.cta-btn-secondary:focus-visible,
.contact-btn-outline:focus-visible,
.info-card-link:focus-visible,
.submit-button:focus-visible {
    outline: 3px solid var(--green-accent);
    outline-offset: 3px;
}

/* ========================================
   RESPONSIVE — TABLET (≤1200px)
   ======================================== */
@media (max-width: 1200px) {
    .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
    .info-card:nth-child(2) { border-right: none; }
    .info-card:nth-child(3) { border-top: 1px solid var(--border-color); }
    .info-card:nth-child(4) { border-top: 1px solid var(--border-color); border-right: none; }
    .methods-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   RESPONSIVE — TABLET (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
    :root { --section-pad: 80px 0; }

    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-contact-section { position: static; }

    .section-title { font-size: 34px; }
    .contact-hero-headline { font-size: 44px; }

    .contact-trust-indicators { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   RESPONSIVE — MOBILE (≤768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-pad: var(--section-pad-sm);
    }

    .contact-header {
        min-height: 340px;
        height: auto;
    }

    .contact-header .container {
        padding-top: 80px;
        padding-bottom: 48px;
    }

    .contact-hero-headline { font-size: 34px; }
    .contact-hero-subtitle { font-size: 17px; }

    .contact-info-cards { grid-template-columns: 1fr; }

    .info-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .info-card:last-child { border-bottom: none; }

    .contact-form { padding: 24px 20px; }

    .form-row--2col { grid-template-columns: 1fr; }

    .methods-grid { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 28px; }

    .map-section-title { font-size: 28px; }

    .google-map iframe { height: 320px; }

    .contact-cta-headline { font-size: 30px; }
    .contact-cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn-primary, .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-trust-indicators { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ======================================== */
@media (max-width: 480px) {
    .contact-hero-headline { font-size: 28px; }
    .methods-grid { grid-template-columns: 1fr; }
    .contact-trust-indicators { grid-template-columns: 1fr; }
    .trust-badge { flex-direction: row; text-align: left; }
}

/* ========================================
   REDUCE MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .contact-header::before,
    .spinner {
        animation: none !important;
    }
}

/* ========================================
   CONTACT FORM 7 — STYLE OVERRIDES
   LinkCodeAI Brand Theme
   
   Add this to the BOTTOM of your contact.css file.
   It overrides CF7's default ugly styles with your 
   orange/green brand design.
   ======================================== */


/* ─────────────────────────────────────────
   CF7 FORM SHELL
   The .cf7-styled div wraps the shortcode output
   ───────────────────────────────────────── */
.cf7-styled .wpcf7 {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* ─────────────────────────────────────────
   CF7 FORM ELEMENT
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ─────────────────────────────────────────
   CF7 PARAGRAPHS (CF7 wraps fields in <p> tags)
   We convert them to look like our .form-group
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form p {
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf7-styled .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

/* ─────────────────────────────────────────
   LABELS
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

/* ─────────────────────────────────────────
   ALL INPUT TYPES (text, email, tel, etc.)
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form input[type="text"],
.cf7-styled .wpcf7-form input[type="email"],
.cf7-styled .wpcf7-form input[type="tel"],
.cf7-styled .wpcf7-form input[type="url"],
.cf7-styled .wpcf7-form input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--black);
    background: var(--input-bg, #f9fafb);
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

/* ─────────────────────────────────────────
   SELECT / DROPDOWN
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form select {
    width: 100%;
    padding: 13px 44px 13px 16px;
    font-size: 15px;
    color: var(--black);
    background: var(--input-bg, #f9fafb) 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='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

/* ─────────────────────────────────────────
   TEXTAREA
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--black);
    background: var(--input-bg, #f9fafb);
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    outline: none;
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

/* ─────────────────────────────────────────
   HOVER STATES
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form input:hover,
.cf7-styled .wpcf7-form select:hover,
.cf7-styled .wpcf7-form textarea:hover {
    border-color: #d1d5db;
    background: var(--white);
}

/* ─────────────────────────────────────────
   FOCUS STATES — orange brand accent
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form input:focus,
.cf7-styled .wpcf7-form select:focus,
.cf7-styled .wpcf7-form textarea:focus {
    border-color: var(--orange-primary, #ff6b35);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

/* ─────────────────────────────────────────
   PLACEHOLDER TEXT
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form input::placeholder,
.cf7-styled .wpcf7-form textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

/* ─────────────────────────────────────────
   CHECKBOX (privacy/consent)
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cf7-styled .wpcf7-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 5px;
    background: var(--input-bg, #f9fafb);
    cursor: pointer;
    accent-color: var(--green-accent, #10b981);
    margin-top: 2px;
}

.cf7-styled .wpcf7-form input[type="checkbox"]:focus {
    outline: 3px solid var(--green-accent, #10b981);
    outline-offset: 2px;
    box-shadow: none;
}

.cf7-styled .wpcf7-form .wpcf7-list-item-label {
    font-size: 14px;
    color: var(--gray-medium, #6b7280);
    line-height: 1.5;
    cursor: pointer;
}

.cf7-styled .wpcf7-form .wpcf7-list-item-label a {
    color: var(--orange-primary, #ff6b35);
    font-weight: 600;
    text-decoration: none;
}

.cf7-styled .wpcf7-form .wpcf7-list-item-label a:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────
   SUBMIT BUTTON — matches our brand button
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-form input[type="submit"],
.cf7-styled .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--orange-primary, #ff6b35), var(--orange-hover, #ff5722));
    color: var(--white, #ffffff) !important;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.30);
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.3px;
}

.cf7-styled .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.50);
    background: linear-gradient(135deg, #ff5722, #e64a19);
}

.cf7-styled .wpcf7-form input[type="submit"]:focus-visible {
    outline: 3px solid var(--green-accent, #10b981);
    outline-offset: 3px;
}

/* Processing / loading state */
.cf7-styled .wpcf7-form input[type="submit"]:disabled,
.cf7-styled .wpcf7-form.submitting input[type="submit"] {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

/* ─────────────────────────────────────────
   CF7 VALIDATION ERROR MESSAGES
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-not-valid {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.02) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10) !important;
}

.cf7-styled .wpcf7-not-valid-tip {
    display: block;
    font-size: 12px;
    color: #dc2626;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
}

/* ─────────────────────────────────────────
   CF7 RESPONSE / SUCCESS MESSAGE
   CF7 shows this below the form after submit
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 18px 22px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: none !important;
    line-height: 1.5 !important;
}

/* Success */
.cf7-styled .wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 2px solid rgba(16, 185, 129, 0.3) !important;
    color: #065f46 !important;
}

/* Error */
.cf7-styled .wpcf7-mail-sent-ng,
.cf7-styled .wpcf7-aborted {
    background: rgba(239, 68, 68, 0.07) !important;
    border: 2px solid rgba(239, 68, 68, 0.25) !important;
    color: #dc2626 !important;
}

/* Spam / validation fail */
.cf7-styled .wpcf7-spam-blocked,
.cf7-styled .wpcf7-validation-errors {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 2px solid rgba(245, 158, 11, 0.3) !important;
    color: #92400e !important;
}

/* ─────────────────────────────────────────
   CF7 SPINNER (loading animation)
   ───────────────────────────────────────── */
.cf7-styled .wpcf7-spinner {
    display: inline-block;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-top-color: var(--orange-primary, #ff6b35) !important;
    border-radius: 50% !important;
    animation: cf7spin 0.8s linear infinite !important;
    margin-left: 10px !important;
    background: none !important;
}

@keyframes cf7spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────
   CF7 MISSING NOTICE (admin-only fallback)
   ───────────────────────────────────────── */
.cf7-missing-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(245, 158, 11, 0.08);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: #92400e;
    font-size: 15px;
}

.cf7-missing-notice strong {
    display: block;
    margin-bottom: 6px;
}

.cf7-missing-notice p {
    margin: 0;
    font-size: 14px;
    color: #78350f;
}

/* ─────────────────────────────────────────
   TWO-COLUMN ROW INSIDE CF7
   In CF7, use this HTML in the form editor to
   create 2-column rows:
   <div class="cf7-row">
     [text* your-name placeholder "Full Name"]
     [email* your-email placeholder "Email"]
   </div>
   ───────────────────────────────────────── */
.cf7-styled .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cf7-styled .cf7-row p {
    margin: 0 !important;
}

/* ─────────────────────────────────────────
   RESPONSIVE: Stack 2-col to 1-col on mobile
   ───────────────────────────────────────── */
@media (max-width: 640px) {
    .cf7-styled .wpcf7 {
        padding: 24px 18px;
    }

    .cf7-styled .cf7-row {
        grid-template-columns: 1fr;
    }

    .cf7-styled .wpcf7-form input[type="submit"] {
        padding: 15px 24px;
        font-size: 15px;
    }
}

/* ─────────────────────────────────────────
   REDUCE MOTION
   ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .cf7-styled .wpcf7-spinner {
        animation: none !important;
        border: 2px solid var(--orange-primary) !important;
    }
}