/* ==========================================================================
   Corporate Premium Contact Page Styles
   ========================================================================== */
:root {
    --contact-navy: #0B213E;
    --contact-navy-light: #1A365D;
    --contact-teal: #0F8B7F;
    --contact-gold: #FCD34D;
    --contact-ink: #14213a;
    --contact-copy: #475569;
    --contact-paper: #F8FAFC;
    --contact-line: #E2E8F0;
    --contact-white: #ffffff;
}

.contact-redesign, .contact-redesign * {
    box-sizing: border-box;
}

.contact-redesign {
    overflow: hidden;
    color: var(--contact-ink);
    background: var(--contact-white);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.contact-redesign :is(h1, h2, h3, p, ul) {
    margin-top: 0;
}

.contact-shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

/* Base Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleLine {
    from { width: 0; }
    to { width: 80px; }
}

.contact-hero__grid > div,
.contact-quick,
.contact-centres,
.contact-guidance,
.contact-previsit {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.contact-hero {
    position: relative;
    isolation: isolate;
    background: var(--contact-navy);
    background-image: radial-gradient(circle at 100% 0%, var(--contact-navy-light) 0%, transparent 50%),
                      radial-gradient(circle at 0% 100%, #11294A 0%, transparent 50%);
    color: var(--contact-white);
    padding: 100px 0 80px;
    border-bottom: 4px solid var(--contact-teal);
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 60px;
    align-items: center;
}

.contact-breadcrumb {
    display: flex;
    gap: 9px;
    margin-bottom: 24px;
    color: #9fb2c9;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-breadcrumb a {
    color: var(--contact-gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-kicker {
    display: inline-block;
    color: var(--contact-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-hero h1 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.contact-hero__lead {
    color: #F8FAFC;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.contact-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--contact-teal);
    border-radius: 4px;
    background: var(--contact-teal);
    color: var(--contact-white);
    padding: 0 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #0d7a6f;
    border-color: #0d7a6f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 139, 127, 0.4);
}

.contact-button--ghost {
    background: transparent;
    border-color: var(--contact-white);
}

.contact-button--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--contact-white);
    box-shadow: none;
}

.contact-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 48px 0 0;
    list-style: none;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.contact-trust li {
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 24px;
}

.contact-trust li:first-child {
    border-left: 0;
    padding-left: 0;
}

.contact-trust strong {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--contact-gold);
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.contact-trust span {
    margin-top: 4px;
    color: #CBD5E1;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* ==========================================================================
   Quick Actions Card
   ========================================================================== */
.contact-quick {
    background: var(--contact-white);
    border: 1px solid var(--contact-line);
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 40px;
    border-top: 4px solid var(--contact-navy);
}

.contact-quick > span {
    color: var(--contact-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-quick h2 {
    font-family: 'Playfair Display', serif;
    margin: 12px 0 24px;
    font-size: 32px;
    color: var(--contact-navy);
}

.contact-quick__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    border-top: 1px solid var(--contact-line);
    padding: 20px 0;
}

.contact-quick__item > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 4px;
    background: var(--contact-paper);
    color: var(--contact-navy);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    border: 1px solid var(--contact-line);
}

.contact-quick__item strong {
    display: block;
    color: var(--contact-navy);
    font-size: 16px;
}

.contact-quick__item small {
    display: block;
    margin-top: 4px;
    color: var(--contact-copy);
    font-size: 14px;
}

.contact-quick > p {
    margin: 16px 0 0;
    background: var(--contact-paper);
    color: var(--contact-navy);
    font-size: 13px;
    line-height: 1.6;
    padding: 16px;
    border-left: 3px solid var(--contact-teal);
}

/* ==========================================================================
   Centres Section
   ========================================================================== */
.contact-centres {
    background: var(--contact-paper);
    padding: 100px 0;
    border-bottom: 1px solid var(--contact-line);
}

.contact-heading {
    text-align: center;
    margin-bottom: 60px;
}

.contact-heading > span {
    color: var(--contact-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 42px);
    color: var(--contact-navy);
    margin: 16px 0 20px;
    position: relative;
    padding-bottom: 20px;
}
.contact-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--contact-teal);
}

.contact-heading p {
    color: var(--contact-copy);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-branch-card {
    background: var(--contact-white);
    border: 1px solid var(--contact-line);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    transition: all 0.3s ease;
    border-top: 4px solid var(--contact-navy);
}

.contact-branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--contact-teal);
}

.contact-branch-card__head {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--contact-line);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.contact-branch-card__icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border-radius: 4px;
    background: var(--contact-paper);
    color: var(--contact-navy);
    border: 1px solid var(--contact-line);
}

.contact-branch-card__icon svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
}

.contact-branch-card__head small {
    color: var(--contact-teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-branch-card__head h3 {
    font-family: 'Playfair Display', serif;
    margin: 4px 0 0;
    font-size: 28px;
    color: var(--contact-navy);
}

.contact-open {
    background: #eaf9ef;
    color: #168340;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-address {
    margin-bottom: 24px;
}
.contact-address strong {
    display: block;
    margin-bottom: 8px;
    color: var(--contact-navy);
}
.contact-address address {
    color: var(--contact-copy);
    font-style: normal;
    line-height: 1.7;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--contact-paper);
    padding: 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 24px;
    border: 1px solid var(--contact-line);
    transition: background 0.3s;
}
.contact-phone:hover {
    background: #f1f5f9;
}
.contact-phone span {
    color: var(--contact-copy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-phone strong {
    font-size: 22px;
    color: var(--contact-navy);
}

.contact-branch-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.contact-branch-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--contact-navy);
    border-radius: 4px;
    color: var(--contact-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-branch-actions svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
}

.contact-branch-actions a:hover {
    background: var(--contact-navy);
    color: var(--contact-white);
}

.contact-branch-actions a:nth-child(2) {
    border-color: #168340;
    color: #168340;
}
.contact-branch-actions a:nth-child(2):hover {
    background: #168340;
    color: var(--contact-white);
}

/* ==========================================================================
   Guidance Section
   ========================================================================== */
.contact-guidance {
    background: var(--contact-navy);
    color: var(--contact-white);
    padding: 80px 0;
    border-bottom: 4px solid var(--contact-teal);
}

.contact-guidance__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.contact-guidance span {
    color: var(--contact-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-guidance h2 {
    font-family: 'Playfair Display', serif;
    margin: 16px 0 20px;
    font-size: clamp(32px, 4vw, 42px);
    color: var(--contact-white);
}

.contact-guidance p {
    color: #CBD5E1;
    font-size: 18px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0;
}

/* ==========================================================================
   Pre-visit Section
   ========================================================================== */
.contact-previsit {
    padding: 100px 0;
    background: var(--contact-white);
}

.contact-previsit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-previsit__copy > span {
    color: var(--contact-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-previsit h2 {
    font-family: 'Playfair Display', serif;
    margin: 16px 0 24px;
    font-size: 36px;
    color: var(--contact-navy);
}

.contact-previsit p {
    color: var(--contact-copy);
    font-size: 18px;
    line-height: 1.7;
}

.contact-previsit ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.contact-previsit li {
    background: var(--contact-paper);
    border: 1px solid var(--contact-line);
    border-radius: 4px;
    padding: 24px;
    color: var(--contact-navy);
    line-height: 1.5;
}

.contact-previsit li b {
    display: block;
    margin-bottom: 12px;
    color: var(--contact-teal);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

/* ==========================================================================
   Social Section
   ========================================================================== */
.contact-social {
    background: var(--contact-paper);
    border-top: 1px solid var(--contact-line);
    padding: 80px 0;
}

.contact-social .official-social {
    text-align: center;
}

.contact-social .official-social > strong {
    display: block;
    margin-bottom: 24px;
    color: var(--contact-navy);
    font-size: 16px;
    font-weight: 600;
}

.contact-social .official-social-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-social .official-social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--contact-white);
    border: 1px solid var(--contact-line);
    border-radius: 4px;
    padding: 12px 24px;
    color: var(--contact-navy);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-social .official-social-link::after {
    content: attr(title);
}

.contact-social .official-social-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.contact-social .official-social-link:hover {
    background: var(--contact-navy);
    color: var(--contact-white);
    border-color: var(--contact-navy);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-previsit__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-guidance__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-guidance p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    .contact-trust {
        grid-template-columns: 1fr;
    }
    .contact-trust li {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 16px 0;
    }
    .contact-branch-grid, .contact-previsit ul {
        grid-template-columns: 1fr;
    }
    .contact-branch-actions {
        grid-template-columns: 1fr;
    }
    .contact-social .official-social-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
