/* asesorias.css
 * AsesorIAs-specific layout components.
 * Assumes the base .ship-* styles (nav, hero, section, body, footer) are inlined
 * in each page's <style> block, matching the rest of the site.
 * All colors use rgba() literals (true black/white), no tokens — matches site convention.
 */

/* ---------- Tool logo carousel (infinite scroll) ---------- */

.tool-carousel {
    overflow: hidden;
    width: 100%;
    padding: 24px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.tool-carousel__track {
    display: flex;
    width: max-content;
    animation: tool-scroll 60s linear infinite;
}

.tool-carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 48px;
    height: 64px;
}

.tool-carousel__img {
    width: auto;
    object-fit: contain;
    opacity: 0.92;
}

/* Per-logo invert is applied via this modifier class set in JS */
.tool-carousel__img--invert {
    filter: brightness(0) invert(1);
}

@keyframes tool-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .tool-carousel__track { animation: none; }
}

@media (max-width: 768px) {
    .tool-carousel__item { padding: 0 32px; height: 48px; gap: 6px; }
    .tool-carousel__img { max-height: 34px; }
    .tool-carousel__track { animation-duration: 45s; }
}

/* ---------- Pricing grid (4 hairline cells) ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    border-left: 1px solid rgba(255,255,255,0.10);
    margin-top: 32px;
}

.pricing-grid__cell {
    padding: 32px 24px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-grid__label {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.45);
}

.pricing-grid__value {
    font-family: 'Geist', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: #fff;
    line-height: 1.2;
}

section.light .pricing-grid {
    border-top-color: rgba(0,0,0,0.10);
    border-left-color: rgba(0,0,0,0.10);
}
section.light .pricing-grid__cell {
    border-right-color: rgba(0,0,0,0.10);
    border-bottom-color: rgba(0,0,0,0.10);
}
section.light .pricing-grid__label { color: rgba(0,0,0,0.45); }
section.light .pricing-grid__value { color: #000; }

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid__cell { padding: 24px 18px; }
    .pricing-grid__value { font-size: 1.125rem; }
}

/* ---------- Instructor bio (3 size variants) ---------- */

.bio {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
}

.bio__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
}

.bio__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

.bio__title {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin: 0 0 12px;
}

.bio__name {
    font-family: 'Geist', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #fff;
}

.bio__body {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    letter-spacing: -0.005em;
    margin: 0;
    max-width: 560px;
}

section.light .bio__title { color: rgba(0,0,0,0.45); }
section.light .bio__name { color: #000; }
section.light .bio__body { color: rgba(0,0,0,0.72); }
section.light .bio__photo { border-color: rgba(0,0,0,0.10); }

.bio--compact { grid-template-columns: 140px 1fr; gap: 24px; }
.bio--compact .bio__name { font-size: 1.25rem; }
.bio--compact .bio__body { font-size: 0.9375rem; }

.bio--longform { grid-template-columns: 220px 1fr; gap: 28px; align-items: stretch; }
.bio--longform .bio__photo { aspect-ratio: 4 / 5; }
.bio--longform .bio__name { font-size: 1.25rem; }
.bio--longform .bio__body { font-size: 0.9375rem; max-width: none; }

.bio--xcompact { grid-template-columns: 96px 1fr; gap: 18px; }
.bio--xcompact .bio__title { font-size: 10px; }
.bio--xcompact .bio__name { font-size: 1.0625rem; margin-bottom: 10px; }
.bio--xcompact .bio__body { font-size: 0.875rem; line-height: 1.55; }

@media (max-width: 768px) {
    .bio, .bio--compact, .bio--longform, .bio--xcompact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bio__photo { max-width: 200px; }
    .bio--compact .bio__photo, .bio--xcompact .bio__photo { max-width: 140px; }
    .bio--longform .bio__photo { max-width: 180px; aspect-ratio: 4 / 5; }
}

/* ---------- Testimonials (2-col grid) ---------- */

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    border-left: 1px solid rgba(255,255,255,0.10);
    margin-top: 32px;
}

.testimonial {
    padding: 32px 28px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.10);
}

.testimonial__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial__name {
    font-family: 'Geist', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: #fff;
    margin: 0;
}

.testimonial__tagline {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin: 4px 0 0;
}

.testimonial__quote {
    font-family: 'Geist', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    letter-spacing: -0.005em;
    margin: 0;
}

.testimonial__highlight {
    font-family: 'Geist', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    letter-spacing: -0.008em;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

section.light .testimonials {
    border-top-color: rgba(0,0,0,0.10);
    border-left-color: rgba(0,0,0,0.10);
}
section.light .testimonial {
    border-right-color: rgba(0,0,0,0.10);
    border-bottom-color: rgba(0,0,0,0.10);
}
section.light .testimonial__photo { border-color: rgba(0,0,0,0.10); }
section.light .testimonial__name { color: #000; }
section.light .testimonial__tagline { color: rgba(0,0,0,0.45); }
section.light .testimonial__quote { color: rgba(0,0,0,0.72); }
section.light .testimonial__highlight { color: #000; border-top-color: rgba(0,0,0,0.10); }

@media (max-width: 768px) {
    .testimonials { grid-template-columns: 1fr; }
    .testimonial { padding: 24px 20px; }
}

/* ---------- Choice grid (profile / problem selectors) ---------- */

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    border-left: 1px solid rgba(255,255,255,0.10);
    margin-top: 32px;
}

.choice-card {
    padding: 32px 28px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background-color 180ms ease, color 180ms ease;
    cursor: pointer;
}

.choice-card:hover {
    background: rgba(255,255,255,0.04);
}

.choice-card__id {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.choice-card__title {
    font-family: 'Geist', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.012em;
    color: #fff;
    margin: 0;
}

.choice-card__description {
    font-family: 'Geist', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.65);
    letter-spacing: -0.005em;
    margin: 0;
}

.choice-card__cta {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 180ms ease;
}

.choice-card:hover .choice-card__cta { color: #fff; }

.choice-card__cta::after {
    content: '→';
    transition: transform 180ms ease;
}

.choice-card:hover .choice-card__cta::after { transform: translateX(4px); }

@media (max-width: 768px) {
    .choice-grid { grid-template-columns: 1fr; }
    .choice-card { padding: 24px 20px; }
}

/* ---------- FAQ accordion (native details/summary) ---------- */

.faq-list { margin-top: 32px; }

.faq-item {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 0;
}

.faq-item:last-of-type {
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.faq-item summary {
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    font-family: 'Geist', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: #fff;
    line-height: 1.4;
}

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

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-family: 'Geist Mono', monospace;
    font-size: 20px;
    line-height: 1;
    color: rgba(255,255,255,0.45);
    transition: transform 180ms ease, color 180ms ease;
}

.faq-item[open] summary::after { content: '−'; color: #fff; }

.faq-item__answer {
    padding: 0 0 24px;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    letter-spacing: -0.005em;
    max-width: 720px;
}

.faq-item__answer strong { color: #fff; font-weight: 600; }

section.light .faq-item,
section.light .faq-item:last-of-type { border-color: rgba(0,0,0,0.10); }
section.light .faq-item summary { color: #000; }
section.light .faq-item summary::after { color: rgba(0,0,0,0.45); }
section.light .faq-item[open] summary::after { color: #000; }
section.light .faq-item__answer { color: rgba(0,0,0,0.72); }
section.light .faq-item__answer strong { color: #000; }

/* ---------- WhatsApp CTA button ---------- */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Geist', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: opacity 180ms ease;
    border-radius: 3px;
}

.cta-button:hover { opacity: 0.88; }

.cta-button--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

.cta-button--ghost:hover {
    background: rgba(255,255,255,0.04);
    opacity: 1;
}

section.light .cta-button {
    background: #000;
    color: #fff;
    border-color: rgba(0,0,0,0.10);
}

section.light .cta-button--ghost {
    background: transparent;
    color: #000;
    border-color: rgba(0,0,0,0.22);
}

section.light .cta-button--ghost:hover {
    background: rgba(0,0,0,0.04);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- Section padding modifiers ---------- */

/* Halves the top padding — used when a section sits directly under a hero divider
 * so the choice cards / next content feel close to the question, not floating. */
.ship-section--tight-top { padding-top: 48px; }

@media (max-width: 768px) {
    .ship-section--tight-top { padding-top: 32px; }
}

@media (max-width: 480px) {
    .ship-section--tight-top { padding-top: 24px; }
}

/* ---------- Section title + lead helper (for hero sub-sections) ---------- */

.section-head {
    margin-bottom: 36px;
    max-width: 720px;
}

.section-head .eyebrow { display: block; margin-bottom: 12px; }

.section-head .lead {
    margin: 16px 0 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.70);
    letter-spacing: -0.011em;
}

section.light .section-head .lead { color: rgba(0,0,0,0.65); }

/* ---------- Choice grid: 4-card variant ---------- */

.choice-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .choice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .choice-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Pricing sub-label ---------- */

.pricing-grid__sub {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    line-height: 1.4;
}

section.light .pricing-grid__sub { color: rgba(0,0,0,0.40); }

/* ---------- Quiet CTA link (lower visual weight than .cta-button) ---------- */

.cta-quiet {
    display: inline-block;
    text-decoration: none;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.50);
    padding: 8px 4px;
    transition: color 180ms ease;
}

.cta-quiet:hover { color: #fff; }

section.light .cta-quiet { color: rgba(0,0,0,0.55); }
section.light .cta-quiet:hover { color: #000; }

/* ---------- Trust strip (small footer line in funnel pages) ---------- */

.trust-strip {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.40);
    text-align: center;
}

.trust-strip a {
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    transition: color 180ms ease, border-color 180ms ease;
}

.trust-strip a:hover {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.60);
}

