/* ══════════════════════════════════════
   CONSULTONIC — SHARED DESIGN SYSTEM
   Inspirado en Cognitfy.com
   Colores corporativos: #d65050
══════════════════════════════════════ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:     #d65050;
  --red-dk:  #b83c3c;
  --dark:    #0a0a0a;
  --dark2:   #111111;
  --dark3:   #1a1a1a;
  --dark4:   #222222;
  --border:  rgba(255,255,255,0.08);
  --text:    #e0e0e0;
  --muted:   #888;
  --white:   #ffffff;
  --font-sans: 'Inter', sans-serif;
  --font-head: 'Raleway', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex     { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.text-center { text-align: center; }
.text-red   { color: var(--red); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }

/* Utility elements */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(214,80,80,0.12); border: 1px solid rgba(214,80,80,0.3);
  color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.tag::after {
  content: ''; position: absolute; top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.reveal.visible .tag::after { animation: tag-shine .9s ease .35s 1; }
@keyframes tag-shine { 0% { left: -75%; } 100% { left: 125%; } }
.divider { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 18px; }
.divider.center { margin-left: auto; margin-right: auto; }
.section-header { margin-bottom: 56px; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(28px,4vw,38px); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 14px; }
.section-header p  { font-size: 16px; color: var(--muted); max-width: 540px; line-height: 1.75; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: 8px; cursor: pointer; border: none;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,80,80,0.35); }
.btn-ghost  { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
.btn-lg { padding: 16px 36px; font-size: 15px; border-radius: 10px; }
.btn-white { background: #fff; color: var(--red); font-family: var(--font-sans); font-weight: 700; font-size: 15px; padding: 16px 40px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, box-shadow .2s; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }

/* Cards */
.card { background: var(--dark3); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: rgba(214,80,80,0.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: background .3s;
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; border-radius: 6px; transition: color .2s, background .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 2px; background: var(--red); border-radius: 2px; transition: width .3s ease; }
.nav-links a.active:hover::after { width: 24px; }
.nav-links .has-sub { position: relative; }
.nav-links .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--dark3); border: 1px solid var(--border); border-radius: 10px; min-width: 200px; padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.nav-links .has-sub:hover .sub-menu { display: block; }
.nav-links .sub-menu a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 13px; color: var(--muted); }
.nav-links .sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 12px; }
.nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px; }

/* Mobile nav */
#mainnav-mobile { display: none; }
#mainnav-mobile.open { display: block; background: var(--dark2); border-bottom: 1px solid var(--border); padding: 12px 0; }
#mainnav-mobile a { display: block; padding: 11px 24px; color: var(--text); font-size: 14px; }
#mainnav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
#mainnav-mobile .nav-mobile-audit { color: var(--red); font-weight: 700; background: rgba(214,80,80,0.08); border: 1px solid rgba(214,80,80,0.25); border-radius: 8px; margin: 6px 16px; padding: 10px 16px; }
#mainnav-mobile .nav-mobile-audit:hover { background: rgba(214,80,80,0.16); color: var(--red); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.page-hero-parallax {
  position: absolute;
  top: -15%; left: 0;
  width: 100%; height: 130%;
  background: url('images/fondo_efecto_parallax_scroll.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
.page-hero-parallax::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(214,80,80,0.20) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.78) 45%, rgba(10,10,10,0.92) 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 3; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(34px,5vw,56px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 18px; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 32px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--red); }

/* ── STATS ── */
.stats-section { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align: center; padding: 36px 20px; background: var(--dark3); border: 1px solid var(--border); border-radius: 16px; }
.stat-card .stat-icon { font-size: 28px; color: var(--red); margin-bottom: 16px; }
.stat-card .num { font-family: var(--font-head); font-size: 48px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-card .num-s { font-size: 28px; color: var(--red); }
.stat-card .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ── SERVICE CARDS ── */
.service-card { background: var(--dark3); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--red), #ff8080); border-radius: 16px 16px 0 0; transition: width .35s ease; }
.service-card:hover::before { width: 100%; }
.service-card:hover { border-color: rgba(214,80,80,0.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.service-icon { width: 48px; height: 48px; background: rgba(214,80,80,0.1); border: 1px solid rgba(214,80,80,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 20px; margin-bottom: 18px; }
.service-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.service-card .arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--red); margin-top: 16px; transition: gap .2s; }
.service-card:hover .arrow { gap: 10px; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, #d65050 0%, #8b1a1a 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 28px 28px; }
.cta-banner .inner { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(26px,4vw,40px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-banner p  { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

/* ── FOOTER ── */
.footer { background: var(--dark); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: var(--dark3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; transition: all .2s; }
.footer-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.footer-phone {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px;
  padding: 11px 20px;
  background: var(--red);
  color: #fff !important;
  font-size: 14px; font-weight: 700;
  border-radius: 9px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(214,80,80,0.30);
  letter-spacing: .2px;
}
.footer-phone:hover {
  background: var(--red-dk) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214,80,80,0.45);
}
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--white); }

/* ── CHECKLIST ── */
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.checklist li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(214,80,80,0.12); border: 1px solid rgba(214,80,80,0.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23d65050' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; margin-top: 2px; }

/* ── PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 56px; }
.process-step { position: relative; }
.process-step::after { content: ''; position: absolute; top: 28px; right: -30px; width: 60px; height: 1px; background: var(--border); }
.process-step:last-child::after { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 14px; background: rgba(214,80,80,0.1); border: 1px solid rgba(214,80,80,0.25); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--red); margin-bottom: 20px; }
.process-step h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.process-step p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── FORM ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .4px; margin-bottom: 7px; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; background: var(--dark3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--white); font-family: var(--font-sans); outline: none; transition: border-color .2s; }
.form-field input:focus, .form-field textarea:focus { border-color: rgba(214,80,80,0.5); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* === FORMULARIO DE CONTACTO MEJORADO === */
/* Estados de campo */
.form-field { position: relative; margin-bottom: 20px; }
.form-field label { transition: color .2s; }
.form-field input,
.form-field textarea {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #555; }

/* Focus */
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,80,80,0.15);
}

/* Error */
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #ef4444;
  box-shadow: none;
}
.form-field.has-error input:focus,
.form-field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}
.form-field.has-error label { color: #f87171; }

/* Válido */
.form-field.is-valid input,
.form-field.is-valid textarea {
  border-color: rgba(34,197,94,0.5);
}

/* Mensaje de error inline */
.field-error {
  display: none;
  font-size: 12px;
  color: #f87171;
  margin-top: 5px;
  padding-left: 2px;
  line-height: 1.4;
}
.form-field.has-error .field-error { display: block; }

/* Mensaje global éxito/error */
.form-notice {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 10px;
}
.form-notice.show { display: flex; }
.form-notice.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.form-notice.error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}
.form-notice .notice-icon { flex-shrink: 0; margin-top: 1px; }

/* Botón — estado loading */
#form-btn { position: relative; width: 100%; justify-content: center; transition: opacity .2s, transform .2s; }
#form-btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }
#form-btn .btn-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Focus visible accesibilidad */
.form-field input:focus-visible,
.form-field textarea:focus-visible,
#form-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Contact details */
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail .ci { width: 40px; height: 40px; border-radius: 10px; background: rgba(214,80,80,0.1); border: 1px solid rgba(214,80,80,0.2); display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; }
.contact-detail .ct { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-detail .ct strong { display: block; color: var(--white); font-size: 13px; margin-bottom: 2px; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4, .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .process-step::after { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wa-bubble {
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform .25s, box-shadow .25s;
  flex-shrink: 0;
}
.wa-float:hover .wa-bubble {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.wa-label {
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.wa-float:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 18px; }
  .wa-label { display: none; }
}

/* ── SHARED NAV JS HELPER ── */

/* ════════════════════════════════════════
   ANIMATIONS & EFFECTS
════════════════════════════════════════ */

/* Page entrance */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in .35s ease both; }

/* Reveal variants — left / right / scale */
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-scale { opacity: 0; transform: scale(.93) translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* Animated gradient text on hero headings */
@keyframes gradient-flow {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}
.hero-content h1 em,
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--red) 0%, #ff7070 45%, var(--red) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 3s ease-in-out infinite;
}

/* Hero float cards bobbing */
@keyframes float-bob {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-10px); }
}
.hero-float   { animation: float-bob 3.5s ease-in-out infinite; }
.hero-float-2 { animation-delay: -1.75s; }

/* Divider grow when parent enters viewport */
.divider { width: 0 !important; transition: width .65s cubic-bezier(.22,1,.36,1) .1s !important; }
.reveal.visible .divider,
.section-header.visible .divider { width: 48px !important; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), #ff8080, var(--red));
  background-size: 200% auto;
  animation: gradient-flow 2s linear infinite;
  z-index: 10001; pointer-events: none;
  transition: width .08s linear;
}

/* Navbar scrolled state */
#navbar.scrolled {
  background: rgba(8,8,8,.97);
  box-shadow: 0 4px 40px rgba(0,0,0,.8);
  border-bottom-color: rgba(255,255,255,.1);
}

/* Stat card hover */
.stat-card { transition: border-color .25s, transform .25s, box-shadow .25s; }
.stat-card:hover { border-color: rgba(214,80,80,.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }

/* CTA banner button pulse */
@keyframes cta-glow {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
  50%      { box-shadow: 0 4px 32px rgba(0,0,0,.25), 0 0 0 8px rgba(255,255,255,.07); }
}
.cta-banner .btn-white { animation: cta-glow 2.2s ease-in-out infinite; }

/* 3D tilt prep */
.service-card, .stat-card, .card { will-change: transform; }

/* Nav link active underline GROW */
.nav-links a.active::after { width: 16px; transition: width .3s ease; }

/* ── Back to top button ── */
.btt-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.btt-float.visible {
  opacity: 1;
  visibility: visible;
}
.btt-circle {
  background: #d65050;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(214,80,80,0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btt-float:hover .btt-circle {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(214,80,80,0.60);
}
@media (max-width: 600px) {
  .btt-float { bottom: 90px; left: 18px; }
  .btt-circle { width: 48px; height: 48px; }
  .btt-circle svg { width: 18px; height: 18px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-float, .hero-float-2 { animation: none; }
}
