/* =========================================================
   OIKOSIMO CONTACT PAGE
   ========================================================= */

.oikosimo-contact {
    --navy: #062f5c;
    --navy-dark: #03264a;
    --navy-soft: #0d477b;

    --gold: #c99032;
    --gold-light: #e2b563;

    --blue-light: #eef6fc;
    --border: #e2e8ef;
    --text: #172b43;
    --muted: #687687;
    --white: #ffffff;

    width: 100%;
    background: #f9fafb;
    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}

/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    grid-template-columns: 43% 57%;
    overflow: hidden;
    background: #f8fafc;
}

/* LEFT INTRO */

.contact-intro {
    position: relative;
    z-index: 5;
    padding:
        clamp(45px, 5vw, 80px)
        clamp(30px, 7vw, 110px);

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255,255,255,.98) 72%,
            rgba(255,255,255,.7) 100%
        );
}

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .25em;
    font-weight: 700;
}

.contact-intro h1 {
    margin: 0;

    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3vw, 58px);
    line-height: 1.04;
    letter-spacing: .025em;
    font-weight: 600;
}

.gold-divider {
    width: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0;
}

.gold-divider span {
    height: 1px;
    flex: 1;
    background: var(--gold);
}

.gold-divider i {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

.contact-intro > p {
    margin: 0;

    max-width: 470px;
    color: #404a57;

    font-size: 16px;
    line-height: 1.75;
}

/* HERO BENEFITS */

.hero-benefits {
    display: flex;
    gap: 42px;
    margin-top: 30px;
}

.hero-benefit {
    text-align: center;
    min-width: 85px;
}

.benefit-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin: 0 auto 9px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 8px 24px rgba(13, 47, 85, .10);

    color: var(--navy);

    font-size: 24px;
}

.hero-benefit strong {
    display: block;
    color: var(--gold);
    font-size: 16px;
}

.hero-benefit span {
    display: block;

    margin-top: 3px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   MAP
   ========================================================= */

.contact-map {
    position: relative;
    min-height: 390px;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    filter:
        saturate(.75)
        brightness(1.08)
        contrast(.9);
}

.map-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.75) 0%,
            rgba(238,246,252,.20) 40%,
            rgba(238,246,252,.02) 100%
        );
}

/* MAP LABELS */

.map-marker {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 4px;

    color: #24374c;

    font-size: 13px;
    font-weight: 600;

    text-shadow:
        0 1px 3px white,
        0 1px 4px white;

    text-decoration: none;
}

a.map-marker:hover,
a.map-marker:focus {
    color: var(--navy-soft);
    text-decoration: none;
}

.map-marker i {
    color: #0961aa;
    font-size: 28px;
}

/* =========================================================
   MAIN CONTACT SECTION
   ========================================================= */

.contact-container {
    position: relative;
    z-index: 10;

    width: min(1320px, calc(100% - 40px));

    margin: -2px auto 0;

    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, .9fr);
    gap: 36px;

    padding: 28px 0 20px;
}

/* =========================================================
   FORM CARD
   ========================================================= */

.contact-form-card {
    padding: 26px;

    background: #fff;

    border:
        1px solid
        rgba(10, 55, 95, .08);

    border-radius: 18px;

    box-shadow:
        0 10px 40px rgba(15, 44, 71, .06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 22px;
}

.field {
    position: relative;
}

.field i {
    position: absolute;

    top: 50%;
    left: 18px;

    transform: translateY(-50%);

    color: var(--navy);

    font-size: 17px;

    z-index: 2;
}

.field input,
.field textarea {
    width: 100%;

    border: 1px solid #d9dee5;
    border-radius: 6px;

    background: #fff;

    color: var(--text);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.field input {
    height: 54px;
    padding: 0 18px 0 53px;
}

.field textarea {
    height: 123px;

    padding:
        18px
        18px
        18px
        53px;

    resize: vertical;
}

.message-field {
    grid-row: span 2;
}

.message-field i {
    top: 22px;
    transform: none;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 4px rgba(201,144,50,.10);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa1aa;
}

.field .field-notice {
    margin-top: 4px;
    font-size: 12px;
}

/* PRIVACY */

.privacy-check {
    display: flex;
    gap: 9px;

    margin-top: 18px;

    color: #586575;

    font-size: 12px;
    line-height: 1.5;

    cursor: pointer;
}

.privacy-check input {
    margin-top: 3px;

    accent-color: var(--navy);
}

.privacy-check a {
    color: var(--navy-soft);
    text-decoration: none;
    font-weight: 600;
}

.privacy-check a:hover {
    text-decoration: underline;
}

/* FORM FOOTER */

.form-footer {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 16px;
}

.send-button {
    border: 0;
    border-radius: 5px;

    padding: 14px 23px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-soft)
        );

    color: white;

    font-weight: 700;
    font-size: 12px;
    letter-spacing: .03em;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(2, 48, 93, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.send-button i {
    margin-right: 7px;
}

.send-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(2, 48, 93, .28);
}

.required-note {
    color: #747d88;

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
}

.oikosimo-contact .alert {
    margin-bottom: 16px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.contact-sidebar {
    overflow: hidden;

    align-self: stretch;

    background: #fff;

    border-radius: 17px;

    border:
        1px solid
        rgba(10, 55, 95, .08);

    box-shadow:
        0 10px 40px rgba(15,44,71,.06);
}

.sidebar-header {
    padding: 27px 30px;

    background:
        linear-gradient(
            135deg,
            #063364,
            #005099
        );

    color: white;
}

.sidebar-header h2 {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: .04em;
}

.mini-divider {
    width: 86px;
    height: 2px;

    margin: 13px 0;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}

.sidebar-header a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #fff;

    text-decoration: none;

    font-size: 14px;
}

.sidebar-body {
    padding: 10px 24px 16px;
}

.sidebar-item {
    display: flex;
    gap: 14px;

    padding: 17px 0;

    border-bottom: 1px solid #edf0f3;
}

.sidebar-item:last-child {
    border-bottom: 0;
}

.sidebar-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: #f3f7fa;

    border-radius: 50%;

    color: var(--navy);

    font-size: 18px;
}

.sidebar-item strong {
    display: block;

    margin-bottom: 5px;

    color: var(--navy);

    font-size: 12px;
}

.sidebar-item p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   OTHER CONTACT METHODS
   ========================================================= */

.contact-methods {
    position: relative;

    width: min(1320px, calc(100% - 40px));

    margin: 0 auto 55px;

    padding: 18px 30px 24px;

    overflow: hidden;

    background: white;

    border:
        1px solid
        rgba(10,55,95,.08);

    border-radius: 16px;

    box-shadow:
        0 10px 35px rgba(15,44,71,.05);
}

.methods-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-bottom: 12px;
}

.methods-title span {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}

.methods-title span:last-child {
    transform: scaleX(-1);
}

.methods-title h3 {
    margin: 0;

    color: var(--navy);

    font-family: Georgia, serif;

    font-size: 17px;
    text-align: center;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.method-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 8px 22px;

    color: var(--text);

    text-decoration: none;

    text-align: center;
}

.method-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 12px;
    right: 0;

    width: 1px;
    height: 54px;

    background: #e3e7eb;
}

.method-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 7px;

    background: #faf6ee;

    border-radius: 50%;

    color: var(--navy);

    font-size: 18px;
}

.method-item strong {
    color: var(--navy);

    font-size: 12px;
}

.method-item span {
    margin-top: 4px;

    color: #34475c;

    font-size: 12px;
}

.method-item[href]:hover .method-icon {
    background: var(--gold);
    color: white;
}

.olive-decoration {
    position: absolute;

    right: 28px;
    bottom: -12px;

    color: rgba(20,80,120,.11);

    font-size: 75px;

    transform: rotate(-22deg);

    pointer-events: none;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .contact-hero {
        grid-template-columns: 50% 50%;
    }

    .contact-intro {
        padding: 45px 35px;
    }

    .hero-benefits {
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        display: grid;
        grid-template-columns: 330px 1fr;
    }

    .sidebar-body {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .sidebar-item {
        border-bottom: 0;
    }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-hero {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .contact-intro {
        padding: 45px 24px 35px;
    }

    .contact-intro h1 {
        font-size: 39px;
    }

    .hero-benefits {
        justify-content: space-between;
        gap: 8px;
    }

    .hero-benefit {
        min-width: 0;
        flex: 1;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }

    .contact-map {
        min-height: 300px;
    }

    .map-marker {
        font-size: 10px;
    }

    .map-marker i {
        font-size: 20px;
    }

    .contact-container {
        width: calc(100% - 28px);
        padding-top: 18px;
    }

    .contact-form-card {
        padding: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .message-field {
        grid-row: auto;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .send-button {
        width: 100%;
    }

    .contact-sidebar {
        display: block;
    }

    .sidebar-body {
        display: block;
    }

    .contact-methods {
        width: calc(100% - 28px);

        padding: 20px;

        margin-bottom: 30px;
    }

    .methods-title span {
        display: none;
    }

    .methods-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
    }

    .method-item:nth-child(2)::after {
        display: none;
    }

    .method-item:not(:last-child)::after {
        height: 60px;
    }

}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contact-intro h1 {
        font-size: 33px;
    }

    .contact-intro > p {
        font-size: 14px;
    }

    .hero-benefit strong {
        font-size: 13px;
    }

    .hero-benefit span {
        font-size: 9px;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .method-item::after {
        display: none !important;
    }

    .method-item {
        padding: 13px 5px;
    }

}
