/* =============================================
   DoctorPro — Modern Design System
   home-modern.css
   ============================================= */

/* 1. VARIABLES & BASE
   ============================================= */
:root {
  --primary: #1992ec;
  --primary-dark: #1277cc;
  --primary-light: #EBF5FE;
  --teal: #0ac0ba;
  --dark: #0D1117;
  --dark-2: #141E2E;
  --text: #374151;
  --muted: #6B7280;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --border: rgba(15, 17, 23, 0.07);
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 8px 32px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.09), 0 8px 24px rgba(0,0,0,0.05);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── h2-component tokens (pricing, contact, footer) ── */
  --c-bg:          #f8fafc;
  --c-surface:     #ffffff;
  --c-surface-2:   #f1f5f9;
  --c-ink:         #0c1120;
  --c-ink-2:       #374151;
  --c-ink-3:       #6b7280;
  --c-border:      #e2e8f0;
  --c-border-2:    #cbd5e1;
  --c-accent:      #1d6fe8;
  --c-accent-h:    #1552c0;
  --c-accent-l:    #dbeafe;
  --c-accent-l2:   #eff6ff;
  --c-dark-bg:     #0c1120;
  --c-dark-border: rgba(255,255,255,0.08);
  --r-xs:  6px;
  --r-sm:  12px;
  --r-md:  18px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --sh-xs: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --sh-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --sh-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --sh-lg: 0 16px 40px rgba(0,0,0,0.09), 0 6px 14px rgba(0,0,0,0.04);
  --sh-xl: 0 28px 64px rgba(0,0,0,0.10), 0 12px 24px rgba(0,0,0,0.05);
  --sh-accent: 0 8px 32px rgba(29,111,232,0.25);
}

body {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* =============================================
   2. EYEBROW TAG
   ============================================= */
.dp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.dp-eyebrow--light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}

/* =============================================
   3. NAVBAR
   ============================================= */
.dp-nav-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1040;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

.dp-nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.8);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  max-width: 980px;
  width: 100%;
  transition: box-shadow 0.5s var(--ease);
}

.dp-nav-pill:hover {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.8);
}

.dp-nav-brand img {
  height: 44px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: opacity 0.2s;
}

.dp-nav-brand img:hover { opacity: 0.8; }

.dp-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 0.125rem;
}

.dp-nav-links a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 9999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.dp-nav-links a:hover {
  background: var(--light);
  color: var(--dark);
}

.dp-nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d6fe8;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  padding: 9px 20px;
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.dp-nav-cta a:hover {
  background: #1552c0;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(29, 111, 232, 0.25);
  color: #fff !important;
}

.dp-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: background 0.3s;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.dp-nav-toggle:hover { background: var(--light); }

.dp-nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.dp-nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.dp-nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.dp-nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.dp-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1039;
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.dp-nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.dp-nav-overlay a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.25s, background 0.25s;
}

.dp-nav-overlay.is-open a { transform: translateY(0); opacity: 1; }
.dp-nav-overlay.is-open a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.dp-nav-overlay a:nth-child(1) { transition-delay: 0.04s; }
.dp-nav-overlay a:nth-child(2) { transition-delay: 0.09s; }
.dp-nav-overlay a:nth-child(3) { transition-delay: 0.14s; }
.dp-nav-overlay a:nth-child(4) { transition-delay: 0.19s; }
.dp-nav-overlay a:nth-child(5) { transition-delay: 0.24s; }
.dp-nav-overlay a:nth-child(6) { transition-delay: 0.29s; }

.dp-nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.dp-nav-overlay-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* =============================================
   4. HERO
   ============================================= */
.dp-hero-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.dp-hero-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(25,146,236,0.09) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.dp-hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(10,192,186,0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.dp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.dp-hero-text {}

.dp-hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.dp-hero-title .dp-accent {
  color: var(--primary);
}

.dp-hero-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.dp-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.dp-hero-image {
  position: relative;
}

.dp-hero-image-shell {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.dp-hero-image-shell:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.1), 0 12px 28px rgba(0,0,0,0.06);
}

.dp-hero-image-shell img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* =============================================
   5. BUTTONS
   ============================================= */
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 9999px;
  padding: 0.8125rem 1.875rem;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.dp-btn--primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(25,146,236,0.28);
}

.dp-btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(25,146,236,0.38);
  color: var(--white) !important;
}

.dp-btn--primary:active { transform: scale(0.98); }

.dp-btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.dp-btn--ghost:hover {
  background: var(--light);
  color: var(--dark) !important;
  border-color: rgba(15,17,23,0.12);
}

.dp-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  background: rgba(255,255,255,0.22);
  border-radius: 9999px;
  font-size: 0.8125rem;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}

.dp-btn--primary:hover .dp-btn__icon {
  transform: translate(2px, -2px);
}

/* =============================================
   6. ABOUT / PILLARS
   ============================================= */
.dp-pillars-section {
  background: var(--light);
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.dp-pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.875rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.dp-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.dp-pillar-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.dp-pillar-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.375rem;
  text-transform: none;
  letter-spacing: -0.015em;
}

.dp-pillar-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   7. SERVICES
   ============================================= */
.dp-services-section {
  padding: 0;
}

.dp-service-block {
  padding: 7rem 2rem;
}

.dp-service-block--dark {
  background: var(--dark-2);
}

.dp-service-block--light {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.dp-service-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.dp-service-inner--reversed {
  direction: rtl;
}

.dp-service-inner--reversed > * {
  direction: ltr;
}

.dp-service-block--dark h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  text-transform: none;
}

.dp-service-block--dark .dp-service-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.dp-service-block--light h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  text-transform: none;
}

.dp-service-block--light .dp-service-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.dp-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.dp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.dp-service-block--dark .dp-check-list li { color: rgba(255,255,255,0.7); }
.dp-service-block--light .dp-check-list li { color: var(--text); }

.dp-check-icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  background: rgba(10,192,186,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.dp-check-icon::after {
  content: '✓';
  font-size: 0.5625rem;
  font-weight: 800;
  color: var(--teal);
}

.dp-service-image {
  position: relative;
}

.dp-service-image-shell {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.dp-service-block--dark .dp-service-image-shell {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.dp-service-block--light .dp-service-image-shell {
  background: var(--light);
  border: 1px solid var(--border);
}

.dp-service-image-shell:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 72px rgba(0,0,0,0.12), 0 12px 28px rgba(0,0,0,0.06);
}

.dp-service-image-shell img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* =============================================
   8. FEATURES / SOLUCIONES
   ============================================= */
.dp-features-section {
  background: var(--light);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dp-features-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.dp-features-head h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 0.875rem;
  letter-spacing: -0.025em;
}

.dp-features-head p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 460px;
  margin: 0 auto;
}

.dp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
  max-width: 960px;
  margin: 0 auto;
}

.dp-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}

.dp-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(25,146,236,0.2);
  color: var(--dark);
}

.dp-feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.45s var(--ease-bounce);
}

.dp-feature-card:hover img {
  transform: scale(1.1);
}

.dp-feature-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0;
}

/* =============================================
   9. PRICING SECTION WRAPPER
   ============================================= */
.dp-pricing-wrapper {
  background: var(--white);
  padding: 7rem 0 3rem;
}

.dp-pricing-head {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 0.5rem;
}

.dp-pricing-head h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0.75rem 0 0.875rem;
  letter-spacing: -0.025em;
}

.dp-pricing-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Adjust old pricing internals */
#generic_price_table {
  margin: 0 !important;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif !important;
}

#toggle-section {
  display: flex !important;
  align-items: center;
  justify-content: center;
  list-style: none !important;
  gap: 1.25rem;
  padding: 0 !important;
  margin: 2rem 0 2.5rem !important;
}

#toggle-section .toggle-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text) !important;
  margin: 0;
}

/* =============================================
   10. CONTACT & FOOTER
   ============================================= */
.dp-contact-wrapper {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 7rem 2rem;
}

.dp-contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

.dp-contact-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.dp-contact-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0.75rem 0 0.75rem;
  letter-spacing: -0.025em;
}

.dp-contact-head p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.dp-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.dp-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dp-form-row-1 {
  margin-bottom: 1rem;
}

.dp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.dp-form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
}

.dp-form-group input,
.dp-form-group textarea {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  color: var(--dark);
  outline: none;
  width: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}

.dp-form-group input:focus,
.dp-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25,146,236,0.1);
  background: var(--white);
}

.dp-form-group input::placeholder,
.dp-form-group textarea::placeholder {
  color: #9CA3AF;
}

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

.dp-form-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.dp-footer {
  background: var(--dark);
  padding: 4.5rem 2rem 0;
}

.dp-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.dp-footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.dp-footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

.dp-footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dp-footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.dp-footer-links i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 0.75rem;
}

.dp-footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.dp-footer-links a:hover {
  color: var(--white);
}

.dp-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   11. SCROLL REVEAL
   ============================================= */
.dp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: transform, opacity;
}

.dp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dp-reveal-d1 { transition-delay: 0.08s; }
.dp-reveal-d2 { transition-delay: 0.16s; }
.dp-reveal-d3 { transition-delay: 0.24s; }
.dp-reveal-d4 { transition-delay: 0.32s; }

/* =============================================
   12. RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .dp-nav-links, .dp-nav-cta { display: none; }
  .dp-nav-toggle { display: flex; }

  .dp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    gap: 3rem;
  }

  .dp-hero-desc { max-width: 100%; margin: 0 auto 2rem; }
  .dp-hero-actions { justify-content: center; }

  .dp-pillars-grid { grid-template-columns: 1fr; }

  .dp-service-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dp-service-inner--reversed { direction: ltr; }
  .dp-service-block { padding: 4.5rem 1.5rem; }

  .dp-features-grid { grid-template-columns: repeat(2, 1fr); }

  .dp-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .dp-form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .dp-hero-title { font-size: 2.25rem; }
  .dp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-form-card { padding: 1.75rem; }
  .dp-nav-pill { padding: 0.5rem 0.75rem; }
  .dp-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .dp-pricing-wrapper { padding-top: 5rem; }
}

@media (max-width: 480px) {
  .dp-features-grid { grid-template-columns: 1fr 1fr; }
  .dp-hero-actions { flex-direction: column; width: 100%; }
  .dp-btn { width: 100%; justify-content: center; }
}

/* =============================================
   13. OVERRIDES — neutralize style.css conflicts
   ============================================= */

/* Force proper text-transform on all new headings */
.dp-hero-title,
.dp-service-block h3,
.dp-features-head h2,
.dp-pricing-head h2,
.dp-contact-head h2,
.dp-pillar-body h4,
.dp-feature-card h4,
.dp-footer-col h5 {
  text-transform: none !important;
  letter-spacing: -0.02em;
}

/* h3 color override (style.css sets #666) */
.dp-service-block--dark h3 {
  color: var(--white) !important;
}

.dp-service-block--light h3 {
  color: var(--dark) !important;
}

/* h4 color override */
.dp-pillar-body h4,
.dp-feature-card h4 {
  color: var(--dark) !important;
}

/* Remove #about top padding from style.css (120px 0) */
#about.dp-pillars-section {
  padding: 4.5rem 2rem !important;
}

/* Remove #features padding override and bg from style.css */
#features.dp-features-section {
  padding: 7rem 2rem !important;
  background-color: var(--light) !important;
  text-align: left !important;
}

/* Critical: remove #prices background-image from style.css */
#prices {
  padding: 0 !important;
  background: var(--white) !important;
  background-image: none !important;
  color: var(--text) !important;
  text-align: left !important;
}

/* Fix #services ul li span positioning from style.css */
#services .dp-check-list li span {
  position: static !important;
  bottom: auto !important;
}

/* Remove #services p top/bottom margin inflation */
#services .dp-service-lead {
  margin: 0 0 1.75rem !important;
}

/* Remove body letter-spacing from style.css (0.05em → our -0.01em) */
body {
  letter-spacing: -0.01em !important;
}

/* Prevent section-title:after underline on new elements */
.dp-features-head h2::after,
.dp-pricing-head h2::after,
.dp-contact-head h2::after {
  display: none !important;
}

/* Remove Bootstrap container margin inside pricing wrapper */
.dp-pricing-wrapper .container {
  padding-top: 0;
}

/* ── Pricing section spacing ────────────────────────────────── */
section#prices.h2-pricing {
  padding: 140px 0 !important;
}

/* ── Override style.css interference on #contact ───────────── */
/* style.css sets background-image, padding and color on #contact
   which fights the new h2-contact design. Reset everything here. */
section#contact.h2-contact {
  background: #f8fafc !important;
  background-image: none !important;
  color: inherit !important;
  padding: 100px 0 80px !important;
}

/* Prevent old style.css rules from styling elements inside #contact */
#contact p { text-align: left !important; }
#contact form { margin: 0 !important; }

/* ── Footer fixes ───────────────────────────────────────────── */
/* Move footer away from contact section with top margin,
   not inside it. Remove the margin-top from home2.css default
   since the footer is now a standalone element. */
footer.h2-footer {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  display: block;
  width: 100%;
}

/* Ensure the footer's bottom bar reaches the edge */
footer.h2-footer .h2-footer-bottom {
  padding-bottom: 28px !important;
}

/* WhatsApp icon — verde solo en la sección contact, neutro en footer */
.h2-contact-detail-icon .fa-whatsapp { color: #25d366; font-size: 1.1rem; }

/* Footer icons — tamaño uniforme más visible */
.h2-footer-links li i { font-size: 0.95rem !important; }

/* Kill any background or border that style.css might apply to <footer> */
footer {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

/* ============================================================
   H2 COMPONENTS — migrated from home2.css
   Used by: pricing, contact, footer sections in home.php
   ============================================================ */

/* ── Eyebrow label ── */
.h2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent);
    background: var(--c-accent-l2);
    border: 1px solid var(--c-accent-l);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.h2-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
}

/* ── Container ── */
.h2-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

/* ── Buttons ── */
.h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 0.925rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.h2-btn:active { transform: scale(0.97) translateY(1px); }

.h2-btn--primary {
    background: var(--c-accent);
    color: #fff !important;
    box-shadow: var(--sh-accent);
}
.h2-btn--primary:hover {
    background: var(--c-accent-h);
    box-shadow: 0 12px 40px rgba(29,111,232,0.35);
    transform: translateY(-1px);
    color: #fff !important;
}

.h2-btn--ghost {
    background: transparent;
    color: var(--c-ink);
    border: 1.5px solid var(--c-border-2);
}
.h2-btn--ghost:hover {
    background: var(--c-surface-2);
    border-color: var(--c-accent);
    color: var(--c-accent);
    transform: translateY(-1px);
}

.h2-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 0.7rem;
    transition: transform 0.25s var(--ease);
}
.h2-btn--primary:hover .h2-btn-icon,
.h2-btn--ghost:hover .h2-btn-icon { transform: translateX(2px) translateY(-2px); }

/* ── Footer headings white ── */
.h2-footer h1, .h2-footer h2,
.h2-footer h3, .h2-footer h4,
.h2-footer h5 { color: #ffffff; }

/* ── Scroll reveal ── */
.h2-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.h2-reveal.is-visible { opacity: 1; transform: translateY(0); }
.h2-reveal-d1 { transition-delay: 0.1s; }
.h2-reveal-d2 { transition-delay: 0.18s; }

/* ── Pricing section ── */
.h2-pricing {
    padding: 100px 0;
    background: var(--c-surface);
}
.h2-pricing-head {
    text-align: center;
    margin-bottom: 48px;
}
.h2-pricing-head h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-ink);
    margin-bottom: 12px;
}
.h2-pricing-head p {
    font-size: 1rem;
    color: var(--c-ink-3);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Toggle mensual/anual */
.h2-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}
.h2-toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-ink-3);
    cursor: pointer;
    transition: color 0.2s;
}
.h2-toggle-label.is-active { color: var(--c-ink); font-weight: 600; }
.h2-toggle-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    margin-left: 5px;
    letter-spacing: 0.04em;
}
.h2-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}
.h2-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.h2-toggle-track {
    position: absolute;
    inset: 0;
    background: var(--c-border-2);
    border-radius: 100px;
    transition: background 0.25s;
}
.h2-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--sh-xs);
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.h2-toggle-switch input:checked ~ .h2-toggle-track { background: var(--c-accent); }
.h2-toggle-switch input:checked ~ .h2-toggle-thumb { transform: translateX(22px); }

/* Plan cards grid */
.h2-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.h2-plan-annual { display: none; }

.h2-plan-card {
    background: var(--c-bg);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.h2-plan-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

.h2-plan-card--featured {
    background: var(--c-dark-bg);
    border-color: var(--c-accent);
    box-shadow: var(--sh-xl), 0 0 0 1px var(--c-accent), var(--sh-accent);
    transform: scale(1.025);
    z-index: 2;
}
.h2-plan-card--featured:hover { transform: scale(1.025) translateY(-4px); }

/* Shimmer on featured card */
@keyframes h2-shimmer {
    0%   { transform: translateX(-120%) skewX(-12deg); }
    100% { transform: translateX(220%)  skewX(-12deg); }
}
.h2-plan-card--featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 60%, transparent 100%);
    animation: h2-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
    overflow: hidden;
}
.h2-plan-badge, .h2-plan-card--featured > * { position: relative; z-index: 1; }

.h2-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: var(--sh-accent);
}
.h2-plan-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-ink-3);
    margin-bottom: 16px;
}
.h2-plan-card--featured .h2-plan-name { color: #64748b; }

.h2-plan-price-wrap { margin-bottom: 24px; }
.h2-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    margin-bottom: 4px;
}
.h2-plan-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 6px;
    align-self: flex-start;
    padding-top: 8px;
}
.h2-plan-card--featured .h2-plan-currency { color: #94a3b8; }
.h2-plan-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.04em;
}
.h2-plan-card--featured .h2-plan-amount { color: #fff; }
.h2-plan-period {
    font-size: 0.85rem;
    color: var(--c-ink-3);
    align-self: flex-end;
    padding-bottom: 8px;
}
.h2-plan-card--featured .h2-plan-period { color: #64748b; }
.h2-plan-original {
    font-size: 0.82rem;
    color: var(--c-ink-3);
    text-decoration: line-through;
    margin-bottom: 2px;
}
.h2-plan-tax {
    font-size: 0.75rem;
    color: var(--c-ink-3);
    letter-spacing: 0.03em;
}
.h2-plan-card--featured .h2-plan-tax { color: #475569; }

.h2-plan-divider {
    height: 1px;
    background: var(--c-border);
    margin: 24px 0;
}
.h2-plan-card--featured .h2-plan-divider { background: var(--c-dark-border); }

.h2-plan-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.h2-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--c-ink-2);
}
.h2-plan-card--featured .h2-plan-feature { color: #cbd5e1; }

.h2-plan-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--c-accent-l2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.h2-plan-card--featured .h2-plan-check { background: rgba(29,111,232,0.2); }
.h2-plan-check::before {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid var(--c-accent);
    border-bottom: 1.5px solid var(--c-accent);
    transform: rotate(-45deg) translate(1px, -0.5px);
}
.h2-plan-card--featured .h2-plan-check::before { border-color: #93c5fd; }

.h2-plan-cta { margin-top: auto; }
.h2-plan-cta .h2-btn { width: 100%; justify-content: center; }

.h2-plan-contact {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
}
.h2-plan-contact p { font-size: 0.875rem; color: var(--c-ink-3); }
.h2-plan-contact a { color: var(--c-accent); font-weight: 600; transition: color 0.2s; }
.h2-plan-contact a:hover { color: var(--c-accent-h); text-decoration: underline; }

/* ── Contact section ── */
.h2-contact {
    padding: 100px 0 0;
    background: var(--c-bg);
}
.h2-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}
.h2-contact-info { padding-top: 8px; }
.h2-contact-info h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-ink);
    margin-bottom: 14px;
    line-height: 1.15;
}
.h2-contact-info > p {
    font-size: 1rem;
    color: var(--c-ink-3);
    line-height: 1.7;
    margin-bottom: 40px;
}
.h2-contact-details { display: flex; flex-direction: column; gap: 20px; }
.h2-contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.h2-contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--c-accent-l2);
    border: 1px solid var(--c-accent-l);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.h2-contact-detail-text {
    font-size: 0.875rem;
    color: var(--c-ink-2);
    line-height: 1.5;
}
.h2-contact-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    display: block;
}

/* Contact form card */
.h2-form-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-2xl);
    padding: 44px;
    box-shadow: var(--sh-md);
}
.h2-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.h2-form-row-1 { margin-bottom: 16px; }
.h2-form-group { display: flex; flex-direction: column; gap: 6px; }
.h2-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-ink-2);
    letter-spacing: 0.02em;
}
.h2-form-group input,
.h2-form-group textarea {
    font-size: 0.925rem;
    color: var(--c-ink);
    background: var(--c-bg);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.h2-form-group input::placeholder,
.h2-form-group textarea::placeholder { color: #b0bec5; }
.h2-form-group input:focus,
.h2-form-group textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-l2);
    background: var(--c-surface);
}
.h2-form-group textarea { min-height: 120px; resize: vertical; }
.h2-form-footer { margin-top: 24px; display: flex; justify-content: flex-end; }

/* ── Footer ── */
.h2-footer {
    background: var(--c-dark-bg);
    padding: 80px 0 0;
}
.h2-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--c-dark-border);
}
.h2-footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.h2-footer-brand p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.7;
    max-width: 280px;
}
.h2-footer-col h5 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 20px;
}
.h2-footer-links { display: flex; flex-direction: column; gap: 12px; }
.h2-footer-links li { display: flex; align-items: flex-start; gap: 10px; }
.h2-footer-links li a,
.h2-footer-links li span {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    transition: color 0.2s;
}
.h2-footer-links li a:hover { color: #fff; }
.h2-footer-links li i { font-size: 0.7rem; color: #475569; margin-top: 4px; flex-shrink: 0; }
.h2-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--c-dark-border);
}
.h2-footer-bottom span { font-size: 0.8rem; color: #374151; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .h2-pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
    .h2-plan-card--featured { transform: none; }
    .h2-plan-card--featured:hover { transform: translateY(-4px); }
    .h2-contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .h2-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .h2-container { padding-left: 20px; padding-right: 20px; }
    .h2-form-row-3 { grid-template-columns: 1fr; }
    .h2-form-card { padding: 28px 24px; }
    .h2-footer-top { grid-template-columns: 1fr; gap: 32px; }
    .h2-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .h2-pricing-grid { max-width: 100%; }
    .h2-contact-inner { gap: 32px; }
}
@media (max-width: 480px) {
    .h2-btn { width: 100%; justify-content: center; }
}
