/* Page styles: contact (from contact.html) */

:root {
    --primary: #0B1120;
    --secondary: #F8FAFC;
    --accent: #F59E0B;
    --accent-blue: #2563EB;
    --text-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #94A3B8;
    --radius: 1.25rem;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero-contact {
    background: var(--primary);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.10) 0%, transparent 50%);
    z-index: 1;
}

.hero-contact .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-contact .hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-contact .hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-contact h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.hero-contact h1 span {
    color: var(--accent);
}

.hero-contact p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.section-title span {
    color: var(--accent);
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-form-section {
    background: var(--surface);
}

.contact-form-wrapper {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--text-heading);
}

.contact-form-wrapper label .required {
    color: #ef4444;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border);
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
    transition: var(--transition);
    outline: none;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

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

.contact-form-wrapper .captcha-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0;
}

.contact-info-section {
    background: var(--secondary);
}

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

.info-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.info-card .icon {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

.info-card a {
    color: var(--accent);
    font-weight: 500;
}

.info-card a:hover {
    color: #d97706;
}

.map-section {
    background: var(--surface);
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.social-section {
    background: var(--secondary);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--surface);
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    font-weight: 500;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
    color: var(--accent);
}

.social-link .icon {
    font-size: 1.4rem;
}

.faq-section {
    background: var(--surface);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item .question {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.2rem 0;
    user-select: none;
}

.faq-item .question .toggle {
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item .answer {
    color: var(--text-body);
    padding-top: 0.5rem;
    display: none;
}

.faq-item.open .answer {
    display: block;
}

.faq-item.open .toggle {
    transform: rotate(180deg);
}

.trust-section {
    background: var(--secondary);
}

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

.trust-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.trust-card .quote {
    font-style: italic;
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.trust-card .author {
    font-weight: 700;
}

.trust-card .company {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.secondary-cta {
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.secondary-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.10) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.secondary-cta .cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.secondary-cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.secondary-cta h2 span {
    color: var(--accent);
}

.secondary-cta p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin: 0.5rem 0 2rem;
}

.secondary-cta .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-col h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transform: translateY(-120%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links>li>a {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 0.5rem;
        padding: 0.3rem 0;
        margin: 0.2rem 0 0.2rem 1.5rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        display: none;
        min-width: auto;
    }

    .nav-links>li:hover .dropdown-menu {
        transform: none;
    }

    .nav-links>li.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-contact h1 {
        font-size: 2.6rem;
    }
    .hero-contact p {
        font-size: 1rem;
    }
    .section-padding {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
    }
    .map-wrapper iframe {
        height: 280px;
    }
    .social-grid {
        gap: 0.8rem;
    }
    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .secondary-cta h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-contact h1 {
        font-size: 2rem;
    }
    .container {
        padding: 0 1rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 1rem;
    }
    .info-card {
        padding: 1.5rem;
    }
    .trust-card {
        padding: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease both;
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    z-index: 999;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 420px;
}

.toast.show {
    transform: translateY(0);
}

.toast .toast-title {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.toast .toast-body {
    color: #cbd5e1;
    font-size: 0.95rem;
}
