﻿/* =========================================================
   MIHS ENQUIRY FORM
   Recolored to the new brand palette:
   #008fa5 teal · #89a2b1 dusty blue · #c4b49a sand · #9e896c bronze
   #c7c3bd stone · #90908c warm grey (+ derived deep slate #10252e)
   ========================================================= */

.mihs-enquiry {
    --me-navy: #0a1a21;
    --me-navy-2: #19343f;
    --me-gold: #c4b49a;
    --me-teal: #008fa5;
    --me-gold-dark: #7a6749;
    --me-bg: #f5f3ef;
    --me-white: #ffffff;
    --me-text: #0a1730;
    --me-muted: #717b8b;
    --me-border: rgba(16, 37, 46, .12);
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient( circle at 8% 15%, rgba(196, 180, 154, .09), transparent 25% ), radial-gradient( circle at 90% 80%, rgba(16, 37, 46, .06), transparent 28% ), var(--me-bg);
    color: var(--me-text);
}

.mihs-enquiry__container {
    position: relative;
    width: min( 1280px, calc(100% - 60px) );
    margin: 0 auto;
    padding: 56px 0 110px;
    z-index: 2;
}

.mihs-enquiry__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.mihs-enquiry__glow--one {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -180px;
    border: 1px solid rgba(196, 180, 154, .12);
}

.mihs-enquiry__glow--two {
    width: 380px;
    height: 380px;
    bottom: -180px;
    left: -200px;
    border: 1px solid rgba(16, 37, 46, .07);
}

.mihs-enquiry__hero {
    position: relative;
    width: 100%;
    margin: 0 0 0;
    padding: 130px 0 95px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(196, 180, 154, 0.12), transparent 30%), linear-gradient(135deg, #10252e 0%, #061318 100%);
}

    .mihs-enquiry__hero::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        left: -140px;
        top: -100px;
        border-radius: 50%;
        background: rgba(196, 180, 154, 0.08);
        filter: blur(12px);
        pointer-events: none;
    }

    .mihs-enquiry__hero::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -240px;
        bottom: -320px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        pointer-events: none;
    }

.mihs-enquiry__hero-grid {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 60px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
    gap: 48px 64px;
    align-items: end;
}

.mihs-enquiry__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #c4b49a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

    .mihs-enquiry__eyebrow i {
        width: 34px;
        height: 1px;
        display: block;
        background: #c4b49a;
    }

.mihs-enquiry__hero-copy h1 {
    margin: 0;
    max-width: 720px;
    color: #fff;
    font-family: "DM Sans", "Inter", system-ui, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

    .mihs-enquiry__hero-copy h1 span {
        color: #c4b49a;
    }

.mihs-enquiry__hero-copy > p {
    max-width: 540px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    line-height: 1.7;
}

.mihs-enquiry__hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 36px;
    margin-top: 32px;
}

    .mihs-enquiry__hero-stats > div {
        min-width: 0;
    }

    .mihs-enquiry__hero-stats strong {
        display: block;
        color: #fff;
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.15;
    }

    .mihs-enquiry__hero-stats span {
        display: block;
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.48);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

.mihs-enquiry__hero-card {
    position: relative;
    padding: 26px 24px 22px;
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(196, 180, 154, 0.2), transparent 42%), linear-gradient(145deg, #16303a, #0a1a21);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

    .mihs-enquiry__hero-card::before {
        content: "";
        position: absolute;
        width: 160px;
        height: 160px;
        right: -60px;
        top: -50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        pointer-events: none;
    }

.mihs-enquiry__hero-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mihs-enquiry__hero-card-title {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mihs-enquiry__hero-card > p {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.6;
}

.mihs-enquiry__hero-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

    .mihs-enquiry__hero-list li {
        position: relative;
        padding: 7px 0 7px 16px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 12.5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

        .mihs-enquiry__hero-list li:last-child {
            border-bottom: 0;
        }

        .mihs-enquiry__hero-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 6px;
            height: 6px;
            margin-top: -3px;
            border-radius: 50%;
            background: var(--me-gold);
        }

.mihs-enquiry__hero-card-foot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

    .mihs-enquiry__hero-card-foot span {
        color: rgba(255, 255, 255, 0.4);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .mihs-enquiry__hero-card-foot b {
        color: var(--me-gold);
        font-size: 13px;
        font-weight: 700;
    }

@media (max-width: 900px) {
    .mihs-enquiry__hero {
        padding: 100px 0 70px;
    }

    .mihs-enquiry__hero-grid {
        grid-template-columns: 1fr;
        width: min(100% - 30px, 1280px);
        gap: 28px;
    }

    .mihs-enquiry__hero-card {
        max-width: 420px;
    }
}

@media (max-width: 720px) {
    .mihs-enquiry__hero-copy h1 {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
    }

    .mihs-enquiry__hero-stats {
        gap: 14px 20px;
    }
}

.mihs-enquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 50px;
    align-items: start;
}

.mihs-enquiry__form-card {
    position: relative;
    padding: 38px;
    border: 1px solid rgba(16, 37, 46, .09);
    border-radius: 24px;
    background: rgba( 255, 255, 255, .94 );
    box-shadow: 0 25px 70px rgba(16, 37, 46, .08), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
}

.mihs-enquiry__form-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--me-border);
}

.mihs-enquiry__form-number {
    display: block;
    margin-bottom: 8px;
    color: var(--me-gold-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.mihs-enquiry__form-head h2 {
    margin: 0;
    color: var(--me-navy);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.04em;
}

.mihs-enquiry__required {
    color: #9aa1ad;
    font-size: 9px;
    letter-spacing: .08em;
}

.mihs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.mihs-field {
    position: relative;
    margin-bottom: 18px;
}

.mihs-field--full {
    width: 100%;
}

.mihs-field label {
    display: block;
    margin-bottom: 8px;
    color: #3e485a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

    .mihs-field label span {
        color: #d64b4b;
        margin-left: 2px;
    }

.mihs-field input,
.mihs-field select,
.mihs-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(16, 37, 46, .13);
    border-radius: 11px;
    outline: none;
    background: #fbfbfa;
    color: var(--me-text);
    font-family: inherit;
    font-size: 13px;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.mihs-field input,
.mihs-field select {
    height: 52px;
    padding: 0 15px;
}

.mihs-field textarea {
    min-height: 125px;
    resize: vertical;
    padding: 15px;
    line-height: 1.65;
}

    .mihs-field input:hover,
    .mihs-field select:hover,
    .mihs-field textarea:hover {
        border-color: rgba(196, 180, 154, .55);
        background: #fff;
    }

    .mihs-field input:focus,
    .mihs-field select:focus,
    .mihs-field textarea:focus {
        border-color: var(--me-gold);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(196, 180, 154, .12);
        transform: translateY(-1px);
    }

    .mihs-field input::placeholder,
    .mihs-field textarea::placeholder {
        color: #b0b6c0;
    }

.mihs-select-wrap {
    position: relative;
}

    .mihs-select-wrap select {
        appearance: none;
        padding-right: 42px;
        cursor: pointer;
    }

    .mihs-select-wrap > span {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-55%);
        color: #7d8795;
        font-size: 17px;
        pointer-events: none;
    }

.mihs-field-counter {
    position: absolute;
    right: 12px;
    bottom: 9px;
    color: #a1a8b2;
    font-size: 8px;
    letter-spacing: .04em;
}

.mihs-consent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 4px 0 24px;
    color: #7a8391;
    font-size: 10px;
    line-height: 1.55;
    cursor: pointer;
}

    .mihs-consent input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.mihs-consent__check {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 37, 46, .2);
    border-radius: 5px;
    color: transparent;
    font-size: 11px;
    background: #fff;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.mihs-consent input:checked + .mihs-consent__check {
    border-color: var(--me-gold);
    background: var(--me-gold);
    color: var(--me-navy);
}

.mihs-consent input:focus-visible + .mihs-consent__check {
    box-shadow: 0 0 0 4px rgba(196, 180, 154, .15);
}

.mihs-submit {
    position: relative;
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 19px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: linear-gradient( 135deg, #c4b49a, #9e896c );
    color: var(--me-navy);
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(122, 103, 73, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .mihs-submit::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.3), transparent );
        transform: skewX(-20deg);
        transition: left .65s ease;
    }

    .mihs-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(122, 103, 73, .25);
    }

        .mihs-submit:hover::before {
            left: 140%;
        }

.mihs-submit__arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 37, 46, .12);
    font-size: 15px;
    transition: transform .3s ease;
}

.mihs-submit:hover
.mihs-submit__arrow {
    transform: rotate(45deg);
}

.mihs-enquiry__side {
    position: sticky;
    top: 100px;
}

.mihs-event-card {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: radial-gradient( circle at 90% 15%, rgba(196, 180, 154, .22), transparent 30% ), linear-gradient( 145deg, #0a1a21, #19343f );
    box-shadow: 0 30px 65px rgba(16, 37, 46, .2);
}

    .mihs-event-card::before {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        right: -180px;
        bottom: -180px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 50%;
    }

    .mihs-event-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        left: -100px;
        top: 40%;
        border: 1px solid rgba(196, 180, 154, .12);
        border-radius: 50%;
    }

.mihs-event-card__pattern {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient( 45deg, transparent 48%, #fff 49%, transparent 51% );
    background-size: 25px 25px;
}

.mihs-event-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.45);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.mihs-event-card__monogram {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 55px 0 22px;
    border: 1px solid rgba(196, 180, 154, .4);
    border-radius: 50%;
    color: var(--me-gold);
    font-family: Georgia, serif;
    font-size: 26px;
    letter-spacing: .08em;
    box-shadow: 0 0 0 15px rgba(196, 180, 154, .035), 0 0 0 30px rgba(196, 180, 154, .018);
    animation: mihsPulse 4s ease-in-out infinite;
}

@keyframes mihsPulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.mihs-event-card__label {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,.4);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}

.mihs-event-card h2 {
    position: relative;
    z-index: 2;
    max-width: 290px;
    margin: 12px 0 0;
    color: #fff;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.045em;
}

    .mihs-event-card h2 span {
        color: var(--me-gold);
        font-family: "DM Sans", "Inter", system-ui, sans-serif;
    }

.mihs-event-card__date {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: auto;
    padding-top: 30px;
}

    .mihs-event-card__date strong {
        color: #fff;
        font-size: 28px;
        font-weight: 500;
        letter-spacing: -.04em;
    }

    .mihs-event-card__date span {
        color: var(--me-gold);
        font-size: 12px;
        font-weight: 800;
    }

.mihs-event-card__venue {
    position: relative;
    z-index: 2;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
}

    .mihs-event-card__venue span {
        display: block;
        margin-bottom: 6px;
        color: rgba(255,255,255,.35);
        font-size: 7px;
        font-weight: 900;
        letter-spacing: .16em;
    }

    .mihs-event-card__venue strong {
        display: block;
        color: rgba(255,255,255,.85);
        font-size: 11px;
    }

    .mihs-event-card__venue small {
        display: block;
        margin-top: 3px;
        color: rgba(255,255,255,.42);
        font-size: 9px;
    }

.mihs-enquiry-links {
    margin-top: 15px;
    overflow: hidden;
    border: 1px solid var(--me-border);
    border-radius: 16px;
    background: #fff;
}

.mihs-enquiry-links__label {
    display: block;
    padding: 17px 18px 12px;
    color: #969da8;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .17em;
}

.mihs-enquiry-links a {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-top: 1px solid var(--me-border);
    color: var(--me-navy);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition: padding .3s ease, background .3s ease, color .3s ease;
}

    .mihs-enquiry-links a:hover {
        padding-left: 24px;
        background: var(--me-navy);
        color: #fff;
    }

    .mihs-enquiry-links a b {
        color: var(--me-gold);
        font-size: 14px;
    }

.mihs-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

    .mihs-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.mihs-field input:user-invalid,
.mihs-field select:user-invalid,
.mihs-field textarea:user-invalid {
    border-color: rgba(210,70,70,.55);
}

.mihs-field input:valid:not(:placeholder-shown),
.mihs-field textarea:valid:not(:placeholder-shown) {
    border-color: rgba(73,139,93,.28);
}

@media (max-width: 1050px) {

    .mihs-enquiry__grid {
        grid-template-columns: 1fr;
    }

    .mihs-enquiry__side {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .mihs-enquiry-links {
        margin-top: 0;
    }
}

@media (max-width: 720px) {

    .mihs-enquiry__container {
        width: min( 100% - 30px, 1280px );
        padding: 65px 0 75px;
    }

    .mihs-enquiry__intro {
        margin-bottom: 38px;
    }

        .mihs-enquiry__intro h1 {
            font-size: 46px;
        }

        .mihs-enquiry__intro p {
            font-size: 13px;
        }

    .mihs-enquiry__form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .mihs-enquiry__form-head {
        display: block;
        padding-bottom: 22px;
    }

        .mihs-enquiry__form-head h2 {
            font-size: 25px;
        }

    .mihs-enquiry__required {
        display: block;
        margin-top: 10px;
    }

    .mihs-form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .mihs-field {
        margin-bottom: 16px;
    }

    .mihs-enquiry__side {
        display: block;
    }

    .mihs-event-card {
        min-height: 460px;
    }

    .mihs-enquiry-links {
        margin-top: 15px;
    }
}

@media (max-width: 420px) {

    .mihs-enquiry__intro h1 {
        font-size: 40px;
    }

    .mihs-event-card {
        padding: 24px;
        min-height: 430px;
    }

        .mihs-event-card h2 {
            font-size: 27px;
        }

    .mihs-event-card__date strong {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mihs-enquiry *,
    .mihs-enquiry *::before,
    .mihs-enquiry *::after {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.mihs-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.mihs-consent__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.mihs-consent__check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    color: transparent;
    background: #fff;
    transition: 0.15s ease;
}

.mihs-consent__input:checked + .mihs-consent__check {
    background: #c4b49a;
    border-color: #c4b49a;
    color: #10252e;
}
