/* ================================================================
   TMLC 2027 CONTACT PAGE
   Same design system as Home / About / Gallery
   ================================================================ */

.tmlc-contact-hero {
    position: relative;
    overflow: hidden;
}

.tmlc-contact-hero::after {
    content: "x²  π  F=ma";
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%) rotate(-7deg);
    color: rgba(255,255,255,.045);
    font-size: clamp(44px,7vw,100px);
    font-weight: 900;
    letter-spacing: .07em;
    pointer-events: none;
}

/* QUICK INFOGRAPHICS */

.tmlc-contact-quick {
    position: relative;
    z-index: 5;
    margin-top: -45px;
}

.tmlc-contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.tmlc-contact-quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 22px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(7,26,54,.13);
    transition: transform .25s ease;
}

.tmlc-contact-quick-card:hover {
    transform: translateY(-4px);
}

.tmlc-contact-quick-card .icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    border-radius: 17px;
    font-size: 25px;
}

.tmlc-contact-quick-card span,
.tmlc-contact-quick-card h3,
.tmlc-contact-quick-card p {
    display: block;
    margin: 0;
}

.tmlc-contact-quick-card span {
    margin-bottom: 3px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.tmlc-contact-quick-card h3 {
    font-size: 17px;
    font-weight: 850;
}

.tmlc-contact-quick-card p {
    margin-top: 3px;
    font-size: 12px;
}

.tmlc-contact-quick-card.whatsapp {
    color: #fff;
    background: linear-gradient(135deg,#128c61,#075c40);
}

.tmlc-contact-quick-card.whatsapp .icon {
    color: #0b6b4a;
    background: #fff;
}

.tmlc-contact-quick-card.whatsapp span,
.tmlc-contact-quick-card.whatsapp p {
    color: rgba(255,255,255,.72);
}

.tmlc-contact-quick-card.phone {
    color: #fff;
    background: linear-gradient(135deg,#0b72c9,#084b88);
}

.tmlc-contact-quick-card.phone .icon {
    color: #071a36;
    background: #ffd338;
}

.tmlc-contact-quick-card.phone span,
.tmlc-contact-quick-card.phone p {
    color: rgba(255,255,255,.72);
}

.tmlc-contact-quick-card.email {
    color: #071a36;
    background: linear-gradient(135deg,#ffd338,#efb900);
}

.tmlc-contact-quick-card.email .icon {
    color: #071a36;
    background: rgba(255,255,255,.52);
}

.tmlc-contact-quick-card.email span,
.tmlc-contact-quick-card.email p {
    color: rgba(7,26,54,.67);
}

/* MAIN */

.tmlc-contact-main {
    padding: 95px 0;
    background: #f7f9fc;
}

.tmlc-contact-form-card,
.tmlc-contact-details-card {
    height: 100%;
    border-radius: 24px;
}

.tmlc-contact-form-card {
    padding: 38px;
    border: 1px solid #dfe7ef;
    background: #fff;
    box-shadow: 0 15px 45px rgba(7,26,54,.065);
}

.tmlc-contact-form-card .tmlc-section-heading {
    margin-bottom: 30px;
}

.tmlc-contact-form-card label {
    margin-bottom: 7px;
    color: #273750;
    font-size: 11px;
    font-weight: 800;
}

.tmlc-contact-form-card .form-control {
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid #d8e1ea;
    border-radius: 12px;
    background: #fbfcfe;
    box-shadow: none;
    font-size: 13px;
}

.tmlc-contact-form-card textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.tmlc-contact-form-card .form-control:focus {
    border-color: #0b72c9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11,114,201,.08);
}

/* DETAILS PANEL */

.tmlc-contact-details-card {
    padding: 38px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%,rgba(255,211,56,.14),transparent 27%),
        linear-gradient(145deg,#071a36,#0b4e8e);
    box-shadow: 0 18px 50px rgba(7,26,54,.14);
}

.tmlc-contact-details-card h2 {
    margin: 10px 0 13px;
    color: #fff;
    font-size: clamp(30px,3vw,42px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.045em;
}

.tmlc-contact-details-card h2 span {
    color: #ffd338;
}

.tmlc-contact-details-card .intro {
    margin-bottom: 28px;
    color: rgba(255,255,255,.68);
    line-height: 1.7;
}

.tmlc-contact-detail {
    display: flex;
    gap: 15px;
    padding: 19px 0;
    border-top: 1px solid rgba(255,255,255,.11);
}

.tmlc-contact-detail .icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 14px;
    color: #071a36;
    background: #ffd338;
}

.tmlc-contact-detail span,
.tmlc-contact-detail strong,
.tmlc-contact-detail p {
    display: block;
}

.tmlc-contact-detail span {
    margin-bottom: 3px;
    color: #ffd338;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.tmlc-contact-detail strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.tmlc-contact-detail p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.64);
    font-size: 12px;
    line-height: 1.65;
}

.tmlc-contact-detail a {
    color: inherit;
    text-decoration: none;
}

.tmlc-contact-whatsapp {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 15px;
    color: #fff;
    background: #128c61;
    text-decoration: none;
}

.tmlc-contact-whatsapp > i:first-child {
    font-size: 25px;
}

.tmlc-contact-whatsapp > i:last-child {
    margin-left: auto;
}

.tmlc-contact-whatsapp span {
    font-size: 13px;
    font-weight: 800;
}

.tmlc-contact-whatsapp small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255,255,255,.67);
    font-size: 8px;
    letter-spacing: .09em;
}

/* MAP */

.tmlc-contact-map-section {
    padding: 90px 0;
    background: #fff;
}

.tmlc-contact-map-section .tmlc-section-heading {
    margin-bottom: 35px;
}

.tmlc-contact-map {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 24px;
    background: #eef3f7;
    box-shadow: 0 16px 45px rgba(7,26,54,.08);
}

.tmlc-contact-map iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
}

@media (max-width: 991px) {
    .tmlc-contact-quick {
        margin-top: 35px;
    }

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

    .tmlc-contact-main {
        padding-top: 65px;
    }
}

@media (max-width: 767px) {
    .tmlc-contact-main,
    .tmlc-contact-map-section {
        padding: 65px 0;
    }

    .tmlc-contact-form-card,
    .tmlc-contact-details-card {
        padding: 25px 20px;
    }

    .tmlc-contact-map iframe {
        height: 350px;
    }
}
