/* ==========================================================================
   Sobremesa — section components
   ========================================================================== */

.section-head {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.section-head-wide {
    max-width: 52rem;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Marquee / proof strip
   -------------------------------------------------------------------------- */
.proof {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.4rem;
    align-items: baseline;
    justify-content: space-between;
}

.proof-item {
    font-size: 0.95rem;
    color: var(--muted);
}

.proof-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Feature grid (benefits)
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature {
    padding: 1.8rem;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-num {
    display: block;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--berry);
}

/* --------------------------------------------------------------------------
   Split media block
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.split-body h2 {
    margin-bottom: 1rem;
}

.split-body p {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Course / menu cards
   -------------------------------------------------------------------------- */
.course-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.course {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.course-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.course-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.6rem;
}

.course-body h3 {
    margin-bottom: 0.4rem;
}

.course-price {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--berry);
}

.course-body p {
    color: var(--muted);
}

.course-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Pricing table
   -------------------------------------------------------------------------- */
.rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.rate-table caption {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: left;
    color: var(--muted);
}

.rate-table th,
.rate-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.rate-table thead th {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.rate-table tbody th {
    font-weight: 600;
    color: var(--ink);
}

.rate-table td:last-child {
    font-weight: 600;
    color: var(--berry);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Steps (how a sitting works)
   -------------------------------------------------------------------------- */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.2rem;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1.4rem;
    top: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    background-color: var(--plum);
    border-radius: 50%;
}

.steps h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.steps p {
    margin-bottom: 0;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

.team-card {
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.team-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.team-text {
    padding: 1.4rem 1.5rem 1.7rem;
}

.team-text h3 {
    margin-bottom: 0.15rem;
}

.team-role {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--berry);
}

.team-text p {
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
    max-width: 48rem;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.3rem 0;
    font-family: var(--font-display);
    font-size: 1.18rem;
    text-align: left;
    color: var(--ink);
    background-color: transparent;
    border: 0;
}

.faq-q:hover {
    color: var(--berry);
}

.faq-mark {
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--berry);
    transition: transform 0.2s ease;
}

.faq-q[aria-expanded="true"] .faq-mark {
    transform: rotate(45deg);
}

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}

.faq-a-inner {
    padding-bottom: 1.3rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.band {
    text-align: center;
}

.band-inner {
    max-width: 40rem;
    margin: 0 auto;
}

.band h2 {
    color: var(--paper);
}

.band p {
    margin-bottom: 1.8rem;
    color: var(--orchid);
}

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.form {
    max-width: 32rem;
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.field input[type="text"],
.field input[type="email"] {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    font: inherit;
    color: var(--ink);
    background-color: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius);
}

.field input:focus {
    border-color: var(--berry);
    outline: none;
}

.field-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.3rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.consent input {
    margin-top: 0.25rem;
}

.form-note {
    margin-top: 0.9rem;
    font-size: 0.88rem;
}

.form-note[data-state="error"] {
    color: #9a1750;
}

.form-note[data-state="ok"] {
    color: var(--plum);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs {
    padding-top: 1.3rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crumbs li::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--silver);
}

.crumbs li:last-child::after {
    content: "";
}

.crumbs a {
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Contact cards
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    padding: 1.6rem;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.contact-card p {
    margin-bottom: 0.3rem;
    color: var(--muted);
}

.prose {
    max-width: 44rem;
}

.prose h2 {
    margin-top: 2.2rem;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
/* Reveal hooks are kept as no-ops so all content is always visible. */
.reveal {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Tablet / desktop
   -------------------------------------------------------------------------- */
@media (min-width: 48rem) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .team {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* TODO: align with team on this spacing */
    .section {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
}

@media (min-width: 64rem) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1600px) {
    /* large desktop */
}
