/* Teleseg — hoja de estilos única */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-800.woff2") format("woff2"); }

:root {
  --primary: #222629;
  --navy: #0B1D27;
  --secondary: #F8F8F8;
  --text: #707070;
  --accent: #1771E6;
  --accent-dark: #0F5BC4;
  --white: #FFFFFF;
  --divider: #EEEEEE;
  --dark-divider: rgba(255, 255, 255, .1);
  --radius: 30px;
  --radius-sm: 20px;
  --shadow: 0 10px 40px rgba(34, 38, 41, .07);
  --container: 1240px;
  --gradient: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s; }
h1, h2, h3, h4 { margin: 0; color: var(--primary); font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, .breadcrumb, .steps { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section--light { background: var(--secondary) url("../img/section-bg-shape.webp") center / cover no-repeat; }
.section--dark { background: var(--primary) url("../img/section-bg-shape-2.webp") center / cover no-repeat; color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--blue { background: var(--gradient); color: var(--white); position: relative; overflow: hidden; }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue .hl { color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 15px;
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 24px; height: 19px; flex: none;
  background: var(--accent);
  -webkit-mask: url("../img/icon-sub-heading.svg") no-repeat center / contain;
          mask: url("../img/icon-sub-heading.svg") no-repeat center / contain;
}
.section--dark .eyebrow, .section--blue .eyebrow, .hero .eyebrow { color: var(--white); }
.section--blue .eyebrow::before { background: var(--white); }
.title { font-size: 46px; margin-bottom: 20px; }
.hl { color: var(--accent); }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head .title { margin-bottom: 0; }
.lead { margin-bottom: 30px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 16px; font-weight: 700; line-height: 1;
  color: var(--white); background: var(--accent);
  border: 0; border-radius: 100px;
  transition: background .3s, color .3s, transform .3s;
}
.btn::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.btn:hover { background: var(--primary); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--light { background: var(--white); color: var(--primary); }
.btn--light:hover { background: var(--primary); color: var(--white); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-more::after {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .3s;
}
.link-more:hover { color: var(--primary); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Iconos ---------- */
.ico { width: 100%; height: 100%; }
.icon-circle {
  display: grid; place-items: center; flex: none;
  width: 60px; height: 60px; padding: 14px;
  border-radius: 50%;
  color: var(--white); background: var(--accent);
}
.icon-circle--lg { width: 80px; height: 80px; padding: 18px; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 20px; left: 0; right: 0; z-index: 50; }
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 15px 14px 25px;
  background: var(--navy); border-radius: var(--radius);
}
.logo img { width: 150px; }
.nav { display: flex; align-items: center; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 20px;
  font-size: 16px; font-weight: 500; color: var(--white);
  background: none; border: 0;
}
.nav > li > a:hover, .nav > li > button:hover, .nav a[aria-current="page"], .nav .is-current > button { color: var(--accent); }
.caret { width: 10px; height: 10px; transition: transform .25s; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  padding: 10px 0;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.submenu a { display: block; padding: 8px 20px; color: var(--primary); line-height: 1.4; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--accent); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  color: var(--white); background: var(--accent); border: 0; border-radius: 8px;
}
.menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle span + span { margin-top: 6px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 200px 0 0;
  background: var(--primary) url("../img/hero-bg.webp") center / cover no-repeat;
  color: var(--white);
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(34, 38, 41, .6); }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.hero-text { padding-bottom: 140px; }
.hero h1 { font-size: 54px; font-weight: 800; color: var(--white); text-transform: uppercase; margin-bottom: 20px; }
.hero p { max-width: 560px; margin-bottom: 40px; }
.hero-img { align-self: stretch; }
.hero-img img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.hero-features {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 620px; margin-top: -120px; margin-bottom: -60px;
  padding: 30px 10px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-features li { padding: 0 20px; color: var(--primary); font-weight: 600; line-height: 1.4; }
.hero-features li + li { border-left: 1px solid var(--divider); }
.hero-features svg { width: 44px; height: 44px; margin-bottom: 12px; color: var(--accent); }

/* ---------- About (collage de imágenes) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--top { align-items: start; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 120px; }
.collage img { border-radius: var(--radius); object-fit: cover; width: 100%; aspect-ratio: 3 / 4; }
.collage .c1 { grid-column: 1 / 2; }
.collage .c2 { grid-column: 2 / 3; margin-top: 200px; margin-left: -40px; margin-bottom: -120px; border: 8px solid var(--white); }
.collage .badge { position: absolute; left: calc(50% - 75px); top: 38%; }
.badge {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--white); color: var(--primary); box-shadow: var(--shadow);
}
.badge svg { width: 100%; height: 100%; }
.badge text { font-size: 15.5px; font-weight: 600; letter-spacing: .07em; fill: currentColor; text-transform: uppercase; }
.badge .spin { transform-origin: 75px 75px; animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.feature-line { display: flex; align-items: center; gap: 20px; margin: 30px 0; padding-bottom: 30px; border-bottom: 1px solid var(--divider); }
.feature-line h3 { font-size: 20px; font-weight: 600; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: 25px 30px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.contact-mini { display: flex; align-items: center; gap: 15px; }
.contact-mini .icon-circle { width: 50px; height: 50px; padding: 12px; }
.contact-mini small { display: block; font-size: 15px; }
.contact-mini strong { display: block; font-size: 20px; font-weight: 600; color: var(--primary); }

/* ---------- Tarjetas de servicio ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(34, 38, 41, .12); }
.service-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card .body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 50px 30px 35px; text-align: center; }
.service-card .icon-circle { position: absolute; top: -35px; width: 70px; height: 70px; padding: 16px; border: 5px solid var(--white); }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-card p { flex: 1; margin-bottom: 20px; }

/* ---------- Por qué elegirnos ---------- */
.why { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 30px; align-items: center; }
.why-col { display: grid; gap: 60px; }
.why-card {
  position: relative; padding: 55px 25px 30px; text-align: center;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.why-card .icon-circle { position: absolute; top: -30px; left: calc(50% - 30px); }
.why-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }

/* ---------- Lo que hacemos ---------- */
.wwd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.wwd-contact {
  display: inline-flex; align-items: stretch; margin-top: 30px;
  background: var(--gradient); border-radius: var(--radius-sm); overflow: hidden;
}
.wwd-contact .ic { display: grid; place-items: center; width: 80px; padding: 20px; background: var(--white); color: var(--accent); }
.wwd-contact div:last-child { padding: 20px 40px 20px 25px; }
.wwd-contact small { display: block; color: var(--white); }
.wwd-contact strong { font-size: 20px; color: var(--white); }
.wwd-media { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.wwd-media img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.wwd-media .stats { display: grid; gap: 20px; }
.stat-card { padding: 25px; background: var(--white); border-radius: var(--radius-sm); color: var(--text); }
.stat-card svg { width: 35px; height: 35px; color: var(--accent); margin-bottom: 10px; }
.stat-card .num { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--primary); }
.stat-card h3 { font-size: 16px; font-weight: 400; color: var(--text); }

/* ---------- Nuestra función (azul) ---------- */
.section--blue::before { content: ""; position: absolute; inset: 0; background: url("../img/feature-bg-shape.webp") center / cover no-repeat; opacity: .6; pointer-events: none; }
.section--blue > .container { position: relative; }
.func-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.func-head .title { max-width: 560px; margin: 0; }
.func-head .badge { color: var(--accent); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.features svg { width: 50px; height: 50px; margin-bottom: 20px; color: var(--white); }
.features h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.counters { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 60px; }
.counters li { padding: 0 25px; }
.counters li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
.counters .num { font-size: 46px; font-weight: 700; line-height: 1.1; color: var(--white); }
.counters span { text-transform: capitalize; }

/* ---------- Soporte técnico ---------- */
.support-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.support-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.support-media img:last-of-type { aspect-ratio: 3 / 5; }
.support-media .badge { position: absolute; left: calc(50% - 75px); top: calc(50% - 75px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.icon-item { display: flex; gap: 18px; align-items: flex-start; }
.icon-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.support-items { margin: 30px 0 40px; }

/* ---------- CTA azul ---------- */
.cta { padding: 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.cta-text { padding: 80px 0; }
.cta-text .title { font-size: 40px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 30px 50px; margin-top: 30px; }
.cta-contacts .ic { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .15); color: var(--white); }
.cta-contacts a { display: flex; align-items: center; gap: 15px; color: var(--white); }
.cta-contacts small { display: block; }
.cta-contacts strong { font-size: 18px; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonios ---------- */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 15px); gap: 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px 5px 30px;
}
.slider-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 35px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.testimonial header { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--divider); }
.testimonial header img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; background: var(--white); border: 1px solid var(--divider); }
.testimonial header strong { display: block; font-size: 20px; color: var(--primary); }
.testimonial header .quote { margin-left: auto; width: 40px; height: 40px; color: var(--accent); }
.stars { display: flex; gap: 3px; margin-bottom: 15px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.slider-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--divider); background: var(--white); color: var(--primary);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.slider-nav svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 600; color: var(--primary); }
.section--dark .check-list li, .section--blue .check-list li { color: var(--white); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.faq { padding: 20px 35px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 600; color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; transition: transform .25s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5' fill='none' stroke='%23222629' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding-bottom: 20px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.post-card .thumb { position: relative; display: block; overflow: hidden; }
.post-card .thumb img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.date-badge {
  position: absolute; left: 20px; bottom: 0; padding: 8px 12px; line-height: 1.1; text-align: center;
  color: var(--white); background: var(--accent); border-radius: 10px 10px 0 0; font-weight: 600;
}
.date-badge b { display: block; font-size: 22px; }
.post-card .body { flex: 1; display: flex; flex-direction: column; padding: 25px 25px 30px; }
.post-card h3 { flex: 1; font-size: 20px; font-weight: 600; line-height: 1.35; margin-bottom: 20px; }
.post-card h3 a:hover { color: var(--accent); }

/* ---------- Cabecera de páginas internas ---------- */
.page-header {
  position: relative; padding: 220px 0 110px; text-align: center; color: var(--white);
  background: var(--primary) url("../img/page-header-bg.webp") center / cover no-repeat;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(34, 38, 41, .75); }
.page-header .container { position: relative; }
.page-header h1 { font-size: 54px; font-weight: 800; color: var(--white); margin-bottom: 15px; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-weight: 500; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Nosotros ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.mv-img { min-height: 520px; background: url("../img/mission-vision-img.webp") center / cover no-repeat; }
.mv-list { display: grid; gap: 40px; padding: 90px 60px; }
.mv-list .icon-item { gap: 25px; }
.mv-list .icon-circle { background: var(--white); color: var(--accent); }
.commit-media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.commit-media img.main { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.commit-media .side { display: grid; gap: 20px; }
.commit-media .side img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.happy { padding: 25px; border-radius: var(--radius-sm); background: var(--gradient); color: var(--white); }
.happy .num { font-size: 40px; font-weight: 700; line-height: 1; }
.happy p { margin: 8px 0 0; }
.inline-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; padding: 25px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.inline-counters .num { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--accent); }
.inline-counters span { color: var(--primary); font-weight: 500; }
.exp-media { position: relative; }
.exp-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.exp-media .contact-card { position: absolute; left: 30px; right: 30px; bottom: 30px; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 30px; }

/* ---------- Página de servicio ---------- */
.service-layout { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.sidebar { position: sticky; top: 30px; display: grid; gap: 30px; }
.side-box { padding: 30px; border-radius: var(--radius-sm); background: var(--secondary); }
.side-box h2 { font-size: 22px; margin-bottom: 15px; }
.side-nav a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 18px; margin-bottom: 10px; border-radius: 12px;
  background: var(--white); color: var(--primary); font-weight: 600; line-height: 1.35;
}
.side-nav a::after { content: "›"; font-size: 22px; line-height: 1; color: var(--accent); }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--accent); color: var(--white); }
.side-nav a:hover::after, .side-nav a[aria-current="page"]::after { color: var(--white); }
.side-cta { padding: 35px 30px; border-radius: var(--radius-sm); background: var(--primary) url("../img/section-bg-shape-2.webp") center / cover; color: var(--white); text-align: center; }
.side-cta h2 { color: var(--white); font-size: 24px; margin: 15px 0 10px; }
.side-cta .icon-circle { margin: 0 auto; }
.side-cta strong { display: block; font-size: 22px; margin-bottom: 20px; }
.service-main > * + * { margin-top: 50px; }
.service-main .main-img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-main .title { font-size: 40px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.mini-card { padding: 25px 20px; text-align: center; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow); }
.mini-card .icon-circle { margin: 0 auto 15px; width: 54px; height: 54px; padding: 13px; }
.mini-card h3 { font-size: 18px; font-weight: 600; }
.protect { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.protect img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.protect .icon-item { align-items: center; margin-top: 25px; padding: 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.protect .icon-item h3 { margin: 0; font-size: 18px; }
.steps li { display: flex; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--divider); }
.steps li:last-child { border-bottom: 0; }
.steps .n { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 20px; font-weight: 700; }
.steps h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.service-main .faq { padding: 10px 30px; }

/* ---------- Contacto ---------- */
.contact-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.contact-cards { display: grid; gap: 20px; }
.contact-cards a, .contact-cards div.card {
  display: flex; align-items: center; gap: 20px; padding: 25px 30px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.contact-cards small { display: block; }
.contact-cards strong { font-size: 20px; color: var(--primary); }
.social { display: flex; gap: 10px; margin-top: 25px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--accent); color: var(--white); transition: background .25s; }
.social a:hover { background: var(--primary); }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-box iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.contact-form { padding: 50px; background: var(--secondary); }
.contact-form h2 { font-size: 34px; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.form-grid .full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 15px 20px; font: inherit; color: var(--primary);
  background: var(--white); border: 1px solid var(--divider); border-radius: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 12px; font-size: 14px; }

/* ---------- Artículos y páginas de texto ---------- */
.prose { max-width: 860px; margin: 0 auto; color: var(--text); }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--primary); }
.prose a { color: var(--accent); text-decoration: underline; }
.post-hero-img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 40px; }
.post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 10px; }
.post-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--divider); }

/* ---------- Footer ---------- */
@media (max-width: 767px) { .site-footer { padding-bottom: 70px; } }
.site-footer { padding-top: 80px; background: var(--primary) url("../img/footer-bg-shape.webp") top center / 100% auto no-repeat; color: var(--white); }
.footer-top { display: grid; grid-template-columns: auto 1fr; border-radius: var(--radius); overflow: hidden; }
.footer-top .brand { display: grid; place-items: center; padding: 40px 50px; background: var(--navy); }
.footer-top .brand img { width: 170px; }
.footer-top .info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding: 40px; background: var(--dark-divider); }
.footer-top .info a { display: flex; align-items: center; gap: 15px; }
.footer-top .info .ic { width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: var(--dark-divider); }
.footer-top .info small { display: block; }
.footer-top .info strong { font-size: 18px; font-weight: 600; line-height: 1.35; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1.3fr 2fr; gap: 40px; padding: 60px 0; }
.footer-cols h2 { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer-cols li { margin-bottom: 12px; }
.footer-cols li a:hover { color: var(--accent); }
.footer-cols .social a { background: var(--dark-divider); color: var(--accent); }
.footer-cols .social a:hover { background: var(--accent); color: var(--white); }
.newsletter { position: relative; margin-top: 20px; }
.newsletter input { width: 100%; padding: 15px 70px 15px 22px; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--dark-divider); border-radius: 100px; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .7); }
.newsletter button { position: absolute; right: 5px; top: 5px; bottom: 5px; aspect-ratio: 1; padding: 12px; border: 0; border-radius: 50%; background: var(--accent); color: var(--white); }
.newsletter button:hover { background: var(--white); color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 30px 0; border-top: 1px solid var(--dark-divider); }
.footer-bottom ul { display: flex; gap: 25px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; padding: 14px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge .spin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .title { font-size: 38px; }
  .hero h1, .page-header h1 { font-size: 44px; }
  .counters { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .counters li:nth-child(4) { border-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .navbar { position: relative; flex-wrap: wrap; }
  .navbar .btn { display: none; }
  .nav {
    display: none; flex-direction: column; align-items: stretch; width: 100%;
    padding: 10px 0; border-top: 1px solid var(--dark-divider);
  }
  .nav-open .nav { display: flex; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .submenu { position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .05); }
  .submenu a { color: var(--white); }
  .has-sub.open .submenu { display: block; }
  .has-sub.open .caret { transform: rotate(180deg); }
  .has-sub:hover .submenu { opacity: 1; }
  .hero { padding-top: 160px; }
  .hero-grid, .split, .wwd, .cta-grid, .contact-intro, .contact-box, .mv, .protect, .exp-grid { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 40px; }
  .hero-img img { max-height: 420px; border-radius: var(--radius) var(--radius) 0 0; }
  .hero-features { margin-top: -30px; margin-bottom: -60px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .why-img { grid-column: 1 / -1; grid-row: 1; max-width: 480px; margin: 0 auto; }
  .func-head { flex-direction: column; align-items: flex-start; }
  .cta-text { padding: 70px 0 30px; }
  .cta-img { margin: 0 -20px; }
  .cta-img img { max-height: 380px; }
  .slider-track { grid-auto-columns: 100%; }
  .mv-list { padding: 60px 20px; }
  .mv-img { min-height: 320px; }
  .contact-box iframe { min-height: 320px; }
}

@media (max-width: 767px) {
  .title, .service-main .title, .cta-text .title { font-size: 30px; }
  .hero h1, .page-header h1 { font-size: 34px; }
  .page-header { padding: 170px 0 70px; }
  .hero-features { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .hero-features li { display: flex; align-items: center; gap: 15px; padding: 0; }
  .hero-features li + li { border-left: 0; }
  .hero-features svg { margin: 0; flex: none; }
  .grid-3, .grid-2, .why, .features, .mini-cards, .inline-counters, .form-grid, .sidebar { grid-template-columns: 1fr; }
  .why-col { gap: 50px; }
  .counters { grid-template-columns: 1fr 1fr; }
  .counters li { padding: 0 15px; }
  .counters li:nth-child(odd) { border-left: 0; }
  .counters li:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .2); }
  .counters .num { font-size: 36px; }
  .collage { padding-bottom: 60px; }
  .collage .c2 { margin-top: 120px; margin-bottom: -60px; }
  .badge { width: 120px; height: 120px; }
  .collage .badge, .support-media .badge { left: calc(50% - 60px); }
  .support-media .badge { top: calc(50% - 60px); }
  .wwd-media { grid-template-columns: 1fr; }
  .wwd-media .stats { grid-template-columns: 1fr 1fr; order: 2; }
  .wwd-contact { display: flex; }
  .commit-media { grid-template-columns: 1fr; }
  .exp-media .contact-card { position: static; margin-top: 20px; }
  .contact-form { padding: 30px 20px; }
  .faq { padding: 10px 20px; }
  .faq summary { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top .info { flex-direction: column; padding: 25px 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}
