@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@650;750&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --kids-blue: #15488c;
    --kids-sky: #eaf5ff;
    --kids-coral: #e9545f;
    --kids-green: #2e9f63;
    --kids-yellow: #f6c343;
    --kids-plum: #8f3f79;
    --kids-ink: #172033;
    --kids-muted: #56657d;
    --kids-line: #d8e3f3;
    --kids-paper: #ffffff;
}

.landing-page {
    --tilt-x: 0;
    --tilt-y: 0;
    color: var(--kids-ink);
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    overflow: hidden;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    color: var(--kids-blue);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0;
}

.landing-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 640px;
    padding: clamp(32px, 5vw, 72px);
    border: 1px solid rgba(21, 72, 140, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 245, 255, 0.84)),
        linear-gradient(120deg, rgba(246, 195, 67, 0.36), rgba(46, 159, 99, 0.18) 46%, rgba(143, 63, 121, 0.22));
    box-shadow: 0 28px 70px rgba(23, 32, 51, 0.14);
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(21, 72, 140, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 72, 140, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    animation: patternDrift 18s linear infinite;
}

.landing-hero::after {
    content: '';
    position: absolute;
    right: -9%;
    bottom: 9%;
    z-index: -1;
    width: 64%;
    height: 32%;
    background: linear-gradient(90deg, rgba(21, 72, 140, 0.14), rgba(233, 84, 95, 0.14), rgba(246, 195, 67, 0.18));
    clip-path: polygon(8% 12%, 100% 0, 92% 74%, 0 100%);
    transform: rotate(-4deg);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(21, 72, 140, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--kids-blue);
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(21, 72, 140, 0.08);
}

.hero-kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--kids-green);
    box-shadow: 16px 0 0 var(--kids-yellow), 32px 0 0 var(--kids-coral);
}

.hero-title {
    max-width: 620px;
    margin: 20px 0 0;
    font-size: 5.4rem;
    line-height: 1;
}

.hero-subtitle {
    max-width: 560px;
    margin-top: 22px;
    color: #33435d;
    font-size: 1.16rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.hero-actions .btn,
.cta-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    padding: 12px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-kids-primary {
    border: 1px solid var(--kids-blue);
    background: var(--kids-blue);
    color: #fff;
    box-shadow: 0 14px 28px rgba(21, 72, 140, 0.24);
}

.btn-kids-primary:hover,
.btn-kids-primary:focus {
    background: #0f3870;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(21, 72, 140, 0.3);
}

.btn-kids-outline {
    border: 2px solid rgba(143, 63, 121, 0.45);
    background: rgba(255, 255, 255, 0.74);
    color: var(--kids-plum);
}

.btn-kids-outline:hover,
.btn-kids-outline:focus {
    border-color: var(--kids-plum);
    background: #fff;
    color: var(--kids-plum);
    transform: translateY(-2px);
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--kids-blue);
    font-weight: 800;
    text-decoration: none;
}

.login-link::after,
.btn-arrow::after {
    content: '\2192';
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.login-link:hover::after,
.btn-arrow:hover::after {
    transform: translateX(4px);
}

.is-disabled {
    pointer-events: none;
    opacity: 0.58;
    cursor: not-allowed;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 570px;
    margin-top: 34px;
}

.proof-item {
    position: relative;
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(21, 72, 140, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
    overflow: hidden;
}

.proof-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--accent, var(--kids-blue));
}

.proof-item strong {
    display: block;
    color: var(--kids-blue);
    font-size: 1.05rem;
    line-height: 1.2;
}

.proof-item span {
    display: block;
    margin-top: 7px;
    color: var(--kids-muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.hero-stage {
    position: relative;
    min-height: 525px;
    transform: translate3d(calc(var(--tilt-x) * 1px), calc(var(--tilt-y) * 1px), 0);
    transition: transform 0.35s ease;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(23, 32, 51, 0.18);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-photo:hover img {
    transform: scale(1.06);
}

.hero-photo-main {
    inset: 26px 12px auto 70px;
    height: 330px;
}

.hero-photo-side {
    right: 4px;
    bottom: 74px;
    width: 46%;
    height: 210px;
    animation-delay: 0.6s;
}

.hero-photo-small {
    left: 0;
    bottom: 28px;
    width: 48%;
    height: 220px;
    animation-delay: 1.1s;
}

.hero-note {
    position: absolute;
    top: 10px;
    right: 34px;
    max-width: 210px;
    padding: 15px 16px;
    border-left: 5px solid var(--kids-yellow);
    border-radius: 8px;
    background: #fff;
    color: var(--kids-blue);
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(23, 32, 51, 0.16);
    animation-delay: 0.2s;
}

.hero-mini-panel {
    position: absolute;
    left: 44%;
    bottom: 0;
    width: min(265px, 52%);
    padding: 16px;
    border-radius: 8px;
    background: var(--kids-blue);
    color: #fff;
    box-shadow: 0 20px 44px rgba(21, 72, 140, 0.28);
    animation-delay: 1.4s;
}

.hero-mini-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-mini-panel strong {
    display: block;
    margin-top: 5px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.motion-float {
    animation: gentleFloat 7s ease-in-out infinite;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.stat-card {
    position: relative;
    min-height: 142px;
    padding: 22px;
    border: 1px solid var(--kids-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: auto 18px 16px 18px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent, var(--kids-blue)), transparent);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.stat-card:hover {
    border-color: rgba(21, 72, 140, 0.26);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(23, 32, 51, 0.13);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card h3 {
    margin: 0;
    color: var(--kids-blue);
    font-size: 1.85rem;
}

.stat-card p {
    margin: 10px 0 0;
    color: var(--kids-muted);
    line-height: 1.45;
}

.motion-track {
    position: relative;
    overflow: hidden;
    margin-top: 34px;
    border-block: 1px solid rgba(21, 72, 140, 0.14);
    background: rgba(255, 255, 255, 0.55);
}

.motion-track-inner {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.motion-track span {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    gap: 12px;
    padding: 14px 22px;
    color: var(--kids-blue);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.motion-track span::before {
    content: '';
    flex: 0 0 20px;
    width: 20px;
    height: 9px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--kids-coral) 0 9px, transparent 9px 11px, var(--kids-yellow) 11px 20px);
}

.section-block {
    margin-top: clamp(48px, 8vw, 92px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-eyebrow {
    margin-bottom: 8px;
    color: var(--kids-coral);
    font-size: 0.83rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: 3.05rem;
    line-height: 1.02;
}

.section-subtitle {
    max-width: 600px;
    margin: 12px 0 0;
    color: var(--kids-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.rhythm-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.rhythm-visual {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--kids-blue);
    box-shadow: 0 22px 48px rgba(23, 32, 51, 0.13);
}

.rhythm-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    mix-blend-mode: screen;
}

.rhythm-visual-content {
    position: absolute;
    inset: auto 24px 24px 24px;
    color: #fff;
}

.rhythm-visual-content strong {
    display: block;
    color: #fff;
    font-size: 2.2rem;
    font-family: 'Fraunces', Georgia, serif;
    line-height: 1.05;
}

.rhythm-visual-content span {
    display: block;
    max-width: 420px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.rhythm-list {
    display: grid;
    gap: 12px;
}

.rhythm-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--kids-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.rhythm-item:hover {
    transform: translateX(6px);
    box-shadow: 0 20px 44px rgba(23, 32, 51, 0.11);
}

.rhythm-index {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--accent, var(--kids-blue));
    color: #fff;
    font-weight: 900;
}

.rhythm-item h3 {
    margin: 0;
    font-size: 1.35rem;
}

.rhythm-item p {
    margin: 7px 0 0;
    color: var(--kids-muted);
    line-height: 1.55;
}

.blog-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.blog-card {
    position: relative;
    display: flex;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid rgba(21, 72, 140, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 58px rgba(23, 32, 51, 0.16);
}

.blog-card.large {
    grid-column: span 7;
}

.blog-card.medium {
    grid-column: span 5;
}

.blog-card.small {
    grid-column: span 4;
}

.blog-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.06);
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 20, 34, 0.08), rgba(11, 20, 34, 0.82));
}

.blog-card .card-body {
    position: relative;
    z-index: 1;
    align-self: end;
    width: 100%;
    padding: 24px;
    color: #fff;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent, var(--kids-coral));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.08;
}

.blog-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.empty-card {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed rgba(21, 72, 140, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--kids-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.gallery-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6n + 1) {
    grid-column: span 5;
    min-height: 340px;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(6n + 2) {
    grid-column: span 4;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(6n + 3) {
    grid-column: span 3;
}

.gallery-card:nth-child(4),
.gallery-card:nth-child(6n + 4) {
    grid-column: span 3;
}

.gallery-card:nth-child(5),
.gallery-card:nth-child(6n + 5) {
    grid-column: span 4;
}

.gallery-card:nth-child(6),
.gallery-card:nth-child(6n + 6) {
    grid-column: span 5;
}

.gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 58px rgba(23, 32, 51, 0.16);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-card:hover img {
    transform: scale(1.07);
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(10, 18, 30, 0.78));
}

.gallery-card span {
    position: absolute;
    right: 16px;
    bottom: 15px;
    left: 16px;
    z-index: 1;
    color: #fff;
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.testimony-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.testimony-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--kids-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 32, 51, 0.08);
}

.testimony-card::before {
    content: '';
    display: block;
    width: 56px;
    height: 5px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--accent, var(--kids-yellow));
}

.testimony-card h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.testimony-card p {
    margin-bottom: 16px;
    color: var(--kids-muted);
    line-height: 1.6;
}

.testimony-card strong {
    color: var(--kids-blue);
}

.cta-section {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(21, 72, 140, 0.96), rgba(143, 63, 121, 0.92)),
        linear-gradient(90deg, rgba(246, 195, 67, 0.22), rgba(46, 159, 99, 0.18));
    color: #fff;
    box-shadow: 0 24px 58px rgba(21, 72, 140, 0.24);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 18px);
    animation: patternDrift 16s linear infinite;
}

.cta-section h2 {
    color: #fff;
    font-size: 3.05rem;
    line-height: 1.02;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.65;
}

.btn-kids-light {
    border: 1px solid #fff;
    background: #fff;
    color: var(--kids-blue);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.btn-kids-light:hover,
.btn-kids-light:focus {
    background: var(--kids-yellow);
    color: var(--kids-ink);
    transform: translateY(-2px);
}

.btn-kids-light-secondary {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-kids-light-secondary:hover,
.btn-kids-light-secondary:focus {
    background: #fff;
    color: var(--kids-blue);
    transform: translateY(-2px);
}

.faq-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid rgba(21, 72, 140, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.88)),
        linear-gradient(120deg, rgba(246, 195, 67, 0.28), rgba(46, 159, 99, 0.16) 46%, rgba(233, 84, 95, 0.16));
    box-shadow: 0 24px 58px rgba(23, 32, 51, 0.12);
}

.faq-hero .hero-title {
    font-size: clamp(3rem, 8vw, 5.2rem);
}

.faq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.faq-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    padding: 12px 22px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--kids-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 32, 51, 0.08);
    overflow: hidden;
}

.faq-item h2 {
    margin: 0;
}

.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 74px;
    padding: 20px 24px;
    border: 0;
    background: #fff;
    color: var(--kids-blue);
    font: inherit;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: left;
}

.faq-item button:hover,
.faq-item button:focus {
    background: var(--kids-sky);
    outline: none;
}

.faq-toggle {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--kids-blue);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
}

.faq-item button[aria-expanded='true'] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
    margin: 0;
    padding: 0 24px 24px;
    color: var(--kids-muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.modal-content {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(23, 32, 51, 0.22);
}

.modal-header {
    border-bottom: 1px solid var(--kids-line);
}

.modal-title {
    color: var(--kids-blue);
    font-weight: 800;
}

.modal-body img {
    max-height: 520px;
    object-fit: cover;
}

.js-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes patternDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 84px 42px;
    }
}

@keyframes gentleFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1199px) {
    .hero-title {
        font-size: 4.7rem;
    }

    .section-title,
    .cta-section h2 {
        font-size: 2.75rem;
    }

    .hero-photo-main {
        left: 34px;
    }

    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .landing-hero {
        min-height: auto;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title,
    .cta-section h2 {
        font-size: 2.45rem;
    }

    .hero-stage {
        min-height: 620px;
        margin-top: 20px;
    }

    .hero-proof,
    .rhythm-grid,
    .testimony-grid {
        grid-template-columns: 1fr;
    }

    .blog-card.large,
    .blog-card.medium,
    .blog-card.small,
    .gallery-card,
    .gallery-card:nth-child(n) {
        grid-column: 1 / -1;
    }

    .gallery-card,
    .gallery-card:nth-child(n) {
        min-height: 280px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .faq-hero {
        align-items: start;
        flex-direction: column;
    }

    .faq-hero-actions,
    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .landing-page {
        overflow: visible;
    }

    .landing-shell {
        padding-inline: 4px;
    }

    .landing-hero {
        padding: 28px 18px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.04;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title,
    .cta-section h2 {
        font-size: 2.15rem;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .faq-hero-actions .btn {
        width: 100%;
    }

    .faq-hero-actions,
    .cta-actions {
        width: 100%;
    }

    .hero-proof,
    .stat-strip {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: auto;
        display: grid;
        gap: 12px;
        transform: none;
    }

    .hero-photo,
    .hero-note,
    .hero-mini-panel {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 210px;
    }

    .hero-photo-main,
    .hero-photo-side,
    .hero-photo-small {
        height: 240px;
    }

    .hero-note,
    .hero-mini-panel {
        min-height: 0;
    }

    .motion-track span {
        padding: 14px 18px;
    }

    .rhythm-visual {
        min-height: 360px;
    }

    .section-block {
        margin-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after,
    .cta-section::before {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .js-reveal {
        opacity: 1;
        transform: none;
    }
}
