:root {
  --tcs-primary: #132a63;
  --tcs-primary-2: #4a89cf;
  --tcs-gradient-end: #21498f;
  --tcs-accent: #25d366;
  --tcs-ink: #13213d;
  --tcs-muted: #61728e;
  --tcs-line: #d9e1ea;
  --tcs-surface: #ffffff;
  --tcs-surface-soft: #f7f9fc;
  --tcs-body-bg: #ffffff;
  --tcs-body-bg-2: #f4f6f8;
  --tcs-body-bg-image: none;
  --tcs-button-bg: #4a89cf;
  --tcs-button-text: #ffffff;
  --tcs-hero-card-bg: #0d162a;
  --tcs-shadow: 0 20px 60px rgba(16, 28, 48, 0.08);
  --tcs-shadow-soft: 0 12px 30px rgba(16, 28, 48, 0.06);
}

html { scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--tcs-ink);
  background-color: var(--tcs-body-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(74, 137, 207, 0.08), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(241, 58, 41, 0.05), transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.8) 100%);
  background-size: auto, auto, auto;
  background-position: center top, center top, center top;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--tcs-body-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.12;
}
body > * {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, .navbar-brand strong, .section-kicker {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

a { text-decoration: none; }

.tcs-navbar {
  background: linear-gradient(180deg, var(--tcs-primary) 0%, var(--tcs-gradient-end, #0f2354) 100%);
  box-shadow: 0 10px 28px rgba(16, 28, 48, 0.12);
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
  color: #fff;
}
.navbar-brand strong { color: #fff; font-size: 1rem; }
.navbar-brand small { color: rgba(255,255,255,0.74); display: block; }
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--tcs-surface), var(--tcs-surface-soft));
  padding: 5px;
  box-shadow: 0 12px 24px rgba(19, 42, 99, 0.12);
}

.btn-primary {
  --bs-btn-bg: var(--tcs-button-bg);
  --bs-btn-border-color: var(--tcs-button-bg);
  --bs-btn-color: var(--tcs-button-text);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tcs-button-bg) 88%, #000 12%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tcs-button-bg) 88%, #000 12%);
  --bs-btn-hover-color: var(--tcs-button-text);
  --bs-btn-focus-shadow-rgb: 74, 137, 207;
}
.btn-outline-light {
  --bs-btn-hover-color: var(--tcs-primary);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}
.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--tcs-accent);
  --bs-btn-border-color: var(--tcs-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1eba5a;
  --bs-btn-hover-border-color: #1eba5a;
  --bs-btn-focus-shadow-rgb: 37, 211, 102;
}

.hero-bleed {
  position: relative;
  overflow: hidden;
  height: 820px;
  min-height: 820px;
  margin-bottom: 1.25rem;
}
.hero-bleed-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-bleed-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 21, 44, 0.04), rgba(10, 21, 44, 0.12) 48%, rgba(255,255,255,0.06) 100%),
    linear-gradient(90deg, rgba(10, 21, 44, 0.16), rgba(10, 21, 44, 0.06) 54%, rgba(10, 21, 44, 0.03));
}
.hero-bleed-inner {
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 720px; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 800;
}
.hero-eyebrow {
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.hero-title {
  font-size: clamp(2.35rem, 4.35vw, 4rem);
  line-height: 0.94;
  color: #fff;
  max-width: none;
  text-wrap: initial;
}
.hero-text {
  color: rgba(255,255,255,0.9);
  max-width: 58ch;
  font-size: 1.08rem;
}
.hero-pill,
.mini-stat,
.quick-card,
.stat-card,
.plan-card,
.image-frame,
.story-card,
.contact-card,
.lead-card,
.reclamation-card {
  border-radius: 28px;
  border: 1px solid var(--tcs-line);
  background: linear-gradient(180deg, #fff, #f7f9fc);
  box-shadow: var(--tcs-shadow-soft);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.hero-pill i { color: #fff; }

.mini-stat {
  min-height: 100%;
  padding: 1rem 1rem 0.95rem;
  background: rgba(255,255,255,0.92);
}
.mini-stat.featured {
  background: linear-gradient(180deg, rgba(74,137,207,0.10), rgba(255,255,255,0.96));
}
.mini-stat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.mini-stat-header .mini-stat-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.mini-stat-header .promo-mini-title {
  display: inline-block;
  margin-bottom: 0;
  line-height: 1.05;
}
.mini-stat-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}
.mini-stat-icon,
.quick-card-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4fb;
  color: var(--tcs-primary);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.mini-stat-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--tcs-primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mini-stat strong,
.quick-card h3,
.stat-card strong,
.section-heading h2,
.section-title,
.story-card h3,
.contact-card h3,
.lead-card h3,
.reclamation-card h2 {
  color: var(--tcs-ink);
}
.mini-stat span,
.quick-card p,
.section-heading p,
.section-text,
.plan-subcopy,
.story-card p,
.contact-card p,
.lead-card p,
.reclamation-card p {
  color: var(--tcs-muted);
}
.promo-mini-copy {
  display: block;
  line-height: 1.35;
}
.promo-mini-copy strong {
  font-weight: 800;
}

.hero-side-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08)), var(--tcs-hero-card-bg, rgba(13, 22, 42, 0.74));
  backdrop-filter: blur(14px);
  color: #fff;
  border-radius: 28px;
}
.hero-badge-promo {
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.34);
  color: #dfffea;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero-side-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.hero-side-metric {
  min-height: 100%;
  padding: 0.8rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  text-align: center;
}
.hero-side-metric i {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.hero-side-metric span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.86);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--tcs-primary-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.section-heading h2,
.section-title {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.04;
}
.section-heading p {
  max-width: 760px;
}
.contact-section-description {
  margin-top: 0.65rem;
  max-width: 760px;
  color: var(--tcs-muted);
}

.quick-card {
  padding: 1.25rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.quick-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.quick-card-header .quick-card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.quick-card-media {
  margin-top: auto;
  padding-top: 1rem;
}
.quick-card-media img {
  width: 100%;
  height: 140px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}
.quick-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.stat-card {
  padding: 1rem 1.15rem;
}
.stat-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}
.stat-card span { color: var(--tcs-muted); }

.plan-tabs .nav-link {
  border-radius: 999px;
  font-weight: 800;
  color: #516685;
  background: #eef2f6;
  border: 1px solid var(--tcs-line);
}
.plan-tabs .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--tcs-primary), var(--tcs-primary-2));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(19, 42, 99, 0.14);
}
.plan-card {
  overflow: hidden;
}
.plan-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  border-color: rgba(74, 137, 207, 0.24);
}
.plan-card.accent {
  background: linear-gradient(180deg, #fff4f2 0%, #ffffff 100%);
}
.plan-card h3 {
  font-size: 1.45rem;
}
.plan-price {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: #148d58;
}
.plan-price small {
  margin-left: 0.5rem;
  color: #8f9cb6;
  text-decoration: line-through;
  font-size: 1rem;
}
.plan-subcopy {
  margin: 0.65rem 0 1rem;
}
.plan-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4a5d80;
}
.plan-list li + li { margin-top: 0.35rem; }
.plan-note {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(74, 137, 207, 0.08);
  color: #35557f;
}

.image-frame {
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card img {
  height: 260px;
  object-fit: cover;
}
.story-card .card-body { padding: 1.25rem; }
.story-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--tcs-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.story-card h3 { font-size: 1.55rem; }

.contact-card img {
  height: 260px;
  object-fit: cover;
}
.contact-dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.contact-dl div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8eef8;
}
.contact-dl dt {
  color: #72829d;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-dl dd {
  margin: 0;
  color: var(--tcs-ink);
}

.lead-card .form-label {
  font-weight: 700;
  color: #31425f;
}
.form-control,
.form-select {
  border-color: #d7e2f3;
  background: #f9fbff;
}
.form-control:focus,
.form-select:focus {
  border-color: #8db1ff;
  box-shadow: 0 0 0 0.2rem rgba(74, 137, 207, 0.12);
}

.reclamation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.footer {
  background: linear-gradient(180deg, var(--tcs-primary) 0%, var(--tcs-gradient-end, #0b1f4a) 100%);
  color: rgba(255, 255, 255, 0.82);
}
.footer strong {
  color: #fff;
}
.footer span,
.footer div {
  color: rgba(255, 255, 255, 0.82);
}
.footer a {
  color: #dbe8ff;
}
.footer a:hover,
.footer a:focus-visible {
  color: #fff;
}
.admin-access-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 0.2;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.admin-access-link:hover,
.admin-access-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
}
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.modal-content {
  border-radius: 28px;
}

.text-white-75 { color: rgba(255,255,255,0.75) !important; }

@media (max-width: 991.98px) {
  .hero-title { max-width: 100%; }
  .hero-side-card { margin-top: 0; }
  .reclamation-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .hero-bleed {
    height: auto;
    min-height: 0;
    padding-bottom: 0.5rem;
  }
  .hero-bleed-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 0.96;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-pill {
    width: 100%;
    justify-content: center;
  }
  .hero-side-image {
    height: 210px;
  }
  .hero-side-card .card-body {
    padding: 1rem !important;
  }
  .hero-side-card .btn {
    font-size: 0.95rem;
  }
  .hero-side-metric {
    min-height: 84px;
    padding: 0.8rem 0.6rem;
    font-size: 0.92rem;
  }
  .hero-side-metric span {
    line-height: 1.1;
  }
  .hero-proof-grid {
    row-gap: 0.75rem;
  }
  .mini-stat {
    padding: 0.9rem 0.9rem 0.85rem;
  }
  .mini-stat-title {
    white-space: normal;
  }
  .story-card img,
  .contact-card img {
    height: 220px;
  }
}
