/* Contact page (resources/views/frontend/contact.blade.php) — everything is scoped to .ct-page.
   Navy / orange like the rest of the site; [data-ct-reveal] blocks fade up when html.ct-anim is set by the page script. */

.ct-page {
    --ct-navy: #15416e;
    --ct-navy-2: #0b2547;
    --ct-orange: #f07f22;
    --ct-ink: #0f2a4a;
    --ct-text: #4a5668;
    --ct-line: #d9e2ed;
    --ct-soft: #f4f7fb;
    --ct-ease: cubic-bezier(.16, 1, .3, 1);
    color: var(--ct-text);
}
.ct-page h1, .ct-page h2, .ct-page h3 { font-family: inherit; text-transform: none; letter-spacing: 0; }

/* reveal on scroll */
html.ct-anim .ct-page [data-ct-reveal] { opacity: 0; transform: translateY(28px); }
html.ct-anim .ct-page [data-ct-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .8s var(--ct-ease), transform .8s var(--ct-ease);
}
html.ct-anim .ct-page .ct-d1.is-in { transition-delay: 90ms; }
html.ct-anim .ct-page .ct-d2.is-in { transition-delay: 160ms; }
html.ct-anim .ct-page .ct-d3.is-in { transition-delay: 240ms; }

.ct-kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ct-orange); margin-bottom: 10px; }
.ct-kicker--light { color: #ffb37a; }
.ct-h2 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--ct-navy); margin: 0 0 8px; }
.ct-muted { font-size: 14px; color: #6b7686; margin: 0 0 22px; }

/* buttons */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 8px;
    font-size: 15.5px; font-weight: 600; line-height: 1; text-decoration: none !important; cursor: pointer; border: 2px solid transparent;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ct-ease), box-shadow .3s ease; }
.ct-btn i { transition: transform .3s var(--ct-ease); }
.ct-btn:hover { transform: translateY(-2px); }
.ct-btn:hover i.fa-arrow-right, .ct-btn:hover i.fa-paper-plane { transform: translateX(4px); }
.ct-btn--primary { background: var(--ct-orange); color: #fff !important; box-shadow: 0 10px 22px -10px rgba(240, 127, 34, .7); }
.ct-btn--primary:hover { background: #d96a12; }
.ct-btn--light { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.ct-btn--light:hover { background: #fff; color: var(--ct-navy) !important; }

/* hero */
.ct-hero { position: relative; overflow: hidden; padding: 72px 0 116px; background: var(--ct-navy-2); }
.ct-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: ct-zoom 14s ease-out forwards; }
@keyframes ct-zoom { to { transform: scale(1); } }
.ct-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(11, 37, 71, .96) 0%, rgba(11, 37, 71, .82) 50%, rgba(11, 37, 71, .45) 100%); }
.ct-hero__in { position: relative; z-index: 2; }
.ct-hero__title .ct-hl { color: #ffa24c; }
.ct-hero__title { max-width: 760px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: 1.12; color: #fff; margin: 0 0 18px; }
.ct-hero__lead { max-width: 620px; font-size: 17.5px; line-height: 1.7; color: #dbe5f2; margin: 0 0 30px; }
.ct-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* quick contact cards, overlapping the hero */
.ct-quick { position: relative; z-index: 3; margin-top: -70px; }
.ct-quick__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-quick__card { display: flex; flex-direction: column; gap: 4px; padding: 26px 26px 24px; border-radius: 14px; background: #fff;
    border: 1px solid var(--ct-line); box-shadow: 0 18px 40px -22px rgba(15, 42, 74, .45); text-decoration: none !important; color: inherit;
    transition: transform .35s var(--ct-ease), box-shadow .35s ease, border-color .35s ease; }
.ct-quick__card:hover { transform: translateY(-6px); border-color: #b9cbe0; box-shadow: 0 26px 48px -22px rgba(15, 42, 74, .55); }
.ct-quick__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
    background: #fff3e8; color: var(--ct-orange); font-size: 20px; transition: background-color .35s ease, color .35s ease, transform .35s var(--ct-ease); }
.ct-quick__card:hover .ct-quick__icon { background: var(--ct-orange); color: #fff; transform: rotate(-8deg) scale(1.06); }
.ct-quick__label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b7686; }
.ct-quick__card strong { font-size: 17px; color: var(--ct-ink); word-break: break-word; }

/* form + side panel */
.ct-main { padding: 30px 0 80px; }
.ct-main__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.ct-form-card { padding: 38px 38px 34px; border-radius: 16px; background: #fff; border: 1px solid var(--ct-line); box-shadow: 0 14px 40px -24px rgba(15, 42, 74, .35); }
.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 24px; }
.ct-field { display: flex; flex-direction: column; min-width: 0; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { font-size: 13.5px; font-weight: 600; color: var(--ct-ink); margin: 0 0 7px; }
.ct-page .ct-field input[type="text"], .ct-page .ct-field input[type="email"], .ct-page .ct-field input[type="tel"],
.ct-page .ct-field select, .ct-page .ct-field textarea {
    width: 100% !important; height: 48px; margin: 0; padding: 0 14px; border: 1.5px solid var(--ct-line); border-radius: 10px; background: var(--ct-soft);
    font-size: 15px; color: var(--ct-ink); box-shadow: none; outline: none; text-indent: 0;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.ct-page .ct-field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.ct-page .ct-field input:hover, .ct-page .ct-field select:hover, .ct-page .ct-field textarea:hover { border-color: #b9cbe0; }
.ct-page .ct-field input:focus, .ct-page .ct-field select:focus, .ct-page .ct-field textarea:focus {
    border-color: var(--ct-navy); background: #fff; box-shadow: 0 0 0 4px rgba(21, 65, 110, .12); }
.ct-select { position: relative; }
.ct-select__flag { position: absolute; left: 14px; top: 50%; width: 24px; height: 16px; margin-top: -8px; object-fit: cover; border-radius: 2px; display: none; pointer-events: none; }
.ct-page .ct-select select { padding-left: 48px; -webkit-appearance: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315416e' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.ct-phone { display: flex; align-items: stretch; }
.ct-phone__code { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--ct-line); border-right: 0; border-radius: 10px 0 0 10px;
    background: #e8eef6; font-size: 15px; font-weight: 600; color: var(--ct-navy); position: static !important; }
.ct-page .ct-phone input[type="tel"] { border-radius: 0 10px 10px 0; }
.ct-err { display: none; margin-top: 6px; font-size: 12.5px; color: #c62828; }
.ct-submit { width: 100%; padding: 16px 26px; font-size: 16px; }

.ct-side { position: relative; overflow: hidden; padding: 36px 32px; border-radius: 16px; color: #fff;
    background: linear-gradient(150deg, var(--ct-navy) 0%, var(--ct-navy-2) 100%); box-shadow: 0 24px 48px -24px rgba(11, 37, 71, .6); }
.ct-side::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 127, 34, .35), transparent 70%); pointer-events: none; }
.ct-side h3 { font-size: 23px; font-weight: 700; line-height: 1.3; color: #fff; margin: 0 0 24px; }
.ct-steps { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: ct; display: grid; gap: 18px; }
.ct-steps li { position: relative; padding-left: 52px; counter-increment: ct; display: flex; flex-direction: column; gap: 3px; }
.ct-steps li::before { content: counter(ct); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 179, 122, .7);
    color: #ffb37a; font-weight: 700; font-size: 15px; }
.ct-steps strong { font-size: 16px; color: #fff; }
.ct-steps span { font-size: 14px; line-height: 1.55; color: #c3d2e6; }
.ct-side__badges { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ct-side__badges span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: #e4ebf5; }
.ct-side__badges i { color: #ffb37a; }

/* offices */
.ct-offices { padding: 70px 0 30px; }
.ct-offices__head { margin-bottom: 28px; max-width: 640px; }
.ct-offices__head .ct-h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 10px; }
.ct-offices__head .ct-hl { color: var(--ct-orange); }
.ct-offices__lead { margin: 0; font-size: 15.5px; line-height: 1.65; color: #5a6677; }
/* kicker with a short orange rule in front of it */
.ct-kicker--line { display: inline-flex; align-items: center; gap: 10px; }
.ct-kicker--line::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--ct-orange); }
.ct-offices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; scroll-margin-top: 120px; }
.ct-office { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--ct-line);
    box-shadow: 0 14px 36px -24px rgba(15, 42, 74, .35); scroll-margin-top: 120px;
    transition: transform .35s var(--ct-ease), box-shadow .35s ease; }
.ct-office__map { position: relative; height: 240px; background: #e8eef6; }
.ct-office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-office__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ct-office__tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 11px; border-radius: 999px;
    background: #eef3f9; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ct-navy); margin-bottom: 12px; }
.ct-office h3 { font-size: 24px; font-weight: 700; color: var(--ct-navy); margin: 0 0 4px; }
.ct-office__org { font-weight: 600; color: var(--ct-ink); margin: 0 0 14px !important; }
.ct-office__addr { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; margin: 0 0 10px !important; }
.ct-office__addr i { flex: 0 0 16px; margin-top: 4px; text-align: center; color: var(--ct-orange); }
.ct-office__addr a { color: var(--ct-navy); font-weight: 600; text-decoration: none; }
.ct-office__link { margin-top: auto; padding-top: 12px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--ct-orange) !important; text-decoration: none !important; }
.ct-office__link i { transition: transform .3s var(--ct-ease); }
.ct-office__link:hover i { transform: translateX(5px); }
/* "Visit us" band below the office cards: building photo on the right, navy wash fading in from the left */
.ct-visit { position: relative; overflow: hidden; margin-top: 28px; border-radius: 18px; background: var(--ct-navy-2);
    box-shadow: 0 24px 50px -30px rgba(11, 37, 71, .8); }
.ct-visit__bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 30%;
    transition: transform 1.2s var(--ct-ease); }
.ct-visit:hover .ct-visit__bg { transform: scale(1.05); }
.ct-visit::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--ct-navy-2) 0%, var(--ct-navy-2) 38%, rgba(11, 37, 71, .82) 55%, rgba(11, 37, 71, .15) 100%); }
.ct-visit::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; z-index: 2; background: var(--ct-orange); }
.ct-visit__in { position: relative; z-index: 2; max-width: 560px; padding: 40px 44px; }
.ct-visit__title { margin: 0 0 10px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.2; color: #fff; }
.ct-visit__title .ct-hl { color: #ffa24c; }
.ct-visit__text { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: #d3deec; }
.ct-visit__chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-visit__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 500;
    color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.ct-visit__chips i { color: #ffb37a; }
.ct-visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 991px) {
    .ct-hero { padding: 56px 0 100px; }
    .ct-quick__grid { grid-template-columns: 1fr; gap: 14px; }
    .ct-main__grid, .ct-offices__grid { grid-template-columns: 1fr; }
    .ct-form-card { padding: 28px 22px; }
    .ct-fields { grid-template-columns: 1fr; }
    .ct-visit__bg { width: 100%; opacity: .35; }
    .ct-visit::before { background: linear-gradient(180deg, rgba(11, 37, 71, .75), var(--ct-navy-2)); }
    .ct-visit__in { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-hero__bg { animation: none; transform: none; }
}

/* Prev Page: hidden until the layout script finds a page to go back to (it sets display itself) */
#backButton { display: none; }


/* ===== Office cards: inset map with a city pin, icon rows, two actions, accent bar on hover ===== */
.ct-office { position: relative; border-radius: 18px; padding: 12px; background: #fff;
    transition: transform .4s var(--ct-ease), box-shadow .4s ease, border-color .4s ease; }
.ct-office::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2;
    background: linear-gradient(90deg, var(--ct-navy), var(--ct-orange)); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ct-ease); }
.ct-office__map { height: 230px; border-radius: 12px; overflow: hidden; }
.ct-office__map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 37, 71, 0), rgba(11, 37, 71, .35)); }
.ct-office__pin { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; background: var(--ct-navy); color: #fff; font-size: 13.5px; font-weight: 700;
    box-shadow: 0 8px 18px -6px rgba(11, 37, 71, .6); pointer-events: none; }
.ct-office__pin i { color: #ffb37a; font-size: 15px; }
.ct-office__body { padding: 22px 14px 10px; }
.ct-office h3 { font-size: 26px; }
.ct-office__org { color: #6b7686; font-weight: 600; font-size: 14.5px; }
.ct-office__addr { align-items: center; gap: 14px; margin: 0 0 12px !important; }
.ct-office__ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: #fff3e8; color: var(--ct-orange); font-size: 16px; transition: background-color .3s ease, color .3s ease; }
.ct-office__addr i { flex: none; margin: 0; color: inherit; }
.ct-office__actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid #edf1f6; }
.ct-office__btn { padding: 12px 20px; font-size: 14.5px; }
.ct-office__btn--ghost { background: transparent; color: var(--ct-navy) !important; border-color: var(--ct-navy); }
.ct-office__btn--ghost:hover { background: var(--ct-navy); color: #fff !important; }
@media (max-width: 991px) {
    .ct-office__map { height: 200px; }
    .ct-office__btn { flex: 1 1 auto; }
}


/* offices section on a light grey band so the white cards stand out */
.ct-offices { background: #eef2f7; padding-bottom: 70px; margin-top: 40px; }

/* "What happens next" fills the height of the form: steps, a talk-now box, badges at the bottom */
.ct-side { display: flex; flex-direction: column; }
.ct-steps { gap: 24px; }
.ct-side__talk { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; margin: 30px 0 0; padding: 20px 22px;
    border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.ct-side__talk-label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb37a; }
.ct-side__talk a { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: #fff !important;
    text-decoration: none !important; transition: color .25s ease, transform .25s ease; }
.ct-side__talk a i { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(240, 127, 34, .18); color: #ffb37a; font-size: 15px; transition: background-color .25s ease, color .25s ease; }
.ct-side__talk a:hover { color: #ffb37a !important; transform: translateX(3px); }
.ct-side__talk a:hover i { background: var(--ct-orange); color: #fff; }
.ct-side__help { position: relative; z-index: 1; margin-top: 22px; }
.ct-side__tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-side__tags li { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #e6edf6;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .25s ease, border-color .25s ease; }
.ct-side__tags li:hover { background: rgba(240, 127, 34, .18); border-color: rgba(255, 179, 122, .55); }
.ct-side__badges { margin-top: auto; padding-top: 22px; }

/* ===== Quick-contact cards: own accent per channel, icon badge left, arrow right, colour wash on hover ===== */
.ct-quick__card { --acc: var(--ct-orange); --acc-soft: #fff3e8; position: relative; overflow: hidden; flex-direction: row; align-items: center;
    gap: 18px; padding: 26px 24px; border-radius: 16px; isolation: isolate; }
.ct-quick__card--mail { --acc: #2d6cb0; --acc-soft: #e8f0fa; }
.ct-quick__card--wa { --acc: #1fa855; --acc-soft: #e5f6ec; }
.ct-quick__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--acc); }
.ct-quick__card::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%;
    background: var(--acc-soft); transition: transform .6s var(--ct-ease); }
.ct-quick__card:hover::after { transform: scale(7); }
.ct-quick__card:hover { border-color: var(--acc); }
.ct-quick__icon { flex: 0 0 60px; width: 60px; height: 60px; margin: 0; border-radius: 50%; font-size: 24px;
    background: var(--acc-soft); color: var(--acc); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--acc-soft); }
.ct-quick__card:hover .ct-quick__icon { background: var(--acc); color: #fff; transform: rotate(-10deg) scale(1.05); }
.ct-quick__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ct-quick__card strong { font-size: 17px; }
.ct-quick__action { font-size: 13px; font-weight: 600; color: var(--acc); }
.ct-quick__go { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--ct-line); color: var(--ct-navy); font-size: 14px; background: #fff;
    transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s var(--ct-ease); }
.ct-quick__card:hover .ct-quick__go { background: var(--acc); border-color: var(--acc); color: #fff; transform: translateX(4px); }
@media (max-width: 991px) {
    .ct-quick__card { padding: 20px 18px; }
    .ct-quick__icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 20px; }
}
.ct-quick__card strong { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
.ct-quick__card--mail strong { font-size: 15px; letter-spacing: -.1px; }
.ct-quick__card { gap: 16px; padding: 24px 20px; }
@media (min-width: 992px) and (max-width: 1199px) {   /* small laptops: arrow hidden so the email fits on one line */
    .ct-quick__go { display: none; }
    .ct-quick__icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 20px; }
}

/* contact.css gives every .error position:absolute (for the old form) — keep the new form's messages under their field */
.ct-page .ct-err { position: static; left: auto; bottom: auto; z-index: auto; color: #c62828; font-size: 12.5px; line-height: 1.4; }
.ct-field:has(.ct-err[style*="block"]) input, .ct-field:has(.ct-err[style*="block"]) textarea { border-color: #e57373; background: #fff7f7; }

/* quick cards: the arrow sits in the bottom-right corner instead of taking width from the text, and the email never wraps */
.ct-quick__card { padding-right: 22px; }
.ct-quick__go { position: absolute; right: 14px; bottom: 14px; flex: none; width: 32px; height: 32px; font-size: 12px; z-index: 1; }
.ct-quick__card strong { white-space: nowrap; overflow-wrap: normal; }
.ct-quick__card--mail strong { font-size: clamp(13.5px, 1.05vw, 15.5px); }
@media (min-width: 992px) and (max-width: 1199px) { .ct-quick__go { display: inline-flex; } }

/* grey band behind the cards (below the hero only), running straight into the grey offices section */
.ct-quick { background: linear-gradient(180deg, transparent 0, transparent 70px, #eef2f7 70px, #eef2f7 100%); padding-bottom: 10px; }
.ct-offices { margin-top: 0; padding-top: 60px; }
@media (max-width: 991px) { .ct-quick { background: linear-gradient(180deg, transparent 0, transparent 70px, #eef2f7 70px); } }
/* quick cards a little taller */
.ct-quick__card { padding-top: 34px; padding-bottom: 34px; min-height: 150px; }
@media (max-width: 991px) { .ct-quick__card { padding-top: 26px; padding-bottom: 26px; min-height: 0; } }

/* anchor jumps (hero "Send an enquiry", mobile menu) land below the fixed header, not under it */
#ct-enquiry, #mb-To-Contact-Us, #mb-delhi, #mb-Gurugram { scroll-margin-top: 120px; }
html:has(.ct-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.ct-page) { scroll-behavior: auto; } }

/* enquiry section on the same grey as the offices, so the grey runs from the cards to the footer */
.ct-main { background: #eef2f7; padding-top: 20px; }

/* ===== Country picker (built by contact-page.js over the hidden <select id="hmx_country">) ===== */
.ct-cp select, .ct-cp .ct-select__flag { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.ct-cp__btn { width: 100%; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; text-align: left; cursor: pointer;
    border: 1.5px solid var(--ct-line); border-radius: 10px; background: var(--ct-soft); color: var(--ct-ink); font-size: 15px;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.ct-cp__btn:hover { border-color: #b9cbe0; }
.ct-cp.is-open .ct-cp__btn, .ct-cp__btn:focus-visible { outline: none; border-color: var(--ct-navy); background: #fff; box-shadow: 0 0 0 4px rgba(21, 65, 110, .12); }
.ct-cp__flag { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ct-cp__flag[hidden] { display: none; }
.ct-cp__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-cp__code { font-weight: 600; color: #6b7686; }
.ct-cp__chev { font-size: 11px; color: var(--ct-navy); transition: transform .3s var(--ct-ease); }
.ct-cp.is-open .ct-cp__chev { transform: rotate(180deg); }
.ct-cp__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; overflow: hidden; border-radius: 14px; background: #fff;
    border: 1px solid var(--ct-line); box-shadow: 0 24px 50px -20px rgba(15, 42, 74, .45); animation: ct-cp-in .25s var(--ct-ease); }
.ct-cp__panel[hidden] { display: none; }
@keyframes ct-cp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ct-cp__search { position: relative; padding: 10px; border-bottom: 1px solid #edf1f6; }
.ct-cp__search i { position: absolute; left: 24px; top: 50%; margin-top: -7px; font-size: 13px; color: #8a96a6; }
.ct-page .ct-cp__search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1.5px solid var(--ct-line); border-radius: 9px;
    background: var(--ct-soft); font-size: 14px; color: var(--ct-ink); outline: none; box-shadow: none; }
.ct-page .ct-cp__search input:focus { border-color: var(--ct-navy); background: #fff; }
.ct-cp__list { list-style: none; margin: 0; padding: 6px; max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7d3e2 transparent; }
.ct-cp__list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 14.5px;
    color: var(--ct-ink); transition: background-color .15s ease; }
.ct-cp__list li[hidden] { display: none; }
.ct-cp__list li img { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ct-cp__oname { flex: 1; }
.ct-cp__ocode { font-weight: 600; color: #6b7686; font-size: 13.5px; }
.ct-cp__list li.is-active, .ct-cp__list li:hover { background: #eef3f9; }
.ct-cp__list li[aria-selected="true"] { background: #fff3e8; }
.ct-cp__list li[aria-selected="true"] .ct-cp__oname { font-weight: 700; color: var(--ct-navy); }
.ct-cp__list li[aria-selected="true"]::after { content: "\f00c"; font-family: FontAwesome; color: var(--ct-orange); font-size: 13px; }
.ct-cp__empty { margin: 0; padding: 14px; text-align: center; font-size: 14px; color: #6b7686; }
.ct-cp__empty[hidden] { display: none; }
/* country list: positioned for offsetTop maths, a height of whole rows (no half-cut row), clear gap under the search */
.ct-cp__list { position: relative; max-height: 282px; padding: 6px 6px 8px; scroll-padding: 6px; }
.ct-cp__list li { min-height: 40px; }
.ct-cp__search { background: #fff; box-shadow: 0 6px 10px -8px rgba(15, 42, 74, .25); position: relative; z-index: 1; }
/* country search: icon above the input (the input's own background hid it) and room for it, whatever older form CSS says */
.ct-cp__search i { z-index: 2; pointer-events: none; left: 23px; }
.ct-page .ct-cp__search input { padding: 0 12px 0 38px !important; text-indent: 0 !important; height: 40px !important; line-height: 40px; }
.ct-page .ct-cp__search input::placeholder { color: #8a96a6; opacity: 1; }
/* required-field asterisk */
.ct-req { color: #e53935; font-weight: 700; margin-left: 2px; }

/* form heading as a navy strip across the top of the form card (bleeds to the card edges) */
.ct-form-card { overflow: visible; }
.ct-form-strip { position: relative; margin: -38px -38px 22px; padding: 30px 38px 28px; overflow: hidden;
    background: linear-gradient(120deg, #0b2547 0%, var(--ct-navy) 60%, #1f5a96 100%); }
.ct-form-strip::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.ct-form-strip::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(240, 127, 34, .3), transparent 70%); }
.ct-form-strip > * { position: relative; z-index: 1; }
.ct-form-strip .ct-kicker { margin-bottom: 6px; }
.ct-form-strip .ct-h2 { color: #fff; margin: 0 0 6px; }
.ct-form-strip__lead { margin: 0; font-size: 15px; color: #c9d6e8; }
.ct-form-head__req { margin-bottom: 18px; font-size: 13px; }
@media (max-width: 991px) { .ct-form-strip { margin: -28px -22px 20px; padding: 24px 22px 22px; } }
.ct-form-strip { border-radius: 15px 15px 0 0; }
.ct-form-strip .ct-hl { color: #ffa24c; }
/* navy form strip, compact */
.ct-form-strip { padding: 18px 38px 16px; margin-bottom: 18px; }
.ct-form-strip .ct-kicker { margin-bottom: 2px; font-size: 11.5px; }
.ct-form-strip .ct-h2 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 2px; }
.ct-form-strip__lead { font-size: 14px; }
@media (max-width: 991px) { .ct-form-strip { padding: 16px 22px 14px; } }



/* ===== Office cards: accent per office; no hover animation (user's choice) ===== */
.ct-office { --acc: var(--ct-orange); --acc-soft: #fff3e8; isolation: isolate; overflow: hidden; }
.ct-office--ggn { --acc: #2d6cb0; --acc-soft: #e8f0fa; }
.ct-office::before { background: var(--acc); }
.ct-office::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 160px; height: 160px; border-radius: 50%;
    background: var(--acc-soft); }
.ct-office__ico { background: var(--acc-soft); color: var(--acc); }
.ct-office__actions { border-top-color: rgba(15, 42, 74, .08); }
/* navy form strip, slimmer still */
.ct-form-strip { padding: 12px 38px 11px; }
.ct-form-strip .ct-kicker { margin-bottom: 0; font-size: 11px; }
.ct-form-strip .ct-h2 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; margin-bottom: 1px; }
.ct-form-strip__lead { font-size: 13px; line-height: 1.4; }
@media (max-width: 991px) { .ct-form-strip { padding: 12px 22px 11px; } }
