/* ============================================
   Simple Marketing — hoja de estilos global
   Azul corporativo: #009cde · Naranja de apoyo: #ff7a29 (propuesta, ajustable)
   Fuentes: Montserrat (títulos) / Roboto (texto)
   ============================================ */

:root {
  --blanco: #ffffff;
  --azul: #009cde;
  --azul-oscuro: #0077a8;
  --texto: #2b2b2b;
  --texto-suave: #5a5f66;
  --naranja: #ff7a29;
  --gris-claro: #fafcfe;
  --borde: #eaeef2;
  --radio: 14px;
  --sombra: 0 4px 16px rgba(0, 40, 70, 0.05);
  --max-width: 1140px;
  --font-titulo: "Montserrat", "Roboto", sans-serif;
  --font-texto: "Roboto", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='34' viewBox='0 0 30 34'%3E%3Cpath d='M3 2 L3 27 L10 21 L14 31 L19 29 L14.5 19 L23 19 Z' fill='%23ff7a29' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto;
}

a, button, .btn, summary, .menu-toggle, input, select, textarea, label {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='12' fill='none' stroke='white' stroke-width='5'/%3E%3Ccircle cx='17' cy='17' r='12' fill='none' stroke='%23ff7a29' stroke-width='3'/%3E%3Ccircle cx='17' cy='17' r='5' fill='%23009cde' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 17 17, pointer;
}

body {
  margin: 0;
  font-family: var(--font-texto);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-titulo);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--texto-suave); }

a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.claim {
  display: inline-block;
  color: var(--azul);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .5em;
  text-transform: uppercase;
  font-size: .85rem;
}

/* El claim de cabecera es el gancho comercial: debe llamar más la atención que el h1 de rol/categoría */
.claim-hero {
  display: block;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  color: var(--azul);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: .3em;
  max-width: 20ch;
}
.hero h1 {
  font-weight: 600;
  color: var(--texto-suave);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

section { padding: 88px 0; }
section.alt {
  background-color: var(--gris-claro);
  background-image: radial-gradient(rgba(0,156,222,.16) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary { background: var(--azul); color: var(--blanco); box-shadow: 0 8px 20px rgba(0,156,222,.3); }
.btn-primary:hover { background: var(--azul-oscuro); }

.btn-accent { background: var(--naranja); color: var(--blanco); box-shadow: 0 8px 20px rgba(255,122,41,.3); }
.btn-accent:hover { background: #e8681c; }

.btn-outline { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn-outline:hover { background: var(--azul); color: var(--blanco); }

.btn-ghost-white { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.6); }
.btn-ghost-white:hover { background: var(--blanco); color: var(--azul); }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 34px; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.main-nav a {
  color: var(--texto);
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.activo { color: var(--azul); text-decoration: none; border-color: var(--azul); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--texto); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-grid.reverse { grid-template-columns: .9fr 1.1fr; }
.hero-grid.reverse .hero-media { order: -1; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.15rem; color: var(--texto-suave); max-width: 46ch; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Detalle gráfico animado (el "toque divertido") ---------- */
.decor-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.decor-blob {
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -50px;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  background: rgba(0, 156, 222, 0.08);
  animation: girar 18s linear infinite, flotar 6s ease-in-out infinite;
}
.decor-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--naranja);
  top: 18%;
  left: -6px;
  animation: flotar 4s ease-in-out infinite;
}
.decor-dot.dos {
  width: 9px; height: 9px;
  top: auto; bottom: 12%;
  left: auto; right: 12%;
  animation-delay: 1.2s;
}
@keyframes girar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  .decor-blob, .decor-dot { animation: none; }
}

/* ---------- Fork (dos perfiles) ---------- */
.fork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.fork-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 40px 34px;
  box-shadow: var(--sombra);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fork-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,40,70,.08); }
.fork-card h3 { margin-bottom: .3em; }
.fork-card p { margin-bottom: 1.6em; }

/* ---------- Pasos / cómo funciona: línea de tiempo con iconos ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 0;
  border-top: 2px dashed rgba(0,156,222,.35);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.timeline-step .icono-paso {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--blanco);
  border: 2px solid var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-step .icono-paso svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--azul);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline-step .num-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--naranja);
  color: var(--blanco);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: .72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--gris-claro);
}
.timeline-step h4 { margin: 0; font-size: 1rem; font-family: var(--font-titulo); }
.timeline-step p { margin: 0; font-size: .88rem; color: var(--texto-suave); }

/* ---------- Carrusel de logos de clientes ---------- */
.clientes-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clientes-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: desfile 34s linear infinite;
}
.clientes-track img {
  max-height: 84px;
  width: auto;
  filter: grayscale(1) opacity(.6);
  transition: filter .2s ease;
}
@media (max-width: 640px) {
  .clientes-track { gap: 56px; }
  .clientes-track img { max-height: 60px; }
}
.clientes-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes desfile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clientes-track { animation: none; } }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline-step { flex-direction: row; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--borde); }
  .timeline-step:last-child { border-bottom: none; }
  .timeline-step .icono-paso { flex: none; width: 58px; height: 58px; }
  .timeline-step .icono-paso svg { width: 24px; height: 24px; }
}

/* ---------- Áreas / checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
}
.checklist li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--naranja);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Quién soy / bio con foto ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.bio-grid img { border-radius: var(--radio); box-shadow: var(--sombra); width: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* ---------- Logos de empresas ---------- */
.logos-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
.logos-strip img {
  filter: grayscale(1) opacity(.65);
  transition: filter .2s ease;
  max-height: 46px;
  width: auto;
  margin: 0 auto;
}
.logos-strip img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Testimonios ---------- */
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 28px;
  box-shadow: var(--sombra);
}
.testi-card p { color: var(--texto); font-style: italic; margin-bottom: 18px; }
.testi-card .autor { font-family: var(--font-titulo); font-weight: 600; color: var(--azul); font-style: normal; font-size: .9rem; }

/* ---------- Blog teaser ---------- */
.blog-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--azul);
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 48px;
}
.blog-teaser h2, .blog-teaser p { color: var(--blanco); }

/* ---------- Precio ---------- */
.precio-box {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.precio-box .precio {
  font-family: var(--font-titulo);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 4px;
}
.precio-box .precio span { font-size: 1rem; font-weight: 500; color: var(--texto-suave); }
.precio-box ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.precio-box ul li { display: flex; gap: 10px; align-items: flex-start; }
.precio-box ul li::before { content: "✓"; color: var(--naranja); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--borde); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--azul); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacto-metodos { display: grid; gap: 16px; }
.contacto-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.contacto-item .icono {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gris-claro);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contacto-item .icono svg { width: 22px; height: 22px; stroke: var(--azul); }
.contacto-item strong { display: block; font-family: var(--font-titulo); }
.cafe-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.cafe-list li { padding-left: 22px; position: relative; color: var(--texto-suave); }
.cafe-list li::before { content: "📍"; position: absolute; left: 0; }
.calendly-wrap { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }

/* ---------- Legal ---------- */
.legal-content h2 { margin-top: 1.6em; }
.legal-content ul { color: var(--texto-suave); }
.legal-content p, .legal-content li { color: var(--texto-suave); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--texto); color: #cfd6dc; padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-col h4 { color: var(--blanco); font-size: 1rem; margin-bottom: 1em; }
.footer-col a { color: #cfd6dc; }
.footer-col a:hover { color: var(--blanco); }
.footer-logo img { height: 32px; margin-bottom: 16px; }
.footer-map { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 10px; text-align: right; }
.footer-legal { display: grid; gap: 8px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: #8b939b;
  text-align: center;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 12px 36px rgba(0,40,70,.14);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--texto-suave); flex: 1 1 280px; }
.cookie-banner p a { color: var(--azul); }
.cookie-banner .cookie-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .hero-grid.reverse { grid-template-columns: 1fr; }
  .hero-grid.reverse .hero-media { order: 0; }
  .hero-media { max-width: 380px; margin: 0 auto; }
  .fork-grid, .checklist, .testi-track, .contacto-grid, .blog-teaser, .bio-grid { grid-template-columns: 1fr; }
  .bio-grid img { max-width: 320px; margin: 0 auto; }
  .logos-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-contact { text-align: left; }
  nav.main-nav {
    position: fixed;
    inset: 69px 0 0 0;
    background: var(--gris-claro);
    border-top: 1px solid var(--borde);
    box-shadow: 0 18px 34px rgba(0,40,70,.14);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-110%);
    transition: transform .25s ease;
    height: calc(100vh - 69px);
    overflow-y: auto;
  }
  nav.main-nav.abierto { transform: translateY(0); }
  nav.main-nav a {
    padding: 19px 2px;
    border-bottom: 1px solid var(--borde);
    font-size: 1.05rem;
  }
  nav.main-nav a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  section { padding: 64px 0; }
}
