/* =========================================================
   Servicio 1-2-3 — hoja de estilos compartida
   Tokens de marca tomados del volante original (rojo/amarillo/naranja)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --yellow:      #FFC22E;
  --yellow-deep: #F5A400;
  --orange:      #F07B1D;
  --red:         #C31F2E;
  --red-deep:    #8E1220;
  --purple:      #3F1A4A;
  --cream:       #FFF7E6;
  --paper:       #FFFCF5;
  --ink:         #241208;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --radius: 14px;
  --border: 3px solid var(--ink);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.15;
}

p{ margin: 0 0 1em; }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -----------------------------------------------------------
   Barra de navegación
----------------------------------------------------------- */
.site-header{
  background: var(--red);
  border-bottom: 5px solid var(--red-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--yellow);
}

.brand img{
  width: 52px;
  height: auto;
}

.brand-text{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--yellow);
  letter-spacing: .5px;
  text-shadow: 2px 2px 0 var(--red-deep);
}

.brand-text small{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .6rem;
  color: #fff;
  letter-spacing: 1px;
}

.nav-links{
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a{
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"]{
  background: var(--yellow);
  color: var(--red-deep);
}

.nav-toggle{
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  color: var(--yellow);
  width: 42px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 720px){
  .nav-toggle{ display: block; }
  .nav-links{
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--red);
    flex-direction: column;
    padding: 8px 24px 16px;
    display: none;
    border-bottom: 5px solid var(--red-deep);
  }
  .nav-links.open{ display: flex; }
}

/* -----------------------------------------------------------
   Bloque diagonal (marca de identidad del volante)
----------------------------------------------------------- */
.diagonal-block{
  position: relative;
  background: var(--yellow);
  overflow: hidden;
  padding: 64px 0 96px;
}

.diagonal-block::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--orange);
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}

.diagonal-block.compact{ padding: 44px 0 84px; }

.diagonal-block .wrap{ position: relative; z-index: 2; }

/* -----------------------------------------------------------
   Hero (portada)
----------------------------------------------------------- */
.hero{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
}

.hero-eyebrow{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red-deep);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero h1{
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: var(--red);
  text-shadow: 3px 3px 0 var(--red-deep);
  margin-bottom: .3em;
}

.hero p.lead{
  font-size: 1.1rem;
  color: var(--purple);
  max-width: 46ch;
}

.hero-figure{
  justify-self: center;
}

@media (max-width: 780px){
  .hero{ grid-template-columns: 1fr; text-align: center; }
  .hero p.lead{ margin-inline: auto; }
  .hero-figure{ order: -1; max-width: 280px; }
}

/* -----------------------------------------------------------
   Botones
----------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover{
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active{
  transform: translate(1px,1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-whatsapp{
  background: #25D366;
  color: var(--ink);
}

.btn-outline{
  background: var(--paper);
  color: var(--red-deep);
}

.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 780px){
  .btn-row{ justify-content: center; }
}

/* -----------------------------------------------------------
   Secciones generales
----------------------------------------------------------- */
section{ padding: 64px 0; }

.section-heading{
  max-width: 62ch;
  margin-bottom: 40px;
}

.section-heading h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--red);
}

.section-heading .kicker{
  font-family: var(--font-display);
  color: var(--orange);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 6px;
}

.section-alt{
  background: #fff;
  border-top: 3px solid var(--yellow-deep);
  border-bottom: 3px solid var(--yellow-deep);
}

/* -----------------------------------------------------------
   Tarjetas de servicio / software
----------------------------------------------------------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 5px 5px 0 var(--yellow-deep);
}

.card h3{
  color: var(--red-deep);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card .tag{
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.card ul{
  margin: 0;
  padding-left: 1.2em;
}

.card ul li{ margin-bottom: 4px; }

.card p{ margin-bottom: 8px; }

/* -----------------------------------------------------------
   Lista de pasos (mantenimiento)
----------------------------------------------------------- */
.steps{
  display: grid;
  gap: 18px;
}

.step{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.step-num{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--orange);
  border: 3px solid var(--ink);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3{ color: var(--red-deep); margin-bottom: 4px; font-size: 1.1rem; }
.step p{ margin: 0; }

/* -----------------------------------------------------------
   Franja CTA (WhatsApp)
----------------------------------------------------------- */
.cta-strip{
  background: var(--red);
  color: #fff;
  border-top: 5px solid var(--red-deep);
  border-bottom: 5px solid var(--red-deep);
}

.cta-strip .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cta-strip h2{
  color: var(--yellow);
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.cta-strip p{ margin: 0; color: #fff; }

/* -----------------------------------------------------------
   Contacto
----------------------------------------------------------- */
.contact-panel{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 780px){
  .contact-panel{ grid-template-columns: 1fr; }
}

.contact-card{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 6px 6px 0 var(--red-deep);
}

.contact-card h3{ color: var(--red-deep); }

.contact-number{
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--red);
  margin: 8px 0 18px;
}

.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.badge{
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .82rem;
  font-weight: 600;
}

/* -----------------------------------------------------------
   Medios de pago
----------------------------------------------------------- */
.payment-card .card-icon{
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.field-list{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.field-list li{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #D9C9A8;
  font-size: .95rem;
}

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

.field-list .field-label{
  color: var(--purple);
  font-weight: 600;
}

.field-list .field-value{
  color: var(--ink);
  opacity: .65;
  font-style: italic;
}

.digital-subgrid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.note-banner{
  background: var(--yellow);
  border: var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--red-deep);
  font-weight: 600;
  margin-bottom: 36px;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer{
  background: var(--purple);
  color: #fff;
  padding: 34px 0;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner p{ margin: 0; color: #E9DCEF; font-size: .92rem; }

.footer-inner a{ color: var(--yellow); text-decoration: none; font-weight: 600; }
.footer-inner a:hover{ text-decoration: underline; }

/* -----------------------------------------------------------
   Utilidades
----------------------------------------------------------- */
.figure-frame{
  background: #fff;
  border: var(--border);
  border-radius: 50%;
  padding: 18px;
  box-shadow: 7px 7px 0 var(--red-deep);
}

.reset-figure{
  max-width: 220px;
  margin: 0 auto;
}

.center-text{ text-align: center; }

.split-panel{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 780px){
  .split-panel{ grid-template-columns: 1fr; text-align: center; }
  .split-panel .reset-figure{ order: -1; max-width: 220px; margin-inline: auto; }
}
