/* ===================================
   Contact Page Styles
   =================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 0 0;
    min-height: 480px;
    color: #fff;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11,26,53,0.85) 0%, rgba(11,26,53,0.6) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb in hero */
.contact-hero .breadcrumb {
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.contact-hero .breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.contact-hero .breadcrumb a:hover {
    color: #fff;
}

.contact-hero .breadcrumb li + li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    margin: 0 8px;
    opacity: 0.45;
    flex-shrink: 0;
}

.contact-hero .breadcrumb li[aria-current="page"],
.contact-hero .breadcrumb li:last-child {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.contact-hero-content {
}

.contact-hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,107,26,0.2);
    border: 1px solid rgba(255,107,26,0.5);
    border-radius: 999px;
    color: #FF8A4D;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    white-space: nowrap;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.contact-hero-lead {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    margin: 12px 0 20px;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: left;
}

.contact-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 820px;
    color: rgba(255,255,255,0.92);
    margin: 0 auto;
}

/* Spacer for stats bar overlap */
.contact-hero-spacer {
    height: 80px;
}

/* Stats Bar */
.contact-stats-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 16px;
    margin-top: 48px;
    margin-bottom: -60px;
    box-shadow: 0 20px 50px rgba(11,26,53,0.15);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.contact-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 8px 16px;
    text-align: center;
    border-right: 1px solid rgba(11,26,53,0.08);
    min-height: 120px;
}

.contact-stat-item:last-child {
    border-right: none;
}

.contact-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,107,26,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.contact-stat-icon i {
    font-size: 1.2rem;
    color: #FF6B1A;
}

.contact-stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.contact-stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #0B1A35;
    line-height: 1.1;
}

.contact-stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Form */
.contact-form-card {
    background: #fff;
    border: 1px solid rgba(11,26,53,0.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 32px -16px rgba(11,26,53,0.18);
}

.contact-form-card h3 {
    font-family: var(--font-heading,'Outfit',sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary,#0B1A35);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.contact-form-card p.lead {
    color: var(--text-muted,#64748B);
    margin: 0 0 24px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary,#0B1A35);
    letter-spacing: 0.01em;
}

.field-group label .req {
    color: var(--accent,#FF6B1A);
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(11,26,53,0.12);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--primary,#0B1A35);
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--accent,#FF6B1A);
    box-shadow: 0 0 0 4px rgba(255,107,26,0.12);
}

.field-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.field-group input.error,
.field-group select.error,
.field-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.chip-input {
    position: relative;
}

.chip-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip-input span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid rgba(11,26,53,0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted,#64748B);
    cursor: pointer;
    transition: all 0.18s;
    user-select: none;
}

.chip-input input:checked + span {
    background: var(--accent,#FF6B1A);
    border-color: var(--accent,#FF6B1A);
    color: #fff;
}

.chip-input span:hover {
    border-color: var(--accent,#FF6B1A);
    color: var(--accent,#FF6B1A);
}

.chip-input input:checked + span:hover {
    color: #fff;
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--text-muted,#64748B);
    line-height: 1.5;
    margin-top: 4px;
}

.consent input {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent,#FF6B1A);
}

.contact-form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.contact-form-card .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-message.success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.form-message.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Sidebar Contact Channels */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(11,26,53,0.08);
    border-radius: 14px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.contact-channel:hover {
    border-color: var(--accent,#FF6B1A);
    transform: translateX(4px);
    box-shadow: 0 8px 20px -12px rgba(255,107,26,0.35);
}

.contact-channel__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.contact-channel--whatsapp .contact-channel__icon {
    background: #25D366;
}

.contact-channel--email .contact-channel__icon {
    background: linear-gradient(135deg,#0B1A35,#1e3a8a);
}

.contact-channel--phone .contact-channel__icon {
    background: linear-gradient(135deg,#FF6B1A,#dc2626);
}

.contact-channel--meeting .contact-channel__icon {
    background: linear-gradient(135deg,#0891b2,#0e7490);
}

.contact-channel__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-channel__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted,#64748B);
}

.contact-channel__value {
    font-family: var(--font-heading,'Outfit',sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary,#0B1A35);
    letter-spacing: -0.01em;
}

.contact-channel__sub {
    font-size: 0.82rem;
    color: var(--text-muted,#64748B);
}

.contact-channel__arrow {
    color: var(--accent,#FF6B1A);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.contact-channel:hover .contact-channel__arrow {
    transform: translateX(4px);
}

/* SLA Strip */
.sla-strip {
    margin-top: 24px;
    background: linear-gradient(135deg,rgba(11,26,53,0.04),rgba(255,107,26,0.06));
    border: 1px dashed rgba(255,107,26,0.3);
    border-radius: 12px;
    padding: 18px 20px;
}

.sla-strip h4 {
    margin: 0 0 4px;
    font-family: var(--font-heading,'Outfit',sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary,#0B1A35);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sla-strip h4 i {
    color: var(--accent,#FF6B1A);
}

.sla-strip p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted,#64748B);
    line-height: 1.5;
}

/* Offices Section */
.offices-section {
    background: var(--bg-light, #F8FAFC);
    padding: 60px 0;
    margin-top: 40px;
}

.offices-header {
    margin-bottom: 40px;
}

.offices-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--secondary, #00B7FF), var(--secondary-dark, #0095D9));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
}

.offices-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary, #0B1A35);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.offices-desc {
    font-size: 1.1rem;
    color: var(--text-muted, #64748B);
    line-height: 1.6;
    max-width: 800px;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.office-card {
    background: #fff;
    border: 1px solid rgba(11,26,53,0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.2s;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -16px rgba(11,26,53,0.2);
    border-color: var(--accent, #FF6B1A);
}

.office-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent, #FF6B1A);
    margin-bottom: 8px;
    display: block;
}

.office-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary, #0B1A35);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted, #64748B);
    line-height: 1.5;
}

.office-info-item i {
    flex-shrink: 0;
    width: 20px;
    color: var(--accent, #FF6B1A);
    margin-top: 2px;
}

/* Contact FAQ Section */
.contact-faq-section {
    background: #fff;
    padding: 80px 0;
}

.contact-faq-header {
    margin-bottom: 48px;
}

.contact-faq-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--secondary, #00B7FF), var(--secondary-dark, #0095D9));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
}

.contact-faq-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary, #0B1A35);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.contact-faq-desc {
    font-size: 1.1rem;
    color: var(--text-muted, #64748B);
    line-height: 1.6;
}

.contact-faq-desc a {
    color: var(--accent, #FF6B1A);
    text-decoration: underline;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-faq-card {
    background: #fff;
    border: 1px solid rgba(11,26,53,0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.2s;
}

.contact-faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -16px rgba(11,26,53,0.15);
    border-color: var(--accent, #FF6B1A);
}

.contact-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,107,26,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.contact-faq-icon i {
    font-size: 0.9rem;
    color: var(--accent, #FF6B1A);
}

.contact-faq-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary, #0B1A35);
    margin: 0 0 12px;
    line-height: 1.3;
}

.contact-faq-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #64748B);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-stats-bar {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-stat-item:nth-child(3),
    .contact-stat-item:nth-child(6) {
        border-right: none;
    }
    .contact-stat-item:nth-child(1),
    .contact-stat-item:nth-child(2),
    .contact-stat-item:nth-child(3),
    .contact-stat-item:nth-child(4),
    .contact-stat-item:nth-child(5) {
        border-bottom: 1px solid rgba(11,26,53,0.06);
    }
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 40px 0 0;
        min-height: auto;
    }
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    .contact-hero-lead {
        font-size: 1.1rem;
    }
    .contact-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: -40px;
    }
    .contact-stat-item {
        padding: 20px 10px;
        min-height: 120px;
    }
    .contact-stat-item:nth-child(2),
    .contact-stat-item:nth-child(4),
    .contact-stat-item:nth-child(6) {
        border-right: none;
    }
    .contact-stat-item:nth-child(1),
    .contact-stat-item:nth-child(2),
    .contact-stat-item:nth-child(3),
    .contact-stat-item:nth-child(4) {
        border-bottom: 1px solid rgba(11,26,53,0.06);
    }
    .contact-stat-value {
        font-size: 1.35rem;
    }
    .contact-stat-label {
        font-size: 0.6rem;
    }
    .contact-stat-icon {
        width: 40px;
        height: 40px;
    }
    .contact-stat-icon i {
        font-size: 1rem;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .offices-grid {
        grid-template-columns: 1fr;
    }
    .offices-header h2 {
        font-size: 1.75rem;
    }
    .contact-faq-section {
        padding: 60px 0;
    }
    .contact-faq-header h2 {
        font-size: 1.75rem;
    }
    .contact-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #0B1A35 0%, #1e3a5f 100%);
    padding: 80px 0;
    text-align: center;
}

.contact-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.contact-cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    margin: 0 0 40px;
}

.contact-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-cta-btn--whatsapp {
    background: linear-gradient(135deg, #00B7FF 0%, #FF8A4D 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,183,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-cta-btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,183,255,0.4);
    border-color: rgba(255,255,255,0.5);
}

.contact-cta-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-cta-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.contact-cta-btn i {
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .contact-cta-section {
        padding: 60px 0;
    }
    .contact-cta-content h2 {
        font-size: 1.75rem;
    }
    .contact-cta-content p {
        font-size: 1rem;
    }
    .contact-cta-buttons {
        flex-direction: column;
    }
    .contact-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .contact-stats-bar {
        grid-template-columns: 1fr;
    }
    .contact-stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(11,26,53,0.06) !important;
        padding: 16px 20px;
        min-height: auto;
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }
    .contact-stat-item:last-child {
        border-bottom: none !important;
    }
    .contact-stat-content {
        align-items: flex-start;
    }
}
