/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KONFIDO DESIGN SYSTEM v4
   Aesthetic: DRAMATIC EDITORIAL CONTRAST
   Display: Playfair Display — luxury serif, cinematic
   Body: Syne — geometric, technical, modern
   Palette: Pure White ↔ Deep Navy ↔ Red slash
   Signature: scroll bar roja, cursor rojo, texto masivo
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --red:    #c32226;
  --red-h:  #e02428;
  --red-c:  #4C020C;
  --navy:   #150f32;
  --navy2:  #0d0920;
  --navy3:  #1c1540;
  --white:  #ffffff;
  --cream:  #f8f5f0;
  --ink:    #1a1625;
  --muted:  #8a8fa8;
  --border: rgba(21,15,50,.1);
  --border-light: rgba(255,255,255,.08);
  --nav-h:  68px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

/* ── custom cursor ── */
*, a, button, [onclick] { cursor: none !important; }
#cursor {
  width:10px; height:10px;
  background:var(--red);
  border-radius:50%;
  position:fixed; pointer-events:none; z-index:99999;
  transform:translate(-50%,-50%);
  transition:transform .1s, width .25s, height .25s, background .2s;
  mix-blend-mode:normal;
}

@media(max-width:768px){
  #cursor{
    display: none;
  }
}


#cursor-ring {
  width:36px; height:36px;
  border:1.5px solid var(--red);
  border-radius:50%;
  position:fixed; pointer-events:none; z-index:99998;
  transform:translate(-50%,-50%);
  transition:all .18s cubic-bezier(.22,1,.36,1);
  opacity:.5;
}

@media(max-width:768px){
  #cursor-ring{
    display: none;
  }
}

body:hover #cursor { opacity:1; }

/* ── scroll progress ── */
#progress {
  position:fixed; top:0; left:0; height:2.5px;
  background:var(--red); z-index:10001;
  width:0%; transition:width .05s linear;
}

/* ── scrollbar ── */
::-webkit-scrollbar { width:3px; }
::-webkit-scrollbar-track { background:var(--navy2); }
::-webkit-scrollbar-thumb { background:var(--red); }

body {
  font-family:'Montserrat',sans-serif;
  background:var(--white);
  color:var(--ink);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ━━━ PAGES ━━━ */
.page { display:none; }
.page.active { display:block; }

/* ━━━ NAV ━━━ */

.logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  cursor:none !important;
  padding: 15px;
}

.logo-img {
  height: 30px; /* ajusta según tu diseño */
  width: auto;
  /*display: none;*/
}

@media (max-width:768px){
  .logo-img{
    display: none;
  }
}


.logo-img2 {
  height: 30px; /* ajusta según tu diseño */
  width: auto;
}

.logo-img-paraguas {
  height: 150px; /* ajusta según tu diseño */
  width: auto;
}

.img-equipo {
  height: 80px; /* ajusta según tu diseño */
  width: auto;
}



.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 56px;
  background: transparent;
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  transition:background .3s;
  /* Elementos pasan abajo */
  flex-wrap: wrap;
  gap: 10px;
}

@media(max-width: 768px){
  .nav{
    display: block;
  }
}


.nav.dark-bg {
  background:rgba(21,15,50,.97);
  border-bottom-color:var(--border-light);
}

@media (max-width: 768px){
  .nav {
    padding: 5px;
  }
}

.logo-mark {
  font-family:'Playfair Display',serif;
  font-size:21px; font-weight:900;
  color:var(--navy); letter-spacing:-.3px;
  transition:color .2s;
}
.logo-mark .slash { color:var(--red); font-style:italic; }
.nav.dark-bg .logo-mark { color:var(--white); }
.logo-sub {
  font-size:8px; font-weight:600; letter-spacing:2.5px;
  text-transform:uppercase; color:var(--muted);
  display:block; margin-top:-3px;
}
.nav-links {
  display:flex; align-items:center; gap:32px;
}

@media (max-width: 768px){
  .nav-links{
    display: none;
    padding: 20px;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #5C0A16;
  }

  .nav-links.activo{
    display: flex;
  }

}

.nav-link {
  font-size:12px; font-weight:600; letter-spacing:.8px;
  text-transform:uppercase; color:var(--muted);
  text-decoration:none; position:relative;
  padding-bottom:3px; transition:color .2s;
}
.nav-link::after {
  content:''; position:absolute; left:0; bottom:0;
  width:0; height:1.5px; background:var(--red);
  transition:width .25s cubic-bezier(.22,1,.36,1);
}
.nav-link:hover, .nav-link.active { color:var(--red); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

@media (max-width: 768px){
  .nav-link{
    font-size: 10px;
  }
}



.nav.dark-bg .nav-link:hover, .nav.dark-bg .nav-link.active { color:var(--white); }
.nav-status {
  display:flex; align-items:center; gap:6px;
  font-size:10px; font-weight:700; color:#00c4a0;
  letter-spacing:1px; text-transform:uppercase;
}

@media(max-width: 768px){
  .nav-status{
    display:none;
    margin-left: 120px;
  }
}

.live-dot {
  width:6px; height:6px; background:#00c4a0; border-radius:50%;
  animation:livepulse 2s ease infinite;
}
@keyframes livepulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(0,196,160,.4)} 50%{opacity:.6;box-shadow:0 0 0 4px rgba(0,196,160,0)} }
.nav-cta {
  background:var(--red); color:var(--white);
  font-size:11px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; padding:10px 22px;
  border:none; border-radius:2px;
  transition:all .2s; white-space:nowrap;
  clip-path:polygon(0 0,100% 0,100% 100%,0 100%);
}
.nav-cta:hover { background:var(--red-h); transform:translateY(-1px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMACIONES DE ENTRADA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal {
  opacity:0; transform:translateY(40px);
  transition:opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-40px); transition:opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal-left.in { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s} .d6{transition-delay:.6s}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SHARED COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eyebrow {
  font-size:10px; font-weight:700; letter-spacing:4px;
  text-transform:uppercase; color:var(--red);
  display:flex; align-items:center; gap:10px;
  margin-bottom:18px;
}
.eyebrow::before { content:''; width:24px; height:1px; background:var(--red); }
.eyebrow.light { color:rgba(195,34,38,.7); }
.eyebrow.light::before { background:rgba(195,34,38,.7); }

.display-custom {
  font-family:'Playfair Display',serif;
  font-size:clamp(52px,7vw,60px);
  line-height:.900; letter-spacing:-2px;
  font-weight:900; color:var(--navy);
}

.display-xl {
  font-family:'Playfair Display',serif;
  font-size:clamp(52px,7vw,60px);
  line-height:.92; letter-spacing:-2px;
  font-weight:900; color:var(--navy);
}

@media(max-width:768px){
  .display-xl{
    font-size:clamp(42px,7vw,60px);
  }
}


.display-xl em { font-style:italic; color:var(--red); }
.display-xl.white { color:var(--white); }
.display-xl.white em { color:var(--red); }

.display-lg {
  font-family:'Playfair Display',serif;
  font-size:clamp(36px,4.5vw,64px);
  line-height:1; letter-spacing:-1px;
  font-weight:900; color:var(--navy);
}
.display-lg em { font-style:italic; color:var(--red); }
.display-lg.white { color:var(--white); }

.display-md {
  font-family:'Playfair Display',serif;
  font-size:clamp(24px,2.8vw,40px);
  line-height:1.1; letter-spacing:-.5px;
  font-weight:700; color:var(--navy);
}
.display-md.white { color:var(--white); }

.body-text {
  font-size:15px; font-weight:400; line-height:1.85;
  color:var(--muted);
}
.body-text.white { color:rgba(255,255,255,.45); }
.body-text strong { color:var(--ink); font-weight:600; }
.body-text.white strong { color:rgba(255,255,255,.9); }

/* ── PILL / TAG ── */
.pill {
  display:inline-flex; align-items:center; gap:6px;
  font-size:10px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; padding:6px 14px;
  border-radius:100px;
}
.pill-red { background:rgba(195,34,38,.08); color:var(--red); border:1px solid rgba(195,34,38,.2); }
.pill-white { background:rgba(255,255,255,.07); color:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.12); }
.pill-green { background:rgba(0,196,160,.08); color:#00c4a0; border:1px solid rgba(0,196,160,.2); }

/* ── BTN ── */
.btn {
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Syne',sans-serif; font-size:12px;
  font-weight:700; letter-spacing:1px; text-transform:uppercase;
  text-decoration:none; border:none;
  transition:all .25s cubic-bezier(.22,1,.36,1);
  position:relative; overflow:hidden;
}
.btn-red {
  background:var(--red); color:var(--white);
  padding:15px 32px; border-radius:2px;
  box-shadow:0 4px 28px rgba(195,34,38,.3);
}
.btn-red:hover { background:var(--red-h); transform:translateY(-2px); box-shadow:0 8px 40px rgba(195,34,38,.4); }
.btn-outline-white {
  background:var(--white); padding:14px 30px; border-radius:2px;
  border:1px solid rgba(255,255,255,.2);
}
.btn-outline-white:hover { background:rgba(195,34,38,.4); border-color:rgba(255,255,255,.4); }
.btn-outline-dark {
  color:var(--navy); padding:14px 30px; border-radius:2px;
  border:1px solid rgba(21,15,50,.2);
}
.btn-outline-dark:hover { border-color:var(--navy); }
.btn-arrow { font-size:16px; transition:transform .2s; }
.btn:hover .btn-arrow { transform:translateX(4px); }
.btn-ghost-red { color:var(--red); font-size:13px; font-weight:600; letter-spacing:.5px; text-transform:none; padding:0; gap:6px; }
.btn-ghost-red .btn-arrow { font-size:14px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE: HOME
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── HERO SPLIT ── */

.hero-custom {
  /*min-height:100vh;*/
  padding-top:100px;
  padding-left:40px;
  padding-right:40px;
  overflow:hidden;
}


.hero {
  /*min-height:100vh;*/
  display:grid; 
  grid-template-columns:55% 45%;
  padding-top:var(--nav-h);
  overflow:hidden;
}

@media (max-width: 768px){
  .hero{
    grid-template-columns: 1fr;
  }
}


.hero-left {
  background:var(--white);
  padding:20px 72px 40px 72px;
  display:flex; flex-direction:column; 
  /*justify-content:center;*/
  position:relative;
}
/* número gigante de fondo */
.hero-left::before {
  content:'72%';
  font-family:'Playfair Display',serif;
  font-size:320px; font-weight:900; color:rgba(21,15,50,.03);
  position:absolute; bottom:-40px; right:-20px;
  line-height:1; pointer-events:none; user-select:none;
}
.hero-kicker { margin-bottom:36px; }
.hero-heading { margin-bottom:28px; }
.hero-subtext {
  max-width:420px; margin-bottom:20px;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
.hero-metrics {
  display:flex; gap:0;
  border-top:1px solid var(--border);
  padding-top:40px;
}
.hero-metric {
  flex:1; padding-right:28px;
  border-right:1px solid var(--border);
}
.hero-metric:last-child { padding-right:0; padding-left:28px; border-right:none; }
.metric-num {
  font-family:'Playfair Display',serif;
  font-size:38px; font-weight:900; color:var(--navy);
  line-height:1; margin-bottom:4px;
}
.metric-num .accent { color:var(--red); }
.metric-label { font-size:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }

/* hero right — dark panel */
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  /* padding: 60px 40px; */
  position:relative;
}

.hero-right-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:44px 44px;
}
.hero-right-glow {
  position:absolute; width:400px; height:400px;
  background:radial-gradient(circle,rgba(195,34,38,.12) 0%,transparent 70%);
  top:50%; left:50%; transform:translate(-50%,-50%);
  pointer-events:none;
}
.threat-widget {
  position:relative; z-index:2;
  width:100%; max-width:340px;
  display:flex; flex-direction:column; gap:0px;
}

@media(max-width:768px){
  .threat-widget{
    display: none;
  }
}

.tw-card {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px; padding:18px 20px;
  backdrop-filter:blur(12px);
  margin-top: 3rem;
}

@media(max-width:768px){
  .tw-card{
    margin-top: 2rem;
  }
}


.tw-card-head {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:14px;
}
.tw-title { font-size:14px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255); }
.tw-badge {
  display:flex; align-items:center; gap:5px;
  font-size:12px; font-weight:700; letter-spacing:1px; color:#00c4a0;
}
/* gauge SVG */
.tw-gauge-wrap { display:flex; justify-content:center; position:relative; margin-bottom:10px; }
.tw-gauge-info { position:absolute; top:50%; left:50%; transform:translate(-50%,-20%); text-align:center; }
.tw-gauge-val { font-family:'Playfair Display',serif; font-size:32px; font-weight:900; color:var(--white); line-height:1; }
.tw-gauge-sub { font-size:8px; font-weight:600; letter-spacing:1px; color:rgba(255,255,255,.25); text-transform:uppercase; }

/* event list */
.ev-item {
  display:flex; align-items:flex-start; gap:10px;
  padding:9px 0; border-bottom:1px solid rgba(255,255,255,.04);
}
.ev-item:last-child { border-bottom:none; }
.ev-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; margin-top:5px; }
.ev-msg { font-size:14px; color:rgba(255,255,255,.5); flex:1; line-height:1.4; }
.ev-time { font-size:9px; color:rgba(255,255,255,.2); white-space:nowrap; font-weight:600; }

/* floating badge */
.hero-float-badge {
  position:absolute; bottom:40px; left:40px; z-index:3;
  background:var(--red);
  padding:12px 18px; border-radius:4px;
  display:flex; flex-direction:column; gap:2px;
  animation:floatbadge 4s ease-in-out infinite;
}

@media (max-width:768px){
  .hero-float-badge{
    display: none;
  }
}


@keyframes floatbadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.fb-val { font-family:'Playfair Display',serif; font-size:22px; font-weight:900; color:var(--white); line-height:1; }
.fb-label { font-size:8px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.6); }

/* ── TICKER ── */
.ticker {
  background:var(--navy);
  padding:14px 0; overflow:hidden;
  border-top:1px solid rgba(255,255,255,.04);
}
.ticker-track {
  display:flex; white-space:nowrap;
  animation:tickerMove 30s linear infinite;
}
.ticker-item {
  display:inline-flex; align-items:center; gap:20px;
  padding:0 28px; font-size:10px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase;
  color:rgba(255,255,255,.3);
}
.ticker-item .t-sep { color:var(--red); font-size:14px; }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── STATEMENT SECTION ── */
.statement {
  background:var(--white);
  padding:60px 72px;
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:center;
}

@media(max-width:768px){
  .statement{
    display: block;
  }
}



.statement-left { position:relative; }
.statement-line-num {
  font-family:'Playfair Display',serif;
  font-size:clamp(160px,18vw,240px);
  font-weight:900; color:rgba(21,15,50,.04);
  position:absolute; top:-40px; left:-20px;
  line-height:1; pointer-events:none; user-select:none;
  z-index:0;
}
.statement-content { position:relative; z-index:1; }
.statement-body { font-size:17px; line-height:1.9; color:var(--muted); margin:20px 0 32px; }
.statement-body strong { color:var(--ink); font-weight:700; }
.statement-right {}
.stat-stack { display:flex; flex-direction:column; gap:0; }
.stat-row {
  display:flex; align-items:center; gap:24px;
  padding:28px 0; border-bottom:1px solid var(--border);
}
.stat-row:last-child { border-bottom:none; }
.stat-n {
  font-family:'Playfair Display',serif;
  font-size:52px; font-weight:900; color:var(--red);
  line-height:1; min-width:120px;
}
.stat-info {}
.stat-title { font-size:14px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.stat-desc { font-size:12px; color:var(--muted); line-height:1.5; }

/* ── SERVICES (full dark section) ── */
.services-section {
  background:#1E1547;
  padding:60px 72px;
  position:relative; overflow:hidden;
}


.services-section::before {
  content:'';
  position:absolute; top:0; right:0;
  width:500px; height:500px;
  background:radial-gradient(circle,rgba(195,34,38,.08) 0%,transparent 60%);
  pointer-events:none;
}
.services-header {
  display:grid; grid-template-columns:1fr 1fr;
  gap:60px; align-items:end; margin-bottom:72px;
}

@media(max-width:768px){
  .services-header{
    display: block;
  }
}

.services-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:1px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  border-radius:4px; overflow:hidden;
}

@media(max-width: 768px){
  .services-grid{
    display: block;
  }
}

.svc-card {
  background:var(--navy3);
  padding:48px 44px;
  position:relative; overflow:hidden;
  transition:background .3s;
}
.svc-card:hover { background:rgba(195,34,38,.08); }
.svc-card::after {
  content:''; position:absolute;
  bottom:0; right:0;
  width:0; height:0;
  border-style:solid; border-width:0 0 40px 40px;
  border-color:transparent transparent rgba(195,34,38,.15) transparent;
  transition:.3s;
}
.svc-card:hover::after { border-color:transparent transparent rgba(195,34,38,.35) transparent; }
.svc-n { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(195,34,38); margin-bottom:20px; }
.svc-icon-wrap {
  width:48px; height:48px; border-radius:8px;
  background:rgba(195,34,38,.12);
  display:flex; align-items:center; justify-content:center;
  font-size:22px; margin-bottom:20px;
}
.svc-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; color:var(--white); margin-bottom:8px; line-height:1.2; }
.svc-tag { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--red); margin-bottom:14px; }
.svc-desc { font-size:13px; color:rgba(255,255,255,.4); line-height:1.7; margin-bottom:20px; }
.svc-link {
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; color:rgba(255,255,255,.3);
  text-decoration:none; transition:.2s;
}
.svc-link:hover { color:var(--white); gap:10px; }

/* ── DIAGNOSTIC SECTION ── */
.diag-section {
  background:var(--cream);
  padding:120px 72px;
}
.diag-inner { max-width:900px; margin:0 auto; text-align:center; }
.diag-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:10px; margin:52px 0 20px; text-align:left;
}
.diag-card {
  background:var(--white);
  border:1px solid rgba(21,15,50,.07);
  border-radius:4px; padding:22px 20px;
  display:flex; gap:14px; align-items:flex-start;
  transition:.25s cubic-bezier(.22,1,.36,1);
  position:relative;
}
.diag-card::before {
  content:''; position:absolute;
  left:0; top:0; bottom:0; width:0;
  background:var(--red); border-radius:4px 0 0 4px;
  transition:width .25s;
}
.diag-card:hover::before { width:3px; }
.diag-card:hover { transform:translateX(4px); box-shadow:0 4px 24px rgba(21,15,50,.08); }
.diag-cb {
  width:20px; height:20px; border-radius:4px;
  border:1.5px solid rgba(195,34,38,.3);
  flex-shrink:0; display:flex; align-items:center;
  justify-content:center; font-size:10px; color:var(--red);
  margin-top:1px;
}
.diag-q { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.diag-hint { font-size:11px; color:var(--muted); line-height:1.5; }
.diag-alert {
  background:var(--white); border:1px solid rgba(195,34,38,.15);
  border-radius:4px; padding:20px 24px;
  font-size:14px; color:var(--muted); line-height:1.7;
  border-left:3px solid var(--red);
}
.diag-alert strong { color:var(--red); font-weight:700; }

/* ── PARTNERS ── */
.partners-section {
  padding:48px 72px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; gap:48px;
  background:var(--white);
}

@media(max-width: 768px){
  .partners-section{
    display: block;
  }
}


.partners-label {
  font-size:9px; font-weight:700; letter-spacing:3px;
  text-transform:uppercase; color:var(--muted);
  white-space:nowrap; flex-shrink:0;
  padding-right:48px; border-right:1px solid var(--border);
}
.partners-list { display:flex; flex-wrap:wrap; gap:8px; }
.partner {
  font-size:12px; font-weight:700; color:var(--muted);
  padding:8px 18px; border:1px solid var(--border);
  border-radius:2px; letter-spacing:.5px;
  transition:.2s;
}
.partner:hover { color:var(--navy); border-color:var(--navy); background:var(--cream); }

/* ── PROCESS ── */
.process-section {
  background:var(--white);
  padding:60px 72px;
}
.process-steps {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0; margin-top:72px; position:relative;
}

@media(max-width:768px){
  .process-steps{
    display:flex;
    flex-direction: column;
    position:initial;
  }
}


.process-steps::before {
  content:''; position:absolute; top:28px; left:5%;
  width:90%; height:1px;
  background:linear-gradient(90deg, var(--red), rgba(195,34,38,.1));
}

@media(max-width: 768px){
  .process-steps::before{
    content:'';
  }
}

.p-step { padding:0 20px 0 0; }
.p-num {
  width:56px; height:56px; border-radius:50%;
  border:1.5px solid var(--red);
  background:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif;
  font-size:18px; font-weight:900; color:var(--red);
  margin-bottom:24px; position:relative; z-index:1;
  transition:.25s;
}
.p-step:hover .p-num { background:var(--red); color:var(--white); }
.p-title { font-size:14px; font-weight:700; color:var(--navy); margin-bottom:8px; text-transform:uppercase; letter-spacing:.5px; }
.p-desc { font-size:13px; color:var(--muted); line-height:1.6; margin-bottom:20px;}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background:var(--cream);
  padding:60px 72px;
}
.testi-grid {
  display:flex; grid-template-columns:repeat(3,1fr);
  gap:16px; margin-top:64px;
}

@media(max-width: 768px){
  .testi-grid{
    display: block;
  }
}


.testi {
  background:var(--white);
  border:1px solid rgba(21,15,50,.07);
  border-radius:4px; padding:36px;
  transition:.25s;
  position:relative;
}
.testi:hover { box-shadow:0 8px 48px rgba(21,15,50,.1); transform:translateY(-3px); }
.testi::before {
  content:'"'; font-family:'Playfair Display',serif;
  font-size:80px; line-height:.7;
  color:rgba(195,34,38,.08);
  position:absolute; top:24px; right:24px;
}
.testi-stars { color:var(--red); font-size:11px; letter-spacing:2px; margin-bottom:16px; }
.testi-quote { font-family:'Playfair Display',serif; font-size:16px; font-style:italic; color:var(--navy); line-height:1.65; margin-bottom:24px; }
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-av {
  width:38px; height:38px; border-radius:50%;
  background:var(--navy); display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:var(--white); flex-shrink:0;
}
.testi-name { font-size:13px; font-weight:700; color:var(--navy); }
.testi-role { font-size:11px; color:var(--muted); }

/* ── LEAD MAGNET ── */
.lead-section {
  background:var(--navy2);
  padding:120px 72px;
  position:relative; overflow:hidden;
}
.lead-section::after {
  content:''; position:absolute; top:0; left:0;
  width:0; height:0;
  border-style:solid; border-width:200px 200px 0 0;
  border-color:rgba(195,34,38,.08) transparent transparent transparent;
}
.lead-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:start; }
.checklist-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px; padding:28px;
}
.cl-hd {
  font-size:9px; font-weight:700; letter-spacing:3px;
  text-transform:uppercase; color:rgba(195,34,38,.7);
  margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.cl-hd::before { content:''; flex:1; height:1px; background:rgba(195,34,38,.2); }
.cl-row {
  display:flex; align-items:center; gap:10px;
  padding:10px 0; border-bottom:1px solid rgba(255,255,255,.04);
  font-size:12px; color:rgba(255,255,255,.55); font-weight:500;
}
.cl-row:last-child { border-bottom:none; }
.cl-check {
  width:18px; height:18px; border-radius:3px;
  background:rgba(195,34,38,.1); border:1px solid rgba(195,34,38,.25);
  display:flex; align-items:center; justify-content:center;
  font-size:9px; color:var(--red); flex-shrink:0;
}
.cl-blur { opacity:.12; filter:blur(3px); user-select:none; }
.cl-more { text-align:center; font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(195,34,38,.5); margin-top:14px; }
.form-card {
  background:var(--white);
  border-radius:8px; padding:40px;
}
.fc-tag {
  display:inline-block;
  background:rgba(195,34,38,.08); color:var(--red);
  font-size:9px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; padding:5px 12px; border-radius:100px;
  margin-bottom:16px;
}
.f-label { display:block; font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.f-input {
  display:block; width:100%;
  background:var(--cream); border:1.5px solid rgba(21,15,50,.1);
  border-radius:2px; padding:13px 15px;
  font-family:'Syne',sans-serif; font-size:14px; color:var(--ink);
  outline:none; transition:.2s; margin-bottom:12px;
}
.f-input:focus { border-color:var(--red); background:var(--white); }
.f-input::placeholder { color:var(--muted); }
.f-btn {
  display:block; width:100%; background:var(--red); color:var(--white);
  padding:15px; font-family:'Syne',sans-serif; font-size:12px;
  font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  border:none; border-radius:2px; margin-top:6px;
  transition:.2s; box-shadow:0 4px 24px rgba(195,34,38,.25);
  text-decoration: none;
}
.f-btn:hover { background:var(--red-h); transform:translateY(-1px); }
.f-note { font-size:11px; color:var(--muted); text-align:center; margin-top:10px; }

/* ── CTA BLOCK ── */
.cta-section { background:var(--navy); padding:80px 72px; }
.cta-inner {
  border:1px solid rgba(255,255,255,.07);
  border-radius:4px; padding:72px 80px;
  display:grid; grid-template-columns:1fr auto;
  align-items:center; gap:60px;
  position:relative; overflow:hidden;
}

@media(max-width: 768px){
  .cta-inner{
    display: block;
    padding: 0px 0px;
  }
}

.cta-inner::before {
  content:''; position:absolute; bottom:0; right:0;
  width:0; height:0; border-style:solid;
  border-width:0 0 180px 180px;
  border-color:transparent transparent rgba(195,34,38,.12) transparent;
}
.cta-inner::after {
  content:''; position:absolute; top:0; left:0;
  width:0; height:0; border-style:solid;
  border-width:120px 120px 0 0;
  border-color:rgba(255,255,255,.02) transparent transparent transparent;
}
.cta-actions { display:flex; flex-direction:column; gap:12px; align-items:flex-start; position:relative; z-index:1; }
.cta-side-note { font-size:10px; color:rgba(255,255,255,.2); letter-spacing:1px; text-align:center; width:100%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE: SERVICIOS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  background:var(--navy2);
  padding:calc(var(--nav-h) + 80px) 72px 80px;
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 80% 50%,rgba(195,34,38,.1) 0%,transparent 60%);
  pointer-events:none;
}
.page-hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:48px 48px;
  background-color: var(--navy);
}
.page-hero .container { position:relative; z-index:1; }

/* service accordion */
.svc-acc { margin-top:52px; border:1px solid var(--border); border-radius:4px; overflow:hidden; }
.svc-acc-item { border-bottom:1px solid var(--border); }
.svc-acc-item:last-child { border-bottom:none; }

.svc-acc-head {
  padding:32px 40px;
  display:grid; grid-template-columns:56px 1fr auto;
  gap:20px; align-items:center;
  background:var(--white); transition:.25s;
}

@media (max-width: 768px){
  .svc-acc-head{
    display: flex;
    flex-direction: column;
  }
}

.svc-acc-head:hover { background:var(--cream); }
.acc-icon { width:52px; height:52px; border-radius:8px; background:rgba(195,34,38,.07); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.acc-tag { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--red); margin-bottom:5px; }
.acc-title { font-family:'Playfair Display',serif; font-size:21px; font-weight:700; color:var(--navy); }
.acc-sub { font-size:12px; color:var(--muted); margin-top:3px; }
.acc-arrow { font-size:22px; color:var(--muted); transition:transform .3s, color .2s; flex-shrink:0; }
.svc-acc-item.open .acc-arrow { transform:rotate(90deg); color:var(--red); }
.svc-acc-body {
  max-height:0; overflow:hidden;
  transition:max-height .5s cubic-bezier(.22,1,.36,1);
}
.svc-acc-item.open .svc-acc-body { max-height:500px; }

@media(max-width:768px){
  .svc-acc-item.open .svc-acc-body{
    max-height: 1200px;
  }
}

.svc-acc-content {
  padding:0 40px 40px;
  border-top:1px solid var(--border);
  display:grid; grid-template-columns:1.4fr 1fr; gap:40px;
  padding-top:32px;
}

@media(max-width:768px){
  .svc-acc-content{
    display: flex;
    flex-direction: column;
  }
}

.acc-feats { list-style:none; }
.acc-feat {
  display:flex; align-items:flex-start; gap:10px;
  padding:9px 0; border-bottom:1px solid var(--border);
  font-size:13px; color:var(--muted); line-height:1.5;
}
.acc-feat:last-child { border-bottom:none; }
.acc-feat::before { content:'→'; color:var(--red); font-weight:700; flex-shrink:0; margin-top:1px; font-size:11px; }
.acc-pricing {
  background:var(--cream); border-radius:4px; padding:24px;
  display:flex; flex-direction:column; justify-content:space-between;
  border:1px solid var(--border);
}

@media(max-width:768px){
  .acc-pricing{
    display: none;
  }
}

.acc-price-label { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.acc-price-val { font-family:'Playfair Display',serif; font-size:24px; font-weight:700; color:var(--navy); margin-bottom:3px; }
.acc-price-note { font-size:11px; color:var(--muted); margin-bottom:20px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE: NOSOTROS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-hero {
  display:grid; grid-template-columns:55% 45%;
  /*min-height:calc(100vh - var(--nav-h));*/
  padding-top:var(--nav-h);
}

@media (max-width:768px){
  .about-hero{
    grid-template-columns: 1fr;
  }
}

.about-left {
  background:var(--white);
  padding:50px 40px; display:flex; flex-direction:column; justify-content:center;
}
.about-right {
  background:var(--navy2);
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; padding:60px 40px;
}
.about-right::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 40% 40%,rgba(195,34,38,.12) 0%,transparent 60%);
}
.about-stats { position:relative; z-index:1; display:flex; flex-direction:column; gap:12px; width:100%; max-width:300px; }
.about-stat {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:6px; padding:18px 22px;
  transition:.25s;
}
.about-stat:hover { background:rgba(255,255,255,.08); }
.as-num { font-family:'Playfair Display',serif; font-size:36px; font-weight:900; color:var(--red); line-height:1; margin-bottom:4px; }
.as-label { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.25); }
.values-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:40px; }
.value-card {
  background:var(--cream); border-radius:4px; padding:20px;
  border:1px solid var(--border); transition:.25s;
}
.value-card:hover { border-color:var(--red); background:var(--white); }
.val-icon { font-size:20px; margin-bottom:8px; }
.val-title { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:5px; }
.val-desc { font-size:12px; color:var(--muted); line-height:1.5; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE: RECURSOS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:56px; }

@media (max-width: 768px){
  .blog-grid{
    display: flex;
    flex-direction: column;
  }
}


.blog-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:4px; overflow:hidden; transition:.25s;
}
.blog-card:hover { transform:translateY(-4px); box-shadow:0 12px 48px rgba(21,15,50,.12); }
.blog-thumb {
  height:160px; position:relative; overflow:hidden;
  display:flex; align-items:flex-end; padding:16px;
}
.blog-cat-badge {
  font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  background:var(--red); color:var(--white); padding:4px 12px; border-radius:100px;
}
.blog-body { padding:24px; }
.blog-date { font-size:10px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.blog-title { font-family:'Playfair Display',serif; font-size:19px; color:var(--navy); margin-bottom:10px; line-height:1.3; }
.blog-excerpt { font-size:12px; color:var(--muted); line-height:1.65; margin-bottom:16px; }
.blog-more { font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--red); display:flex; align-items:center; gap:5px; }
.resource-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:32px; }
.res-card {
  background:var(--cream); border:1px solid var(--border);
  border-radius:4px; padding:24px; display:flex; gap:14px;
  transition:.25s;
}
.res-card:hover { background:var(--white); box-shadow:0 4px 24px rgba(21,15,50,.08); }
.res-icon { width:44px; height:44px; border-radius:8px; background:rgba(195,34,38,.08); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.res-type { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--red); margin-bottom:4px; }
.res-title { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.res-desc { font-size:11px; color:var(--muted); line-height:1.5; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE: CONTACTO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-hero {
  background:var(--navy2);
  padding:calc(var(--nav-h) + 80px) 72px 80px;
  position:relative; overflow:hidden;
}
.contact-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 100% 50%,rgba(195,34,38,.1) 0%,transparent 55%);
  pointer-events:none;
}
.contact-body {
  background:var(--white); padding:80px 72px;
  display:grid; grid-template-columns:1fr 1.3fr; gap:80px; align-items:center;
}

@media(max-width:768px){
  .contact-body{
    display: flex;
    flex-direction: column;
  }
}

.contact-channels { display:flex; flex-direction:column; gap:10px; margin-top:36px; }
.ch-card {
  background:var(--cream); border:1px solid var(--border);
  border-radius:4px; padding:16px 20px;
  display:flex; align-items:center; gap:14px; transition:.25s;
}

@media(max-width:768px){
  .ch-card{
    display: block;
  }
}

.ch-card:hover { border-color:var(--red); background:var(--white); }
.ch-ico {
  width:38px; height:38px; border-radius:6px;
  background:rgba(195,34,38,.07); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
}
.ch-lbl { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--red); margin-bottom:2px; }
.ch-val { font-size:13px; font-weight:600; color:var(--navy); }
.offices { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:32px; }
.office {
  background:var(--navy); border-radius:4px; padding:20px;
  position:relative; overflow:hidden;
}
.office::after { content:''; position:absolute; bottom:0; right:0; width:0; height:0; border-style:solid; border-width:0 0 28px 28px; border-color:transparent transparent rgba(195,34,38,.3) transparent; }
.office-flag { font-size:18px; margin-bottom:8px; }
.office-city { font-family:'Playfair Display',serif; font-size:16px; color:var(--white); margin-bottom:6px; }
.office-addr { font-size:11px; color:rgba(255,255,255,.3); line-height:1.6; }

.contact {
  background:var(--white); border:1px solid var(--border);
  border-radius:4px; padding:44px;
  box-shadow:0 8px 48px rgba(21,15,50,.08);
}

.cf-title { font-family:'Playfair Display',serif; font-size:26px; color:var(--navy); margin-bottom:6px; }
.cf-sub { font-size:13px; color:var(--muted); margin-bottom:32px; }
.f-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.f-select {
  display:block; width:100%;
  background:var(--cream); border:1.5px solid rgba(21,15,50,.1);
  border-radius:2px; padding:13px 15px;
  font-family:'Syne',sans-serif; font-size:14px; color:var(--ink);
  outline:none; transition:.2s; appearance:none; margin-bottom:12px;
}
.f-select:focus { border-color:var(--red); }
.f-textarea {
  display:block; width:100%;
  background:var(--cream); border:1.5px solid rgba(21,15,50,.1);
  border-radius:2px; padding:13px 15px; min-height:110px; resize:none;
  font-family:'Syne',sans-serif; font-size:14px; color:var(--ink);
  outline:none; transition:.2s; margin-bottom:12px;
}
.f-textarea:focus { border-color:var(--red); background:var(--white); }
.f-submit {
  display:block; width:100%;
  background:var(--red); color:var(--white);
  padding:15px; font-family:'Syne',sans-serif;
  font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  border:none; border-radius:2px; transition:.2s;
  box-shadow:0 4px 24px rgba(195,34,38,.25);
}
.f-submit:hover { background:var(--red-h); transform:translateY(-1px); }
.f-submit.boton-enviando-mensaje{
  background-color: #999999;
  cursor: not-allowed;
}
.f-privacy { font-size:11px; color:var(--muted); text-align:center; margin-top:10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background:var(--navy2);
  padding:72px 72px 32px;
  border-top:2px solid var(--red);
}
.footer-grid {
  display:grid; grid-template-columns:2.2fr 1fr 1fr 1fr;
  gap:48px; margin-bottom:56px;
}
.footer-brand { font-family:'Playfair Display',serif; font-size:26px; color:var(--white); margin-bottom:4px; }
.footer-brand .slash { color:var(--red); font-style:italic; }
.footer-sub { font-size:9px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,.2); margin-bottom:16px; }
.footer-tagline { font-size:13px; font-weight:300; color:white; line-height:1.8; max-width:230px; margin-bottom:20px; }
.footer-contact { font-size:12px; color:white; margin-bottom:5px; }
.footer-col h5 { font-size:9px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(195,34,38,.6); margin-bottom:16px; }
.footer-col a {
  display:block; font-size:13px; font-weight:400;
  color:rgba(255,255,255,.3); text-decoration:none;
  margin-bottom:8px; transition:.2s;
}
.footer-col a:hover { color:var(--white); }
.footer-bottom {
  border-top:1px solid white;
  padding-top:24px; display:flex;
  justify-content:space-between; align-items:center;
  font-size:10px; color:white;
  flex-wrap:wrap; gap:10px;
}


/* CANVAS */

    .circuit-section {
      position: relative;
      width: 300%;
      height: 300%;
      overflow: hidden;
      margin-bottom: 50px;
    }

    #circuitCanvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1; /* fondo */
    }

    .circuit-section h1,
    .circuit-section button {
      position: relative;
      z-index: 2; /* encima del canvas */
      text-align: center;
    }

    .circuit-section h1 {
      margin-top: 100px;
      font-size: 2em;
    }

    .circuit-section button {
      display: block;
      margin: 20px auto 0;
      padding: 10px 20px;
      background: #0ff;
      color: #111;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    /* Animación tipo reveal */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity .8s ease, transform .8s ease;
    }
    .reveal.in {
      opacity: 1;
      transform: none;
    }


/* Icono

    .whatsapp {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 80px;
      height: 80px;
      z-index: 1000;
    }

    .whatsapp img {
      width: 80%;
      height: 80%;
    }
*/



ul {
  display: block;
  list-style: disc;
  padding-left: 20px;
}

/* CARRUSEL */

.carrusel {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.carrusel:hover .track {
  animation-play-state: paused;
}

/* Track (la fila de imágenes) */
.track {
  display: flex;
  width: calc(250px * 10); /* 10 imágenes */
  animation: scroll 20s linear infinite;
}

/* Cada imagen */
.track img {
  width: 200px;
  /* flex-shrink: 0; */
  height: 100px;
  margin-right: 10px;
  border-radius: 8px;
  object-fit: cover;
  filter: grayscale(100%);
  margin-right:30px;
  transition: transform 0.3s;
}


.track img:hover {
  filter: grayscale(0%);
}

.pausado {
  animation-play-state: paused;
}


.track img:hover {
  transform: scale(1.1);
}

/* Animación continua */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333%); 
  }
}

/* REDIRECCIÓN */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Caja */
.modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
}

/* Botones */
.modal button {
  margin: 10px;
  padding: 10px 20px;
  cursor: pointer;
}


/*Relojcito*/

.relojcontainer {
  position: relative;
  width: 300px;
  height: 200px; /* 👈 un poco más alto */
}

.value {
  position: absolute;
  top: 120px;
  width: 100%;
  text-align: center;
}

  canvas {
    position: absolute;
  }

.knob {
  width: 24px;
  height: 24px;   /* 👈 antes era 20–22px */
  background: #c21918;
  border-radius: 50%;
  position: absolute;
  cursor: grab;
  transform-origin: center;
  animation: pulso 1.5s infinite;
  z-index: 2;
  touch-action: none;
}

@keyframes pulso {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

  .knob:active {
    cursor: grabbing;
  }

/*Listas */
.list {
  display: none;
  margin-top: 15px;
  text-align: center;
  font-size: 16px;
}



/*Nuevo botón WhatsApp */

/* BOTÓN */
.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #D90D0D;
  color: #fff;
  text-decoration: none;

  padding: 12px 18px;
  border-radius: 50px;

  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  transition: all 0.3s ease;

  z-index: 10;

  /* 📌 OPCIONAL: botón flotante */
  position: fixed;
  bottom: 3rem;
  right: 3rem;
}

@media(max-width: 768px){
  .btn-contacto .btn-contacto-txt{
    display: none;
  }
}


/* ICONO */
.btn-contacto img {
  width: 24px;
  height: 24px;
}

/* HOVER */
.btn-contacto:hover {
  background: #D4342A;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

/* CLICK */
.btn-contacto:active {
  transform: scale(0.95);
}

/* 💓 Animación tipo "latido" */
@keyframes latido {
  0%, 100% {
    transform: scale(1.0);
  }
  50% {
    transform: scale(1.15);
  }
}

.btn-contacto {
  animation: latido 2s infinite;
}

.no-scroll {
  overflow: hidden;
}

/* Reloj de formulario */

#progreso {
  transition: stroke-dashoffset 0.5s ease;
}

#aguja {
  transition: transform 0.5s ease;
}

/* Para el Aviso de Privacidad */

ol.letras {
    list-style: none;
    counter-reset: item;
    padding-left: 2em; /* sangría */
}

ol.letras li {
    counter-increment: item;
    margin-bottom: 0.5em;
}

ol.letras li::before {
    content: counter(item, lower-alpha) ") ";
    margin-left: -1.5em; /* alinea las letras */
}

.display-custom-gracias-txt {
  font-family:'Montserrat',serif;
  font-size:20px;
  line-height:.900; letter-spacing:-2px;
  font-weight:600; color:var(--navy);
  margin: 20px
}

.display-custom-gracias-titulo {
  font-family:'Montserrat',serif;
  font-size:60px;
  letter-spacing:-2px;
  font-weight:900; color:var(--navy);
  margin: 20px
}

.display-custom-ap {
  font-family:'Montserrat',serif;
  font-size:clamp(35px,7vw,60px);
  line-height:.900; letter-spacing:-2px;
  font-weight:600; color:var(--navy);
}

.form-return{
  color: blue;
  text-decoration: none;
  transition: opacity 0.3 ease;
}

.form-return:hover {
  opacity:0.5
}


.display-md-ap {
  font-family:'Montserrat',serif;
  font-size:clamp(24px,2.8vw,40px);
  line-height:1.1; letter-spacing:-.5px;
  font-weight:700; color:var(--navy);
}

/* Para el enlace del aviso de privacidad */
.link,
.link:visited {
    color: inherit;      /* o el color que quieras, por ejemplo #000 */
    text-decoration: none;
}

/*Boton para citas*/
.boton-cita{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg,#e02428,#c32226);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,123,255,.3);
  transition: .3s ease;
}

@media(max-width:768px){
  .boton-cita{
    dispaly: block;
    padding: 5px 20px;
    font-size: 16px;
  }
}

.boton-cita:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 25px rgba(0,123,255,.3);
}

.boton-cita:active{
  transform:scale(.96);
}

a {
  text-decoration: none;
}

.menu-boton{
  display:none;
}

@media (max-width:768px){
  .menu-boton{
    display: flex;
    justify-content: space-between;
    margin: 10px 10px;
    font-size: 25px;
  }
}

.g-recaptcha {
  margin: 15px 0;
}

.faq-item { border-top: 1px solid rgba(21,15,50,0.12); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(21,15,50,0.12); }
.faq-item h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.08rem; }
.faq-item p { margin-bottom: 0; font-size: 0.98rem; }
.source-note { font-size: 0.85rem; color: #6b6480; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(21,15,50,0.1); }