/* Explain: App-specific layout utilities and responsive grid system. */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; }
.section { padding-block: 4.5rem; }
.section-surface { background: var(--surface-color); }
.section-dark { background: var(--primary-dark); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.05rem; }
.brand-text small { color: var(--text-muted); font-size: 0.72rem; }

.desktop-nav { display: none; align-items: center; gap: 0.15rem; }
.nav-link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.7rem; border-radius: 10px; font-weight: 600; font-size: 0.94rem; color: var(--text-color); background: none; border: none; cursor: pointer; font-family: var(--font-body); }
.nav-link:hover { background: var(--surface-2); color: var(--primary-color); }
.nav-item { position: relative; }
.nav-item::after { content: ''; position: absolute; inset-inline: 0; top: 100%; height: 12px; }
.dropdown { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 240px; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; box-shadow: var(--shadow-md); padding: 0.5rem; z-index: 60; }
.dropdown a { display: block; padding: 0.6rem 0.8rem; border-radius: 10px; font-size: 0.92rem; font-weight: 500; }
.dropdown a:hover { background: var(--surface-2); color: var(--primary-color); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--border-color); background: #fff; color: var(--text-color); font-size: 1.15rem; cursor: pointer; }

.mobile-nav { display: none; border-top: 1px solid var(--border-color); background: #fff; max-height: calc(100vh - 74px); overflow-y: auto; }
.mobile-nav a { display: block; padding: 0.85rem 1.25rem; font-weight: 600; border-bottom: 1px solid var(--border-color); }
.mobile-nav a:hover { background: var(--surface-color); color: var(--primary-color); }
.mobile-nav .m-group { padding: 0.85rem 1.25rem 0.35rem; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); background: var(--surface-color); }
.mobile-nav .m-cta { padding: 1rem 1.25rem; border-bottom: none; }
.mobile-nav .m-cta .btn { width: 100%; }

@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
    .header-cta { display: inline-flex; }
    .menu-toggle { display: none; }
    .mobile-nav { display: none !important; }
}

/* Hero */
.hero-section { background: linear-gradient(160deg, var(--surface-color) 0%, #fff 60%); padding-block: 3.5rem 4.5rem; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: -120px; inset-inline-start: -80px; width: 380px; height: 380px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.hero-copy h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.15; }
.hero-copy > p { color: var(--text-muted); font-size: 1.1rem; margin-top: 1.1rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0.7rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: center; font-weight: 500; }
.hero-points i { color: var(--accent-color); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; bottom: -1rem; inset-inline-start: -0.5rem; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 0.85rem 1.1rem; display: flex; gap: 0.7rem; align-items: center; }
.hero-badge i { color: var(--accent-hover); font-size: 1.4rem; }
.hero-badge strong { display: block; font-size: 0.9rem; font-family: var(--font-heading); }
.hero-badge span { font-size: 0.78rem; color: var(--text-muted); }

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Content + sidebar */
.content-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
    .content-layout { grid-template-columns: 1fr 320px; gap: 3rem; }
}

/* Lead form */
.lead-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.lead-form { padding: 2rem; }
@media (min-width: 1024px) {
    .lead-grid { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
}
@media (min-width: 640px) {
    .field-grid { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.82); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: 3.2rem; }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--accent-color), #22d3ee); }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; }
.footer-social a:hover { background: var(--accent-color); }
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}