/* =============================================
   RENTR — Website Stylesheet
   Design: Deep navy · Amber accent · Teal secondary
   Fonts: Urbanist (headings) + DM Sans (body)
   MDStudio / mdstudio.co.zm
   ============================================= */

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Evita que aparezca una barra de scroll horizontal en todo el sitio */
  overflow-x: clip;
}
body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  /* Oculta la barra de scroll horizontal redundante en el body */
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg-base:        #050B14;
  --bg-surface:     #0A1320;
  --bg-card:        #0E1A2B;
  --bg-card-hover:  #13243A;
  --primary:         #29B8B0;
  --primary-light:   #40CECC;
  --primary-dark:    #21938D;
  --primary-glow:    rgba(41, 184, 176, 0.15);
  --primary-glow-sm: rgba(41, 184, 176, 0.08);
  --secondary:           #E07A3A;
  --secondary-light:     #EC9060;
  --secondary-glow:      rgba(224, 122, 58, 0.13);
  --text-primary:   #EDE6DD;
  --text-secondary: #8EA8BE;
  --text-muted:     #536878;
  --border:         rgba(255,255,255,0.07);
  --border-light:   rgba(255,255,255,0.12);
  --border-primary:  rgba(41,184,176,0.28);
  --border-secondary:    rgba(224,122,58,0.28);
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.3);
  --shadow:         0 6px 28px rgba(0,0,0,0.4);
  --shadow-lg:      0 16px 64px rgba(0,0,0,0.55);
  --shadow-primary:  0 8px 32px rgba(41,184,176,0.22);
  --font-display:   'Urbanist', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  30px;
  --radius-full: 999px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text-primary);
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.78; }
strong { color: var(--text-primary); font-weight: 600; }
.text-primary { color: var(--primary); }
.text-secondary   { color: var(--secondary); }
.text-muted  { color: var(--text-muted); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}
.section     { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow);
  border: 1px solid var(--border-primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section__eyebrow--secondary {
  color: var(--secondary);
  background: var(--secondary-glow);
  border-color: var(--border-secondary);
}
.section__title    { margin-bottom: 16px; }
.section__subtitle { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.72; }

/* Grids */
.grid      { display: grid; gap: 24px; }
.grid--2   { grid-template-columns: repeat(2, 1fr); }
.grid--3   { grid-template-columns: repeat(3, 1fr); }
.grid--4   { grid-template-columns: repeat(4, 1fr); }

/* =============================================
   BACKGROUNDS
   ============================================= */
.bg-surface { background-color: var(--bg-surface); }
.bg-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}
.bg-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(224,122,58,0.32);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}
.btn--secondary {
  background: var(--secondary);
  color: #0B1929;
  font-weight: 700;
}
.btn--secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(41,184,176,0.25);
}
.btn--ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-primary);
  background: var(--bg-card-hover);
}
.btn--sm  { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg  { padding: 18px 38px; font-size: 1rem; }

/* App Store buttons */
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-display);
  transition: var(--transition);
  min-width: 168px;
}
.app-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.app-btn__icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.app-btn__text { display: flex; flex-direction: column; }
.app-btn__sub  { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.app-btn__name { font-size: 0.9rem; font-weight: 700; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary), inset 0 0 12px var(--primary-glow-sm);
}
.card--secondary:hover { 
  border-color: var(--secondary); 
  box-shadow: 0 8px 32px var(--secondary-glow), inset 0 0 12px rgba(224, 122, 58, 0.08); 
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  border: 1px solid var(--border-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
}
.card__icon--secondary {
  background: var(--secondary-glow);
  border-color: var(--border-secondary);
}
.card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.card__text  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.72; }

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.img-placeholder {
  background: var(--bg-card);
  border: 1.5px dashed var(--border-primary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-body);
  min-height: 220px;
  width: 100%;
  text-align: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(224,122,58,0.08) 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(41,184,176,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.img-placeholder__icon { font-size: 40px; opacity: 0.35; position: relative; z-index: 1; }
.img-placeholder__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  position: relative; z-index: 1;
}
.img-placeholder__name {
  font-size: 10px;
  color: var(--primary);
  opacity: 0.65;
  position: relative; z-index: 1;
  font-family: 'Courier New', monospace;
  background: var(--primary-glow);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-primary);
}
.img-placeholder--phone { min-height: 480px; max-width: 240px; border-radius: 36px; }
.img-placeholder--hero  { min-height: 460px; }
.img-placeholder--screen { min-height: 360px; max-width: 200px; border-radius: 24px; margin: 0 auto; }
.img-placeholder--thumb { min-height: 200px; border-radius: var(--radius-md); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  padding: 0;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(11, 25, 41, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.45);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.navbar__logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.navbar__logo:hover img { opacity: 0.85; }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar__link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
  background: var(--border);
}
.navbar__link.active { color: var(--primary); }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar__toggle:hover { background: var(--border); }
.navbar__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg-base);
  z-index: 999;
  padding: 28px 20px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
  gap: 6px;
  overflow-y: auto;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
  width: 100%;
  max-width: 320px;
}
.navbar__mobile-link:hover { color: var(--text-primary); border-color: var(--border-primary); background: var(--primary-glow); }
.navbar__mobile-link.active { color: var(--primary); border-color: var(--border-primary); background: var(--primary-glow-sm); }
.navbar__mobile-divider { width: 100%; max-width: 320px; height: 1px; background: var(--border); margin: 16px 0; }
.navbar__mobile-cta { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__bg::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(224,122,58,0.11) 0%, transparent 68%);
  border-radius: 50%;
}
.hero__bg::after {
  content: '';
  position: absolute; bottom: -120px; left: -60px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(41,184,176,0.08) 0%, transparent 65%);
  border-radius: 50%;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 9px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 26px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 22px;
}
.hero__title mark {
  background: none;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}
.hero__subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 460px;
}
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__stats   { display: flex; gap: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--text-primary);
}
.hero__stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.hero__phone-stack { display: flex; gap: 16px; align-items: flex-start; max-width: 100%; }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  padding: 28px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip__item {
  text-align: center;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--primary);
}
.stats-strip__label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* =============================================
   FEATURES SPLIT
   ============================================= */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.features-split--reverse { direction: rtl; }
.features-split--reverse > * { direction: ltr; }
.features-list { display: flex; flex-direction: column; gap: 8px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md);
  border: 1px solid transparent; transition: var(--transition); cursor: default;
}
.feature-item:hover { background: var(--bg-card); border-color: var(--border); }
.feature-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--primary-glow); border: 1px solid var(--border-primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.feature-item__icon--secondary { background: var(--secondary-glow); border-color: var(--border-secondary); }
.feature-item__title { font-family: var(--font-display); font-size: 0.96rem; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.feature-item__text  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.68; }

/* =============================================
   STEPS / HOW IT WORKS
   ============================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(to right, var(--border-primary), var(--border-secondary), var(--border-primary));
  z-index: 0;
}
.step {
  text-align: center; padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.step:hover { border-color: var(--border-primary); transform: translateY(-5px); box-shadow: var(--shadow); }
.step__number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 6px 24px rgba(224,122,58,0.3);
}
.step__icon  { font-size: 28px; margin-bottom: 14px; }
.step__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.step__text  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.testimonial:hover { border-color: var(--border-primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial__stars { font-size: 14px; color: var(--primary); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial__text  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.78; margin-bottom: 22px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-glow); border: 2px solid var(--border-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
  color: var(--primary); font-size: 0.82rem;
}
.testimonial__name { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.testimonial__role { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 460px;
  background: radial-gradient(circle, rgba(224,122,58,0.1) 0%, transparent 65%);
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-title    { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
.cta-subtitle { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 42px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-buttons  { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer__brand { }
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
  line-height: 1;
}
.footer__brand-logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.footer__brand-logo:hover img { opacity: 0.8; }
.footer__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.72; max-width: 250px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 8px; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--text-secondary);
  transition: var(--transition); text-decoration: none;
}
.footer__social-link:hover { border-color: var(--border-primary); background: var(--primary-glow); color: var(--primary); }
.footer__col-title {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link  { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); text-decoration: none; }
.footer__link:hover { color: var(--primary); }
.footer__bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal-link { font-size: 0.8rem; color: var(--text-muted); transition: var(--transition); text-decoration: none; }
.footer__legal-link:hover { color: var(--text-secondary); }

/* =============================================
   PAGE HERO (interior pages)
   ============================================= */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-image: url('../images/banner-image.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
/* Dark overlay — deep navy tinted so the text is legible */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 11, 20, 0.88) 0%,
    rgba(5, 11, 20, 0.70) 50%,
    rgba(5, 11, 20, 0.82) 100%
  );
  z-index: 0;
}
/* Teal glow spot at top to blend with site palette */
.page-hero::after {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 320px;
  background: radial-gradient(ellipse, rgba(41,184,176,0.12) 0%, transparent 68%);
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
/* Breadcrumb-style eyebrow */
.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.page-hero__subtitle {
  font-size: 1.08rem;
  color: rgba(237, 230, 221, 0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.78;
}
/* Thin teal divider line below title */
.page-hero__title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px auto 0;
}
.page-hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.faq-categories { position: sticky; top: 96px; }
.faq-cat-btn {
  display: block; width: 100%;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary); padding: 10px 14px;
  border-radius: var(--radius-sm); border: none; background: none;
  cursor: pointer; text-align: left; transition: var(--transition); margin-bottom: 4px;
}
.faq-cat-btn:hover  { color: var(--text-primary); background: var(--border); }
.faq-cat-btn.active { color: var(--primary); background: var(--primary-glow); }
.faq-group { margin-bottom: 56px; }
.faq-group__title {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 8px; overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-primary); background: var(--bg-card); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  font-family: var(--font-display); font-size: 0.93rem; font-weight: 600;
  color: var(--text-primary); background: none; border: none; cursor: pointer;
  text-align: left; gap: 16px; transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-chevron {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--primary-glow); border-color: var(--border-primary); color: var(--primary); }
.faq-answer {
  display: none; padding: 0 22px 18px;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.78;
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 14px; transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--border-primary); background: var(--bg-card-hover); }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-md); background: var(--primary-glow);
  border: 1px solid var(--border-primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info-label {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px;
}
.contact-info-value { font-size: 0.92rem; color: var(--text-primary); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group    { display: flex; flex-direction: column; gap: 8px; }
.form-label    { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px;
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--transition); width: 100%; outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-select { cursor: pointer; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-meta {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 22px;
  margin-bottom: 48px; font-size: 0.85rem; color: var(--text-muted);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.legal-meta span { display: flex; align-items: center; gap: 6px; }
.legal-content h2 {
  font-size: 1.25rem; font-weight: 700; margin: 44px 0 14px;
  color: var(--text-primary); padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 0.98rem; font-weight: 600; margin: 28px 0 10px; color: var(--primary); }
.legal-content p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.82; margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-content li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.78; margin-bottom: 7px; }
.legal-content a  { color: var(--primary); text-decoration: underline; }

/* =============================================
   RESOURCES
   ============================================= */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.resource-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.resource-card:hover { border-color: var(--border-primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-card__thumb { height: 190px; background: var(--bg-surface); position: relative; display: flex; align-items: center; justify-content: center; font-size: 40px; opacity: 0.4; }
.resource-card__body { padding: 24px; }
.resource-card__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); background: var(--primary-glow);
  border: 1px solid var(--border-primary);
  padding: 3px 10px; border-radius: var(--radius-full); margin-bottom: 12px;
}
.resource-card__tag--secondary { color: var(--secondary); background: var(--secondary-glow); border-color: var(--border-secondary); }
.resource-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.resource-card__excerpt { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.68; margin-bottom: 16px; }
.resource-card__meta { font-size: 0.76rem; color: var(--text-muted); }
.resource-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; margin-bottom: 48px; transition: var(--transition);
}
.resource-featured:hover { border-color: var(--border-primary); box-shadow: var(--shadow); }
.resource-featured__thumb { min-height: 300px; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: 0.3; }
.resource-featured__body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.resource-featured__tag { margin-bottom: 16px; }
.resource-featured__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; line-height: 1.35; }
.resource-featured__excerpt { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.72; margin-bottom: 28px; }

/* =============================================
   AGENT BENEFITS
   ============================================= */
.agent-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.agent-stat {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: var(--transition);
}
.agent-stat:hover { border-color: var(--border-primary); }
.agent-stat__value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.agent-stat__label { font-size: 0.84rem; color: var(--text-muted); margin-top: 6px; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   BADGE / TAG
   ============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--primary-glow); border: 1px solid var(--border-primary); color: var(--primary);
}
.badge--secondary { background: var(--secondary-glow); border-color: var(--border-secondary); color: var(--secondary); }

/* =============================================
   DIVIDER
   ============================================= */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero__inner        { gap: 48px; }
  .features-split     { gap: 48px; }
  .footer__grid       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .faq-layout         { grid-template-columns: 1fr; }
  .faq-categories     { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
  .resource-featured  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section    { padding: 72px 0; }
  .hero__inner {
    grid-template-columns: 1fr; gap: 48px;
    text-align: center; padding: 72px 0 88px;
  }
  .hero__actions { justify-content: center; }
  .hero__stats   { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .hero__subtitle { max-width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .features-split             { grid-template-columns: 1fr; gap: 40px; }
  .features-split--reverse    { direction: ltr; }
  .steps                      { grid-template-columns: 1fr; }
  .steps::before              { display: none; }
  .stats-strip__grid          { grid-template-columns: 1fr 1fr; }
  .stats-strip__item:nth-child(2) { border-right: none; }
  .stats-strip__item:nth-child(3) { border-top: 1px solid var(--border); }
  .stats-strip__item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .hero__visual               { max-width: 100%; }
  .hero__visual img           { max-width: 80%; margin: 0 auto; }
  .contact-grid               { grid-template-columns: 1fr; gap: 40px; }
  .resources-grid             { grid-template-columns: 1fr; }
  .footer__grid               { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .footer__brand              { grid-column: span 2; text-align: left; margin-bottom: 12px; }
  .footer__social             { justify-content: flex-start; }
  .footer__bottom             { flex-direction: column; text-align: center; }
  .footer__legal              { justify-content: center; flex-wrap: wrap; }
  .navbar__nav, .navbar__cta-btn { display: none; }
  .navbar__toggle             { display: flex; }
  .form-row                   { grid-template-columns: 1fr; }
  .agent-stats                { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container, .container--narrow { padding: 0 16px; }
  .navbar__inner { padding: 0 16px; }
  .page-hero { padding: 140px 0 72px; background-position: center center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .app-btn { width: 100%; max-width: 280px; }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stats-strip__item { border-right: none !important; border-top: none !important; border-bottom: 1px solid var(--border); padding: 20px 0; }
  .stats-strip__item:last-child { border-bottom: none; }
  .hero__visual img { max-width: 72%; }
  .hero__phone-stack { gap: 8px; justify-content: center; }
  .hero__phone-stack img { max-width: 44%; }
  .features-split > div > div[style] { flex-direction: column; }
}
