/* ============================================================
   iTeraCare Contact Module — Premium CSS
   Font: Roboto (loaded via Google Fonts, declared in JS)
   Brand Colors:
     Navy  : #041E3D
     Steel : #486588
     Red   : #AC1627
     White : #FFFFFF
   ============================================================ */

/* ── Google Font import ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Roboto+Condensed:wght@700;900&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
.ic-contact-module {
    --ic-navy:        #041E3D;
    --ic-steel:       #486588;
    --ic-red:         #AC1627;
    --ic-red-dark:    #8B1120;
    --ic-white:       #FFFFFF;
    --ic-off-white:   #F5F7FA;
    --ic-light-gray:  #E8ECF1;
    --ic-text:        #1a2a3a;
    --ic-text-muted:  #5a6a7a;
    --ic-font:        'Roboto', sans-serif;
    --ic-font-cond:   'Roboto Condensed', sans-serif;
    --ic-radius:      12px;
    --ic-radius-lg:   20px;
    --ic-shadow:      0 4px 24px rgba(4,30,61,0.10);
    --ic-shadow-lg:   0 12px 48px rgba(4,30,61,0.16);
    --ic-transition:  0.3s cubic-bezier(0.4,0,0.2,1);
    font-family:      var(--ic-font);
    font-size:        20px;
    color:            var(--ic-text);
    line-height:      1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Reset scoped ─────────────────────────────────────────── */
.ic-contact-module *, .ic-contact-module *::before, .ic-contact-module *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ic-contact-module img { max-width: 100%; height: auto; display: block; }
.ic-contact-module ul  { list-style: none; }
.ic-contact-module a   { text-decoration: none; color: inherit; }

/* ── Layout helpers ──────────────────────────────────────── */
.ic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ── Sections ─────────────────────────────────────────────── */
.ic-section {
    padding: 80px 0;
}

.ic-section--contact {
    background: var(--ic-off-white);
    padding: 64px 0;
}

.ic-section--why {
    background: var(--ic-white);
}

.ic-section--faq {
    background: var(--ic-navy);
    color: var(--ic-white);
}

/* ── Section header ───────────────────────────────────────── */
.ic-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.ic-eyebrow, .ic-hero__eyebrow {
    display: inline-block;
    font-family: var(--ic-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ic-red);
    background: rgba(172,22,39,0.10);
    border: 1px solid rgba(172,22,39,0.25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.ic-section-title {
    font-family: var(--ic-font-cond);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--ic-navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

.ic-section--faq .ic-section-title {
    color: var(--ic-white);
}

.ic-section-intro {
    font-size: 20px;
    color: var(--ic-text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── HERO ─────────────────────────────────────────────────── */
.ic-hero {
    position: relative;
    background: var(--ic-navy);
    padding: 96px 24px 80px;
    overflow: hidden;
    text-align: center;
}

.ic-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(172,22,39,0.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 30%, rgba(72,101,136,0.30) 0%, transparent 60%);
    pointer-events: none;
}

.ic-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--ic-red) 0%, var(--ic-steel) 50%, var(--ic-red) 100%);
}

.ic-hero__content {
    position: relative;
    z-index: 1;
}

.ic-hero__eyebrow {
    color: var(--ic-red);
    background: rgba(172,22,39,0.15);
    border-color: rgba(172,22,39,0.3);
    margin-bottom: 20px;
}

.ic-hero__title {
    font-family: var(--ic-font-cond);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: var(--ic-white);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ic-hero__subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255,255,255,0.80);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
}

/* ── INTRO COLUMN ─────────────────────────────────────────── */
.ic-intro-image-wrap {
    position: relative;
    border-radius: var(--ic-radius-lg);
    overflow: hidden;
    box-shadow: var(--ic-shadow-lg);
    margin-bottom: 32px;
}

.ic-intro-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease;
}

.ic-intro-image-wrap:hover .ic-intro-image {
    transform: scale(1.03);
}

.ic-intro-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--ic-red);
    color: var(--ic-white);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(172,22,39,0.45);
    letter-spacing: 0.05em;
}

.ic-intro-badge__icon { font-size: 16px; }

.ic-intro-text p {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--ic-text);
    line-height: 1.7;
}

.ic-intro-thanks {
    background: linear-gradient(135deg, var(--ic-navy) 0%, var(--ic-steel) 100%);
    color: var(--ic-white) !important;
    padding: 16px 22px;
    border-radius: var(--ic-radius);
    font-size: 18px !important;
    border-left: 4px solid var(--ic-red);
}

/* ── FORM CARD ────────────────────────────────────────────── */
.ic-form-card {
    background: var(--ic-white);
    border-radius: var(--ic-radius-lg);
    box-shadow: var(--ic-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--ic-light-gray);
}

.ic-form-card__header {
    background: linear-gradient(135deg, var(--ic-navy) 0%, var(--ic-steel) 100%);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.ic-form-card__header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ic-red);
}

.ic-form-card__header h2 {
    font-family: var(--ic-font-cond);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--ic-white);
    margin: 0;
}

.ic-form {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Honeypot — hide visually and from accessibility tree */
.ic-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.ic-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ic-field-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ic-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ic-field-group input,
.ic-field-group textarea,
.ic-field-group select {
    font-family: var(--ic-font);
    font-size: 20px;
    color: var(--ic-text);
    background: var(--ic-off-white);
    border: 2px solid var(--ic-light-gray);
    border-radius: var(--ic-radius);
    padding: 14px 18px;
    width: 100%;
    transition: border-color var(--ic-transition), box-shadow var(--ic-transition), background var(--ic-transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.ic-field-group input::placeholder,
.ic-field-group textarea::placeholder {
    color: #a0aab4;
}

.ic-field-group input:focus,
.ic-field-group textarea:focus,
.ic-field-group select:focus {
    border-color: var(--ic-steel);
    background: var(--ic-white);
    box-shadow: 0 0 0 4px rgba(72,101,136,0.12);
}

.ic-field-group input:focus-visible,
.ic-field-group textarea:focus-visible,
.ic-field-group select:focus-visible {
    outline: 2px solid var(--ic-steel);
    outline-offset: 2px;
}

.ic-field-group textarea {
    resize: vertical;
    min-height: 130px;
}

.ic-select-wrap {
    position: relative;
}

.ic-select-wrap select {
    padding-right: 44px;
    cursor: pointer;
}

.ic-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ic-steel);
    font-size: 18px;
    font-weight: 700;
}

/* ── Form message ─────────────────────────────────────────── */
.ic-form-message {
    margin: 0 32px;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    border-radius: var(--ic-radius);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
}

.ic-form-message.is-visible {
    max-height: 120px;
    padding: 16px 20px;
    margin-bottom: 8px;
}

.ic-form-message.is-success {
    background: #e6f9f0;
    color: #1a7a48;
    border: 1px solid #a3d9bb;
}

.ic-form-message.is-error {
    background: #fdecea;
    color: #a51a1a;
    border: 1px solid #f5b4b4;
}

/* ── Buttons ──────────────────────────────────────────────── */
.ic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ic-font);
    font-size: 20px;
    font-weight: 700;
    border-radius: var(--ic-radius);
    padding: 16px 32px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--ic-transition);
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ic-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--ic-transition);
}

.ic-btn:hover::after { background: rgba(255,255,255,0.08); }
.ic-btn:active { transform: translateY(1px); }

.ic-btn--primary {
    background: linear-gradient(135deg, var(--ic-red) 0%, var(--ic-red-dark) 100%);
    color: var(--ic-white);
    width: 100%;
    box-shadow: 0 6px 20px rgba(172,22,39,0.35);
}

.ic-btn--primary:hover {
    box-shadow: 0 8px 28px rgba(172,22,39,0.50);
    transform: translateY(-2px);
}

.ic-btn--primary:disabled, .ic-btn--primary.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ic-btn--white {
    background: var(--ic-white);
    color: var(--ic-navy);
    border-color: var(--ic-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ic-btn--white:hover {
    background: var(--ic-off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

.ic-btn--outline-white {
    background: transparent;
    color: var(--ic-white);
    border-color: var(--ic-white);
}

.ic-btn--outline-white:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* ── WHY GRID ─────────────────────────────────────────────── */
.ic-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.ic-why-card {
    background: var(--ic-white);
    border: 2px solid var(--ic-light-gray);
    border-radius: var(--ic-radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--ic-shadow);
    transition: transform var(--ic-transition), box-shadow var(--ic-transition), border-color var(--ic-transition);
    animation: icFadeUp 0.5s ease both;
    animation-delay: var(--delay, 0s);
}

.ic-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ic-shadow-lg);
    border-color: var(--ic-steel);
}

.ic-why-card__icon {
    font-size: 40px;
    margin-bottom: 14px;
    line-height: 1;
}

.ic-why-card__title {
    font-family: var(--ic-font-cond);
    font-size: 20px;
    font-weight: 700;
    color: var(--ic-navy);
    margin-bottom: 10px;
}

.ic-why-card__desc {
    font-size: 18px;
    color: var(--ic-text-muted);
    line-height: 1.6;
}

/* ── SPORTS BANNER ───────────────────────────────────────── */
.ic-sports-banner {
    position: relative;
    border-radius: var(--ic-radius-lg);
    overflow: hidden;
    box-shadow: var(--ic-shadow-lg);
    min-height: 360px;
    display: flex;
    align-items: center;
}

.ic-sports-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ic-sports-banner__overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4,30,61,0.92) 0%, rgba(4,30,61,0.70) 60%, transparent 100%);
    padding: 56px 64px;
    max-width: 640px;
    width: 100%;
}

.ic-sports-banner__cta {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    line-height: 1.6;
}

.ic-sports-banner__bold {
    font-family: var(--ic-font-cond);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--ic-white);
    margin-bottom: 28px;
    line-height: 1.2;
}

.ic-sports-banner__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.ic-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ic-faq-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--ic-radius);
    overflow: hidden;
    transition: background var(--ic-transition);
}

.ic-faq-item:hover {
    background: rgba(255,255,255,0.09);
}

.ic-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: none;
    border: none;
    color: var(--ic-white);
    font-family: var(--ic-font);
    font-size: 20px;
    font-weight: 700;
    padding: 22px 28px;
    cursor: pointer;
    text-align: left;
    transition: color var(--ic-transition);
}

.ic-faq-question:hover { color: rgba(255,255,255,0.85); }
.ic-faq-question:focus-visible {
    outline: 2px solid var(--ic-red);
    outline-offset: -2px;
}

.ic-faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--ic-red);
    color: var(--ic-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    transition: transform var(--ic-transition), background var(--ic-transition);
}

.ic-faq-question[aria-expanded="true"] .ic-faq-icon {
    transform: rotate(45deg);
    background: var(--ic-steel);
}

.ic-faq-answer {
    padding: 0 28px 24px;
    font-size: 19px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}

.ic-faq-answer[hidden] { display: none; }

.ic-faq-answer p { margin-bottom: 10px; }

.ic-faq-answer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 4px;
}

.ic-faq-answer li {
    padding-left: 20px;
    position: relative;
    font-size: 19px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
}

.ic-faq-answer li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--ic-red);
    font-size: 14px;
    top: 4px;
}

.ic-faq-answer strong {
    color: var(--ic-white);
    font-weight: 700;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes icFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ic-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ic-grid-2 {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ic-section { padding: 56px 0; }
    .ic-hero     { padding: 64px 20px 56px; }

    .ic-form { padding: 24px 20px; }
    .ic-form-card__header { padding: 22px 20px; }
    .ic-form-message { margin: 0 20px; }

    .ic-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ic-sports-banner { min-height: 480px; align-items: flex-end; }
    .ic-sports-banner__overlay {
        padding: 32px 28px;
        max-width: 100%;
        background: linear-gradient(0deg, rgba(4,30,61,0.95) 0%, rgba(4,30,61,0.70) 70%, transparent 100%);
    }

    .ic-sports-banner__btns {
        flex-direction: column;
    }

    .ic-sports-banner__btns .ic-btn {
        width: 100%;
    }

    .ic-faq-question { font-size: 18px; padding: 18px 20px; }
    .ic-faq-answer   { padding: 0 20px 20px; font-size: 18px; }

    .ic-section-header { margin-bottom: 36px; }
    .ic-container      { padding: 0 16px; }
}

@media (max-width: 480px) {
    .ic-contact-module { font-size: 20px; }
    .ic-hero__title    { font-size: clamp(32px, 9vw, 48px); }
    .ic-btn            { font-size: 18px; padding: 14px 24px; }
}

/* ── Accessibility: reduce motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ic-contact-module * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
    .ic-hero,
    .ic-form-col,
    .ic-sports-banner__img { display: none; }
    .ic-contact-module { color: #000; }
}
