/* Base layout */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #1f2933;
    background-color: #f5f7fa;
    line-height: 1.6;
}


h1 {
    color: #fff;
    margin-top: 0;
}

h2, h3 {
    color: #102a43;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: #fff;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: #334e68;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #1f2933;
}

.main-nav a.is-active {
    color: #102a43;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    background-color: rgba(248, 250, 252, 0.85);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(49, 130, 206, 0.6);
    outline-offset: 3px;
}

.nav-toggle-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.92), rgba(49, 130, 206, 0.8)),
        url("https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 2rem;
}

.hero .button {
    background-color: #fbbf24;
    color: #102a43;
}

.social-cta {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(49, 130, 206, 0.7));
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

.social-cta__lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.button.social {
    min-width: 220px;
    font-size: 1rem;
}

.button.social.twitter {
    background-color: #1d9bf0;
    color: #fff;
}

.button.social.instagram {
    background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: #fff;
}

/* Page hero */
.page-hero {
    background-color: #102a43;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-hero p {
    max-width: 640px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.82);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    background-color: #3182ce;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.25);
}

.button.secondary {
    background-color: #fff;
    color: #102a43;
    border: 1px solid rgba(16, 42, 67, 0.15);
}

.button.secondary:hover,
.button.secondary:focus {
    box-shadow: 0 10px 25px rgba(16, 42, 67, 0.15);
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    padding: 1.8rem;
    background-color: #f0f4f8;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card h3 {
    margin-bottom: 0.8rem;
}

/* Media section */
.media-section {
    text-align: center;
}

/* Contact */
.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 520px;
}

.contact-form > div {
    display: grid;
    gap: 0.4rem;
}

.contact-form label {
    font-weight: 600;
    color: #102a43;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
}

.contact-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #102a43 50%),
        linear-gradient(135deg, #102a43 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

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

.contact-form .button {
    justify-self: flex-start;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    padding: 1.6rem;
    background-color: #f0f4f8;
    border-radius: 12px;
}

.contact-card a {
    color: #3182ce;
    text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus {
    text-decoration: underline;
}

.contact-card .social-buttons {
    justify-content: flex-start;
    gap: 0.75rem;
}

.social-buttons__compact .button.social {
    min-width: 0;
    flex: 1 1 150px;
}

.company-data {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
}

.company-data dt {
    font-weight: 600;
    color: #102a43;
}

.company-data dd {
    margin: 0;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    background-color: #102a43;
    color: #f5f7fa;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .main-nav {
        order: 3;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 0.75rem 0 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 0.9rem 0;
        margin: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero p {
        margin-bottom: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-form .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.2rem 0;
    }

    .hero {
        padding: 4.5rem 0;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .card {
        padding: 1.5rem;
    }

    .company-data {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    .site-header .container {
        gap: 1rem;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .media-section p {
        margin-bottom: 1.2rem;
    }
}
