/* /subsites/contact.css */

/* ============ BASE ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #152126;
    background: #fbfcfc;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:root {
    --bg: #fbfcfc;
    --card: #ffffff;
    --text: #152126;
    --muted: #51646c;

    --brand: #2a9d8f;
    --brand-2: #1f4e5a;
    --brand-3: #0f3540;

    --line: rgba(19, 35, 41, 0.12);
    --line-2: rgba(19, 35, 41, 0.08);

    --shadow: 0 14px 40px rgba(8, 25, 32, 0.12);
    --shadow-soft: 0 10px 26px rgba(8, 25, 32, 0.08);

    --container: 1120px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    padding: 10px 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    z-index: 9999;
}

.skip-link:focus {
    left: 12px;
}

/* ============ HEADER (same style as home) ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 252, 252, 0.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(19, 35, 41, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 52px;
    width: auto;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    color: var(--muted);
    font-weight: 650;
    padding: 10px 12px;
    border-radius: 999px;
    transition: 160ms ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(42, 157, 143, 0.10);
}

.nav-link.is-active {
    color: var(--text);
    background: rgba(31, 78, 90, 0.10);
    border: 1px solid rgba(31, 78, 90, 0.14);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    font-size: 14px;
    transition: 160ms ease;
    cursor: pointer;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
}

.btn-solid {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 28px rgba(42, 157, 143, 0.25);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(31, 78, 90, 0.16);
    color: var(--brand-3);
}

.btn-block {
    width: 100%;
}

/* Hamburger (mobile) */
.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 160ms ease;
}

.menu-btn:hover {
    transform: translateY(-1px);
}

.menu-btn:active {
    transform: translateY(0px);
}

.menu-lines {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 0 auto;
    position: relative;
    border-radius: 999px;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.menu-lines::before {
    top: -7px;
}

.menu-lines::after {
    top: 7px;
}

/* Mobile menu */
.mobile-menu {
    border-top: 1px solid var(--line-2);
    background: rgba(251, 252, 252, 0.92);
    backdrop-filter: blur(10px);
}

.mobile-menu-inner {
    padding: 14px 0 18px;
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.70);
    color: var(--text);
    font-weight: 850;
}

.mobile-link:hover {
    transform: translateY(-1px);
}

.mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

/* ============ HERO ============ */
.hero {
    padding: 54px 0 30px;
    background:
        radial-gradient(900px 320px at 18% 20%, rgba(42, 157, 143, 0.18), transparent 60%),
        radial-gradient(800px 300px at 88% 10%, rgba(31, 78, 90, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(255, 247, 239, 0.72), rgba(251, 252, 252, 1));
    border-bottom: 1px solid rgba(19, 35, 41, 0.08);
}

.hero-inner {
    max-width: 880px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 0 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 78, 90, 0.14);
    background: rgba(255, 255, 255, 0.65);
    color: var(--brand-3);
    font-weight: 850;
    font-size: 13px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.14);
}

.h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.lead {
    margin: 14px 0 0;
    font-size: 16px;
    color: var(--muted);
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* ============ FORM AREA ============ */
.form-wrap {
    padding: 46px 0 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: start;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(19, 35, 41, 0.10);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    letter-spacing: -0.02em;
}

.sub {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.form {
    margin-top: 18px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    margin-top: 14px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 850;
    color: var(--text);
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(19, 35, 41, 0.12);
    background: rgba(255, 255, 255, 0.82);
    outline: none;
    font-size: 14px;
    color: var(--text);
    transition: 160ms ease;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(42, 157, 143, 0.55);
    box-shadow: 0 0 0 5px rgba(42, 157, 143, 0.12);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.fineprint {
    margin: 16px 0 0;
    color: rgba(81, 100, 108, 0.9);
    font-size: 12px;
    font-weight: 600;
    max-width: 64ch;
}

.success {
    margin-top: 18px;
    border-radius: 18px;
    border: 1px solid rgba(42, 157, 143, 0.22);
    background: rgba(42, 157, 143, 0.08);
    padding: 14px 16px;
}

.success-title {
    margin: 0;
    font-weight: 900;
}

.success-text {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* ============ SIDE ============ */
.side {
    display: grid;
    gap: 14px;
}

.side-card {
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.side-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.side-title {
    margin: 10px 0 0;
    font-weight: 900;
    font-size: 18px;
}

.side-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* FIX: spacing for callback box */
.side-cta {
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background:
        radial-gradient(560px 200px at 20% 40%, rgba(42, 157, 143, 0.16), transparent 60%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.95), rgba(255, 255, 255, 0.82));
    box-shadow: var(--shadow);
    padding: 18px;
}

.side-cta-title {
    margin: 0;
    font-weight: 900;
    font-size: 16px;
}

.side-cta-text {
    margin: 10px 0 0;
    /* MORE breathing */
    color: var(--muted);
    font-weight: 650;
    font-size: 14px;
    line-height: 1.55;
}

.side-cta .btn {
    margin-top: 16px;
    /* FIXED: button not hugging text */
}

/* ============ FOOTER ============ */
.footer {
    padding: 18px 0;
    background: #0f1f24;
    color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-text {
    margin: 0;
    font-weight: 650;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
    color: #fff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 0 24px;
    }
}

@media (max-width: 860px) {

    .nav,
    .header-cta {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

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

    .card {
        padding: 20px;
        border-radius: 22px;
    }

    .side-card,
    .side-cta {
        border-radius: 20px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}