/* ==========================================================================
   Krishna Construction — Custom Stylesheet
   ========================================================================== */

:root {
  --charcoal: #1c1f26;
  --charcoal-2: #23262f;
  --charcoal-3: #2c303b;
  --gray-900: #14161b;
  --gray-700: #4a4f5a;
  --gray-500: #7a8090;
  --gray-300: #d5d9e0;
  --gray-100: #f2f4f7;
  --gray-50: #f8f9fb;
  --white: #ffffff;
  --accent: #f5a623;
  --accent-dark: #e08c00;
  --accent-soft: #fff4e0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 27, 0.06);
  --shadow-md: 0 12px 34px rgba(20, 22, 27, 0.10);
  --shadow-lg: 0 26px 60px rgba(20, 22, 27, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

p { color: var(--gray-700); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.bg-light { background: var(--gray-50); }
.bg-dark { background: var(--charcoal); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: var(--gray-300); }

.container { max-width: var(--container); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.bg-dark .eyebrow { color: var(--accent); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 16px;
}
.section-lead {
  font-size: 1.06rem;
  max-width: 620px;
}
.text-center .eyebrow { justify-content: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 30px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  letter-spacing: 0.01em;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-accent {
  background: var(--accent);
  color: var(--charcoal);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--charcoal);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(245, 166, 35, 0.45);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-3px);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: #000; color: var(--white); transform: translateY(-3px); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gray-300);
}
.btn-ghost:hover { border-color: var(--charcoal); transform: translateY(-3px); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1eb955; color: #fff; transform: translateY(-3px); }
.btn-payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #2f63d9 0%, #173d9a 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(32, 75, 174, 0.28);
}
.btn-payment svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-payment:hover {
  background: linear-gradient(135deg, #2858c8 0%, #123484 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(32, 75, 174, 0.36);
}

.link-arrow {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--accent-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(20, 22, 27, 0.06);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .navbar { padding-top: 10px; padding-bottom: 10px; transition: padding .3s; }
.site-header.scrolled .navbar { padding-top: 6px; padding-bottom: 6px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand__mark--footer {
  width: 56px;
  height: 56px;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.site-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 18px;
  border-radius: 8px;
  position: relative;
  transition: color .2s;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--accent-dark); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta .btn {
  padding: 11px 20px;
  white-space: nowrap;
}

.navbar-toggler {
  border: none;
  padding: 6px;
  width: 44px; height: 44px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--accent); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231c1f26' stroke-linecap='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-nav {
    background: var(--white);
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .site-nav .nav-link { padding: 12px 14px; }
  .site-nav .nav-link::after { display: none; }
  .header-cta { margin-top: 8px; width: 100%; }
  .header-cta .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 130px;
  background: var(--charcoal);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 22, 27, 0.92) 0%, rgba(20, 22, 27, 0.72) 45%, rgba(20, 22, 27, 0.45) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead {
  color: var(--gray-300);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 60px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__stats .num {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.hero__stats .num span { color: var(--accent); }
.hero__stats .label {
  font-size: 0.85rem;
  color: var(--gray-300);
  letter-spacing: 0.04em;
}

.page-hero {
  padding: 120px 0 90px;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); color: #fff; margin-bottom: 16px; }
.page-hero p { color: var(--gray-300); font-size: 1.1rem; max-width: 60ch; }
.breadcrumb-mini {
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.breadcrumb-mini a:hover { color: var(--accent); }

/* ==========================================================================
   Intro / split
   ========================================================================== */
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: var(--accent);
  color: var(--charcoal);
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  max-width: 210px;
  line-height: 1.3;
}
.split-badge span { display: block; font-size: 1.7rem; }

.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--charcoal);
}
.check-list li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M3 8.5l3 3 7-7' stroke='%23e08c00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") center / 15px no-repeat;
  margin-top: 3px;
}

/* ==========================================================================
   Cards — services
   ========================================================================== */
.card-grid { --gap: 26px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 22, 27, 0.05);
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__icon {
  position: absolute;
  left: 18px; bottom: -22px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--charcoal);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__body { padding: 34px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { font-size: 1.2rem; margin: 0 0 8px; }
.service-card__body p { font-size: 0.94rem; margin: 0 0 18px; flex: 1; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.feature {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(20, 22, 27, 0.06);
  transition: transform .3s var(--ease), border-color .3s;
  height: 100%;
}
.feature:hover { transform: translateY(-6px); border-color: var(--accent); }
.feature__icon {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.08rem; margin: 0 0 6px; }
.feature p { font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Electrical product grid
   ========================================================================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20, 22, 27, 0.07);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.04rem; margin: 0 0 6px; }
.product-card__body p { font-size: 0.86rem; margin: 0 0 16px; flex: 1; }
.product-card .btn { align-self: flex-start; padding: 10px 22px; font-size: 0.9rem; }

/* ==========================================================================
   Material cards
   ========================================================================== */
.material-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.material-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.material-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.material-card:hover img { transform: scale(1.08); }
.material-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 27, 0.92) 0%, rgba(20, 22, 27, 0.35) 55%, rgba(20, 22, 27, 0.1) 100%);
}
.material-card__body { position: relative; z-index: 1; padding: 26px; }
.material-card__body h3 { color: var(--white); font-size: 1.3rem; margin: 0 0 8px; }
.material-card__body p { color: var(--gray-300); font-size: 0.92rem; margin: 0 0 16px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider { max-width: 760px; margin: 0 auto; }
.testimonial-slider--pair { max-width: 980px; }
.testimonial-slider--pair .testimonial-card { padding: 40px 32px 32px; height: 100%; }
.testimonial-slider--pair .testimonial-card__text { max-width: none; }
.testimonial-slider .carousel-item { transition: opacity .5s ease; }
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(20, 22, 27, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 52px 44px 40px;
  text-align: center;
  position: relative;
}
.testimonial-card__quote {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}
.testimonial-card__text {
  font-family: "Poppins", sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 56ch;
  margin: 0 auto 20px;
}
.testimonial-card__stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 3px;
}
.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}
.testimonial-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.testimonial-slider__btn svg { width: 18px; height: 18px; }
.testimonial-slider__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--charcoal);
  transform: translateY(-2px);
}
.testimonial-slider__dots.carousel-indicators {
  position: static;
  margin: 0;
}
.testimonial-slider__dots [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  opacity: 1;
  text-indent: -9999px;
}
.testimonial-slider__dots [data-bs-target].active { background: var(--accent); }
@media (max-width: 575.98px) {
  .testimonial-card { padding: 40px 24px 32px; }
  .testimonial-card__text { font-size: 1.02rem; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--charcoal-3) 100%);
  border-radius: var(--radius);
  padding: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.35), transparent 70%);
}
.cta-band h2 { color: var(--white); margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: var(--gray-300); margin: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(20, 22, 27, 0.07);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.info-row:last-child { border-bottom: none; }
.info-row__icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
}
.info-row__icon svg { width: 22px; height: 22px; }
.info-row strong { display: block; font-family: "Poppins", sans-serif; font-size: 0.95rem; }
.info-row span, .info-row a { color: var(--gray-700); font-size: 0.95rem; }
.info-row a:hover { color: var(--accent-dark); }

.payment-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(81, 126, 238, 0.38), transparent 42%),
    linear-gradient(145deg, #172347 0%, #0d1833 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.payment-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  bottom: -90px;
  border: 22px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  pointer-events: none;
}
.payment-card__icon {
  flex: 0 0 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #b9ceff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
}
.payment-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.payment-card__content { position: relative; z-index: 1; }
.payment-card__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #b9ceff;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.payment-card h3 { margin: 0 0 8px; color: var(--white); font-size: 1.22rem; }
.payment-card p { margin: 0 0 18px; color: var(--gray-300); font-size: 0.92rem; }
.payment-card .btn { padding: 11px 22px; }
.payment-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--gray-300);
  font-size: 0.74rem;
}
.payment-card small svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(20, 22, 27, 0.07);
  box-shadow: var(--shadow-md);
  padding: 38px;
}
.form-label { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-label .req { color: var(--accent-dark); }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  padding: 12px 15px;
  font-size: 0.96rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}
.field-error {
  display: none;
  color: #d33a2c;
  font-size: 0.83rem;
  margin-top: 5px;
  font-weight: 500;
}
.field.invalid .form-control,
.field.invalid .form-select { border-color: #d33a2c; }
.field.invalid .field-error { display: block; }
.form-note {
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--accent-dark);
  font-weight: 500;
}
.form-success {
  display: none;
  background: #e8f7ee;
  border: 1px solid #b8e6c8;
  color: #1c7a3d;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-map iframe { width: 100%; border: 0; border-radius: var(--radius); min-height: 300px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 72px 0 0;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.site-footer a { color: var(--gray-300); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; font-size: 0.94rem; }
.footer-brand p { color: var(--gray-500); font-size: 0.94rem; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a:hover svg { fill: var(--charcoal); }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.86rem;
  color: var(--gray-500);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 1040;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================================
   Scroll animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .cta-band { padding: 40px 28px; }
  .hero { padding: 120px 0 90px; }
}
@media (max-width: 575.98px) {
  .section { padding: 56px 0; }
  .form-card, .contact-info-card { padding: 24px; }
  .header-cta { flex-direction: column; }
  .payment-card { padding: 24px; }
  .hero__stats { gap: 26px; }
  .split-badge { right: 14px; }
}

/* ==========================================================================
   About + legal pages
   ========================================================================== */
.page-hero--plain {
  padding: 110px 0 80px;
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--charcoal-3) 100%);
}
.page-hero--plain::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18), transparent 68%);
}

.bg-light-soft { background: var(--gray-50); }
.bg-dark-cta { background: var(--charcoal); color: var(--white); }
.cta-title { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-lead { color: var(--gray-300); margin: 0 auto 26px; max-width: 52ch; }

.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-fact {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  color: var(--gray-700);
}
.about-fact__num {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.about-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
}
.about-card--flat { border: 1px solid var(--gray-100); border-top: 3px solid var(--accent); box-shadow: none; }
.about-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.about-card p { margin: 0; font-size: 0.95rem; color: var(--gray-700); }

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.legal-toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.legal-toc ol { margin: 0; padding-left: 18px; font-size: 0.9rem; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--gray-700); }
.legal-toc a:hover { color: var(--accent-dark); }

.legal-content { max-width: 820px; }
.legal-content section { margin-top: 38px; scroll-margin-top: 100px; }
.legal-content h2 { font-size: 1.3rem; margin-bottom: 12px; }
.legal-content p, .legal-content li { color: var(--gray-700); font-size: 0.98rem; line-height: 1.75; }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.85rem; }

@media (max-width: 991px) {
  .legal-toc { position: static; }
}
@media (max-width: 480px) {
  .about-facts { grid-template-columns: 1fr; }
}

.btn-payment--alt {
  background: linear-gradient(135deg, #12a58c 0%, #0b6f5f 100%);
  box-shadow: 0 10px 24px rgba(11, 111, 95, 0.28);
}
.btn-payment--alt:hover {
  background: linear-gradient(135deg, #0f9680 0%, #095a4d 100%);
  box-shadow: 0 16px 30px rgba(11, 111, 95, 0.36);
}
.payment-card .btn-payment + .btn-payment { margin-left: 8px; }
.payment-card .btn-payment { margin-bottom: 10px; }

@media (min-width: 992px) and (max-width: 1199px) {
  .header-cta { gap: 6px; margin-left: 12px !important; }
  .header-cta .btn { padding: 9px 12px; font-size: 0.82rem; }
  .header-cta .btn-payment svg { display: none; }
}
