/* ==========================================================================
   IKAN BITUNG — Landing Page Styles
   ========================================================================== */

:root {
    /* Colors */
    --deep-ocean: #06263F;
    --marine: #0B4568;
    --marine-2: #114B7A;
    --sky: #4FA8D8;
    --turquoise: #2DD4C6;
    --turquoise-dark: #1F8FA8;
    --white: #FFFFFF;
    --bg: #F7FBFD;
    --bg-alt: #EFF7FA;
    --ink: #0C2333;
    --ink-soft: #4A6577;
    --border: rgba(11, 69, 104, 0.12);
    --shadow-sm: 0 4px 16px rgba(6, 38, 63, 0.08);
    --shadow-md: 0 12px 32px rgba(6, 38, 63, 0.12);
    --shadow-lg: 0 24px 60px rgba(6, 38, 63, 0.18);

    /* Type */
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --container-w: 1200px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --nav-h: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--deep-ocean);
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--turquoise-dark);
    outline-offset: 3px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
    color: var(--deep-ocean);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--primary.btn--light {
    background: var(--white);
    color: var(--marine);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn--cta {
    background: var(--deep-ocean);
    color: var(--white);
    padding: 11px 24px;
}

.btn--cta:hover {
    background: var(--marine-2);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #128C7E;
    color: var(--white);
    margin-top: 8px;
}

.btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
    background: transparent;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(6, 38, 63, 0.08);
    height: 68px;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    color: var(--deep-ocean);
}

.navbar:not(.is-scrolled) .brand__text {
    color: var(--white);
}

.brand__text em {
    font-style: normal;
    color: var(--turquoise-dark);
}

.navbar:not(.is-scrolled) .brand__text em {
    color: var(--turquoise);
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-ocean);
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.navbar:not(.is-scrolled) .nav__link {
    color: rgba(255, 255, 255, 0.92);
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise-dark);
    transition: width 0.25s ease;
}

.navbar:not(.is-scrolled) .nav__link::after {
    background: var(--turquoise);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-ocean);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 auto;
}

.navbar:not(.is-scrolled) .hamburger span {
    background: var(--white);
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hamburger.is-open span {
    background: var(--deep-ocean) !important;
}

.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(6, 38, 63, 0.14);
    padding: 12px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
}

.mobile-menu__link {
    display: block;
    padding: 14px 4px;
    font-weight: 600;
    color: var(--deep-ocean);
    border-bottom: 1px solid var(--border);
}

.mobile-menu__cta {
    margin-top: 16px;
    width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 0 160px;
    background: radial-gradient(120% 100% at 15% 0%, #14608F 0%, var(--marine-2) 42%, var(--deep-ocean) 100%);
    overflow: hidden;
}

.hero__waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    line-height: 0;
    z-index: 1;
}

.hero__waves svg {
    width: 100%;
    height: 140px;
    display: block;
}

.bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.05));
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-720px) translateX(20px);
        opacity: 0;
    }
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero__tagline {
    color: var(--turquoise);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}

.hero__title {
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    max-width: 640px;
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    max-width: 520px;
    margin-top: 22px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    min-height: 420px;
}

.hero__card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__card--main {
    width: 100%;
    max-width: 500px; /* Membatasi lebar maksimal agar tidak terlalu besar */
    aspect-ratio: 1 / 1; /* Mengubah bentuk menjadi kotak seimbang, atau gunakan 4/3 */
    margin: 0 auto;
}

.hero__card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__card--float {
    position: absolute;
    animation: floaty 5s ease-in-out infinite;
}

.hero__card--float1 {
    width: 42%;
    aspect-ratio: 1/1;
    top: -6%;
    left: -2%;
    border: 4px solid var(--white);
}

.hero__card--float1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__card--float2 {
    bottom: 6%;
    right: -2%;
    background: var(--white);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation-delay: 1.2s;
}

.hero__stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--turquoise-dark);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 500;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ==========================================================================
   Section shared
   ========================================================================== */

.section {
    padding: 100px 0;
}

.section__head {
    max-width: 640px;
    margin-bottom: 56px;
}

.eyebrow {
    color: var(--turquoise-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
    background: var(--bg);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about__paragraph {
    color: var(--ink-soft);
    margin-top: 18px;
    max-width: 54ch;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--deep-ocean);
}

.stat__label {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.about__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3.4;
}

.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Products
   ========================================================================== */

.products {
    background: var(--bg-alt);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.06);
}

.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--turquoise);
    color: var(--deep-ocean);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.product-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--deep-ocean);
}

.product-card__desc {
    color: var(--ink-soft);
    font-size: 0.92rem;
    flex: 1;
}

.product-card__btn {
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--marine-2);
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid var(--border);
    transition: background 0.25s ease, color 0.25s ease;
}

.product-card__btn:hover {
    background: var(--marine-2);
    color: var(--white);
}

/* ==========================================================================
   Advantages
   ========================================================================== */

.advantages {
    background: var(--bg);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.advantage__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(45, 212, 198, 0.16), rgba(11, 69, 104, 0.08));
    color: var(--marine-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.advantage__title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage__desc {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* ==========================================================================
   Ordering steps
   ========================================================================== */

.ordering {
    background: var(--bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step__num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--turquoise-dark);
    margin-bottom: 14px;
}

.step__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__desc {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* ==========================================================================
   Audience
   ========================================================================== */

.audience {
    background: var(--bg);
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.audience__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    color: var(--marine-2);
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.audience__item:hover {
    border-color: var(--turquoise-dark);
    background: var(--bg-alt);
}

.audience__item svg {
    flex-shrink: 0;
    color: var(--turquoise-dark);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
    background: var(--bg-alt);
}

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-track {
    position: relative;
    min-height: 160px;
}

.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial__quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-ocean);
    line-height: 1.5;
}

.testimonial__author {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-dot.is-active {
    background: var(--turquoise-dark);
    transform: scale(1.3);
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
    position: relative;
    background: linear-gradient(120deg, var(--marine-2), var(--deep-ocean));
    padding: 90px 0;
    overflow: hidden;
}

.cta__waves {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.cta__waves svg {
    width: 100%;
    height: 90px;
    display: block;
}

.cta__inner {
    position: relative;
    text-align: center;
    max-width: 620px;
}

.cta__title {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
}

.cta__subtitle {
    color: rgba(255, 255, 255, 0.82);
    margin-top: 16px;
}

.cta .btn {
    margin-top: 30px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
    background: var(--bg);
}

.contact__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--marine-2);
}

.contact__item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__label {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.contact__value {
    display: block;
    font-weight: 700;
    color: var(--deep-ocean);
}

.contact__form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--deep-ocean);
}

.form__field input,
.form__field textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--ink);
    resize: vertical;
    transition: border-color 0.25s ease;
}

.form__field input:focus,
.form__field textarea:focus {
    border-color: var(--turquoise-dark);
    outline: none;
}

.form__field input.is-invalid,
.form__field textarea.is-invalid {
    border-color: #E5484D;
}

.form__error {
    color: #E5484D;
    font-size: 0.78rem;
    font-weight: 500;
    min-height: 14px;
}

.form__submit {
    margin-top: 4px;
}

.form__note {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--turquoise-dark);
    min-height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--deep-ocean);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 72px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand--footer .brand__text {
    color: var(--white);
}

.brand--footer .brand__text em {
    color: var(--turquoise);
}

.footer__desc {
    margin-top: 16px;
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.social:hover {
    background: var(--turquoise-dark);
    border-color: var(--turquoise-dark);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer__col a,
.footer__col span {
    font-size: 0.9rem;
}

.footer__col a:hover {
    color: var(--turquoise);
}

.footer__bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--deep-ocean);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--marine-2);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 360px;
        margin-top: 40px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about__media {
        order: -1;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {

    .nav,
    .nav__cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding: calc(var(--nav-h) + 40px) 0 120px;
    }

    .hero__card--main {
        width: 100%;
        margin-left: 0;
    }

    .hero__card--float1 {
        width: 46%;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .audience__grid {
        grid-template-columns: 1fr 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 26px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 400px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .hero__actions .btn {
        flex: 1;
    }
}