/**
 * SIMPLIWIFI SHARED CSS (v2026.02)
 * Shared styles for all pages — foundation, nav, footer, modals, cookie, back-to-top.
 * Homepage uses unprefixed classes; LP pages use lp- prefix.
 * Both variants are defined here with comma-separated selectors.
 */

/* ============ FOUNDATION ============ */
:root { background-color: #0d1117; color-scheme: dark; }
html { scroll-behavior: smooth; background-color: #0d1117; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #0d1117; color: #ECECEC; margin: 0; overflow-x: hidden; font-size: 1rem; line-height: 1.5; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.accent { color: #FFB600; }

/* Keyboard focus indicator (WCAG 2.4.7) */
:focus-visible { outline: 2px solid #FFB600; outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* Form input focus */
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #FFB600; outline-offset: 2px; border-color: #FFB600; }

/* Inline text link distinguishability */
.lp-article-body a, .legal-body a, .lp-legal-body a { text-decoration: underline; text-decoration-color: rgba(255,182,0,0.4); text-underline-offset: 2px; }

/* Skip to content */
.skip-to-content, .lp-skip-to-content { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 12px 24px; background: #FFB600; color: #0d1117; font-weight: 700; font-size: 14px; text-decoration: none; }
.skip-to-content:focus, .lp-skip-to-content:focus { left: 0; }


/* ============ SITE ANNOUNCEMENT BANNER ============ */
.site-announce { position: fixed; top: 0; width: 100%; z-index: 1001; background: #1a1400; border-bottom: 1px solid rgba(255,182,0,0.3); padding: 0.5rem 1.5rem; text-align: center; }
.site-announce a { font-size: 0.85rem; color: rgba(236,236,236,0.9); text-decoration: none; font-weight: 600; }
.site-announce a:hover { color: #FFB600; }
.site-announce .announce-badge { display: inline-block; background: #FFB600; color: #0d1117; font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.site-announce .announce-highlight { color: #FFB600; font-weight: 700; }

/* ============ NAVIGATION ============ */
nav, .lp-nav { position: fixed; top: 32px; width: 100%; z-index: 1000; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(13,17,23,0.8); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
nav img, .lp-nav img { height: 32px; width: auto; }
.nav-left, .lp-nav-left { display: flex; align-items: center; }
.nav-center, .lp-nav-center { display: none; align-items: center; gap: 2rem; }
.nav-right-mobile, .lp-nav-right-mobile { display: flex; align-items: center; gap: 0.75rem; }
.nav-right-desktop, .lp-nav-right-desktop { display: none; align-items: center; gap: 1.5rem; }

.nav-link, .lp-nav-link { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; text-decoration: none; white-space: nowrap; position: relative; background: none; border: none; padding: 0; cursor: pointer; color: inherit; font-family: inherit; }
.nav-link::after, .lp-nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background-color: #FFB600; transition: width 0.3s ease-in-out; }
.nav-link.active::after, .nav-link:hover::after, .lp-nav-link.active::after, .lp-nav-link:hover::after { width: 100%; }
.nav-link.active, .lp-nav-link.active { color: #FFB600; }

.nav-cta, .lp-nav-cta { background: #FFB600; color: #0d1117; padding: 12px 20px; min-height: 44px; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; display: inline-flex; align-items: center; }
.nav-cta:hover, .lp-nav-cta:hover { background: #fff; }
.nav-phone, .lp-nav-phone { font-size: 14px; font-weight: 700; color: #ECECEC; text-decoration: none; white-space: nowrap; }
.nav-phone:hover, .lp-nav-phone:hover { color: #FFB600; }

/* Dropdown (Desktop) */
.nav-dropdown-wrapper, .lp-nav-dropdown-wrapper { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger, .lp-nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-dropdown-chevron, .lp-nav-dropdown-chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.nav-dropdown-wrapper:hover .nav-dropdown-chevron, .nav-dropdown-wrapper.open .nav-dropdown-chevron,
.lp-nav-dropdown-wrapper:hover .lp-nav-dropdown-chevron, .lp-nav-dropdown-wrapper.open .lp-nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-panel, .lp-nav-dropdown-panel { position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(-8px); width: 280px; background: rgba(13,17,23,0.97); border: 1px solid rgba(255,255,255,0.08); border-top: 2px solid #FFB600; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 200; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; pointer-events: none; }
.nav-dropdown-panel::before, .lp-nav-dropdown-panel::before { content: ''; position: absolute; top: -0.75rem; left: 0; right: 0; height: 0.75rem; }
.nav-dropdown-wrapper:hover .nav-dropdown-panel, .nav-dropdown-wrapper.open .nav-dropdown-panel,
.lp-nav-dropdown-wrapper:hover .lp-nav-dropdown-panel, .lp-nav-dropdown-wrapper.open .lp-nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown-item, .lp-nav-dropdown-item { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 1.25rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s ease; }
.nav-dropdown-item:last-child, .lp-nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover, .lp-nav-dropdown-item:hover { background: rgba(255,182,0,0.08); }
.nav-dropdown-label, .lp-nav-dropdown-label { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: #ECECEC; transition: color 0.2s ease; }
.nav-dropdown-item:hover .nav-dropdown-label, .lp-nav-dropdown-item:hover .lp-nav-dropdown-label { color: #FFB600; }
.nav-dropdown-sub, .lp-nav-dropdown-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(236,236,236,0.7); }
.nav-dropdown-item.active .nav-dropdown-label, .lp-nav-dropdown-item.active .lp-nav-dropdown-label { color: #FFB600; }

/* Mobile Sectors Accordion */
.mobile-sectors-wrapper, .lp-mobile-sectors-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mobile-sectors-toggle, .lp-mobile-sectors-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: none; cursor: pointer; color: inherit; font-family: inherit; }
.mobile-sectors-chevron, .lp-mobile-sectors-chevron { transition: transform 0.25s ease; }
.mobile-sectors-toggle[aria-expanded="true"] .mobile-sectors-chevron,
.lp-mobile-sectors-toggle[aria-expanded="true"] .lp-mobile-sectors-chevron { transform: rotate(180deg); }
.mobile-sectors-panel, .lp-mobile-sectors-panel { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-top: 0.75rem; }
.mobile-sectors-panel[hidden], .lp-mobile-sectors-panel[hidden] { display: none; }
.mobile-sector-link, .lp-mobile-sector-link { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(236,236,236,0.6); text-decoration: none; padding: 0.35rem 1rem; transition: color 0.2s ease; }
.mobile-sector-link:hover, .lp-mobile-sector-link:hover { color: #FFB600; }

/* Nav responsive — homepage at 1280px (more nav items) */
@media (min-width: 768px) { nav { padding: 1.5rem 3rem; } nav img { height: 40px; } }
@media (min-width: 1280px) {
    .nav-right-mobile { display: none; }
    .nav-center { display: flex; }
    .nav-right-desktop { display: flex; }
}

/* Nav responsive — LP pages at 1024px */
@media (min-width: 768px) { .lp-nav { padding: 1.5rem 3rem; } .lp-nav img { height: 40px; } }
@media (min-width: 1024px) {
    .lp-nav-right-mobile { display: none; }
    .lp-nav-center { display: flex; }
    .lp-nav-right-desktop { display: flex; }
}

/* Hamburger */
.hamburger, .lp-hamburger { background: none; border: none; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; color: #ECECEC; display: inline-flex; align-items: center; justify-content: center; }
.hamburger:hover, .lp-hamburger:hover { color: #FFB600; }


/* ============ MOBILE NAV ============ */
#mobile-nav, #lp-mobile-nav { position: fixed; inset: 0; width: 100%; height: 100%; background-color: #0d1117; z-index: 1500; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
#mobile-nav.open, #lp-mobile-nav.open { display: flex; }
.mobile-nav-link, .lp-mobile-nav-link { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; color: #ECECEC; text-decoration: none; padding: 0.5rem 1rem; transition: color 0.2s ease; }
.mobile-nav-link:hover, .lp-mobile-nav-link:hover { color: #FFB600; }
.mobile-nav-close, .lp-mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #ECECEC; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav-close:hover, .lp-mobile-nav-close:hover { color: #FFB600; }


/* ============ LP SPLIT HERO ============ */
.lp-hero { min-height: 100vh; display: flex; align-items: stretch; padding: 0; position: relative; background: #0d1117; overflow: hidden; }
.lp-hero-split { display: grid; grid-template-columns: 1fr; max-width: none; margin: 0; width: 100%; }
.lp-hero-left { display: flex; flex-direction: column; justify-content: center; padding: 8rem 1.5rem 4rem; background: radial-gradient(ellipse at 60% 50%, rgba(255,182,0,0.08) 0%, #0d1117 70%); }
.lp-hero-left-inner { max-width: 600px; margin: 0 auto; }
.lp-hero-right { display: none; position: relative; overflow: hidden; }
.lp-hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-label { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; color: #FFB600; margin-bottom: 1.5rem; line-height: 1.5; }
.lp-hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; margin: 0 0 1.5rem; }
.lp-hero-sub { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(236,236,236,0.7); line-height: 1.6; max-width: 600px; margin-bottom: 2rem; }
.lp-hero-cta { display: inline-block; background: #FFB600; color: #0d1117; padding: 1.25rem 2.5rem; font-weight: 900; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; font-family: inherit; }
.lp-hero-cta:hover { background: #fff; }
.lp-hero-cta-outline { display: inline-block; border: 2px solid rgba(255,182,0,0.5); color: #FFB600; padding: 1.15rem 2.5rem; font-weight: 900; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; text-decoration: none; transition: all 0.3s ease; background: transparent; }
.lp-hero-cta-outline:hover { border-color: #FFB600; color: #fff; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.lp-hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.85rem; color: rgba(236,236,236,0.7); }
.lp-hero-proof span::before { content: '\2713'; color: #FFB600; margin-right: 0.4rem; font-weight: 700; }
@media (min-width: 768px) {
    .lp-hero-split { grid-template-columns: 1fr 1fr; }
    .lp-hero-left { padding: 10rem 3rem 5rem; }
    .lp-hero-left-inner { margin: 0 0 0 auto; }
    .lp-hero-right { display: block; }
}
@media (min-width: 1280px) { .lp-hero-left { padding: 10rem 4rem 5rem; } }
@media (max-width: 767px) { .lp-hero h1 { font-size: clamp(2rem, 9vw, 3rem); } }


/* ============ CTA PULSE ============ */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,182,0,0.7), 0 20px 50px rgba(255,182,0,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(255,182,0,0), 0 20px 60px rgba(255,182,0,0.3); }
}
@keyframes lpCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,182,0,0.7), 0 20px 50px rgba(255,182,0,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(255,182,0,0), 0 20px 60px rgba(255,182,0,0.3); }
}
.cta-pulse { animation: ctaPulse 2s ease-in-out infinite; }
.lp-cta-pulse { animation: lpCtaPulse 2s ease-in-out infinite; }


/* ============ SECTION CONTAINERS ============ */
.sw-section, .lp-section { padding: 5rem 1.5rem; }
.sw-container, .lp-container { max-width: 1280px; margin: 0 auto; }
.sw-section-label, .lp-section-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: #FFB600; margin-bottom: 0.75rem; }
.sw-section-heading, .lp-section-heading { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; margin: 0 0 1rem; }
.sw-section-sub, .lp-section-sub { font-size: 1rem; color: rgba(236,236,236,0.7); line-height: 1.6; max-width: 640px; margin-bottom: 3rem; }
@media (min-width: 768px) { .sw-section, .lp-section { padding: 6rem 3rem; } }


/* ============ FOOTER ============ */
footer, .lp-footer { padding: 3rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); background: #000; text-align: center; }
footer img, .lp-footer img { height: 2rem; width: auto; margin: 0 auto 1rem; display: block; }
.footer-grid, .lp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin: 0 auto 2rem; text-align: center; }
.footer-col .footer-heading, .lp-footer-col .footer-heading { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: #FFB600; margin: 0 0 0.75rem; }
.footer-col a, .lp-footer-col a { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(236,236,236,0.7); text-decoration: none; padding: 0.25rem 0; transition: color 0.3s ease; }
.footer-col a:hover, .lp-footer-col a:hover { color: #FFB600; }
.footer-portal-btn, .lp-footer-portal-btn { display: inline-block !important; border: 1px solid rgba(255,182,0,0.4); background: transparent; color: #FFB600 !important; padding: 1.5625rem 2.8125rem; font-weight: 900; text-transform: uppercase; font-size: 0.8rem !important; letter-spacing: 0.1em; text-decoration: none; margin-top: 0.75rem; transition: all 0.3s ease; }
.footer-portal-btn:hover, .lp-footer-portal-btn:hover { background: rgba(255,182,0,0.1); border-color: #FFB600; color: #FFB600 !important; }
.footer-legal, .lp-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-legal button, .lp-footer-legal button { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(236,236,236,0.7); background: none; border: none; cursor: pointer; font-family: inherit; padding: 12px 16px; min-height: 44px; transition: color 0.3s ease; }
.footer-legal button:hover, .lp-footer-legal button:hover { color: #FFB600; }
.footer-separator, .lp-footer-separator { color: rgba(255,255,255,0.2); font-size: 12px; }
.footer-social, .lp-footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-social a, .lp-footer-social a { color: rgba(236,236,236,0.5); transition: color 0.3s ease; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover, .lp-footer-social a:hover { color: #FFB600; }
.footer-social svg, .lp-footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-copy, .lp-footer-copy { font-size: 12px; color: rgba(236,236,236,0.7); text-transform: uppercase; letter-spacing: 0.15em; }
.footer-vat, .lp-footer-vat { font-size: 12px; color: rgba(236,236,236,0.7); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.25rem; }
@media (min-width: 768px) { .footer-grid, .lp-footer-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }


/* ============ LEGAL MODALS ============ */
.legal-modal, .lp-legal-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(13,17,23,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto; }
.legal-modal.active, .lp-legal-modal.active { display: flex; justify-content: center; padding: 2rem; }
.legal-modal-content, .lp-legal-modal-content { max-width: 800px; width: 100%; padding: 3rem; background: #161b22; border: 1px solid rgba(255,255,255,0.08); position: relative; margin: auto; }
.legal-modal-close, .lp-legal-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: rgba(236,236,236,0.5); cursor: pointer; font-size: 2rem; line-height: 1; padding: 0.5rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; transition: color 0.3s ease; }
.legal-modal-close:hover, .lp-legal-modal-close:hover { color: #FFB600; }
.legal-heading, .lp-legal-heading { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; color: #FFB600; margin-bottom: 1.5rem; }
.legal-body, .lp-legal-body { color: rgba(236,236,236,0.7); font-size: 1rem; line-height: 1.7; }
.legal-body h3, .lp-legal-body h3 { color: #ECECEC; font-weight: 700; font-size: 0.95rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-body strong, .lp-legal-body strong { color: #ECECEC; }
.legal-body a, .lp-legal-body a { color: #FFB600; }
.legal-body ul, .lp-legal-body ul { padding-left: 1.5rem; margin: 0.5rem 0; }
.legal-body li, .lp-legal-body li { margin-bottom: 0.5rem; }
.legal-body p, .lp-legal-body p { margin-bottom: 0.75rem; }


/* ============ COOKIE CONSENT ============ */
#cookie-banner, #lp-cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000; padding: 1.5rem; background: linear-gradient(to top, #0d1117 0%, #0d1117 90%, transparent 100%); border-top: 1px solid rgba(255,182,0,0.2); transform: translateY(100%); opacity: 0; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
#cookie-banner.show, #lp-cookie-banner.show { transform: translateY(0); opacity: 1; }
#cookie-icon, #lp-cookie-icon { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 2999; width: 3.5rem; height: 3.5rem; background: #FFB600; border-radius: 0.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 40px rgba(255,182,0,0.3); transition: all 0.3s ease; opacity: 0; visibility: hidden; }
#cookie-icon.show, #lp-cookie-icon.show { opacity: 1; visibility: visible; }
#cookie-icon:hover, #lp-cookie-icon:hover { transform: scale(1.1); background: #fff; }
.cookie-content, .lp-cookie-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-text, .lp-cookie-text { flex: 1; min-width: 300px; }
.cookie-buttons, .lp-cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }


/* ============ BACK TO TOP ============ */
#back-to-top, #lp-back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 100; width: 3rem; height: 3rem; min-width: 44px; min-height: 44px; background: #FFB600; color: #0d1117; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
#back-to-top.visible, #lp-back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover, #lp-back-to-top:hover { background: #fff; }


/* ============ FADE-IN ANIMATIONS ============ */
.sw-section, .lp-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.sw-section.visible, .lp-section.visible { opacity: 1; transform: translateY(0); }
