/* bflowfounders.com — Global Styles */
:root {
    --body-bg: #ffffff;
    --body-bg-soft: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f1f4fa;
    --white: #0b1020; /* now used as primary text color */
    --ink: #0b1020;
    --muted: #4b5168;
    --muted-2: #7a7f9e;
    --transparent: rgba(0, 0, 0, 0);
    --primary-color: #12c47b;
    --gradient-color: #5497d5;
    --secondary-color: #9945ff;
    --border: rgba(11, 16, 32, 0.08);
    --border-strong: rgba(11, 16, 32, 0.16);
    --danger: #e23a5b;
    --gradient-brand: linear-gradient(
        135deg,
        #12c47b 0%,
        #5497d5 50%,
        #9945ff 100%
    );
    --gradient-brand-soft: linear-gradient(
        135deg,
        rgba(25, 251, 155, 0.14),
        rgba(84, 151, 213, 0.14),
        rgba(153, 69, 255, 0.14)
    );
    --shadow-glow: 0 20px 60px -20px rgba(84, 151, 213, 0.35);
    --shadow-card: 0 10px 40px -10px rgba(11, 16, 32, 0.15);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --container: 1200px;
    --header-h: 76px;
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background: var(--body-bg);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-color);
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
ul {
    list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}
h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}
p {
    color: var(--muted);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 96px 0;
    position: relative;
}
.section-sm {
    padding: 64px 0;
}
.text-center {
    text-align: center;
}
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    padding: 6px 14px;
    border: 1px solid rgba(25, 251, 155, 0.3);
    border-radius: 999px;
    background: rgba(25, 251, 155, 0.06);
    margin-bottom: 18px;
}
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--gradient-brand);
    color: #03110a;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    color: #03110a;
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-ghost {
    color: var(--white);
    padding-left: 0;
    padding-right: 0;
}
.btn-block {
    width: 100%;
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--white);
}
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: grid;
    place-items: center;
    color: #03110a;
    font-weight: 800;
    box-shadow: 0 6px 20px -6px rgba(25, 251, 155, 0.6);
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-list a {
    font-size: 0.94rem;
    color: var(--muted);
    font-weight: 500;
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    display: none;
    place-items: center;
}
.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    display: block;
}
.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--white);
}
.menu-toggle span::before {
    top: -6px;
}
.menu-toggle span::after {
    top: 6px;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}
.dropdown a:hover {
    background: var(--surface-2);
    color: var(--white);
}

/* Hero */
.hero {
    padding: calc(var(--header-h) + 100px) 0 100px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(2, 6, 20, 0.72), rgba(2, 6, 20, 0.78)),
        url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 30% 30%,
            rgba(25, 251, 155, 0.18),
            transparent 60%
        ),
        radial-gradient(
            ellipse at 70% 50%,
            rgba(153, 69, 255, 0.18),
            transparent 60%
        ),
        radial-gradient(
            ellipse at 50% 80%,
            rgba(84, 151, 213, 0.15),
            transparent 60%
        );
    z-index: 0;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    color: #fff;
}
.hero-inner h1,
.hero-inner p {
    color: #fff;
}
.hero h1 {
    margin-bottom: 22px;
}
.hero p {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.85);
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero .eyebrow {
    background: rgba(25, 251, 155, 0.12);
    border-color: rgba(25, 251, 155, 0.45);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}
.hero-stats .stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stats .stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Service card image */
.card-img {
    width: calc(100% + 60px);
    height: 180px;
    margin: -30px -30px 20px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border);
}
.card {
    padding-top: 0;
}
.card > .card-icon:first-child {
    margin-top: 30px;
}

/* Page hero (smaller for inner pages) */
.page-hero {
    padding: calc(var(--header-h) + 70px) 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(84, 151, 213, 0.2),
        transparent 70%
    );
    pointer-events: none;
}
.page-hero > .container {
    position: relative;
}
.page-hero p {
    max-width: 680px;
    margin: 18px auto 0;
}

/* Cards */
.card {
    background: linear-gradient(
        180deg,
        rgba(11, 16, 32, 0.03),
        rgba(11, 16, 32, 0.01)
    );
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}
.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient-brand-soft);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.card h3 {
    margin-bottom: 10px;
}
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-head p {
    margin-top: 14px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan.featured {
    border-color: var(--primary-color);
    box-shadow: 0 30px 80px -30px rgba(25, 251, 155, 0.35);
    transform: scale(1.02);
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #03110a;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
}
.plan h3 {
    font-size: 1.3rem;
}
.plan .price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin: 18px 0 6px;
}
.plan .price small {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}
.plan-desc {
    color: var(--muted);
    margin-bottom: 22px;
}
.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 28px;
    flex: 1;
}
.plan-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.95rem;
}
.plan-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
}

/* Forms */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}
.auth-aside {
    background: var(--gradient-brand-soft), var(--surface);
    background-color: var(--surface);
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 30% 30%,
            rgba(25, 251, 155, 0.25),
            transparent 60%
        ),
        radial-gradient(
            ellipse at 80% 80%,
            rgba(153, 69, 255, 0.25),
            transparent 60%
        );
}
.auth-aside > * {
    position: relative;
    z-index: 1;
}
.auth-aside h2 {
    font-size: 2.2rem;
    margin: 30px 0 14px;
}
.auth-aside .testimonial {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    padding: 22px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}
.auth-aside .testimonial p {
    color: var(--ink);
}
.auth-main {
    display: grid;
    place-items: center;
    padding: 60px 24px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
}
.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.auth-card .sub {
    color: var(--muted);
    margin-bottom: 32px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 251, 155, 0.15);
}
.form-control::placeholder {
    color: var(--muted-2);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 0.88rem;
}
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    cursor: pointer;
}
.checkbox input {
    accent-color: var(--primary-color);
}
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted-2);
    font-size: 0.82rem;
    margin: 24px 0;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.social-btn {
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}
.social-btn:hover {
    border-color: var(--primary-color);
}
.auth-foot {
    text-align: center;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.92rem;
}
.auth-foot a {
    color: var(--primary-color);
    font-weight: 600;
}
.error-msg {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}
.form-control.invalid {
    border-color: var(--danger);
}
.form-control.invalid + .error-msg {
    display: block;
}
.success-banner {
    background: rgba(25, 251, 155, 0.1);
    border: 1px solid rgba(25, 251, 155, 0.3);
    color: var(--primary-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    display: none;
}
.success-banner.show {
    display: block;
}

/* Service detail */
.service-hero {
    padding: calc(var(--header-h) + 60px) 0 40px;
}
.service-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.service-visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand-soft);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}
.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(25, 251, 155, 0.15),
        rgba(153, 69, 255, 0.15)
    );
}
.service-visual span {
    position: relative;
    z-index: 1;
}
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.feature-row .pill {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(11, 16, 32, 0.03);
}
.feature-row .pill strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-family: var(--font-display);
}
.feature-row .pill span {
    color: var(--muted);
    font-size: 0.88rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    text-align: center;
}
.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gradient-brand-soft);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
}
.team-card h4 {
    font-family: var(--font-display);
    margin-bottom: 4px;
}
.team-card span {
    color: var(--primary-color);
    font-size: 0.88rem;
}

/* FAQ / Legal */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}
.legal-content h2 {
    margin: 40px 0 14px;
    font-size: 1.5rem;
}
.legal-content h3 {
    margin: 28px 0 10px;
    font-size: 1.15rem;
    color: var(--white);
}
.legal-content p,
.legal-content li {
    color: var(--muted);
    margin-bottom: 12px;
}
.legal-content ul {
    padding-left: 22px;
    list-style: disc;
    margin-bottom: 16px;
}
.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 36px;
}
.toc h4 {
    font-family: var(--font-display);
    margin-bottom: 12px;
}
.toc ol {
    padding-left: 20px;
    color: var(--muted);
}
.toc a {
    color: var(--muted);
}
.toc a:hover {
    color: var(--primary-color);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(11, 16, 32, 0.03);
}
.contact-item .ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-brand-soft);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact-item h4 {
    font-family: var(--font-display);
    margin-bottom: 4px;
}
.contact-item p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* CTA */
.cta-band {
    margin: 80px 0;
    padding: 60px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand-soft), var(--surface);
    background-color: var(--surface);
    border: 1px solid var(--border-strong);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(25, 251, 155, 0.2),
        transparent 70%
    );
}
.cta-band > * {
    position: relative;
}
.cta-band h2 {
    margin-bottom: 14px;
}
.cta-band p {
    max-width: 580px;
    margin: 0 auto 26px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    background: var(--body-bg-soft);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-grid h5 {
    font-family: var(--font-display);
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
}
.footer-grid ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-grid a {
    color: var(--muted);
    font-size: 0.92rem;
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted-2);
    font-size: 0.85rem;
}
.socials {
    display: flex;
    gap: 10px;
}
.socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
}
.socials a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 200;
    box-shadow: var(--shadow-card);
    transform: translateY(150%);
    transition: transform 0.4s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner p {
    font-size: 0.9rem;
    flex: 1;
}
.cookie-banner .actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
    .grid-3,
    .grid-4,
    .pricing-grid,
    .team-grid,
    .footer-grid,
    .feature-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .service-hero-grid,
    .contact-grid,
    .auth-wrap {
        grid-template-columns: 1fr;
    }
    .auth-aside {
        padding: 40px;
        min-height: auto;
    }
    .auth-main {
        padding: 40px 24px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .plan.featured {
        transform: none;
    }
    .footer-grid {
        gap: 32px;
    }
}
@media (max-width: 720px) {
    .section {
        padding: 70px 0;
    }
    .nav-list,
    .nav-cta .btn-secondary {
        display: none;
    }
    .menu-toggle {
        display: grid;
    }
    .nav-list.open {
        display: flex;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--border-strong);
    }
    .nav-list.open li {
        width: 100%;
    }
    .nav-list.open a {
        display: block;
        padding: 14px;
        border-radius: 10px;
    }
    .nav-list.open .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 12px;
        border: none;
        min-width: 0;
        margin-top: 4px;
    }
    .grid-2,
    .grid-3,
    .grid-4,
    .pricing-grid,
    .team-grid,
    .feature-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-band {
        padding: 40px 24px;
        margin: 50px 0;
    }
    .hero-stats {
        padding: 22px;
        gap: 16px;
    }
    .hero-stats .stat strong {
        font-size: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
