/*
Theme Name: Dejinavi
Theme URI: https://dejinavi.preview-web.net/
Author: Dejinavi Team
Author URI: https://dejinavi.preview-web.net/
Description: Single-page landing theme for the Dejinavi digital consultation service.
Version: 1.0.0
Text Domain: dejinavi
*/

:root {
    --font-base: "Noto Sans JP", system-ui, sans-serif;
    --color-accent: #193c58;
    --color-text: #1f1f1f;
    --color-bg: #f5f7fa;
    --color-light: #ffffff;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 1.5rem;
}

header.site-header {
    background: var(--color-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
}

.site-logo__image {
    display: block;
    height: auto;
    max-height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    position: relative;
    transition: color 0.3s ease;
}

.nav-toggle:focus-visible {
    outline: 3px solid rgba(27, 125, 201, 0.35);
    outline-offset: 4px;
}

.nav-toggle__icon {
    position: relative;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-toggle__icon::before {
    top: -7px;
}

.nav-toggle__icon::after {
    top: 7px;
}

.nav-toggle.is-active .nav-toggle__icon {
    background: transparent;
}

.nav-toggle.is-active .nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-toggle.is-active {
    color: #ffffff;
}

.site-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-weight: 500;
}

.hero {
    position: relative;
    padding: 0;
    color: #ffffff;
    background: #0f2337;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: clamp(460px, 70vh, 680px);
    overflow: hidden;
}

.hero-slider__track {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0f2337;
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.hero-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem) 0;
    background: linear-gradient(105deg, rgba(15, 35, 55, 0.88) 0%, rgba(15, 35, 55, 0.65) 42%, rgba(15, 35, 55, 0.25) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-slider__overlay .container {
    pointer-events: auto;
    display: flex;
    justify-content: center;
}

.hero__content {
    max-width: 685px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.hero__content h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    margin: 0;
}

.hero__content p {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.8;
}

.hero__cta {
    justify-content: center;
}

.hero-slider__controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 2rem;
    z-index: 4;
}

.hero-slider__control {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    color: #0f2337b8;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 2rem;
    line-height: 1;
}

.hero-slider__control:hover,
.hero-slider__control:focus {
    background: rgba(15, 35, 55, 0.9);
    transform: scale(1.05);
    color: #ffffff;
}

.hero-slider__dots {
    position: absolute;
    bottom: clamp(1.5rem, 4vw, 3rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    z-index: 4;
    pointer-events: auto;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider__dot.is-active {
    background: #ffffff;
    transform: scale(1.2);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    background: rgba(25, 60, 88, 0.1);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    margin: 0 auto 1rem;
}

#problems {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #e5e5e5 100%);
}

#problems .container {
    text-align: center;
}

#problems .section-title {
    margin-bottom: 2rem;
}

.problem-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
    position: relative;
}

.problem-card__bubble {
    position: relative;
    background: #f1f4f9;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 15px rgb(80 102 123 / 55%);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card__bubble::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 24px;
    background: #f1f4f9;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    box-shadow: 0 10px 24px rgba(15, 35, 55, 0.08);
}

.problem-card__bubble p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.7;
    color: #1f1f1f;
}

.problem-card__illustration img {
    width: 100%;
    height: auto;
}

.solutions {
    position: relative;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(180deg, #f9f6f1 0%, #fddfb5 100%);
    overflow: hidden;
}

.solutions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 200px 0 200px;
    border-color: #e5e5e5 transparent transparent transparent;
}

.solutions__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
}

.solutions-heading {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.solutions-heading__tagline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.solutions-heading__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.solutions-heading__balloon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.5rem;
    background: #fff;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    box-shadow: 0 12px 24px rgba(15, 35, 55, 0.08);
}

.solutions-heading__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #ff8e3f;
}

.solutions-heading__brand-text {
    font-style: italic;
    letter-spacing: 0.05em;
}

.solutions-heading__brand-suffix {
    font-size: 1.4rem;
    color: var(--color-text);
}

.solutions-heading__statement {
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text);
}

.solutions-list {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2.8rem);
    flex-wrap: wrap;
    width: 100%;
    margin-top: -3.5rem;
}

.solutions-list__item {
    position: relative;
    flex: 1 1 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.solutions-list__item--offset {
    margin-top: clamp(1rem, 5vw, 3.5rem);
}

.solutions-list__figure {
    position: relative;
    width: 110%;
    padding: 2rem 1rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.solutions-list__figure img {
    width: 100%;
    height: auto;
}

.solutions-list__content {
    margin-top: -2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
}

.solutions-list__label {
    align-self: flex-start;
    padding: 0.35rem 1.05rem;
    border-radius: 999px;
    background: rgba(25, 60, 88, 0.12);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.solutions-list__heading {
    margin: 0;
    font-size: 1.4rem;
}

.solutions-list__text {
    margin: 0;
    color: rgba(31, 31, 31, 0.85);
    line-height: 1.8;
}

.solutions-cta {
    width: 100%;
    text-align: center;
    text-align: -webkit-center;
}

.solutions-cta__box {
    position: relative;
    flex: 1 1 260px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.solutions-cta__box--secondary {
    color: #fff;
}

.solutions-cta__balloon {
    position: relative;
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--color-text);
}

.solutions-cta__box--secondary .solutions-cta__balloon {
    background: #fff;
    color: #1f1f1f;
}

.solutions-cta__balloon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 14px;
    height: 12px;
    background: inherit;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.solutions-cta__accent {
    color: #ff8e3f;
}

.solutions-cta__box--secondary .solutions-cta__accent {
    color: #69b3e7;
}

.btn-primary--wide {
    padding: 1.05rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2.4rem;
    font-weight: 600;
    border-radius: 999px;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.btn-secondary--filled {
    border-color: transparent;
    background: #3c2c25;
    color: #fff;
}

.btn-secondary--filled:hover,
.btn-secondary--filled:focus {
    background: #22140e;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.55);
}

section {
    padding: 4rem 0;
}

section:nth-of-type(even):not(#problems):not(#solutions) {
    background: var(--color-light);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--services {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.flow-section {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    background: linear-gradient(180deg, rgba(25, 60, 88, 0.05) 0%, rgba(25, 60, 88, 0.02) 100%);
    overflow: hidden;
}

.flow-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(25, 60, 88, 0.08), transparent 60%),
        radial-gradient(circle at bottom right, rgba(27, 125, 201, 0.08), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.flow-section__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.flow-section__heading {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.flow-section__title {
    margin: 0;
}

.flow-section__lead {
    margin: 0;
    max-width: 680px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(31, 31, 31, 0.78);
}

.flow-timeline {
    display: grid;
    gap: clamp(1.75rem, 3vw, 2.75rem);
}

.flow-timeline__item {
    position: relative;
    display: grid;
    gap: 1.25rem;
    justify-items: center;
    text-align: center;
    padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.25rem, 2vw, 2rem);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 40px rgba(13, 38, 59, 0.08);
    overflow: visible;
}

.flow-timeline__item:not(:last-child)::after,
.flow-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.flow-timeline__item:not(:last-child)::after {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(27, 125, 201, 0.2), rgba(27, 125, 201, 0.55));
}

.flow-timeline__item:not(:last-child)::before {
    width: 12px;
    height: 12px;
    border-left: 2px solid rgba(27, 125, 201, 0.55);
    border-bottom: 2px solid rgba(27, 125, 201, 0.55);
    transform: translate(-50%, 0) rotate(-45deg);
}

.flow-timeline__badge {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0.3rem;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(160deg, #1b7dc9 0%, #193c58 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 35px rgba(27, 125, 201, 0.28);
}

.flow-timeline__badge::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    opacity: 0.9;
}

.flow-timeline__step {
    font-size: 0.85rem;
}

.flow-timeline__number {
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}

.flow-timeline__content {
    display: grid;
    gap: 0.75rem;
}

.flow-timeline__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.flow-timeline__text {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(31, 31, 31, 0.72);
}

.flow-section__summary {
    display: grid;
    gap: 0.85rem;
    justify-items: center;
    text-align: center;
}

.flow-section__catch {
    margin: 0;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-accent);
}

.flow-section__text {
    margin: 0;
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(31, 31, 31, 0.75);
}

@media (min-width: 768px) {
    .flow-section__lead {
        font-size: 1.2rem;
    }

    .flow-timeline__item {
        padding-inline: clamp(1.75rem, 2.5vw, 2.5rem);
    }
}

@media (min-width: 960px) {
    .flow-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
        gap: clamp(2rem, 4vw, 3rem);
    }

    .flow-timeline__item {
        gap: 1.5rem;
    }

    .flow-timeline__item:not(:last-child)::after {
        top: 50%;
        bottom: auto;
        left: calc(100% + -1.5rem);
        width: 4rem;
        height: 2px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(27, 125, 201, 0.15), rgba(27, 125, 201, 0.6));
    }

    .flow-timeline__item:not(:last-child)::before {
        top: 50%;
        left: calc(100% + 1.5rem);
        bottom: auto;
        width: 12px;
        height: 12px;
        border: 0;
        border-top: 2px solid rgba(27, 125, 201, 0.6);
        border-right: 2px solid rgba(27, 125, 201, 0.6);
        transform: translateY(-50%) rotate(45deg);
    }
}

.faq-list {
    gap: 1.25rem;
}

.faq-item {
    position: relative;
    border: 1px solid rgba(25, 60, 88, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(13, 38, 59, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.is-open {
    transform: translateY(-3px);
    border-color: rgba(27, 125, 201, 0.3);
    box-shadow: 0 20px 38px rgba(13, 38, 59, 0.14);
}

.faq-item__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    padding: 1.5rem 1.75rem;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item__toggle:focus-visible {
    outline: 3px solid rgba(27, 125, 201, 0.35);
    outline-offset: 4px;
}

.faq-item__toggle:hover {
    color: var(--color-accent);
}

.faq-item__question {
    flex: 1;
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(27, 125, 201, 0.12);
    transition: background 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #1b7dc9;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
    background: rgba(27, 125, 201, 0.2);
}

.faq-item.is-open .faq-item__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-item__panel {
    display: grid;
    gap: 0.75rem;
    padding: 0 1.75rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-item__panel {
    opacity: 1;
    padding: 0 1.75rem 1.5rem;
}

.faq-item__answer {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(31, 31, 31, 0.78);
    padding-bottom: 15px;
}

footer.site-footer {
    background: #0f2337;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.qr-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.qr-wrap img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    padding: 0.75rem;
}

@media (max-width: 960px) {
    .site-nav ul {
        position: fixed;
        inset: 0;
        background: rgba(15, 35, 55, 0.94);
        backdrop-filter: blur(8px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 5rem 1.5rem 2.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .site-nav ul.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        color: #fff;
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: inline-flex;
        color: var(--color-text);
        position: relative;
        z-index: 1001;
    }

    header.site-header {
        position: sticky;
    }

    .hero-slider__overlay {
        align-items: flex-end;
        justify-content: center;
        padding: clamp(2.5rem, 12vw, 5rem) 0 5.5rem;
        background: linear-gradient(180deg, rgba(15, 35, 55, 0.85) 0%, rgba(15, 35, 55, 0.7) 40%, rgba(15, 35, 55, 0.55) 75%, rgba(15, 35, 55, 0.45) 100%);
    }

    .hero-slider__controls {
        padding: 0 1.25rem;
    }

    .hero-slider__dots {
        bottom: 1.75rem;
    }

    .problem-list {
        gap: 2.5rem;
    }

    .problem-card__bubble {
        min-height: 0;
    }

    .solutions-list {
        gap: 2rem;
    }

    .solutions-list__item--offset {
        margin-top: 0;
    }

    .solutions-list__content {
        text-align: center;
        align-items: center;
    }

    .solutions-list__label {
        align-self: center;
    }

    .solutions-cta {
        gap: 1.5rem;
    }

    .solutions-cta__box {
        max-width: 420px;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        min-height: 520px;
    }

    .site-logo__image {
        max-width: 60%;
        max-height: none;
    }

    .hero-slider__overlay {
        align-items: flex-start;
        padding: .5rem 0 3.5rem;
    }

    .hero-slider__overlay .container {
        justify-content: center;
    }

    .hero__content {
        gap: 1.25rem;
        padding: 0 1.25rem;
    }

    .hero__content h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .hero__content p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .card,
    .flow-timeline__item {
        padding: 1.25rem;
    }

    .faq-item__toggle {
        padding: 1.35rem 1.5rem;
    }

    .faq-item__panel {
        padding: 0 1.5rem;
    }

    .faq-item.is-open .faq-item__panel {
        padding: 0 1.5rem 1.35rem;
    }

    .problem-card {
        gap: 2rem;
    }

    .problem-card__bubble {
        padding: 1.5rem 1.25rem;
    }

    .problem-card__illustration {
        width: 180px;
        height: 180px;
        padding: 0 1rem 1rem;
    }

    .problem-card__last {
        width: 150px;
        height: 150px;
    }

    .solutions {
        padding: 3.5rem 0;
    }

    .solutions-heading__title {
        font-size: clamp(1.6rem, 8vw, 2.1rem);
    }

    .solutions-list {
        gap: 1.75rem;
    }

    .solutions-list__figure {
        padding: 1.5rem 0.75rem 0;
    }

    .solutions-list__figure::before {
        inset: 0 0 -25%;
    }

    .solutions-list__content {
        padding: 2.25rem 1.6rem 1.8rem;
    }

    .solutions-cta {
        gap: 1rem;
    }

    .solutions-cta__box {
        padding: 2rem 1.5rem;
    }

    .btn-primary--wide,
    .btn-secondary {
        width: 100%;
    }
}