:root {
    --bg-body: #050913;
    --bg-deep: #03030a;
    --bg-card: rgba(8, 12, 28, 0.96);
    --bg-card-soft: rgba(12, 18, 40, 0.95);
    --bg-card-alt: rgba(9, 11, 30, 0.96);
    --accent: #22c55e;              /* verde cannabis */
    --accent-soft: rgba(34, 197, 94, 0.25);
    --accent-purple: #8b5cf6;
    --accent-purple-soft: rgba(139, 92, 246, 0.28);
    --accent-pink: #fb7185;
    --accent-yellow: #eab308;
    --text-main: #e5f1ff;
    --text-muted: #9ca3af;
    --border-soft: rgba(148, 163, 184, 0.35);
    --shadow-strong: 0 26px 80px rgba(0, 0, 0, 0.9);
    --shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.9);
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-pill: 999px;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #020617 0, #020617 35%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background global */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

.bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.8;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.6), transparent 70%);
    top: -120px;
    left: -60px;
}
.orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7), transparent 70%);
    top: -80px;
    right: -80px;
}
.orb-3 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.4), transparent 70%);
    bottom: -140px;
    left: 10%;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

.bg-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.2' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Layout base */
.container {
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-alt {
    padding: 80px 0;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(22px);
    background: linear-gradient(to bottom,
        rgba(3, 7, 18, 0.92),
        rgba(3, 7, 18, 0.85),
        transparent);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-icon {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 24px;
    background: radial-gradient(circle at 0 0, #22c55e, #8b5cf6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.brand-core {
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 10%, #ecfccb, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Chillax", system-ui, -apple-system;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e0f2fe;
}

.brand-core span {
    text-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

/* folhinhas */
.brand-leaf {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 100px 100px 10px 100px;
    background: radial-gradient(circle at 20% 10%, #bbf7d0, #15803d);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.9);
}

.brand-leaf-1 {
    left: -4px;
    top: 12px;
    transform: rotate(-50deg);
}
.brand-leaf-2 {
    right: -6px;
    top: 10px;
    transform: rotate(40deg);
}
.brand-leaf-3 {
    bottom: -4px;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: rotate(-10deg);
    opacity: 0.9;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: "Chillax", system-ui, -apple-system;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
}

.brand-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease, transform 0.15s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-purple));
    transition: width 0.18s ease;
}

.nav a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(34, 197, 94, 0.7);
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.16), rgba(15, 118, 110, 0.1));
    color: #bbf7d0 !important;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.5);
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 999px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
    margin-top: 4px;
}

/* HERO */
.hero {
    padding: 40px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    backdrop-filter: blur(10px);
}

.hero-pill-green {
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), rgba(15, 23, 42, 0.9));
}
.hero-pill-purple {
    background: radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.26), rgba(15, 23, 42, 0.92));
}

.pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}

.hero h1 {
    font-size: clamp(2.4rem, 3.2vw + 1.5rem, 3.3rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-gradient {
    display: block;
    background: linear-gradient(120deg, #22c55e, #8b5cf6, #fb7185);
    -webkit-background-clip: text;
    color: transparent;
    margin-top: 8px;
}

.hero-sub {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 16px;
}

/* lista de serviços da home */
.hero-summary {
    list-style: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-summary li + li {
    margin-top: 4px;
}

.hero-summary strong {
    color: #e5e7eb;
}

/* ações + depoimento rápido */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: rgba(34, 197, 94, 0.7);
    color: #ecfdf5;
    box-shadow: 0 22px 50px rgba(22, 163, 74, 0.75);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 26px 65px rgba(22, 163, 74, 0.9);
}

.btn-ghost {
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.18), rgba(15, 23, 42, 0.9));
    border-color: rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 1);
}

/* Depoimento home */
.hero-testimonial {
    border-left: 2px solid rgba(34, 197, 94, 0.6);
    padding-left: 12px;
    margin-top: 4px;
    max-width: 420px;
}

.hero-testimonial-quote {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-testimonial-name {
    display: block;
    font-size: 0.8rem;
    color: #d1fae5;
    margin-top: 4px;
}

/* Chips hero */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.chip {
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    border-radius: 28px;
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top, #020617, #020617 40%, #030712 100%);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

/* Header card */
.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.25);
}

.hero-status-text {
    flex: 1;
    margin-left: 8px;
}

.hero-status-time {
    color: #e5e7eb;
}

/* Planta hero */
.hero-plant-wrapper {
    position: relative;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.hero-aura {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 20%, rgba(250, 250, 210, 0.9), rgba(34, 197, 94, 0.2), rgba(37, 99, 235, 0.3));
    filter: blur(1px);
    animation: floatSlow 8s ease-in-out infinite;
    opacity: 0.96;
}

.hero-plant {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.leaf {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 120px 120px 10px 120px;
    background: radial-gradient(circle at 20% 10%, #bbf7d0, #15803d);
    box-shadow: 0 16px 35px rgba(22, 163, 74, 0.95);
}

.leaf-l {
    left: 16px;
    bottom: 42px;
    transform: rotate(-55deg);
    animation: leafWave 4.6s ease-in-out infinite;
}
.leaf-r {
    right: 16px;
    bottom: 42px;
    transform: scaleX(-1) rotate(-55deg);
    animation: leafWave 5.1s ease-in-out infinite;
}
.leaf-c {
    width: 70px;
    height: 70px;
    bottom: 78px;
    border-radius: 120px 120px 10px 120px;
    transform: rotate(-20deg);
    animation: leafWave 5.6s ease-in-out infinite;
}

/* folhinhas extras */
.leaf-lettes {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 120px 120px 10px 120px;
    background: radial-gradient(circle at 20% 10%, #bbf7d0, #16a34a);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.9);
}
.leaf-s-1 {
    left: 40px;
    bottom: 94px;
    transform: rotate(-35deg);
}
.leaf-s-2 {
    right: 42px;
    bottom: 94px;
    transform: scaleX(-1) rotate(-35deg);
}

.leaf-pot {
    position: absolute;
    width: 90px;
    height: 46px;
    border-radius: 20px 20px 14px 14px;
    background: radial-gradient(circle at 10% 0, #1f2937, #020617);
    bottom: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
}

/* Mini cards hero */
.hero-mini-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.mini-card {
    font-size: 0.76rem;
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.28), rgba(15, 23, 42, 0.96));
    border-radius: 999px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.mini-card span {
    font-size: 0.9rem;
}

/* Tags hero */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.76rem;
}

.tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--text-muted);
}

/* tokens flutuantes */
.floating-token {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.9));
    animation: floatSlow 7s ease-in-out infinite;
}

.token-1 { top: 6%; right: 6%; }
.token-2 { bottom: 6%; left: 2%; animation-delay: 1.6s; }
.token-3 { bottom: 40%; right: -4%; animation-delay: 2.8s; }

/* Sections */
.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 36px;
    align-items: flex-start;
}

.section-grid-stack {
    align-items: stretch;
}

.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: 1.9rem;
    margin-bottom: 6px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.highlight {
    background: linear-gradient(90deg, #22c55e, #8b5cf6, #eab308);
    -webkit-background-clip: text;
    color: transparent;
}

.section-text > p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Feature list */
.feature-list {
    margin-top: 20px;
    display: grid;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 12px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.32), rgba(15, 23, 42, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feature-text h3 {
    font-size: 0.96rem;
}

.feature-text p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Section card */
.section-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
    border-radius: var(--radius-lg);
    padding: 22px 22px 20px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
}

.section-card h3 {
    font-size: 1.12rem;
    margin: 8px 0 10px;
}

.section-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-pill {
    display: inline-flex;
    font-size: 0.76rem;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 1);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: #e5e7eb;
}

.bullet-list {
    list-style: none;
    margin-top: 14px;
    font-size: 0.9rem;
}

.bullet-list li {
    padding-left: 18px;
    position: relative;
    color: var(--text-muted);
}

.bullet-list li + li {
    margin-top: 6px;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: -2px;
    color: var(--accent-purple);
}

/* Bloco de benefícios */
.benefits-block {
    margin-top: 16px;
}

/* Cards grid genérico (quando precisar) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pillars-grid.small-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 16px 18px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
}

.pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(234, 179, 8, 0.32), rgba(3, 7, 18, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.pillar-card h3 {
    font-size: 0.98rem;
    margin-bottom: 5px;
}

.pillar-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
}

/* Bloco CTA mercado */
.cta-block {
    margin-top: 18px;
}

.cta-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* DEPOIMENTOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 18px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 16px 16px 14px;
    box-shadow: var(--shadow-soft);
}

.testimonial-quote {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.testimonial-name {
    font-size: 0.82rem;
    color: #d1fae5;
}

/* Contato */
.contact-card {
    padding: 22px 22px 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.99), rgba(3, 7, 18, 0.98));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(55, 65, 81, 0.95);
    box-shadow: var(--shadow-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.contact-list {
    list-style: none;
    font-size: 0.9rem;
}

.contact-list li + li {
    margin-top: 6px;
}

.contact-list span {
    font-weight: 500;
}

/* Formulário */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.input-group input,
.input-group textarea {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(55, 65, 81, 0.95);
    padding: 8px 10px;
    font-size: 0.88rem;
    color: #e5e7eb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
    background: rgba(15, 23, 42, 0.98);
}

.input-group textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Footer */
.footer {
    padding: 20px 0 24px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(3, 7, 18, 0.96);
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-note {
    opacity: 0.9;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animações */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes leafWave {
    0%, 100% {
        transform: rotate(-55deg);
    }
    50% {
        transform: rotate(-35deg);
    }
}

/* RESPONSIVO */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-visual {
        order: -1;
    }
    .section-grid,
    .cards-grid,
    .pillars-grid,
    .contact-grid,
    .testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cards-grid,
    .testimonials-grid {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .topbar {
        background: rgba(3, 7, 18, 0.96);
    }

    .nav {
        position: absolute;
        top: 60px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 18px;
        background: rgba(3, 7, 18, 0.98);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 1);
        transform-origin: top right;
        transform: scale(0.95) translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1) translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 2px;
        background: rgba(3, 7, 18, 0.98);
        border: 1px solid rgba(55, 65, 81, 0.9);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }

    .hero {
        padding-top: 26px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 520px) {
    .hero-pill-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
