/* =========================================================
   RANK YOU HIGHER — WEB DESIGN COMPANY LANDING PAGE
   Section styles. Dark slate theme, brand orange accents.
   Depends on the tokens declared in semantic.css.
   ========================================================= */

/* ---------------------------------------------------------
   SHARED SECTION SCAFFOLD
   --------------------------------------------------------- */
.lp-section {
  position: relative;
  padding: 90px 0;
}

.lp-section-sm { padding: 60px 0; }

.section-heading {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--color-text-body);
}

.max-w-820 { max-width: 820px; }
.max-w-700 { max-width: 700px; }

/* Soft ambient glow used behind feature sections */
.glow-orange::before,
.glow-blue::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.glow-orange::before {
  background: rgba(255, 122, 0, 0.11);
  top: -140px;
  right: -160px;
}

.glow-blue::before {
  background: rgba(0, 136, 234, 0.09);
  bottom: -180px;
  left: -180px;
}

/* ---------------------------------------------------------
   1. HERO — EDITORIAL SPLIT
   --------------------------------------------------------- */
.lp-hero {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
}

.lp-hero::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.16) 0%, transparent 68%);
  top: -220px;
  right: -180px;
  pointer-events: none;
  z-index: 0;
}

.lp-hero > .container { position: relative; z-index: 2; }

.hero-headline {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-body);
  max-width: 620px;
}

/* Hero visual frame */
.hero-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 21, 28, 0.6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 122, 0, 0.08);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover img { transform: scale(1.04); }

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 16, 0.15) 0%, transparent 45%, rgba(12, 13, 16, 0.55) 100%);
  pointer-events: none;
}

/* Floating badge on the hero image */
.hero-float-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(12, 15, 22, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.hero-float-badge i { color: var(--color-orange); }

/* Hero trust strip */
.hero-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 42px;
  padding-top: 28px;
}

.hero-stat-num {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ---------------------------------------------------------
   2. INTRO / ABOUT — CENTERED EDITORIAL
   --------------------------------------------------------- */
.intro-panel {
  background: rgba(16, 19, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  padding: 58px 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.intro-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
}

/* ---------------------------------------------------------
   3. ADVANTAGES — GLASS FEATURE CARDS
   --------------------------------------------------------- */
.advantage-card {
  position: relative;
  height: 100%;
  padding: 32px 28px 30px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05) 0%, rgba(14, 17, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.4s ease;
  overflow: hidden;
}

.advantage-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 122, 0, 0.16);
}

.advantage-card:hover::after { transform: scaleX(1); }

.advantage-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.advantage-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.advantage-card:hover .advantage-icon {
  background: rgba(255, 122, 0, 0.2);
  border-color: var(--color-orange);
  box-shadow: 0 0 22px rgba(255, 122, 0, 0.3);
  transform: scale(1.06);
}

.advantage-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  transition: color 0.3s ease;
}

.advantage-card:hover .advantage-title { color: var(--color-orange); }

.advantage-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

.advantage-index {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  transition: color 0.35s ease;
  pointer-events: none;
}

.advantage-card:hover .advantage-index { color: rgba(255, 122, 0, 0.16); }

/* ---------------------------------------------------------
   4. GOALS — BENTO MOSAIC
   --------------------------------------------------------- */
.goal-tile {
  position: relative;
  height: 100%;
  border-radius: 22px;
  padding: 30px 28px;
  background: rgba(17, 20, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.goal-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.58), 0 0 22px rgba(255, 122, 0, 0.12);
}

.goal-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.goal-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

/* Accent variants keep the mosaic from reading flat */
.goal-tile.accent-orange { border-color: rgba(255, 122, 0, 0.28); }
.goal-tile.accent-orange::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.goal-tile.accent-blue { border-color: rgba(0, 136, 234, 0.28); }
.goal-tile.accent-blue:hover {
  border-color: rgba(0, 136, 234, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.58), 0 0 22px rgba(0, 136, 234, 0.16);
}

.goal-tile.accent-green { border-color: rgba(120, 190, 32, 0.28); }
.goal-tile.accent-green:hover {
  border-color: rgba(120, 190, 32, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.58), 0 0 22px rgba(120, 190, 32, 0.16);
}

/* Media tile inside the mosaic */
.goal-media {
  position: relative;
  height: 100%;
  min-height: 190px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.goal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.goal-media:hover img { transform: scale(1.07); }

.goal-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 18, 0.75) 100%);
  pointer-events: none;
}

/* Tall feature tile on the right of the mosaic */
.goal-feature {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(120, 190, 32, 0.14) 0%, rgba(14, 18, 25, 0.95) 55%);
  border: 1px solid rgba(120, 190, 32, 0.3);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.goal-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 190, 32, 0.6);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.62), 0 0 26px rgba(120, 190, 32, 0.18);
}

.goal-feature-media {
  padding: 26px 26px 0;
}

.goal-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.goal-feature-body {
  padding: 26px 30px 32px;
  margin-top: auto;
}

/* Small square icon card in the mosaic */
.goal-icon-card {
  position: relative;
  height: 100%;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(255, 122, 0, 0.18) 0%, rgba(16, 19, 26, 0.95) 70%);
  border: 1px solid rgba(255, 122, 0, 0.32);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.goal-icon-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.65);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 122, 0, 0.2);
}

.goal-icon-card img {
  width: 58%;
  max-width: 110px;
  height: auto;
  margin-left: auto;
  display: block;
}

.goal-icon-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin: 18px 0 0;
}

/* ---------------------------------------------------------
   5. METHODOLOGY — WIDE / NARROW ALTERNATING CARDS
   --------------------------------------------------------- */
.method-card {
  position: relative;
  height: 100%;
  border-radius: 24px;
  padding: 30px 30px 32px;
  background: linear-gradient(172deg, rgba(255, 255, 255, 0.05) 0%, rgba(13, 16, 23, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.42s ease;
  overflow: hidden;
}

.method-card::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 234, 0.14) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.method-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 136, 234, 0.42);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6), 0 0 26px rgba(0, 136, 234, 0.14);
}

.method-card:hover::before { opacity: 1; }

.method-card-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  transition: all 0.35s ease;
}

.method-card-media img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}

.method-card:hover .method-card-media {
  background: rgba(0, 136, 234, 0.12);
  border-color: rgba(0, 136, 234, 0.4);
}

.method-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.method-card:hover .method-title { color: var(--color-blue); }

.method-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

.method-step {
  position: absolute;
  bottom: 22px;
  right: 28px;
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  transition: color 0.35s ease;
}

.method-card:hover .method-step { color: rgba(0, 136, 234, 0.14); }

/* ---------------------------------------------------------
   6. WHY CHOOSE US — STICKY VISUAL + REASON STREAM
   --------------------------------------------------------- */
.whyus-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 122, 0, 0.18) 0%, rgba(14, 17, 24, 0.96) 60%);
  border: 1px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6);
}

.whyus-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.whyus-visual-body { padding: 30px 28px 34px; }

.whyus-visual-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Numbered reason rows (de-boxed editorial stream) */
.reason-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
}

.reason-row:first-child { padding-top: 0; }
.reason-row:last-child { border-bottom: none; }

.reason-row:hover {
  border-bottom-color: rgba(255, 122, 0, 0.5);
  transform: translateX(8px);
}

.reason-num {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  min-width: 66px;
  transition: color 0.3s ease;
}

.reason-row:hover .reason-num { color: var(--color-orange); }

.reason-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.reason-row:hover .reason-title { color: var(--color-orange); }

.reason-text {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------------------------------------------------------
   7. CONTACT CTA BAND
   --------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: 32px;
  padding: 52px 46px;
  background: linear-gradient(130deg, rgba(255, 122, 0, 0.16) 0%, rgba(15, 18, 26, 0.95) 48%, rgba(0, 136, 234, 0.12) 100%);
  border: 1px solid rgba(255, 122, 0, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  top: -90px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 2; }

.cta-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--color-text-body);
  margin: 0;
}

/* Contact quick-link chips under the CTA */
.cta-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #e2e8f0 !important;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-contact-chip i { color: var(--color-orange); }

.cta-contact-chip:hover {
  background: rgba(255, 122, 0, 0.14);
  border-color: rgba(255, 122, 0, 0.5);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   Fallback only — hidden unless the hosted popup widget fails
   to load, so the page never shows two WhatsApp buttons.
   --------------------------------------------------------- */
.wa-float {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1040;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  background: #25D366;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float.show { display: inline-flex; }

.wa-float i { font-size: 21px; }

.wa-float:hover {
  background: #1fb855;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55), 0 6px 18px rgba(0, 0, 0, 0.45);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.85; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 575px) {
  .wa-float {
    right: 16px;
    bottom: 18px;
    padding: 12px;
    gap: 0;
  }
  .wa-float .wa-float-label { display: none; }
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1 !important;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.45);
}

.footer-social-btn.insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.foot-section-link {
  display: flex;
  align-items: center;
  color: #e2e8f0 !important;
  font-size: 14px;
  padding: 5px 0;
  transition: all 0.25s ease;
}

.foot-section-link:hover {
  color: var(--color-orange) !important;
  padding-left: 6px;
}

.foot-section-chevron {
  color: var(--color-orange);
  font-size: 11px;
  margin-right: 10px;
  transition: transform 0.25s ease;
}

.foot-section-link:hover .foot-section-chevron { transform: translateX(3px); }

.foot-bullet-2 {
  color: var(--color-orange) !important;
  font-size: 16px;
  margin-top: 4px;
}

.footer-brochure-card {
  background: linear-gradient(145deg, rgba(255, 122, 0, 0.08) 0%, rgba(18, 22, 30, 0.95) 100%);
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.footer-brochure-card:hover {
  border-color: rgba(255, 122, 0, 0.55);
  box-shadow: 0 20px 45px rgba(255, 122, 0, 0.15);
  transform: translateY(-2px);
}

.footer-brochure-btn-view {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0 !important;
  transition: all 0.25s ease;
}

.footer-brochure-btn-view:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------------------------------------------------------
   BACK TO TOP
   --------------------------------------------------------- */
/* Sits bottom-left, clear of the bottom-right WhatsApp popup widget */
.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 1035;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 21, 28, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.4);
  color: var(--color-orange) !important;
  font-size: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-orange);
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.5);
}

/* ---------------------------------------------------------
   HERO LEAD FORM (conversion card, replaces the hero image)
   --------------------------------------------------------- */
.lead-card {
  position: relative;
  border-radius: 26px;
  padding: 32px 30px 30px;
  background: linear-gradient(168deg, rgba(255, 122, 0, 0.10) 0%, rgba(14, 17, 24, 0.96) 46%);
  border: 1px solid rgba(255, 122, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 122, 0, 0.10);
  overflow: hidden;
}

.lead-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.20) 0%, transparent 70%);
  pointer-events: none;
}

.lead-card > * { position: relative; z-index: 2; }

.lead-card-head { margin-bottom: 22px; }

.lead-title {
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 8px;
}

.lead-sub {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* Fields */
.lead-field { margin-bottom: 15px; }

.lead-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 7px;
}

.lead-field label .req { color: var(--color-orange); }

.lead-field input,
.lead-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 15px;
  color: #ffffff;
  font-size: 14.5px;
  font-family: var(--font-main);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.lead-field input::placeholder { color: rgba(255, 255, 255, 0.34); }

.lead-field input:focus,
.lead-field select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

/* Native select needs its own arrow once appearance is stripped */
.lead-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF7A00'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}

.lead-field select option {
  background: #14161f;
  color: #ffffff;
}

/* Chrome renders a disabled placeholder option greyed; keep it muted here too */
.lead-field select:invalid,
.lead-field select option[value=""] { color: rgba(255, 255, 255, 0.42); }
.lead-field select:valid { color: #ffffff; }

/* Invalid state */
.lead-field input.is-invalid,
.lead-field select.is-invalid {
  border-color: #ff5a5a;
  background: rgba(255, 90, 90, 0.06);
}

.lead-field input.is-invalid:focus,
.lead-field select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.18);
}

.lead-error {
  display: none;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #ff8080;
}

.lead-error.is-visible { display: block; }

/* Honeypots: off-screen but still focusable-by-bots and present in the DOM.
   Never use display:none here — many bots skip hidden inputs entirely. */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-turnstile-wrap { margin: 18px 0 16px; min-height: 68px; }

/* Submit */
.lead-submit {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-family: var(--font-main);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
  transition: all 0.3s ease;
}

.lead-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff8c1f 0%, #ffa753 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.55);
}

.lead-submit:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }

.lead-submit .lead-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: leadSpin 0.7s linear infinite;
}

.lead-submit.is-loading .lead-spinner { display: inline-block; }
.lead-submit.is-loading .lead-submit-icon { display: none; }

@keyframes leadSpin { to { transform: rotate(360deg); } }

.lead-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  text-align: center;
  color: var(--color-text-muted);
}

.lead-note i { color: var(--color-green); margin-right: 5px; }

/* Status message */
.lead-status {
  display: none;
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.lead-status.is-visible { display: block; }

.lead-status--success {
  background: rgba(120, 190, 32, 0.12);
  border: 1px solid rgba(120, 190, 32, 0.4);
  color: #a3e635;
}

.lead-status--error {
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.38);
  color: #ff9b9b;
}

.lead-status--info {
  background: rgba(0, 136, 234, 0.1);
  border: 1px solid rgba(0, 136, 234, 0.38);
  color: #7dd3fc;
}
