/* ==========================================================================
   Proalty — hoja de estilos
   Fuentes alojadas en /fonts (sin llamadas a Google: sin cookies de terceros)
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #FF6600;
  --orange-dark: #E85D00;
  --orange-soft: #FAA267;
  --ink: #111111;
  --navy: #0D0D1A;
  --cream: #FDF7F1;
  --surface: #F9F8F6;
  --white: #FFFFFF;
  --text: #111111;
  --text-2: #444444;
  --muted: #888888;
  --line: #E9E6E1;
  --line-dark: rgba(255, 255, 255, .12);

  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;

  --wrap: 1160px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.accent { color: var(--orange); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.logo img { height: 34px; width: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-head); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--cream); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Cabecera (fondo blanco) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--orange); }

/* ---------- Secciones ---------- */
section { padding: 112px 0; scroll-margin-top: 76px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-weight: 500; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; margin-bottom: 28px; background: var(--white);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-head p { color: var(--text-2); font-size: 18px; margin: 18px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 104px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); margin-bottom: 28px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 540px; margin-bottom: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 40px 0 0; }
.chips li { font-size: 14px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.hero-media { display: grid; gap: 16px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 60% 30%; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: var(--white); }
.stat b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 32px; line-height: 1; color: var(--orange); margin-bottom: 10px; letter-spacing: -.02em; }
.stat span { font-size: 14px; line-height: 1.35; color: var(--text-2); display: block; }

/* Hero oscuro con difuminado naranja */
.hero.dark { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero.dark::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(circle, rgba(255, 102, 0, .38), rgba(255, 102, 0, 0) 65%);
  pointer-events: none;
}
.hero.dark::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -320px; bottom: -420px;
  background: radial-gradient(circle, rgba(255, 102, 0, .16), rgba(255, 102, 0, 0) 65%);
  pointer-events: none;
}
.hero.dark .wrap { position: relative; z-index: 1; }
.hero.dark .pill { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: rgba(255, 255, 255, .8); }
.hero.dark .lead { color: rgba(255, 255, 255, .72); }
.hero.dark .chips li { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: rgba(255, 255, 255, .85); }
.hero.dark .hero-photo { border-color: var(--line-dark); }
.hero.dark .stat { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.hero.dark .stat span { color: rgba(255, 255, 255, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Nota bajo servicios */
.note {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--cream); border: 1px solid rgba(255, 102, 0, .25); border-radius: var(--radius); padding: 32px 36px;
}
.note h3 { font-size: 22px; margin-bottom: 8px; }
.note p { color: var(--text-2); margin: 0; max-width: 680px; }
@media (max-width: 760px) {
  .note { flex-direction: column; align-items: stretch; padding: 28px 24px; }
}

/* ---------- Problema ---------- */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.problem h2 { font-size: clamp(32px, 4.2vw, 48px); }
.problem .body p { color: var(--text-2); }
.problem .body p strong { color: var(--text); }
.callout { border-left: 3px solid var(--orange); padding: 4px 0 4px 20px; font-weight: 500; color: var(--text) !important; }

/* ---------- Servicios (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.bento .card:nth-child(1) { grid-column: span 4; }
.bento .card:nth-child(2) { grid-column: span 2; }
.bento .card:nth-child(3), .bento .card:nth-child(4) { grid-column: span 3; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card .q { font-weight: 500; color: var(--text); margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 16px; }
.card .tags { margin-top: auto; }
.card.featured { background: var(--ink); border-color: var(--ink); color: var(--white); padding: 44px; }
.card.featured h3 { font-size: 32px; }
.card.featured .q { color: var(--white); }
.card.featured p { color: rgba(255, 255, 255, .7); font-size: 17px; max-width: 560px; }
.badge { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(255, 102, 0, .5); border-radius: 999px; padding: 5px 14px; margin-bottom: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.featured .tags li { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: var(--white); }

/* ---------- Por qué ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-intro h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 22px; }
.why-intro p { color: var(--text-2); font-size: 18px; max-width: 420px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.why-card .sq { width: 36px; height: 36px; border-radius: 10px; background: var(--orange); margin-bottom: 22px; display: grid; place-items: center; color: var(--white); }
.why-card:nth-child(4n+2) .sq, .why-card:nth-child(4n+3) .sq { background: var(--ink); }
.why-card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.why-card p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 32px 32px 8px 24px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--orange); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--text-2); margin: 0; font-size: 16px; }

.banner {
  margin-top: 72px; background: var(--ink); color: var(--white); border-radius: 26px;
  padding: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.banner h2 { font-size: clamp(30px, 3.6vw, 42px); }
.banner .stats { gap: 32px 40px; }
.banner .stat { border: 0; padding: 0; background: none; }
.banner .stat b { color: var(--white); font-size: clamp(34px, 3.6vw, 44px); }
.banner .stat span { color: rgba(255, 255, 255, .65); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 8px; }
.about .role { color: var(--orange); font-family: var(--f-head); font-weight: 600; margin-bottom: 24px; }
.about p { color: var(--text-2); }
.about .quote { font-family: var(--f-head); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--text); margin: 28px 0 32px; letter-spacing: -.01em; }
.creds-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.creds-card h3 { font-size: 20px; margin-bottom: 24px; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; }
.creds li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.creds li:first-child { border-top: 0; padding-top: 0; }
.creds li b { font-family: var(--f-head); color: var(--orange); font-size: 15px; flex: none; width: 28px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap h2 { font-size: clamp(32px, 4.2vw, 48px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--orange); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 44px; margin: 0 0 22px; }

/* ---------- Contacto ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 22px; }
.contact .lead { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 460px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: rgba(255, 255, 255, .85); }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.contact-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 12px; display: grid; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 16px; text-decoration: none; transition: background .15s; }
.contact-row:hover { background: var(--surface); }
.contact-row .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--ink); }
.contact-row.main .ic { background: var(--orange); color: var(--white); }
.contact-row small { display: block; font-size: 13px; color: var(--muted); }
.contact-row strong { font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.contact-row .arr { margin-left: auto; color: var(--orange); font-size: 22px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; }
.foot-grid p { max-width: 280px; margin: 20px 0 0; }
.site-footer .foot-title { font-family: var(--f-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo img { height: 30px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Páginas legales ---------- */
.legal-page main { background: var(--surface); }
.legal-hero { padding: 72px 0 40px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.legal-hero p { color: var(--text-2); margin: 12px 0 0; }
.legal { padding: 0 0 104px; }
.legal article { max-width: 780px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.legal h2 { font-size: 24px; margin: 44px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--orange); }
.legal .data { background: var(--surface); border-radius: 12px; padding: 20px 24px; margin: 0 0 1em; }
.legal .data p { margin: 0 0 4px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .hero .wrap, .problem, .why, .about, .faq-wrap, .contact .wrap, .banner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 480px; }
  .why-intro { position: static; }
  .bento .card:nth-child(n) { grid-column: span 6; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .site-header .wrap { gap: 12px; height: 68px; }
  .site-header .btn-sm { padding: 9px 14px; font-size: 13px; }
  .logo img { height: 26px; }
  .hero { padding: 56px 0 72px; }
  .ctas .btn { width: 100%; }
  .card, .card.featured { padding: 28px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .creds-card { padding: 28px 24px; }
  .contact-row { padding: 16px; gap: 14px; }
  .contact-row strong { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Sobre: foto */
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-photo::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); }
.about .creds { margin: 0 0 32px; }
.about .creds li { padding: 12px 0; font-size: 15px; }
.about .creds li:first-child { padding-top: 12px; border-top: 1px solid var(--line); }

/* Equipo */
.team { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.team-lead { background: var(--ink); color: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.team-lead img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.team-lead { position: relative; justify-content: flex-end; min-height: 100%; }
.team-lead::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; background: radial-gradient(circle, rgba(255, 102, 0, .35), rgba(255, 102, 0, 0) 65%); }
.team-lead > div { position: relative; padding: 40px; display: flex; flex-direction: column; }
.team-lead h3 { font-size: 30px; margin-bottom: 4px; }
.team-lead .who { color: var(--orange); font-family: var(--f-head); font-weight: 600; margin-bottom: 14px; }
.team-lead p:last-child { color: rgba(255, 255, 255, .72); margin: 0; font-size: 16px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-grid .why-card { display: flex; flex-direction: column; }
@media (max-width: 960px) {
  .team { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-lead > div { padding: 28px 24px; }
  .about-photo::after { right: -8px; bottom: -8px; width: 44px; height: 44px; }
}

/* Formulario de contacto */
.contact .wrap { align-items: start; }
.quick { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.quick p { width: 100%; margin: 0 0 4px; color: rgba(255, 255, 255, .6); }
.quick a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 102, 0, .6); }
.quick a:hover { color: var(--orange); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s, background .15s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.form label.invalid input, .form label.invalid textarea { border-color: #D93025; background: #FFF6F5; }
.form label.invalid.check span { color: #D93025; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); padding: 0; }
.form .check a, .form-legal a { color: var(--orange); }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; font-weight: 500; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1E7B3A; }
.form-msg.err { color: #D93025; }
.form-legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .form { padding: 24px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* reCAPTCHA: se oculta el distintivo porque el aviso va bajo el formulario (permitido por Google) */
.grecaptcha-badge { visibility: hidden; }

@media (max-width: 420px) {
  .pill { font-size: 11px; letter-spacing: .06em; padding: 7px 12px; gap: 8px; }
}

/* Etiqueta dentro del H1 (SEO: la palabra clave forma parte del titular) */
.hero h1 .pill { display: flex; width: fit-content; font-family: var(--f-body); font-weight: 500; line-height: 1.4; }

/* ===== v4: fórmula, canales, YouTube, equipo compacto, páginas de servicio ===== */
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.tags a { color: inherit; text-decoration: none; }
.tags a:hover { color: var(--orange); }

/* Fórmula: 1 + 2 → 3 */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.flow-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.flow-step.is-key { background: var(--ink); border-color: var(--ink); color: var(--white); }
.flow-step.is-key p { color: rgba(255, 255, 255, .72); }
.flow-num { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--cream); font-family: var(--f-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 18px; }
.flow-step h3 { font-size: 21px; margin-bottom: 8px; }
.flow-step p { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.flow-tag { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.is-key .flow-tag { background: rgba(255, 102, 0, .15); border-color: rgba(255, 102, 0, .4); color: var(--orange-soft); }
.flow-op { align-self: center; font-family: var(--f-head); font-weight: 700; font-size: 36px; color: var(--orange); }

/* Canales: momentos */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.moment { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.moment:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(13, 13, 26, .07); }
.moment-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--orange); color: var(--cream); display: grid; place-items: center; margin-bottom: 22px; }
.moment h3 { font-size: 22px; margin-bottom: 8px; }
.moment p { color: var(--text-2); font-size: 16px; }
.moment-link { margin-top: auto; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.moment:hover .moment-link { color: var(--orange); }

/* Banda YouTube */
.yt { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.yt::before { content: ""; position: absolute; width: 760px; height: 760px; left: -260px; bottom: -480px; background: radial-gradient(circle, rgba(255, 102, 0, .3), rgba(255, 102, 0, 0) 65%); pointer-events: none; }
.yt .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.yt h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.yt .lead { color: rgba(255, 255, 255, .72); font-size: 18px; margin-bottom: 32px; }
.yt .eyebrow, .dark .eyebrow, .contact .eyebrow { color: var(--orange); }
.yt-card { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px; }
.yt-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, #1d1d33, #2b1a12); display: grid; place-items: center; margin-bottom: 18px; }
.yt-play { width: 64px; height: 44px; border-radius: 12px; background: var(--orange); position: relative; }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-left: 16px solid var(--cream); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.yt-skip { position: absolute; right: 12px; bottom: 12px; font-size: 12px; background: rgba(0, 0, 0, .6); color: var(--white); padding: 5px 10px; border-radius: 4px; }
.yt-card ul { list-style: none; padding: 0 4px; margin: 0; display: grid; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.yt-card li { display: flex; gap: 10px; }
.yt-card li::before { content: "✓"; color: var(--orange); font-weight: 700; }

/* Equipo compacto bajo "Quién está detrás" */
.team-row { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 32px; display: grid; grid-template-columns: .8fr 2fr; gap: 32px; align-items: center; }
.team-title { font-family: var(--f-head); font-weight: 600; font-size: 18px; margin: 0; }
.team-row ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-row li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--text-2); }
.team-row li b { display: block; font-family: var(--f-head); color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* Páginas de servicio */
.svc-hero { padding: 72px 0 88px; }
.svc-hero .wrap { display: block; }
.svc-hero h1 { max-width: 820px; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.includes li { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; font-size: 16px; color: var(--text-2); }
.includes li b { display: block; font-family: var(--f-head); color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.prose { max-width: 760px; }
.prose p { color: var(--text-2); font-size: 18px; }
.prose h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 760px; margin: 0 auto 18px; }
.cta-band .lead { color: rgba(255, 255, 255, .72); max-width: 600px; margin: 0 auto 32px; font-size: 18px; }
.cta-band .ctas { justify-content: center; }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow-op { justify-self: center; transform: rotate(90deg); font-size: 30px; line-height: 1; }
  .moments, .includes { grid-template-columns: 1fr; }
  .yt .wrap { grid-template-columns: 1fr; gap: 40px; }
  .team-row { grid-template-columns: 1fr; }
  .team-row ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .related { grid-template-columns: 1fr; }
}
.nav a { white-space: nowrap; }
@media (max-width: 1080px) { .nav { gap: 18px; } .nav a:not(.btn) { font-size: 14px; } }

/* ===== v5: menú desplegable de Servicios y menú móvil ===== */
.dd { position: relative; }
.dd-btn { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); white-space: nowrap; }
.dd-btn span { font-size: 11px; color: var(--muted); margin-left: 2px; }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 280px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: 0 18px 40px rgba(13, 13, 26, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* puente para que no se cierre al bajar el ratón */
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-btn, .dd:focus-within .dd-btn { color: var(--orange); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover { background: var(--surface); }
.dd-menu b { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.dd-menu b em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--orange); background: rgba(255, 102, 0, .1); padding: 2px 8px; border-radius: 999px; }
.dd-menu span { display: block; font-size: 13px; color: var(--text-2); }
.dd-menu .dd-all { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--orange); }

.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mnav[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav[open] summary span:nth-child(2) { opacity: 0; }
.mnav[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav-panel {
  position: fixed; left: 12px; right: 12px; top: 76px; z-index: 70;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: 0 20px 48px rgba(13, 13, 26, .18); display: grid; gap: 2px; max-height: calc(100vh - 96px); overflow: auto;
}
.mnav-panel a:not(.btn) { padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.mnav-panel a:not(.btn):hover { background: var(--surface); }
.mnav-title { margin: 10px 12px 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mnav-panel .btn { margin-top: 10px; }

@media (max-width: 760px) {
  .nav .dd, .nav > a:not(.btn) { display: none; }
  .mnav { display: block; }
  .site-header .nav { gap: 10px; }
}
@media (max-width: 760px) {
  .nav .mnav-panel a:not(.btn) { display: block; font-size: 16px; }
}
@media (max-width: 760px) {
  .logo img { height: 22px; }
  .site-header .nav { gap: 8px; }
  .site-header .nav > .btn-sm { padding: 9px 12px; font-size: 12px; }
  .mnav summary { width: 40px; height: 40px; }
  .mnav-panel { top: 72px; }
}
@media (max-width: 350px) {
  .site-header .nav > .btn-sm { display: none; }
}

/* ===== v6: hero de una sola columna (sin foto) ===== */
.hero-solo .wrap { display: block; }
.hero-solo h1 { max-width: 900px; }
.hero-solo .lead { max-width: 640px; }
.hero-solo { padding: 104px 0 112px; }
@media (max-width: 760px) { .hero-solo { padding: 64px 0 72px; } }
