/* =========================================================================
   ASLI PAINTS — HOMEPAGE
   Loaded after utlity.css so the global system stays authoritative.
   ========================================================================= */

/* --- HERO -------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px));
    padding-bottom: clamp(72px, 10vw, 140px);
    background: var(--ap-green-900);
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(8, 32, 26, 0.82) 0%, rgba(8, 32, 26, 0.5) 38%, rgba(8, 32, 26, 0.86) 100%),
        radial-gradient(120% 80% at 18% 45%, rgba(8, 32, 26, 0.72) 0%, rgba(8, 32, 26, 0) 60%);
}

.hero__inner {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

.hero__content {
    max-width: 42rem;
    color: #fff;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    margin-bottom: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(224, 194, 136, 0.45);
    border-radius: var(--radius-pill);
    background: rgba(224, 194, 136, 0.1);
    color: var(--ap-gold-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero__title {
    font-size: var(--fs-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: clamp(20px, 2.5vw, 28px);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero__title em {
    display: block;
    font-style: normal;
    color: var(--ap-gold-light);
}

.hero__divider {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: clamp(18px, 2.2vw, 24px);
}

.hero__divider span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-gold);
}

.hero__divider span:nth-child(2) { opacity: 0.7; }
.hero__divider span:nth-child(3) { opacity: 0.4; }

.hero__text {
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    max-width: 34rem;
    margin-bottom: clamp(28px, 3.5vw, 40px);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 48px);
    padding-top: clamp(24px, 3vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
    font-weight: 700;
    color: var(--ap-gold-light);
    line-height: 1;
    margin-bottom: 6px;
}

.hero__trust-item span {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    z-index: 1;
}

.hero__scroll i {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, var(--ap-gold), transparent);
    animation: ap-scrollHint 2.4s var(--ease) infinite;
}

@keyframes ap-scrollHint {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* --- SECTION HEADER ---------------------------------------------------- */
.ap-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.ap-head__text { max-width: 40rem; }

.ap-head__title {
    font-size: var(--fs-h2);
    margin-bottom: 14px;
}

.ap-head__desc {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ap-muted);
    margin: 0;
}

/* --- CATEGORIES -------------------------------------------------------- */
.categories-section {
    padding-block: var(--section-y);
    background: var(--ap-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: clamp(16px, 1.8vw, 26px);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(340px, 42vw, 440px);
    padding: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    background: var(--ap-green-800);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--ease);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 32, 26, 0.12) 0%, rgba(8, 32, 26, 0.55) 52%, rgba(8, 32, 26, 0.92) 100%);
    transition: background 0.4s var(--ease);
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-card:hover::before,
.category-card:focus-visible::before { transform: scale(1.07); }

.category-card:hover::after,
.category-card:focus-visible::after {
    background: linear-gradient(180deg, rgba(8, 32, 26, 0.2) 0%, rgba(8, 32, 26, 0.62) 48%, rgba(8, 32, 26, 0.95) 100%);
}

.category-card__icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    color: #fff;
}

.category-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
}

.category-card__title {
    font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
    color: #fff;
    margin: 0;
}

.category-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 30ch;
}

.category-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-gold-light);
}

.category-card__arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(224, 194, 136, 0.5);
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.category-card:hover .category-card__arrow {
    background: var(--ap-gold);
    border-color: var(--ap-gold);
    color: var(--ap-green-900);
    transform: translateX(3px);
}

/* --- STATS BAND -------------------------------------------------------- */
.stats-section {
    position: relative;
    padding-block: clamp(48px, 6vw, 80px);
    background: var(--ap-green);
    color: #fff;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 120% at 12% 0%, rgba(201, 161, 91, 0.18) 0%, transparent 60%),
        radial-gradient(60% 100% at 100% 100%, rgba(201, 161, 91, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    text-align: center;
}

.stats-grid__item + .stats-grid__item {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    font-weight: 700;
    color: var(--ap-gold-light);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* --- ABOUT SPLIT ------------------------------------------------------- */
.about-section {
    padding-block: var(--section-y);
    background: var(--ap-cream);
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.about-media {
    position: relative;
}

.about-media__frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    background: var(--ap-cream-deep);
}

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

.about-media__badge {
    position: absolute;
    right: -18px;
    bottom: 32px;
    max-width: 240px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    border-left: 3px solid var(--ap-gold);
}

.about-media__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ap-green);
    line-height: 1;
    margin-bottom: 6px;
}

.about-media__badge span {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ap-muted);
}

.about-body__title {
    font-size: var(--fs-h2);
    margin-bottom: 20px;
}

.about-body__text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--ap-body);
    margin-bottom: 16px;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--ap-body);
}

.about-points svg { flex-shrink: 0; margin-top: 3px; }

.about-points strong { color: var(--ap-green); font-weight: 600; }

/* --- TOOLS HUB --------------------------------------------------------- */
.tools-section {
    padding-block: var(--section-y);
    background: var(--ap-white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
}

.tool-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ap-line);
    border-radius: var(--radius-lg);
    background: var(--ap-white);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.tool-card:hover,
.tool-card:focus-visible {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.tool-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ap-cream-deep);
}

.tool-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.tool-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(8, 32, 26, 0.82);
    color: var(--ap-gold-light);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.tool-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 24px;
}

.tool-card__title {
    font-size: 1.16rem;
    margin: 0;
}

.tool-card__text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ap-muted);
    margin: 0;
}

.tool-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-gold-deep);
}

.tool-card__link svg { transition: transform 0.3s var(--ease); }
.tool-card:hover .tool-card__link svg { transform: translateX(4px); }

/* --- INSPIRATION SLIDER ------------------------------------------------ */
.inspiration-section {
    padding-block: var(--section-y);
    background: var(--ap-cream);
    overflow: hidden;
}

.insp-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
}

.insp-stage {
    position: relative;
    display: flex;
    gap: 16px;
    height: clamp(360px, 44vw, 540px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--ap-green-800);
}

.insp-slider-viewport {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

#inspSliderTape {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.8s var(--ease);
    will-change: transform;
}

.insp-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    background-color: var(--ap-green-800);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.insp-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 32, 26, 0.1) 0%, rgba(8, 32, 26, 0.55) 65%, rgba(8, 32, 26, 0.9) 100%);
}

.insp-slide__label {
    position: relative;
    z-index: 1;
    padding: 26px;
    color: #fff;
}

.insp-slide__label span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ap-gold-light);
    margin-bottom: 6px;
}

.insp-slide__label strong {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
    color: #fff;
    line-height: 1.2;
}

.insp-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px;
    flex-shrink: 0;
}

.insp-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.insp-arrow:hover {
    background: var(--ap-gold);
    border-color: var(--ap-gold);
    color: var(--ap-green-900);
}

.insp-play {
    width: 38px;
    height: 38px;
    margin-top: 4px;
}

/* icon-only play/pause: the previous text label was wider than the button */
.insp-play__icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.insp-play__icon--play { display: none; }

.insp-play[aria-pressed='true'] .insp-play__icon--pause { display: none; }
.insp-play[aria-pressed='true'] .insp-play__icon--play { display: block; }

#verticalDotsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding-top: 6px;
}

.insp-v-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.insp-v-dot.is-active,
.insp-v-dot:hover {
    background: var(--ap-gold);
    border-color: var(--ap-gold);
    transform: scale(1.3);
}

.insp-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

#inspFloatingBadge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--ap-cream);
    border: 1px solid var(--ap-line-soft);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

#badgeDynamicIcon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-green);
    overflow: hidden;
}

#badgeDynamicIcon svg { width: 22px; height: 22px; }

#badgeSpaceTitle {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--ap-green);
    line-height: 1.25;
    margin: 0 0 4px;
}

#badgeSpaceDesc {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--ap-muted);
    margin: 0;
}

.insp-panel__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.insp-panel__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--ap-line);
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ap-body);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.insp-panel__list a:hover {
    background: var(--ap-cream);
    border-color: var(--ap-gold);
    color: var(--ap-green);
}

.insp-panel__list svg { color: var(--ap-gold-deep); flex-shrink: 0; }

/* --- CONTACT ----------------------------------------------------------- */
.contact-section {
    padding-block: var(--section-y);
    background: var(--ap-green-900);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 90% at 90% 10%, rgba(201, 161, 91, 0.16) 0%, transparent 60%),
        radial-gradient(70% 90% at 0% 90%, rgba(22, 59, 45, 0.9) 0%, transparent 65%);
    pointer-events: none;
}

.contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.contact-info__title {
    font-size: var(--fs-h2);
    color: #fff;
    margin-bottom: 18px;
}

.contact-info__text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 32px;
    max-width: 34rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    margin: 0 0 32px;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(201, 161, 91, 0.14);
    border: 1px solid rgba(201, 161, 91, 0.32);
    color: var(--ap-gold-light);
}

.contact-list strong {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-gold-light);
    margin-bottom: 4px;
}

.contact-list a,
.contact-list span {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.contact-list a:hover { color: var(--ap-gold-light); }

.interactive-contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--ap-gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible { outline: 2px solid var(--ap-gold); outline-offset: 2px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-submit-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding: 17px 30px;
    border-radius: var(--radius-pill);
    background: var(--ap-gold);
    color: var(--ap-green-900);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.form-submit-pill-btn:hover:not(:disabled) {
    background: var(--ap-gold-light);
    transform: translateY(-2px);
}

.form-submit-pill-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* --- CTA BAND ---------------------------------------------------------- */
.cta-band {
    padding-block: clamp(48px, 6vw, 80px);
    background: var(--ap-white);
    text-align: center;
}

.cta-band__title {
    font-size: var(--fs-h2);
    max-width: 22ch;
    margin-inline: auto;
    margin-bottom: 16px;
}

.cta-band__text {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--ap-muted);
    max-width: 46ch;
    margin: 0 auto 32px;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
    .insp-layout { grid-template-columns: 1fr; }

    /* the control column becomes a full-width bar *under* the artwork, so the
       image is never squeezed into a sliver next to the buttons.
       the stage gets a definite height and the viewport flexes into what is
       left, which avoids the percentage-height cycle of height:100% children */
    .insp-stage {
        flex-direction: column;
        height: clamp(380px, 74vw, 520px);
    }

    .insp-slider-viewport {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
    }

    .insp-controls {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 2.6vw, 20px);
        padding: 14px clamp(12px, 4vw, 22px);
        background: var(--ap-green-800);
    }
}

@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; }
    .about-media__frame { aspect-ratio: 16 / 11; }
    .about-media__badge { right: 20px; bottom: 20px; }
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .stats-grid__item + .stats-grid__item { border-left: 0; }
    .stats-grid__item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14); }
    .stats-grid__item:nth-child(n + 3) {
        padding-top: 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
    .hero { min-height: auto; }
    .hero__scroll { display: none; }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-h) + 44px);
        padding-bottom: 64px;
    }

    .hero__content { max-width: none; }
    .hero__actions .ap-btn { flex: 1 1 100%; }
    .hero__trust { gap: 20px 32px; }
    .hero__trust-item { flex: 1 1 40%; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { min-height: clamp(260px, 58vw, 340px); padding: 20px; }
    .category-card__icon { width: 38px; height: 38px; top: 18px; left: 18px; }
    .category-card__title { font-size: 1.08rem; }
    .category-card__text { display: none; }

    .about-points { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    #verticalDotsContainer { flex-direction: row; padding: 0 6px; }
}

@media (max-width: 560px) {
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 240px; }
    .category-card__text { display: block; font-size: 0.84rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-label { font-size: 0.68rem; letter-spacing: 0.1em; }

    .about-media__badge { position: static; margin-top: 16px; max-width: none; }

    .tools-grid { grid-template-columns: 1fr; }
    .cta-band__actions .ap-btn { flex: 1 1 100%; }

    .insp-controls { gap: 8px; padding: 12px 8px; }
    .insp-arrow { width: 40px; height: 40px; }
    .insp-play { width: 40px; height: 40px; }
    #verticalDotsContainer { gap: 7px; padding: 0 4px; }
    .insp-v-dot { width: 7px; height: 7px; }
}

@media (max-width: 400px) {
    .hero__trust { gap: 18px 22px; }
    .hero__trust-item strong { font-size: 1.35rem; }
    .hero__trust-item span { font-size: 0.66rem; }
    .categories-grid { gap: 14px; }
    .interactive-contact-form { padding: 20px 16px; }
}
