/* ============================================================
   TAMS 2025 — Contact Page Styles
   Theme: Midnight Teal + Amber (matches home page)
   ============================================================ */

/* ── Blue + Orange + Navy theme overrides ── */
:root {
    --teal:        #0B1628;
    --teal2:       #142240;
    --teal3:       #1D3461;
    --teal-lt:     #EFF2F9;
    --amber:       #F97316;
    --amber2:      #FB923C;
    --amber-lt:    #FFF4EE;
    --cream:       #F8FAFF;
    /* Map shared tokens */
    --navy:        #0B1628;
    --navy-mid:    #142240;
    --navy-light:  #1D3461;
    --blue:        #2060E8;
    --blue-light:  #4080FF;
    --orange:      #F97316;
    --gold:        #F97316;
    --gold-light:  #FB923C;
    --off-white:   #F8FAFF;
}

/* ── Shared helpers ── */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity .65s var(--ease), transform .65s var(--ease);
    transition-delay: var(--delay, 0s);
}
.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed { opacity: 1; transform: none; }

/* Register strip */
.register-strip { background: var(--amber); padding: 64px 0; }
.register-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.register-strip__title {
    font-family: var(--serif);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 800;
    color: var(--teal);
    max-width: 520px;
    line-height: 1.25;
}
.register-strip .btn--gold {
    background: var(--white);
    color: var(--teal);
    border-color: var(--teal);
}
.register-strip .btn--gold:hover {
    background: var(--white);
    border-color: var(--teal2);
}


/* ============================================================
   HERO
   ============================================================ */

.ct-hero {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 0 100px;
    background: var(--navy);
    overflow: hidden;
    text-align: center;
}

.ct-hero__bg { position: absolute; inset: 0; pointer-events: none; }

.ct-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.ct-hero__orb--1 {
    width: 560px; height: 560px;
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(249,115,22,.2) 0%, transparent 68%);
    animation: ctOrbDrift 14s ease-in-out infinite alternate;
}
.ct-hero__orb--2 {
    width: 420px; height: 420px;
    bottom: -100px; right: -80px;
    background: radial-gradient(circle, rgba(37,99,235,.14) 0%, transparent 68%);
    animation: ctOrbDrift 10s ease-in-out infinite alternate-reverse;
}
@keyframes ctOrbDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(28px,18px) scale(1.08); }
}

/* Dot grid overlay */
.ct-hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.ct-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Breadcrumb */
.breadcrumb--light {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 24px;
}
.breadcrumb--light,
.breadcrumb--light a { color: rgba(255,255,255,.38); text-decoration: none; transition: color var(--dur); }
.breadcrumb--light a:hover { color: var(--gold); }
.breadcrumb--light span { color: rgba(255,255,255,.65); font-weight: 500; }
.breadcrumb--light i { font-size: 10px; }

/* Eyebrow */
.ct-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,.13);
    border: 1px solid rgba(249,115,22,.3);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 999px;
    margin-bottom: 28px;
}

.ct-hero__title {
    font-family: var(--serif);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 20px;
}
.ct-hero__title em {
    font-style: italic;
    color: var(--gold);
}

.ct-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,.55);
    max-width: 500px;
    line-height: 1.78;
    margin-bottom: 48px;
}

/* Quick-info chips */
.ct-hero__quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ct-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,.75);
    font-size: 14px;
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.ct-quick-chip:hover {
    background: rgba(249,115,22,.12);
    border-color: rgba(249,115,22,.35);
    color: var(--gold-light);
}
.ct-quick-chip i { font-size: 13px; color: var(--gold); }


/* ============================================================
   QUERY CARDS
   ============================================================ */

.ct-queries {
    background: var(--off-white);
    padding: 80px 0 72px;
}

.ct-queries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.ct-qcard {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    padding: 36px 32px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ct-qcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Top colour stripe */
.ct-qcard__stripe {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ct-qcard__stripe--blue   { background: #3b82f6; }
.ct-qcard__stripe--gold   { background: var(--gold); }
.ct-qcard__stripe--green  { background: #10b981; }

/* Icon wrap */
.ct-qcard__icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.ct-qcard__icon-wrap--blue  { background: rgba(59,130,246,.12); color: #3b82f6; }
.ct-qcard__icon-wrap--gold  { background: rgba(249,115,22,.12); color: var(--gold); }
.ct-qcard__icon-wrap--green { background: rgba(16,185,129,.12); color: #10b981; }

.ct-qcard__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.ct-qcard__sub {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Contact rows */
.ct-qcard__contacts { display: flex; flex-direction: column; gap: 12px; }

.ct-contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.ct-contact-row:hover {
    background: rgba(11,22,40,.04);
    border-color: var(--navy);
    transform: translateX(4px);
}

.ct-contact-row__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .03em;
}

.ct-contact-row__info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ct-contact-row__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}
.ct-contact-row__num {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

.ct-contact-row__icon {
    font-size: 13px;
    color: var(--gray-300);
    transition: color var(--dur);
}
.ct-contact-row:hover .ct-contact-row__icon { color: var(--navy); }

@media (max-width: 900px) {
    .ct-queries__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ct-qcard { padding: 28px 20px 24px; }
}


/* ============================================================
   LOCATION — Map + Info
   ============================================================ */

.ct-location {
    background: var(--white);
    padding: 80px 0 96px;
}

.ct-location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Map */
.ct-map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.ct-map-frame__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.ct-map-frame__header i { color: var(--gold); font-size: 15px; }

.ct-map-frame iframe {
    flex: 1;
    display: block;
    border: 0;
}

/* Info cards column */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ct-info-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.ct-info-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.ct-info-card__icon--navy   { background: rgba(11,22,40,.1);   color: var(--navy); }
.ct-info-card__icon--gold   { background: rgba(201,162,39,.12); color: var(--gold); }
.ct-info-card__icon--purple { background: rgba(168,85,247,.1);  color: #a855f7; }
.ct-info-card__icon--green  { background: rgba(16,185,129,.1);  color: #10b981; }

.ct-info-card__body { display: flex; flex-direction: column; gap: 3px; }

.ct-info-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.ct-info-card__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--dur);
}
a.ct-info-card__value:hover { color: var(--gold); }

.ct-info-card__hint {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .ct-location__grid { grid-template-columns: 1fr; }
    .ct-map-frame { height: 320px; }
}


/* ============================================================
   FAQ SECTION
   ============================================================ */

.ct-faq {
    background: var(--white);
    padding: 88px 0 80px;
}

/* Two-column grid */
.ct-faq__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 72px;
    align-items: start;
}

.ct-faq__header {
    max-width: 100%;
    margin-bottom: 36px;
}

.ct-faq__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.ct-faq__title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 12px;
}

.ct-faq__sub {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* List */
.ct-faq__list {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each item */
.ct-faq__item {
    border-bottom: 1px solid var(--gray-200);
}
.ct-faq__item:first-child { border-top: 1px solid var(--gray-200); }

/* Question button */
.ct-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 4px;
    text-align: left;
    font-family: var(--sans, Inter, sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--dur);
}
.ct-faq__q:hover { color: var(--gold); }

.ct-faq__icon {
    font-size: 14px;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: transform .3s var(--ease), color .3s;
}

/* Open state */
.ct-faq__item.open .ct-faq__q { color: var(--gold); }
.ct-faq__item.open .ct-faq__icon {
    transform: rotate(45deg);
    color: var(--gold);
}

/* Answer panel */
.ct-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .3s;
}
.ct-faq__a p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.78;
    padding: 0 4px 24px;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    margin-left: 2px;
}

.ct-faq__item.open .ct-faq__a { max-height: 300px; }

@media (max-width: 960px) {
    .ct-faq__grid { grid-template-columns: 1fr; gap: 48px; }
}


/* ── Ask-a-Question Form ── */
.ct-askform__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.3;
}

.ct-askform {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ct-askform__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-askform__input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--navy);
    background: var(--white);
    outline: none;
    transition: border-color var(--dur), box-shadow var(--dur);
    font-family: inherit;
    box-sizing: border-box;
}
.ct-askform__input::placeholder { color: var(--gray-500); }
.ct-askform__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

.ct-askform__select { cursor: pointer; appearance: none; }

.ct-askform__textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.ct-askform__footer {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ct-askform__btn {
    flex-shrink: 0;
    padding: 13px 28px;
    font-size: 15px;
}

.ct-askform__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    cursor: pointer;
}
.ct-askform__agree input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}
.ct-askform__agree a {
    color: var(--gold);
    text-decoration: underline;
}
