/* Exploring Media Labs — shared design for inner pages.
   Loaded after style.css. Gives every page the homepage's header, footer,
   buttons and colours. The header/footer rules mirror css/home.css. */

:root,
[data-theme="dark"] {
  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #5b6577;
  --line: #e3e7ee;
  --paper-2: #f6f7fb;
  --orange: #f97316;
  --orange-2: #ff8a3d;
  --orange-soft: #fff1e6;
  --wa: #25d366;

  /* Retune style.css tokens to the homepage palette (light only) */
  --secondary: #f97316;
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --primary: #1e293b;
  --text-main: #1e293b;
  --text-muted: #5b6577;
  --border-subtle: #e3e7ee;
  --card-shadow: 0 20px 50px rgba(11, 18, 32, 0.06);
  --grad-primary: radial-gradient(900px 500px at 85% 0%, #fff1e6, transparent 60%), #ffffff;
  --grad-accent: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  color-scheme: light;
}

body { background: #fff; color: var(--ink-2); }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.03em; }
.container { max-width: 1180px; padding: 0 20px; }
.theme-toggle { display: none !important; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 0.98rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-orange, .btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3); border-radius: 12px; padding: 15px 26px; }
.btn-orange:hover, .btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.28); }
.btn-ghost, .btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 26px; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-glass { background: #fff; color: var(--ink); border-radius: 12px; padding: 15px 26px; font-weight: 700; }

/* ===== Top strip + header ===== */
.strip { background: var(--ink); color: #e2e8f0; font-size: 0.85rem; text-align: center; padding: 9px 16px; }
.strip a { color: var(--orange-2); font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.nav.scrolled { box-shadow: 0 8px 30px rgba(11, 18, 32, .08); }
.nav .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--orange); display: grid; place-items: center; color: #fff; }
.logo .logo-text b { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink); line-height: 1; }
.logo .logo-text small { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--orange); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 0.95rem; }
.nav-menu a:not(.btn):hover, .nav-menu a.active { color: var(--orange); }
.nav-menu .btn { padding: 11px 18px; font-size: 0.9rem; }
.burger { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* Inner pages start below a sticky header, not under a fixed one */
.hero, .page-hero, .article { padding-top: 64px; }

/* ===== Page heroes ===== */
.hero { min-height: auto; padding: 72px max(20px, calc(50vw - 590px)) 72px; background: radial-gradient(900px 500px at 85% 10%, var(--orange-soft), transparent 60%), #fff; }
.hero-bg, .hero-particles { display: none; }
.hero-content { padding-left: 0; }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.1; }
.hero-subtitle { font-size: 1.1rem; color: var(--muted); }
.hero-badge { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.hero-badge i { color: var(--orange); }
.page-hero { padding-bottom: 64px; background: radial-gradient(900px 500px at 85% 0%, var(--orange-soft), transparent 60%), #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }

/* ===== Sections and cards ===== */
.section-tag { color: var(--orange); font-size: 0.78rem; letter-spacing: 0.12em; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.service-card, .plan-card, .testimonial-card, .town-card, .info-card, .why-feature, .guide-card, .article-faq, .faq-item, .contact-form, .process-step .step-icon {
  border: 1px solid var(--line);
  box-shadow: none;
}
.service-card, .plan-card, .testimonial-card, .info-card, .guide-card { border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover, .plan-card:hover, .testimonial-card:hover, .info-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); }
.plan-card.featured { border: 2px solid var(--orange); }

/* Orange call-to-action band, matching the homepage */
.cta-section { padding: 96px 0; }
.cta-bg { display: none; }
.cta-content { background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%); border-radius: 28px; padding: 56px 32px; color: #fff; }
.cta-content h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.cta-content p { color: #ffedd5; }
.cta-content .gradient-text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.cta-content .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }

/* ===== Footer ===== */
.foot { background: var(--ink); color: #94a3b8; padding: 60px 0 100px; font-size: 0.92rem; }
.foot .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot a { display: block; padding: 4px 0; }
.foot a.logo { display: flex; }
.foot a:hover { color: #fff; }
.foot .logo { margin-bottom: 14px; }
.foot .logo .logo-text b { color: #fff; }
.foot .bottom { grid-column: 1 / -1; border-top: 1px solid #1f2b44; padding-top: 20px; margin-top: 10px; font-size: 0.85rem; }

/* ===== WhatsApp float + mobile call bar ===== */
@keyframes eml-pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes eml-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1001; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); animation: eml-pop .5s 1.5s both, eml-pulse 2.2s 2s infinite; }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -10px 30px rgba(11, 18, 32, 0.08); }
.mbar .btn { flex: 1; padding: 13px 10px; font-size: 0.92rem; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav-menu.open { display: flex; }
  .burger { display: block; }
  .hero { flex-direction: column; padding: 56px 20px 64px; }
}
@media (max-width: 600px) {
  .foot .wrap { grid-template-columns: 1fr; }
  .mbar { display: flex; }
  .wa-float { display: none; }
  .strip { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* Headline highlights keep full size on phones; long strip text is trimmed on small screens */
.page-hero h1 .gradient-text, .hero-title .gradient-text, .section-header h2 .gradient-text { font-size: inherit; }
@media (max-width: 600px) { .strip-more { display: none; } }

/* LeadLexa chatbot: keep it clear of the WhatsApp button (desktop) and the Call / Free audit bar (phones) */
html body #leadlexa-widget-trigger { right: auto !important; left: 22px !important; bottom: 22px !important; }
html body #leadlexa-widget-window { right: auto !important; left: 22px !important; bottom: 96px !important; }
@media (max-width: 600px) {
  html body #leadlexa-widget-trigger { left: auto !important; right: 16px !important; bottom: 86px !important; }
  html body #leadlexa-widget-window { left: auto !important; right: 12px !important; bottom: 150px !important; max-height: calc(100vh - 220px) !important; }
}
