/* Contact page redesign. Uses tokens from style.css. */
main.ct { width: 100%; margin-inline: 0; }
.ct h1, .ct h2, .ct h3 { font-family: var(--font-heading); color: var(--color-primary); }
.ct h2 { margin: 0 0 var(--space-md); font-size: var(--text-3xl); line-height: 1.2; letter-spacing: -.02em; }
.ct-eyebrow { margin: 0 0 var(--space-sm); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); }
.ct-eyebrow--dark { color: var(--color-accent-dark); }
.ct > section + section:not(.ct-quick) { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ct > .ct-quick + section { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Hero */
.ct-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4.5rem, 9vw, 6.5rem); background: var(--gradient-blue); }
.ct-hero h1 { max-width: 40rem; margin: 0 0 var(--space-md); color: var(--color-white); font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.15; letter-spacing: -.025em; }
.ct-hero h1 em { font-style: normal; color: var(--color-accent); }
.ct-hero__lead { max-width: 36rem; margin: 0; font-size: var(--text-lg); line-height: 1.7; color: var(--color-primary-light); }

/* Quick cards overlapping the hero */
.ct-quick { position: relative; z-index: 1; margin-top: calc(-1 * clamp(2.25rem, 4.5vw, 3.25rem)); }
.ct-quick__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.ct-quick__card { display: flex; align-items: center; gap: var(--space-md); height: 100%; padding: var(--space-lg); border: 1px solid #DCE5EE; border-radius: 1.25rem; background: var(--color-white); box-shadow: 0 14px 32px rgb(7 54 106 / 14%); color: inherit; text-decoration: none; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.ct-quick__icon { display: grid; flex: 0 0 auto; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-blue); color: var(--color-white); }
.ct-quick__list li:nth-child(even) .ct-quick__icon { background: var(--gradient-amber); color: var(--color-primary-dark); }
.ct-quick__icon svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-quick__text { display: grid; min-width: 0; gap: .125rem; }
.ct-quick__text strong { color: var(--color-primary); font-family: var(--font-heading); }
.ct-quick__text span { overflow-wrap: anywhere; font-size: var(--text-sm); color: var(--color-text-secondary); }

/* Form + details */
.ct-main { padding-block: clamp(2rem, 5vw, 4rem); }
.ct-main__grid { display: grid; gap: var(--space-2xl); align-items: start; }
.ct-info > p { font-size: var(--text-lg); line-height: 1.7; color: var(--color-text-secondary); }
.ct-steps { display: grid; gap: var(--space-sm); margin: var(--space-lg) 0; padding: 0; list-style: none; }
.ct-steps li { display: flex; align-items: center; gap: var(--space-md); font-weight: 600; color: var(--color-primary); }
.ct-steps span { display: grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-accent); color: var(--color-primary-dark); font-size: var(--text-sm); font-weight: 700; }
.ct-details { padding: var(--space-lg); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); background: var(--color-background); }
.ct-details h3 { margin: 0 0 .15rem; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; }
.ct-details p { margin: 0 0 var(--space-md); }
.ct-details p:last-child { margin-bottom: 0; }

.ct-formcard { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid #DCE5EE; border-top: 5px solid var(--color-blue); border-radius: 1.5rem; background: var(--color-white); box-shadow: 0 18px 40px rgb(7 54 106 / 12%); }
.ct-formcard h2 { font-size: var(--text-2xl); }
.ct-form { display: grid; gap: var(--space-md); }
.ct-form > label { display: grid; gap: .4rem; font-weight: 600; color: var(--color-primary); }
.ct-form .contact-consent { color: var(--color-text); }
.ct-form .btn { justify-self: start; min-width: 11rem; }
.ct-alert { margin-bottom: var(--space-md); padding: var(--space-md); border-radius: var(--radius-md); }
.ct-alert p { margin: 0; }
.ct-alert--success { border-left: 4px solid #16856b; background: #E8F6F1; }
.ct-alert--error { border-left: 4px solid #b42318; background: #FDECEA; }

/* Map */
.ct-map { padding-block: clamp(2rem, 5vw, 3.5rem); background: var(--color-background); }
.ct-map__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.ct-map__head h2 { margin-bottom: var(--space-xs); }
.ct-map__head p { margin: 0; color: var(--color-text-secondary); }
.ct-map .contact-map-frame { border-radius: 1.25rem; box-shadow: var(--shadow-subtle); }

@media (min-width: 64rem) {
    .ct-main__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
    .ct-info { position: sticky; top: 6rem; }
    .ct-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-form .ct-form__full { grid-column: 1 / -1; }
}
@media (max-width: 47.99rem) {
    .ct-form .btn { width: 100%; justify-self: stretch; }
    .ct-map__head .btn { width: 100%; }
}
@media (hover: hover) and (pointer: fine) { .ct-quick__card:hover { transform: translateY(-4px); border-color: var(--color-blue); box-shadow: 0 18px 36px rgb(7 54 106 / 18%); } }
@media (prefers-reduced-motion: reduce) { .ct-quick__card { transition: none; } .ct-quick__card:hover { transform: none; } }

/* Closing banner: the shared .section-final-cta styles only apply on the home page, so give it its own band here. */
.ct > .section-final-cta { padding-block: clamp(1.5rem, 3vw, 2.5rem); background: var(--color-primary-dark); }
.ct > .section-final-cta .final-cta__copy h2 { color: var(--color-white); font-size: var(--text-2xl); }
