/* ═══════════════════════════════════════════════════════════════
   COMMON.CSS — Elementos compartidos por las 4 páginas
   Incluye: variables globales, Bootstrap overrides, nav, body,
            botones globales, svc-hero, pricing, forms, CTA, FAQ
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  margin: 0;
}

body h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
}

h1 {
  color: #1D1E20;
  font-size: calc(2.325rem + .9vw);
  font-weight: 700;
  line-height: 60px;
}

p {
  color: #141b28;
}

a {
  text-decoration: none;
}

a span {
  color: #1AAA27;
}

::selection {
  color: #fff;
  background: #000;
}

/* ─── VARIABLES GLOBALES ─── */

:root {
  --green: #1AAA27;
  --green-light: #e8f8ea;
  --purple: #80329F;
  --purple-light: #f3eaf7;
  --dark: #0D1117;
  --ink: #1a1f2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --surface: #f9fafb;
  --accent: #1AAA27;
  --accent-light: #e8f8ea;
  --accent-hover: #14901f;
}

/* ─── BOOTSTRAP OVERRIDES ─── */

:root, [data-bs-theme=light] {
  --bs-primary: #1AAA27;
  --bs-primary-rgb: 45,212,191;
  --bs-primary-text-emphasis: #12554C;
  --bs-primary-bg-subtle: #D5F6F2;
  --bs-primary-border-subtle: #ABEEE5;
  --bs-secondary: #1E3A8A;
  --bs-secondary-rgb: 30,58,138;
  --bs-secondary-text-emphasis: #0C1737;
  --bs-secondary-bg-subtle: #D2D8E8;
  --bs-secondary-border-subtle: #A5B0D0;
  --bs-success: #10B981;
  --bs-success-rgb: 16,185,129;
  --bs-success-text-emphasis: #064A34;
  --bs-success-bg-subtle: #CFF1E6;
  --bs-success-border-subtle: #9FE3CD;
  --bs-info: #3B82F6;
  --bs-info-rgb: 59,130,246;
  --bs-info-text-emphasis: #183462;
  --bs-info-bg-subtle: #D8E6FD;
  --bs-info-border-subtle: #B1CDFB;
  --bs-warning: #F59E0B;
  --bs-warning-rgb: 245,158,11;
  --bs-warning-text-emphasis: #623F04;
  --bs-warning-bg-subtle: #FDECCE;
  --bs-warning-border-subtle: #FBD89D;
  --bs-danger: #EF4444;
  --bs-danger-rgb: 239,68,68;
  --bs-danger-text-emphasis: #601B1B;
  --bs-danger-bg-subtle: #FCDADA;
  --bs-danger-border-subtle: #F9B4B4;
  --bs-light: #F3F4F6;
  --bs-light-rgb: 243,244,246;
  --bs-light-text-emphasis: #616262;
  --bs-light-bg-subtle: #FDFDFD;
  --bs-light-border-subtle: #FAFBFB;
  --bs-dark: #1F2937;
  --bs-dark-rgb: 31,41,55;
  --bs-dark-text-emphasis: #0C1016;
  --bs-dark-bg-subtle: #D2D4D7;
  --bs-dark-border-subtle: #A5A9AF;
  --bs-body-color: #1A2B3C;
  --bs-body-color-rgb: 26,43,60;
  --bs-secondary-color: rgba(26,43,60,0.75);
  --bs-secondary-color-rgb: 26,43,60,0.75;
  --bs-tertiary-color: rgba(26,43,60,0.5);
  --bs-tertiary-color-rgb: 26,43,60,0.5;
  --bs-body-font-family: Montserrat, sans-serif;
}

/* ─── NAV ─── */

.bpsc-logo {
  margin-left: 20px;
}

.bnav-link {
  text-decoration: none;
  color: #2e3238;
  font-size: 18px;
  font-weight: 500;
}

.dropdown-item.active, .dropdown-item:active {
  color: #1A2B3C;
  text-decoration: none;
  background-color: #1aaa27;
}

.dd-menu {
  --bs-dropdown-padding-y: 0;
}

.nav-togler {
  border-radius: 6px;
  border-color: #1AAA27;
}

.dropdown-menu a:hover {
  background-color: #1AAA27;
  transition: transform 0.3s ease;
}

.dd-menu .dropdown-item span {
  color: #1AAA27;
}

.dd-menu .dropdown-item:hover span, .dd-menu .dropdown-item:focus span {
  color: #fff;
}

/* ─── BOTONES GLOBALES ─── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: #14901f;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #edc0ff0f;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,.15);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color .2s, transform .2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.btn-ghost-black {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0314060f;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,.15);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color .2s, transform .2s;
}

.btn-ghost-black:hover {
  border-color: rgba(255,255,255,.422);
  transform: translateY(-2px);
}

/* ─── BOOTSTRAP SPACING UTILITIES ─── */

.mx-1 {
  margin-right: .25rem !important;
  margin-left: .25rem !important;
}

.mx-2 {
  margin-right: .5rem !important;
  margin-left: .5rem !important;
}

.my-2 {
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
}

.mt-1 {
  margin-top: .25rem !important;
}

.mt-2 {
  margin-top: .5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: .25rem !important;
}

.mb-2 {
  margin-bottom: .5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 4.5rem !important;
}

.ms-2 {
  margin-left: .5rem !important;
}

.p-2 {
  padding: .5rem !important;
}

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.py-1 {
  padding-top: .25rem !important;
  padding-bottom: .25rem !important;
}

.py-2 {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.pt-1 {
  padding-top: .25rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pe-1 {
  padding-right: .25rem !important;
}

.pb-1 {
  padding-bottom: .25rem !important;
}

.ps-1 {
  padding-left: .25rem !important;
}

@media (min-width: 992px) {
  .mt-lg-2 {
    margin-top: .5rem !important;
  }
}

@media (min-width: 992px) {
  .mb-lg-2 {
    margin-bottom: .5rem !important;
  }
}

/* ─── SECCIONES COMPARTIDAS (servicios) ─── */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.sec-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sec-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.sec-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 48px;
}

.sec-heading span {
  color: var(--accent);
}

/* ─── HERO BAND (páginas de servicio) ─── */

.svc-hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
}

.svc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 24px;
  background: rgba(26, 170, 39, .12);
  border: 1px solid rgba(26, 170, 39, .3);
}

.svc-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 6px var(--accent);
  }
  50% {
    box-shadow: 0 0 14px var(--accent);
  }
}

.svc-badge span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.svc-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.svc-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 8px;
}

.svc-title em {
  font-style: normal;
  color: var(--accent);
}

.svc-sub {
  font-family: 'Syne', sans-serif;
  font-size: clamp(13px, 1.8vw, 17px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.svc-lead {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
  max-width: 640px;
}

/* ─── FEATURE CARDS ─── */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 170, 39, .1);
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.feat-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

/* ─── PRICING ─── */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan {
  border: 1px solid var(--border);
  padding: 36px 32px;
  background: var(--white);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.plan.featured::after {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 100px;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin: 16px 0 4px;
}

.plan-price sup {
  font-size: 22px;
  vertical-align: super;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.plan-hr {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.plan-list li:last-child {
  border-bottom: none;
}

.plan-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all .2s;
  cursor: pointer;
}

.btn-plan:hover, .btn-plan.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── CONTACT FORM ─── */

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}

.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  border-radius: 0;
  transition: border-color .2s, background .2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── CTA FINAL ─── */

.cta-final {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1F2937 0%, #171f2a 80%, #18341a 100%);
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.cta-subtitle {
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cta-meta-item {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.contact-label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.contact-value {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* ─── FAQ ─── */

.faq-header {
  max-width: 900px;
  margin-bottom: 20px;
}

.faq-icon {
  font-size: 20px;
  color: #1aaa27;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-cta-text {
  font-size: 20px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 20px;
}

/* FAQ — comparación de planes */

.plans-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 28px 20px;
  margin-top: 10px;
}

.plan-detail {
  background: #F9FAFB;
  border: 2px solid #e5e7eb;
  padding: 24px;
  border-radius: 0;
  position: relative;
}

.plan-detail.featured {
  border-color: #1aaa27;
  background: rgba(126, 212, 45, .03);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #1aaa27;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
}

.plan-detail h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 12px;
}

/* .plan-price */

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4b5563;
  padding: 0;
}

.plan-features li::before {
  display: none;
}

.plan-note {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  font-size: 14px;
}

/* Testimonials */

.testimonials-header {
  max-width: 900px;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
}

/* ─── RESPONSIVE COMÚN ─── */

@media (max-width: 768px) {
  .svc-hero {
    padding: 56px 0 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 768px) {
  .form-wrap {
    padding: 32px 20px;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cta-final {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .cta-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .cta-meta {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cta-meta-item {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .cta-contact {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .contact-item {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .faq-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .plans-comparison {
    grid-template-columns: 1fr;
    padding: 0 20px 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .cta-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-value {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .plan-price {
    font-size: 24px;
  }
}

