
/* ==========================================================
   CAPE TOWN HOMETECH — CONTACT / BOOKING PAGE
   Version: 1.0
   ========================================================== */
.contact-page {
    background:
        radial-gradient(circle at 8% 10%, rgba(61,165,189,.10), transparent 25rem),
        radial-gradient(circle at 92% 90%, rgba(87,184,96,.08), transparent 24rem),
        #f7fafb;
}

.contact-hero {
    padding: 82px 22px 64px;
    text-align: center;
}

.contact-hero__inner,
.contact-main__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #258da6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.45px;
    text-transform: uppercase;
}

.contact-eyebrow::before,
.contact-eyebrow::after {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.contact-hero h1 {
    max-width: 800px;
    margin: 14px auto 0;
    color: #183a5b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.contact-hero p {
    max-width: 720px;
    margin: 19px auto 0;
    color: #60778d;
    font-size: 16px;
    line-height: 1.75;
}

.contact-main {
    padding: 0 22px 86px;
}

.contact-main__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 26px;
    align-items: start;
}

.contact-card {
    padding: 30px;
    border: 1px solid #d9e9ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(32,66,101,.10);
}

.contact-card h2,
.contact-side h2 {
    margin: 0;
    color: #183a5b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.08;
}

.contact-card__intro,
.contact-side__intro {
    margin: 12px 0 0;
    color: #60778d;
    font-size: 14px;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    margin-top: 26px;
}

.contact-field {
    display: grid;
    gap: 7px;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label,
.contact-consent {
    color: #204265;
    font-size: 13px;
    font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 13px;
    border: 1px solid #cbdde5;
    border-radius: 11px;
    background: #fbfdfe;
    color: #183a5b;
    font: inherit;
}

.contact-field textarea {
    min-height: 145px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: 3px solid rgba(61,165,189,.18);
    border-color: #3da5bd;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
    font-weight: 600;
    line-height: 1.55;
}

.contact-consent input {
    margin-top: 4px;
}

.contact-submit {
    grid-column: 1 / -1;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #57b860;
    box-shadow: 0 10px 24px rgba(87,184,96,.23);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.contact-submit:hover {
    background: #489f50;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.contact-status {
    display: none;
    margin: 0 0 20px;
    padding: 15px 17px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-status--success {
    border: 1px solid rgba(87,184,96,.35);
    background: #eef9f0;
    color: #286d31;
}

.contact-status--error {
    border: 1px solid rgba(185,92,23,.28);
    background: #fff5ee;
    color: #7a3909;
}

.contact-side {
    display: grid;
    gap: 18px;
}

.contact-side__panel {
    padding: 25px 23px;
    border: 1px solid #d9e9ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(32,66,101,.08);
}

.contact-side__list {
    display: grid;
    gap: 15px;
    margin: 21px 0 0;
    padding: 0;
    list-style: none;
}

.contact-side__list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
}

.contact-side__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: #204265;
    font-weight: 900;
}

.contact-side__list strong,
.contact-side__list span,
.contact-side__list a {
    display: block;
}

.contact-side__list strong {
    color: #183a5b;
    font-size: 13px;
}

.contact-side__list span,
.contact-side__list a {
    margin-top: 3px;
    color: #60778d;
    font-size: 12px;
    line-height: 1.55;
    text-decoration: none;
}

.contact-side__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.contact-side__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.contact-side__button--whatsapp {
    color: #fff;
    background: #57b860;
}

.contact-side__button--phone {
    color: #204265;
    border: 1px solid #cbdde5;
    background: #fff;
}

.contact-note {
    padding: 20px 21px;
    border: 1px solid rgba(61,165,189,.24);
    border-radius: 16px;
    background: linear-gradient(90deg, #eef9fb, #fff);
    color: #204265;
    font-size: 13px;
    line-height: 1.65;
}

.contact-note strong {
    color: #183a5b;
}

@media (max-width: 860px) {
    .contact-main__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .contact-hero {
        padding: 58px 16px 44px;
    }

    .contact-main {
        padding: 0 16px 54px;
    }

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

    .contact-field--full,
    .contact-consent,
    .contact-submit {
        grid-column: auto;
    }

    .contact-card {
        padding: 23px 20px;
    }
}


/* ==========================================================
   CONTACT PAGE REFINEMENTS — v1.2
   ========================================================== */
.contact-side__list li {
    grid-template-columns: 46px 1fr;
    align-items: center;
}

.contact-side__icon {
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    font-size: 21px;
    line-height: 1;
}

.contact-side__list strong {
    line-height: 1.3;
}

.contact-side__list span,
.contact-side__list a {
    margin-top: 2px;
}

@media (max-width: 620px) {
    .contact-side__list li {
        grid-template-columns: 44px 1fr;
    }

    .contact-side__icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}


/* ==========================================================
   RELEASE CANDIDATE v1.4 — ICON ALIGNMENT
   ========================================================== */
.contact-side__list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.contact-side__icon {
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px !important;
    color: #fff;
    background: #204265;
}

.contact-side__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
    margin: 0;
}

@media (max-width: 620px) {
    .contact-side__list li {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .contact-side__icon {
        width: 46px !important;
        height: 46px !important;
    }

    .contact-side__icon svg {
        width: 21px;
        height: 21px;
    }
}
