/* ============================================================
   SPACE FIBER — Global Stylesheet
   Theme: Swiss & High-Contrast (Light)
   ============================================================ */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8FF;
  --bg-tertiary: #FBF7F2;
  --bg-dark: #2A1A0E;
  --brand-primary: #8B5A2B;
  --brand-primary-dark: #6E4520;
  --brand-secondary: #F58220;
  --brand-secondary-dark: #D96D0F;
  --mpesa-green: #25D366;
  --mpesa-green-dark: #1FB856;
  --text-main: #1A0F08;
  --text-muted: #6B5647;
  --text-on-dark: #F8F8FF;
  --border-color: #EFE7DD;
  --hover-overlay: rgba(139, 90, 43, 0.06);
  --shadow-card: 0 4px 24px rgba(139, 90, 43, 0.06);
  --shadow-hover: 0 12px 32px rgba(245, 130, 32, 0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-primary);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-primary-dark); }
button { cursor: pointer; font-family: inherit; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-main); }
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}
p { color: var(--text-muted); }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---------- Wordmark / Logo ---------- */
.wordmark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  color: var(--brand-primary);
  gap: 0.6rem;
}
.wordmark img.brand-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--bg-primary);
}
.wordmark .dot {
  width: 9px;
  height: 9px;
  background: var(--brand-secondary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.wordmark .brand-name {
  display: inline-flex;
  align-items: baseline;
}
.wordmark .brand-name .space { color: var(--brand-primary); }
.wordmark .brand-name .fiber { color: var(--brand-secondary); }
.wordmark.large img.brand-logo { height: 64px; width: 64px; }
.wordmark.large { font-size: 1.75rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand-primary); }

.hotline-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: white;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
}
.hotline-cta:hover { background: var(--brand-primary-dark); color: white; transform: translateY(-1px); }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s, color 0.18s;
  text-align: center;
}
.btn-primary { background: var(--brand-primary); color: white; }
.btn-primary:hover { background: var(--brand-primary-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; border: 2px solid var(--brand-primary); color: var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: white; transform: translateY(-2px); }
.btn-mpesa { background: var(--mpesa-green); color: white; width: 100%; }
.btn-mpesa:hover { background: var(--mpesa-green-dark); color: white; transform: translateY(-2px); }
.btn-dark { background: var(--bg-dark); color: white; }
.btn-dark:hover { background: #1a1a1a; color: white; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-secondary); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: #B5BAC4; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(245, 130, 32, 0.08), transparent 60%),
    radial-gradient(600px 300px at -5% 110%, rgba(139, 90, 43, 0.06), transparent 60%),
    var(--bg-primary);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--brand-secondary); }
.hero .lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 2rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-main);
}
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-muted); }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(139, 90, 43, 0.22);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.5) 100%);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Floating speed badge over hero image */
.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero-badge .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mpesa-green);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: white;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--brand-primary); box-shadow: var(--shadow-hover); }
.feature .icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(245, 130, 32, 0.12);
  color: var(--brand-secondary);
  margin-bottom: 1.25rem;
}
.feature h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature p { font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.plan {
  position: relative;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--brand-primary); box-shadow: var(--shadow-hover); }
.plan.popular { border: 1px solid var(--border-color); border-top: 4px solid var(--brand-secondary); }
.plan .badge {
  position: absolute;
  top: -14px;
  right: 1.25rem;
  background: var(--brand-secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.plan .speed {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.75rem;
  letter-spacing: -0.04em;
  color: var(--brand-secondary);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}
.plan .speed-unit { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.plan .price {
  margin: 1.5rem 0 0.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
}
.plan .price small { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }
.plan ul { list-style: none; margin: 1.25rem 0 1.75rem; }
.plan ul li {
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
}
.plan ul li i { color: var(--mpesa-green); flex-shrink: 0; margin-top: 3px; }
.plan .cta-wrap { margin-top: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0,51,204,0.08);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Contact info cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.info-card:hover { border-color: var(--brand-primary); transform: translateX(4px); }
.info-card .icon-wrap {
  width: 44px; height: 44px;
  background: rgba(245, 130, 32, 0.12);
  color: var(--brand-secondary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-card h4 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.25rem; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-primary);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ---------- About story / blockquote ---------- */
.about-quote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.3;
  color: var(--text-main);
  padding-left: 1.5rem;
  border-left: 4px solid var(--brand-primary);
  margin: 2rem 0;
}
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-text p { font-size: 1.05rem; }

/* ---------- Checkout ---------- */
.checkout-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0,51,204,0.05), transparent 60%),
    var(--bg-secondary);
}
.checkout-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.checkout-card .plan-summary {
  background: var(--bg-secondary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-card .plan-summary strong { font-family: var(--font-heading); color: var(--brand-secondary); }
.mpesa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,211,102,0.1);
  color: var(--mpesa-green-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.checkout-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}
.checkout-status.show { display: block; }
.checkout-status.info { background: rgba(139, 90, 43, 0.08); color: var(--brand-primary); }
.checkout-status.success { background: rgba(37,211,102,0.12); color: var(--mpesa-green-dark); }
.checkout-status.error { background: rgba(220,38,38,0.08); color: #B91C1C; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--brand-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.cta-strip h2 { color: white; margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; }
.cta-strip .btn-primary { background: white; color: var(--brand-primary); }
.cta-strip .btn-primary:hover { background: var(--bg-secondary); color: var(--brand-primary-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 1.25rem;
}
.site-footer .wordmark { margin-bottom: 1rem; }
.site-footer .wordmark .brand-name .space { color: #EFE7DD; }
.site-footer .wordmark .brand-name .fiber { color: var(--brand-secondary); }
.site-footer p, .site-footer a { color: #9CA3AF; font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6B7280;
}
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1F2937;
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--brand-primary); color: white; }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mpesa-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  z-index: 100;
  transition: transform 0.2s;
  animation: pulse 2.5s infinite;
}
.float-whatsapp:hover { transform: scale(1.08); color: white; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}
.page-hero h1 { max-width: 900px; }
.page-hero p { font-size: 1.15rem; max-width: 720px; margin-top: 1rem; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 60;
  padding: 5rem 2rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu .close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

/* ---------- Animations ---------- */
.fade-in { animation: fadeUp 0.7s ease both; }
.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */

/* Tablet & smaller laptops */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }
  .hero-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
}

/* Small tablet — collapse two-column sections */
@media (max-width: 900px) {
  /* Hamburger takes over nav on tablets to avoid crowding */
  .nav-links, .hotline-cta { display: none; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual img { aspect-ratio: 16/11; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-text { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-grid-2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* Large phones / small tablets in portrait */
@media (max-width: 720px) {
  .container { padding: 0 1rem; }
  section { padding: 3.5rem 0; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; row-gap: 1.5rem; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .hero .lead { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-card { padding: 1.75rem 1.25rem; }
  .form-card { padding: 1.5rem 1.25rem; }
  .info-card { padding: 1.25rem 1rem; }
  .cta-strip { padding: 3rem 0; }
  .plan { padding: 1.75rem 1.5rem; }
  .plan .speed { font-size: 2.5rem; }
  .about-quote { font-size: 1.35rem; padding-left: 1rem; }
  .hero-badge { bottom: 1rem; left: 1rem; right: 1rem; padding: 0.85rem 1rem; }
  h1 { font-size: clamp(2.25rem, 8vw, 3rem); overflow-wrap: break-word; hyphens: auto; }
  h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  .page-hero { padding: 3rem 0 2rem; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 0.875rem; }
  section { padding: 3rem 0; }
  .nav { padding: 0.75rem 0; gap: 0.5rem; }
  .wordmark { font-size: 1.05rem; gap: 0.4rem; }
  .wordmark img.brand-logo { height: 34px; width: 34px; }
  .wordmark .dot { width: 7px; height: 7px; }
  .hamburger { width: 36px; height: 36px; }
  .hero { padding: 2rem 0 3rem; }
  .hero-stats { grid-template-columns: 1fr; row-gap: 1rem; }
  .hero-stats .stat:last-child { grid-column: auto; }
  .hero-stats .stat strong { font-size: 1.5rem; }
  .hero-visual img { aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .plan { padding: 1.5rem 1.25rem; }
  .plan .speed { font-size: 2.25rem; }
  .plan .price { font-size: 1.5rem; }
  .checkout-card { padding: 1.5rem 1rem; }
  .form-card { padding: 1.25rem 1rem; }
  .form-row input, .form-row textarea, .form-row select { padding: 0.75rem 0.85rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .float-whatsapp { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
  .float-whatsapp svg { width: 22px; height: 22px; }
  .about-quote { font-size: 1.2rem; }
  .feature { padding: 1.5rem 1.25rem; }
  .info-card { flex-direction: column; }
  .info-card .icon-wrap { margin-bottom: 0.25rem; }
  .mobile-menu { padding: 4rem 1.25rem 2rem; gap: 1rem; }
  .mobile-menu a { font-size: 1.25rem; }
  .mobile-menu .close { top: 1rem; right: 1rem; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.15; }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); line-height: 1.2; }
  h3 { font-size: 1.15rem; }
  .eyebrow { font-size: 0.7rem; }
  .page-hero { padding: 2.5rem 0 1.75rem; }
}

/* Extra-small phones (≤360px) */
@media (max-width: 360px) {
  .container { padding: 0 0.75rem; }
  .wordmark { font-size: 0.95rem; }
  .wordmark img.brand-logo { height: 30px; width: 30px; }
  .plan .speed { font-size: 2rem; }
  .plan .price { font-size: 1.35rem; }
  .hotline-cta { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
}

/* Landscape phones — keep hero visual smaller */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 2rem 0; }
  .hero-visual img { aspect-ratio: 16/9; }
}
