/* --- Global Reset & Variables --- */
:root {
    --primary: #ff5a5f;
    --secondary: #2ab7ca;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

body.nav-open,
body.lightbox-open,
body.inquiry-open {
    overflow: hidden;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    z-index: 1001;
}

.logo span {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
    margin: 0 auto;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links .nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
    background-color: #e04f54;
    color: var(--white);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 140px 20px 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 25px;
}

.hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.chip {
    display: inline-block;
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid #e1e4e6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.chip-highlight {
    background-color: #e8f7f9;
    border-color: #b7e4ea;
    color: #1a8a98;
}

.hero-home {
    text-align: left;
    padding: 120px 20px 64px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: center;
}

.hero-home .hero-content {
    max-width: 560px;
    margin: 0;
    text-align: left;
}

.hero-home .hero-actions {
    justify-content: flex-start;
}

.hero-visual {
    justify-self: center;
}

.hero-phone.screenshot-wrapper {
    width: 260px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.hero-phone.screenshot-wrapper:hover,
.hero-phone.screenshot-wrapper:focus-visible {
    transform: none;
    box-shadow: none;
}

.hero-phone.screenshot-wrapper img {
    transform: none;
}

.hero-phone img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    border: 10px solid var(--dark);
    box-shadow: 0 24px 50px rgba(43, 45, 66, 0.28);
}

.hero-phone-label {
    margin-top: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray);
}

.hero-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e04f54;
    border-color: #e04f54;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.container section[id] {
    scroll-margin-top: 88px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* --- Platform Section --- */
.platform-section {
    margin-bottom: 100px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background-color: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    color: inherit;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.platform-card-body {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.store-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.store-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
}

.store-links a:hover {
    text-decoration: underline;
}

.store-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.9;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 16px;
}

.platform-icon.admin {
    background-color: var(--primary);
}

.platform-icon.teacher {
    background-color: var(--secondary);
}

.platform-icon.parent {
    background-color: var(--dark);
}

.platform-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.platform-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* --- What we offer --- */
.offer-section,
.does-doesnt-section {
    margin-bottom: 80px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.offer-card {
    background-color: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 14px;
    padding: 24px;
}

.offer-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.offer-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.dont-card {
    background-color: #f7f7f8;
    border-color: #d5d7db;
}

.dont-card .now-later-label {
    color: var(--gray);
}

/* --- Feature Split --- */
.feature-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.feature-split.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 520px;
}

.feature-visual {
    flex: 1.2;
    width: 100%;
}

.badge {
    display: inline-block;
    background-color: #ffebeb;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-text p {
    color: var(--gray);
    margin-bottom: 25px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* --- Image Showcase --- */
.image-showcase {
    display: grid;
    gap: 15px;
    width: 100%;
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.screenshot-wrapper {
    display: block;
    width: 100%;
    padding: 0;
    background-color: var(--light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e1e4e6;
    transition: var(--transition);
    cursor: zoom-in;
    font: inherit;
    text-align: left;
}

.screenshot-wrapper:hover,
.screenshot-wrapper:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    outline: none;
}

.screenshot-wrapper:focus-visible {
    box-shadow: 0 0 0 3px rgba(42, 183, 202, 0.35), 0 8px 25px rgba(0, 0, 0, 0.1);
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(17, 24, 39, 0.82);
    cursor: zoom-out;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightbox-in 0.25s ease;
    padding-top: 8px;
}

.lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #d1d5db;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.lightbox-gallery-name {
    font-weight: 600;
    color: var(--white);
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 12px;
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top, 16px));
    right: max(16px, env(safe-area-inset-right, 16px));
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    background: var(--white);
}

.lightbox-caption {
    margin-top: 14px;
    color: #e5e7eb;
    font-size: 0.95rem;
    text-align: center;
    max-width: 100%;
}

/* --- Data safety --- */
.data-safety-section {
    margin-bottom: 80px;
}

.data-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.data-safety-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.data-safety-card {
    background-color: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 14px;
    padding: 24px;
}

.data-safety-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.data-safety-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.alerts-section {
    margin-bottom: 80px;
}

/* --- Now vs next --- */
.now-later-section {
    margin-bottom: 40px;
}

.now-later-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.now-later-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.now-later-card {
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #e1e4e6;
}

.now-card {
    background-color: #f3fbf8;
    border-color: #cde8dc;
}

.later-card {
    background-color: #fff8f0;
    border-color: #f0ddc4;
}

.now-later-card-muted {
    background-color: var(--light);
}

.now-later-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.now-card .now-later-label {
    color: #1a7a5a;
}

.later-card .now-later-label {
    color: #b45309;
}

.now-later-card-muted .now-later-label {
    color: var(--gray);
}

.now-later-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.now-later-card p {
    color: var(--gray);
    margin-bottom: 16px;
}

.now-later-card ul {
    list-style: none;
}

.now-later-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 0.98rem;
}

.now-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a7a5a;
    font-weight: 700;
}

.later-card li::before,
.now-later-card-muted li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #b45309;
    font-weight: 700;
}

.now-later-card-muted li::before {
    content: "•";
    color: var(--gray);
}

.now-later-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gray);
}

.now-later-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.now-later-note a:hover {
    text-decoration: underline;
}

.now-later-cta {
    text-align: center;
    margin-top: 28px;
}

.now-later-cta a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.now-later-cta a:hover {
    text-decoration: underline;
}

/* --- Compliance page --- */
.compliance-page {
    padding-top: 40px;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.compliance-card {
    background-color: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 14px;
    padding: 24px;
}

.compliance-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.compliance-reg {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a8a98;
    margin-bottom: 10px;
}

.compliance-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.compliance-card a {
    color: var(--primary);
}

.compliance-disclaimer {
    max-width: 860px;
    margin: 20px auto 0;
    padding: 24px;
    border-radius: 14px;
    background-color: var(--light);
    border: 1px solid #e1e4e6;
}

.compliance-disclaimer p {
    color: var(--gray);
    margin-bottom: 12px;
}

.compliance-resources a {
    color: var(--primary);
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.province-grid .compliance-card p + p {
    margin-top: 8px;
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
}

.legal-page p {
    color: var(--gray);
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-page .benefit-list {
    margin-bottom: 20px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 1100;
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

.pilot-section,
.faq-section {
    margin-bottom: 80px;
}

.signup-section {
    background: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 80px;
}

.signup-hero .signup-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: start;
    gap: 40px;
}

.signup-hero.hero-home,
.signup-hero.hero-home .hero-content {
    text-align: left;
}

.signup-points {
    margin: 16px 0 0;
    padding-left: 1.15rem;
    color: var(--gray);
    font-size: 1rem;
}

.signup-points li + li {
    margin-top: 8px;
}

.signup-card {
    background: var(--white);
    border: 1px solid #e1e4e6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(43, 45, 66, 0.08);
    scroll-margin-top: 88px;
}

.signup-card h2,
.signup-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 40px;
    align-items: start;
}

.signup-copy .badge {
    margin-bottom: 14px;
}

.signup-copy h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.signup-copy p {
    color: var(--gray);
    margin-bottom: 12px;
}

.inquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-list details {
    background-color: var(--light);
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    padding: 4px 20px;
    margin-bottom: 12px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    padding: 14px 0;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--primary);
    font-weight: 700;
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-list details p {
    color: var(--gray);
    padding-bottom: 16px;
}

.faq-list details a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.faq-list details a:hover {
    text-decoration: underline;
}

.cta-email {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}

.cta-email a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.cta-email a:hover {
    text-decoration: underline;
}
.final-cta {
    background-color: #eef2f3;
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.final-cta p {
    color: var(--gray);
    margin-bottom: 30px;
}

.btn.large {
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--dark);
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-brand {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-contact {
    margin-bottom: 12px;
}

.footer-contact a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-links {
    margin-top: 10px;
    font-size: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* --- Mobile --- */
@media (max-width: 992px) {
    .feature-split,
    .feature-split.reverse {
        flex-direction: column;
        gap: 35px;
        margin-bottom: 80px;
    }

    .feature-text {
        max-width: 100%;
    }

    .platform-grid,
    .now-later-grid,
    .compliance-grid,
    .data-safety-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner,
    .signup-hero .signup-hero-inner,
    .signup-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-home {
        text-align: center;
    }

    .hero-home .hero-content {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-home .hero-actions {
        justify-content: center;
    }

    .signup-hero.hero-home .hero-content {
        text-align: center;
    }

    .signup-hero .signup-points {
        display: inline-block;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .signup-copy {
        text-align: center;
    }

    .signup-section {
        padding: 24px;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 80vw);
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 28px 28px;
        gap: 20px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links .nav-cta {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .grid-4,
    .grid-3,
    .offer-grid,
    .province-grid,
    .inquiry-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-header h2,
    .feature-text h2 {
        font-size: 1.65rem;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
}

/* --- Inquiry modal (Formspree) --- */
.inquiry-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inquiry-modal.is-open {
    display: flex;
}

.inquiry-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}

.inquiry-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    animation: lightbox-in 0.25s ease;
}

.inquiry-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.inquiry-close:hover {
    background: #e9ecef;
}

.inquiry-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    padding-right: 32px;
}

.inquiry-lead {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inquiry-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
    color: var(--dark);
    background: var(--white);
}

.inquiry-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 8 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
    outline: 2px solid rgba(42, 183, 202, 0.35);
    border-color: var(--secondary);
}

.inquiry-field textarea {
    resize: vertical;
    min-height: 96px;
}

.inquiry-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.inquiry-error {
    color: #b42318;
    font-size: 0.9rem;
    margin: 0;
}

.inquiry-submit {
    width: 100%;
    margin-top: 4px;
}

.inquiry-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.inquiry-success-view {
    text-align: center;
    padding: 12px 0 4px;
}

.inquiry-success-view p {
    color: var(--gray);
    margin: 12px 0 24px;
}
