/* ITESV — Homepage premium blocks (load after style.css) */

/* —— Hero enhancements —— */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--emerald-800);
    letter-spacing: 0.02em;
    margin-bottom: 1.15rem;
    padding: 0.4rem 1rem 0.4rem 0.45rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 999px;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    flex-shrink: 0;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    margin-bottom: 1.75rem;
    max-width: 42rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-xs);
}

.hero-pill i {
    color: var(--emerald-600);
    font-size: 0.7rem;
}

/* —— Trust strip —— */
.trust-strip {
    padding: 1.25rem 0;
    background: linear-gradient(92deg, var(--emerald-900) 0%, var(--forest-deep) 45%, var(--emerald-900) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.trust-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(52, 211, 153, 0.07) 0%, transparent 55%);
    pointer-events: none;
}

.trust-strip__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trust-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--emerald-200);
    font-size: 0.9rem;
}

/* —— Luxury section shell —— */
.lux-section {
    padding: calc(var(--space-section) + 0.5rem) 0;
    position: relative;
}

.lux-section--muted {
    background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.lux-section--dark {
    background: linear-gradient(165deg, #011a17 0%, var(--forest-deep) 40%, var(--emerald-900) 100%);
    color: rgba(255, 255, 255, 0.9);
}

.lux-section--dark .section-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--emerald-200);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.lux-section--dark .section-title {
    color: var(--white);
}

.lux-section--dark .section-description {
    color: rgba(255, 255, 255, 0.72);
}

/* —— Bento / Why grid ——
   Row 1: full-width featured card. Row 2: three equal columns (no broken 12-col gaps). */
.why-section .section-header {
    margin-bottom: calc(var(--space-header) + 0.25rem);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem 1.35rem;
    align-items: stretch;
    justify-items: stretch;
    margin-top: 0.25rem;
    max-width: min(72rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.bento-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem 1.55rem;
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.35s var(--ease-out),
        border-color 0.25s ease,
        box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-400));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevate);
    border-color: rgba(16, 185, 129, 0.14);
}

.bento-card:hover::before {
    opacity: 1;
}

/* Featured row — spans all columns */
.bento-card--feature {
    grid-column: 1 / -1;
    padding: 1.65rem 1.5rem 1.75rem;
    background: linear-gradient(125deg, var(--white) 0%, var(--emerald-50) 38%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(16, 185, 129, 0.14);
}

.bento-card__feature-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.35rem;
    margin-bottom: 0.85rem;
}

.bento-card--feature .bento-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.bento-card__feature-headings {
    flex: 1;
    min-width: min(100%, 14rem);
}

.bento-card__feature-headings .bento-card__kicker {
    margin-bottom: 0.35rem;
}

.bento-card__feature-headings h3 {
    margin-bottom: 0;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.bento-card__feature-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.72;
    color: var(--ink-soft);
    max-width: 62ch;
}

@media (min-width: 640px) {
    .bento-card__feature-top {
        flex-wrap: nowrap;
        align-items: center;
    }

    .bento-card--feature .bento-card__icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* Three-up row — equal visual weight */
.bento-card--compact {
    padding-top: 1.45rem;
}

.bento-card--compact .bento-card__icon {
    margin-bottom: 0.95rem;
}

.bento-card--compact h3 {
    font-size: 1.08rem;
}

.bento-card--compact p:last-of-type {
    margin-top: auto;
}

.bento-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.2);
}

.bento-card__kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--emerald-700);
    margin-bottom: 0.5rem;
}

.bento-card--dark .bento-card__kicker {
    color: var(--emerald-700);
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.68;
}

.bento-card--feature .bento-card__feature-text {
    color: var(--ink-soft);
}

.bento-card--dark {
    background: var(--white);
    border-color: var(--line);
    backdrop-filter: none;
}

.bento-card--dark h3 {
    color: var(--ink);
}

.bento-card--dark p {
    color: var(--muted);
}

.bento-card--dark .bento-card__icon {
    background: var(--emerald-700);
    border: none;
    box-shadow: none;
}

@media (max-width: 960px) {
    .bento-grid {
        grid-template-columns: 1fr;
        max-width: min(32rem, 100%);
    }

    .bento-card--feature {
        text-align: left;
    }

    .bento-card__feature-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .bento-card--feature .bento-card__icon {
        margin-bottom: 0;
    }
}

@media (min-width: 961px) and (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .bento-card {
        padding: 1.35rem 1.2rem 1.4rem;
    }
}

/* —— Process track (light, premium accent) —— */
.lux-section--muted.process-section--light {
    background: linear-gradient(180deg, var(--emerald-50) 0%, var(--surface) 48%, var(--white) 100%);
}

.process-section--light .section-title {
    color: var(--ink);
}

.process-section--light .section-description {
    color: var(--muted);
}

.process-track {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-gap);
    margin-top: 0.5rem;
    counter-reset: step;
}

.process-section--light .process-step {
    position: relative;
    padding: 1.5rem 1.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.35s var(--ease-out),
        border-color 0.25s ease,
        box-shadow 0.35s ease;
}

.process-section--light .process-step:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.16);
    box-shadow: var(--shadow-elevate);
}

.process-section--light .process-step__num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.85rem;
    opacity: 1;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--emerald-700);
}

.process-section--light .process-step h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.process-section--light .process-step p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted);
}

@media (max-width: 968px) {
    .process-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .process-track {
        grid-template-columns: 1fr;
    }
}

/* —— FAQ —— */
.faq-section {
    background: var(--white);
    border-top: 1px solid var(--line);
}

.faq-list {
    max-width: min(40rem, 100%);
    margin: 0.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: rgba(16, 185, 129, 0.22);
    background: var(--white);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.65rem;
    color: var(--emerald-600);
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item__body {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-item__body {
    border-top-color: var(--line);
    padding-top: 1rem;
}

/* —— CTA premium accent —— */
.cta-premium-note {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

.cta-premium-note i {
    margin-right: 0.35rem;
    color: var(--emerald-200);
}
