/* ============================================================
   LIMPIA COR — site.css v3.0
   Rediseño 2026 — Inspirado en los mejores del rubro B2B
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Tokens */
:root {
  --navy:        #041024;
  --navy-mid:    #082050;
  --blue:        #095AC3;
  --blue-light:  #1A72E8;
  --blue-pale:   #EBF2FF;
  --sky:         #5BA8FF;
  --white:       #FFFFFF;
  --gray:        #F4F7FB;
  --border:      #E2E8F2;
  --ink:         #0A1B33;
  --ink-soft:    #3D5070;
  --ink-muted:   #5E6E86;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(4,16,36,.08);
  --shadow-md: 0 8px 32px rgba(4,16,36,.12);
  --shadow-lg: 0 16px 56px rgba(4,16,36,.16);

  --wrap:   1200px;
  --pad-x:  clamp(20px, 5vw, 48px);
  --sec-py: clamp(64px, 8vw, 104px);
}

/* Base */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Red de seguridad: ningún ícono SVG inline se desborda.
   Las reglas específicas (.btn svg, .hero-wave svg, etc.) lo sobrescriben. */
svg { width: 24px; height: 24px; flex-shrink: 0; }
.hero-wave svg { width: 100%; height: auto; }

/* Accesibilidad: foco visible por teclado */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Skip link (saltar al contenido) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--blue); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 8px 0; font-weight: 700; font-size: .9rem;
}
.skip-link:focus { left: 0; }

/* Wrapper */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ====================== TYPOGRAPHY ====================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.13;
  font-weight: 800;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .7rem;
}

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: .5rem; }
.section-head p  { color: var(--ink-soft); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.u-bar { width: 52px; height: 4px; background: var(--blue); border-radius: 2px; margin: .9rem auto 0; }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .93rem;
  border-radius: 8px;
  padding: .65rem 1.45rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg  { padding: .9rem 2.2rem; font-size: 1.02rem; border-radius: 10px; }
.btn-sm  { padding: .42rem .95rem; font-size: .82rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9,90,195,.35);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 800;
}
.btn-light:hover {
  background: var(--blue-pale);
  border-color: var(--blue-pale);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-pale); transform: translateY(-1px); }

.btn-empleo {
  background: var(--white, #fff);
  color: var(--blue, #095AC3);
  border-color: var(--sky, #5BA8FF);
}
.btn-empleo:hover {
  background: var(--sky, #5BA8FF);
  color: var(--white, #fff);
  border-color: var(--sky, #5BA8FF);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91,168,255,.30);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-wa:hover {
  background: #1db955;
  border-color: #1db955;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}

/* ====================== HEADER ====================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.3rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(4,16,36,.1);
  padding: .8rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo swap: white on dark / color on white */
.logo-white { height: 46px; width: auto; display: block; }
.logo-color  { height: 46px; width: auto; display: none; }
.site-header.scrolled .logo-white,
.site-header.scrolled .logo-color { height: 42px; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-color  { display: block; }

.brand-fallback {
  display: flex; flex-direction: column;
  color: var(--white);
  font-family: var(--font-head);
}
.brand-fallback strong { font-size: 1.05rem; font-weight: 900; letter-spacing: .06em; }
.brand-fallback span   { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.site-header.scrolled .brand-fallback { color: var(--navy); }

.brand { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  padding: .4rem .85rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.14); color: var(--white); }
.nav-links a.active { background: transparent; color: var(--white); font-weight: 700; }
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-links a:hover { background: var(--blue-pale); color: var(--blue); }
.site-header.scrolled .nav-links a.active { background: transparent; color: var(--blue); font-weight: 700; }
.nav-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.nav-actions .btn { padding: .55rem 1.1rem; font-size: .85rem; }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .35rem; color: var(--white); line-height: 0;
}
.site-header.scrolled .hamburger { color: var(--navy); }
.hamburger svg { width: 26px; height: 26px; }

/* ====================== MOBILE NAV ====================== */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 290px; height: 100%;
  background: var(--white);
  z-index: 200;
  box-shadow: -4px 0 40px rgba(4,16,36,.18);
  padding: 5rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 0;
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  padding: .8rem 0; border-bottom: 1px solid var(--border);
  display: block; transition: color .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--blue); }
.mobile-nav .cta-m { margin-top: 1.5rem; display: block; text-align: center; border: none; }

.close-btn {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 38px; height: 38px;
  background: var(--gray); border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.close-btn:hover { background: var(--border); }

.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(4,16,36,.55); z-index: 199;
}
.mobile-overlay.open { display: block; }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: -2%;
  background: url('../photos/hero.jpg') center 30% / cover no-repeat;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

/* Float-in del contenido del hero */
.hero-content > .hero-inner > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-inner .eyebrow   { animation-delay: .15s; }
.hero-inner h1         { animation-delay: .30s; }
.hero-inner .hero-sub  { animation-delay: .45s; }
.hero-inner .hero-actions { animation-delay: .60s; }
.hero-inner .hero-trust   { animation-delay: .75s; }
@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(4,16,36,.92) 0%,
    rgba(4,16,36,.75) 45%,
    rgba(9,90,195,.28) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: clamp(120px,16vw,165px) var(--pad-x) clamp(100px,12vw,135px);
  max-width: calc(var(--wrap) + var(--pad-x) * 2);
  margin: 0 auto; width: 100%;
}
.hero-inner { max-width: 660px; }
.hero .eyebrow { color: var(--sky); margin-bottom: 1.1rem; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-sub {
  color: rgba(255,255,255,.77);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75; margin-bottom: 2.4rem; max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust   { display: flex; gap: 2rem; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.62); font-size: .85rem; font-weight: 600;
}
.trust-badge svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }

/* Bottom wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; display: block; }

/* ====================== STATS BAR ====================== */
.stats-bar {
  background: var(--blue);
  padding: clamp(2.2rem, 5vw, 3.2rem) 0;
  position: relative; z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: .8rem 1.5rem; position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.2);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1; margin-bottom: .35rem; display: block;
}
.stat-label { color: rgba(255,255,255,.72); font-size: .87rem; font-weight: 600; }

/* ====================== SECTIONS ====================== */
.section      { padding: var(--sec-py) 0; }
.section-gray { background: var(--gray); }
.section-navy { background: var(--navy); }

/* ====================== SERVICE CARDS ====================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  color: inherit;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-card-media, .svc-media {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
}
.svc-card-media img, .svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.svc-card:hover .svc-card-media img,
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-card-media::after, .svc-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,16,36,.5) 0%, transparent 55%);
}
.svc-tag {
  position: absolute; bottom: .9rem; left: 1rem; z-index: 1;
  background: var(--blue); color: white;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .65rem; border-radius: 4px;
}

.svc-body { padding: 1.7rem; flex: 1; display: flex; flex-direction: column; }
.svc-icon {
  width: 46px; height: 46px; background: var(--blue-pale);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1rem; flex-shrink: 0;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-body h3 { margin-bottom: .5rem; color: var(--navy); }
.svc-body p  { color: var(--ink-soft); flex: 1; font-size: .95rem; margin-bottom: 1.2rem; line-height: 1.65; }
.link-arrow {
  font-weight: 700; font-size: .9rem; color: var(--blue);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s;
}
.link-arrow:hover { gap: .7rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* ====================== FEATURE GRID ====================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border-left: 3px solid var(--blue);
  box-shadow: 0 2px 16px rgba(4,16,36,.06);
  transition: box-shadow .25s, transform .25s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1rem;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--navy); }
.feat-card p  { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

/* ====================== PROCESS ====================== */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg); overflow: hidden;
}
.step {
  background: rgba(255,255,255,.04); padding: 2.5rem 2rem;
  position: relative; transition: background .25s;
}
.step:hover { background: rgba(255,255,255,.07); }
.step-num {
  font-family: var(--font-head); font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.07); line-height: 1;
  position: absolute; bottom: .8rem; right: 1.2rem; user-select: none;
}
.step-icon {
  width: 52px; height: 52px; background: var(--blue); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; margin-bottom: 1.3rem;
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { color: white; margin-bottom: .5rem; font-size: 1.15rem; }
.step p  { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.65; max-width: 280px; }

/* ====================== CLIENTS ====================== */
.clients-logos {
  display: flex; flex-wrap: wrap;
  gap: 1.6rem 2.5rem; align-items: center; justify-content: center;
}
.client-logo {
  height: 40px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .3s, transform .2s;
}
.client-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.08); }
.client-ph {
  height: 36px; padding: 0 1rem; background: var(--gray); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .73rem; font-weight: 800;
  color: var(--ink-muted); letter-spacing: .06em; filter: opacity(.5);
}

/* ---- Carruseles infinitos (marquee) ---- */
.marquee {
  overflow: hidden;
  padding: .6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee + .marquee { margin-top: 1.4rem; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
  will-change: transform;
}
.marquee-track.reverse { animation-name: marquee-scroll-rev; animation-duration: 48s; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee .client-logo {
  height: clamp(48px, 6vw, 64px);
  max-width: 170px;
  filter: grayscale(1) opacity(.55);
  transition: filter .35s, transform .35s;
  flex-shrink: 0;
}
.marquee .client-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.12); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-scroll-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ====================== ABOUT SPLIT ====================== */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; height: clamp(320px, 50vw, 520px);
  object-fit: cover; border-radius: var(--radius-lg); display: block;
}
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--blue); color: white; border-radius: var(--radius);
  padding: 1.2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-md); min-width: 120px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: .2rem; }
.about-body { padding: 1.5rem 0; }
.about-body h2  { margin-bottom: 1rem; }
.about-body p   { color: var(--ink-soft); margin-bottom: 1rem; }
.about-actions  { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

.check-list { margin: 1.2rem 0; display: flex; flex-direction: column; gap: .55rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .95rem; color: var(--ink-soft);
}
.check-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }

/* ====================== CTA BAND ====================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #082A60 50%, var(--navy-mid) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -40%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(9,90,195,.55) 0%, transparent 65%);
  pointer-events: none;
  animation: glow-float-a 12s ease-in-out infinite;
}
.cta-band::after {
  content: '';
  position: absolute; bottom: -40%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,168,255,.25) 0%, transparent 65%);
  pointer-events: none;
  animation: glow-float-b 14s ease-in-out infinite;
}
@keyframes glow-float-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-40px, 30px) scale(1.15); }
}
@keyframes glow-float-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px, -30px) scale(1.2); }
}
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--sky); }
.cta-band h2 { color: var(--white); margin-bottom: .7rem; }
.cta-band p  { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ====================== BLOG CARDS ====================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-thumb, .post-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-thumb img, .post-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.post-card:hover .post-thumb img,
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-cat {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale);
  padding: .2rem .6rem; border-radius: 4px; margin-bottom: .8rem;
}
/* Badge de categoría sobre la foto */
.post-img .post-cat, .post-thumb .post-cat {
  position: absolute; top: .9rem; left: .9rem; margin: 0; z-index: 1;
  background: var(--blue); color: #fff;
}
.post-body h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--navy); line-height: 1.4; }
.post-body p  { font-size: .9rem; color: var(--ink-soft); flex: 1; line-height: 1.6; }
.post-meta    { font-size: .78rem; color: var(--ink-muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: .4rem; }
.post-meta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ====================== SECTORES ====================== */
.sectors-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.sector-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.sector-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.sector-ico {
  width: 50px; height: 50px; margin: 0 auto .8rem; border-radius: 13px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, transform .25s;
}
.sector-card:hover .sector-ico { background: var(--blue); color: #fff; transform: scale(1.08); }
.sector-ico svg { width: 25px; height: 25px; }
.sector-card span { font-size: .85rem; font-weight: 600; color: var(--ink); display: block; }

/* ====================== TESTIMONIOS ====================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.1rem;
  border-top: 3px solid var(--blue);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testi-quote {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-head); font-size: 4rem; font-weight: 900;
  color: var(--blue-pale); line-height: 1; user-select: none;
}
.testi-stars { display: flex; gap: 3px; color: #FFB400; }
.testi-stars svg { width: 18px; height: 18px; }
.testi-text { color: var(--ink-soft); font-size: .97rem; line-height: 1.7; flex: 1; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-mid)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--navy); font-size: .92rem; }
.testi-role { font-size: .8rem; color: var(--ink-muted); }

/* ====================== PAGE HEAD ====================== */
.page-head {
  background: var(--navy);
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  position: relative; overflow: hidden;
}
.page-head-glow {
  position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(9,90,195,.35) 0%, transparent 70%);
  pointer-events: none;
}
.page-head .crumbs {
  font-size: .82rem; color: rgba(255,255,255,.42); margin-bottom: 1rem;
}
.page-head .crumbs a { transition: color .2s; }
.page-head .crumbs a:hover { color: rgba(255,255,255,.8); }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: .7rem; }
.page-head p  { color: rgba(255,255,255,.68); max-width: 580px; font-size: 1.05rem; }
.page-head .blue { color: var(--sky); }

/* ====================== CONTACT ====================== */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.info-rows { display: flex; flex-direction: column; }
.info-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border: none; }
.ico {
  width: 44px; height: 44px; background: var(--blue-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.ico svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: .15rem; }
.info-row .val { font-weight: 600; color: var(--ink); }
.info-row a:hover { color: var(--blue); }
.map-box { border-radius: var(--radius-lg); overflow: hidden; height: 300px; box-shadow: var(--shadow); margin-top: 1.5rem; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ====================== FORM ====================== */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  padding: .72rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: var(--white); outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(9,90,195,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8FA6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* Form de presupuesto (markup con .form-group) */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  padding: .72rem 1rem; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: var(--white); outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9,90,195,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8FA6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; cursor: pointer;
}
.req { color: #E5484D; }
.form-disclaimer { font-size: .82rem; color: var(--ink-muted); margin-top: 1rem; line-height: 1.5; }

/* ====================== PORTFOLIO ====================== */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.p-card {
  background: var(--white); border-radius: var(--radius); padding: 1.4rem 1rem;
  text-align: center; box-shadow: 0 2px 12px rgba(4,16,36,.06);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: box-shadow .25s, transform .25s;
}
.p-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.p-card img { height: 44px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .3s; }
.p-card:hover img { filter: none; }
.p-card .cn { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.p-card .cy { font-size: .72rem; color: var(--ink-muted); }
.p-card .ph-logo {
  width: 80px; height: 44px; background: var(--gray); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .72rem; font-weight: 800;
  color: var(--ink-muted); letter-spacing: .04em;
}

/* ====================== SERVICIOS PAGE ====================== */
.svc-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.svc-split.reverse { direction: rtl; }
.svc-split.reverse > * { direction: ltr; }
.svc-split-media { border-radius: var(--radius-lg); overflow: hidden; height: clamp(280px, 40vw, 460px); }
.svc-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-detail-body h2  { margin-bottom: .8rem; }
.svc-detail-body p   { color: var(--ink-soft); margin-bottom: 1rem; }
.svc-detail-body .actions { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.tag { background: var(--blue-pale); color: var(--blue); font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 20px; }

/* ====================== FOOTER ====================== */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem; padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 34px; margin-bottom: 1.1rem; }
.footer-brand p   { font-size: .9rem; line-height: 1.75; max-width: 290px; }
.footer-social    { display: flex; gap: .55rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px; background: rgba(255,255,255,.07); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--blue); color: white; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .75rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: white; margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col a  { font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-col li:not(:has(a)) { font-size: .9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 0; font-size: .82rem; flex-wrap: wrap; gap: .4rem;
}

/* ====================== FLOAT WA ====================== */
.float-wa {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 6px 28px rgba(37,211,102,.5); z-index: 90;
  transition: transform .25s, box-shadow .25s;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,.6); animation-play-state: paused; }
.float-wa svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 6px 28px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ====================== REVEAL ====================== */
.reveal {
  opacity: 0; transform: translateY(34px) scale(.98);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* Micro-interacciones iconos al hover de su card */
.svc-card:hover .svc-icon {
  background: var(--blue); color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.svc-icon { transition: background .3s, color .3s, transform .3s; }
.feat-card:hover .feat-icon {
  background: var(--blue); color: #fff;
  transform: scale(1.08);
}
.feat-icon { transition: background .3s, color .3s, transform .3s; }
.step:hover .step-icon { transform: scale(1.08) rotate(4deg); }
.step-icon { transition: transform .3s; }

/* ============================================================
   v3.1 — ENHANCEMENTS: íconos, dropdown, scroll bar, tilt, glass
   ============================================================ */

/* ---- Íconos perfectamente centrados ---- */
.svc-icon, .feat-icon, .sector-ico, .step-icon, .ico,
.benefit-ico, .dd-ico, .testi-avatar, .footer-social a, .float-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
/* La hamburguesa: solo visible en mobile (no forzar display en desktop) */
.close-btn { display: inline-flex; align-items: center; justify-content: center; }
.svc-icon svg, .feat-icon svg, .sector-ico svg, .step-icon svg,
.ico svg, .footer-social svg, .float-wa svg, .link-arrow svg,
.trust-badge svg, .check-list li svg, .post-meta svg { display: block; }
.trust-badge { align-items: center; }
.check-list li { align-items: flex-start; }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  z-index: 300; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(9,90,195,.6);
}

/* ---- Header glassmorphism al scrollear ---- */
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
}

/* ---- Legibilidad del header sobre el hero (estado transparente) ---- */
.site-header:not(.scrolled)::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,16,36,.45) 0%, rgba(4,16,36,.12) 60%, transparent 100%);
}
.site-header:not(.scrolled) .logo-white {
  filter: drop-shadow(0 2px 8px rgba(4,16,36,.55));
}
.site-header:not(.scrolled) .nav-links a {
  text-shadow: 0 1px 6px rgba(4,16,36,.4);
}
.site-header:not(.scrolled) .hamburger {
  filter: drop-shadow(0 2px 6px rgba(4,16,36,.5));
}

/* ---- Dropdown de Servicios ---- */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: .3rem; }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.has-dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 290px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(4,16,36,.18);
  padding: .6rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 120;
}
.has-dropdown::after { /* puente invisible para no perder el hover */
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex !important; align-items: center; gap: .8rem;
  padding: .7rem .8rem !important; border-radius: 10px;
  color: var(--ink) !important; white-space: normal !important;
}
.dropdown-menu a:hover { background: var(--blue-pale) !important; }
.dd-ico {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--blue-pale); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.dd-ico svg { width: 19px; height: 19px; display: block; }
.dd-text strong { display: block; font-size: .9rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.dd-text span   { display: block; font-size: .76rem; color: var(--ink-muted); line-height: 1.3; margin-top: 2px; }

/* ---- Tilt 3D suave en cards (controlado por JS con CSS vars) ---- */
.tilt {
  transform: perspective(900px)
             rotateX(var(--ry, 0deg))
             rotateY(var(--rx, 0deg))
             translateY(var(--ty, 0));
  transition: transform .25s ease;
  transform-style: preserve-3d;
}

/* ---- Spotlight glow que sigue el cursor en cards ---- */
.glow-card { position: relative; overflow: hidden; }
.glow-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(9,90,195,.10), transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* ---- Heading underline animado (draw-in) ---- */
.u-bar { transform: scaleX(0); transform-origin: center; transition: transform .6s cubic-bezier(.22,1,.36,1) .15s; }
.reveal.visible .u-bar, .section-head.visible .u-bar { transform: scaleX(1); }

/* ---- Hero: malla de gradiente animada extra ---- */
.hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 80% 20%, rgba(9,90,195,.30), transparent 55%),
    radial-gradient(500px circle at 15% 90%, rgba(91,168,255,.18), transparent 55%);
  animation: hero-mesh 16s ease-in-out infinite alternate;
}
@keyframes hero-mesh {
  from { transform: translate(0,0); }
  to   { transform: translate(-3%, -3%); }
}

/* ---- Botones: barrido de brillo ---- */
.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn-primary:hover::after, .btn-light:hover::after { left: 140%; }

/* ---- Blog: buscador + filtros ---- */
.blog-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem;
}
.blog-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.blog-search input {
  width: 100%; padding: .72rem 1rem .72rem 2.7rem;
  border: 1.5px solid var(--border); border-radius: 30px;
  font-family: var(--font-body); font-size: .92rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.blog-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9,90,195,.12); }
.blog-search svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-muted);
}
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  background: var(--gray); border: 1.5px solid transparent; color: var(--ink-soft);
  font-family: var(--font-body); font-weight: 600; font-size: .85rem;
  padding: .45rem 1.05rem; border-radius: 30px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.blog-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-muted); display: none; }

/* ---- Service landing: hero + bloques ---- */
.svc-hero {
  position: relative; overflow: hidden; background: var(--navy);
  padding: clamp(7rem, 13vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
}
.svc-hero .hero-bg { animation: none; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; position: relative; z-index: 2; }
.svc-hero h1 { color: #fff; font-size: clamp(2.2rem,4.5vw,3.6rem); margin-bottom: 1rem; }
.svc-hero p  { color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.8rem; }
.svc-hero-media { border-radius: var(--radius-lg); overflow: hidden; height: clamp(260px,32vw,400px); box-shadow: var(--shadow-lg); }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.benefit {
  background: #fff; border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: var(--shadow); border-top: 3px solid var(--blue);
}
.benefit .benefit-ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-pale);
  color: var(--blue); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.benefit .benefit-ico svg { width: 24px; height: 24px; display: block; }
.benefit h3 { color: var(--navy); margin-bottom: .5rem; font-size: 1.08rem; }
.benefit p  { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }

.svc-faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.faq-q { padding: 1.1rem 1.4rem; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; font-family: var(--font-head); font-size: 1rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--blue); font-weight: 400; transition: transform .25s; }
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }

/* ============================================================
   v3.2 — POLISH VISUAL: íconos pro, tarjetas y fondos
   ============================================================ */

/* ---- Íconos profesionales (tiles con gradiente + relieve) ---- */
.svc-icon, .feat-icon, .sector-ico, .benefit-ico, .ico, .dd-ico {
  background: linear-gradient(145deg, #EEF4FF 0%, #DCE8FF 100%);
  color: var(--blue);
  border: 1px solid rgba(9,90,195,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 10px rgba(9,90,195,.10);
}
.svc-icon svg, .feat-icon svg, .sector-ico svg, .benefit-ico svg, .ico svg, .dd-ico svg {
  stroke-width: 1.9;
}
/* Hover: el tile se vuelve azul sólido con glow */
.svc-card:hover .svc-icon,
.sector-card:hover .sector-ico,
.benefit:hover .benefit-ico,
.feat-card:hover .feat-icon {
  background: linear-gradient(145deg, var(--blue) 0%, #0742A0 100%) !important;
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(9,90,195,.38);
}

/* ---- Fondos de sección con textura sutil ---- */
.section-gray {
  background-color: var(--gray);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(9,90,195,.05), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(91,168,255,.06), transparent 32%),
    radial-gradient(rgba(9,90,195,.045) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
}

/* ---- Service cards: acento superior + borde animado ---- */
.svc-card { position: relative; }
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  z-index: 3;
}
.svc-card:hover::before { transform: scaleX(1); }

/* ---- Sector cards: premium con barra inferior ---- */
.sector-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FBFCFE 100%);
}
.sector-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s ease;
}
.sector-card:hover::after { transform: scaleX(1); }

/* ---- Testimonios: cita con color de marca ---- */
.testi-quote { color: rgba(9,90,195,.10); }
.testi-card { background: linear-gradient(180deg, #fff 0%, #FBFCFE 100%); }

/* ---- Stats bar: profundidad con degradé ---- */
.stats-bar {
  background: linear-gradient(135deg, #0A66D6 0%, var(--blue) 55%, #073F8B 100%);
}

/* ---- Benefit cards (landings): acento + hover lift ---- */
.benefit { position: relative; transition: transform .3s, box-shadow .3s; }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---- About badge: degradé de marca ---- */
.about-badge { background: linear-gradient(145deg, var(--blue), #0742A0); }

/* ---- Divisor decorativo entre secciones blancas ---- */
.section + .section-gray, .section-gray + .section { position: relative; }

/* ---- Sectores: bloque navy con cards glass (corta el blanco) ---- */
.sectores-feature {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px circle at 12% 8%, rgba(9,90,195,.45), transparent 52%),
    radial-gradient(680px circle at 88% 92%, rgba(91,168,255,.16), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, #07193F 100%);
}
.sectores-feature::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.sectores-feature > .wrap { position: relative; z-index: 1; }
.sectores-feature .eyebrow { color: var(--sky); }
.sectores-feature .section-head h2 { color: #fff; }
.sectores-feature .section-head p  { color: rgba(255,255,255,.72); }
.sectores-feature .sector-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sectores-feature .sector-card span { color: #fff; }
.sectores-feature .sector-ico {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}
.sectores-feature .sector-card:hover { background: rgba(255,255,255,.11); border-color: rgba(91,168,255,.5); }
.sectores-feature .sector-card:hover .sector-ico { background: linear-gradient(145deg, var(--blue), #0742A0); }
.sectores-feature .sector-card::after { background: linear-gradient(90deg, var(--sky), #fff); }

/* ---- Service landing: intro split con imagen ---- */
.svc-intro-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.svc-intro-text .eyebrow { text-align: left; }
.svc-intro-text h2 { margin-bottom: 1.1rem; }
.svc-intro-text p  { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.8; margin-bottom: 1rem; }
.svc-intro-text .btn { margin-top: .8rem; }
.svc-intro-media { position: relative; }
.svc-intro-media img {
  width: 100%; height: clamp(320px, 38vw, 460px);
  object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: block;
}
.svc-intro-media::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  pointer-events: none; z-index: 2;
}
.svc-intro-badge {
  position: absolute; left: -1.4rem; bottom: -1.4rem; z-index: 3;
  background: linear-gradient(145deg, var(--blue), #0742A0); color: #fff;
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; line-height: 1.2; min-width: 116px; text-align: center;
}
.svc-intro-badge strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: .15rem; }
.svc-intro-deco {
  position: absolute; top: -1.2rem; right: -1.2rem; z-index: 1;
  width: 90px; height: 90px; border-radius: 18px;
  background: var(--blue-pale);
}
@media (max-width: 860px) {
  .svc-intro-grid { grid-template-columns: 1fr; }
  .svc-intro-media { order: -1; }
  .svc-intro-badge { left: 1rem; bottom: 1rem; }
  .svc-intro-deco { display: none; }
}

/* ---- Check-list como chips (landings + home about) ---- */
.about-split .check-list, .about-body .check-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem;
}
.about-split .check-list li, .about-body .check-list li {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem .95rem;
  align-items: center;
  font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}
.about-split .check-list li:hover, .about-body .check-list li:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  transform: translateX(3px);
}
.about-split .check-list li svg, .about-body .check-list li svg { margin-top: 0; }
@media (max-width: 600px) {
  .about-split .check-list, .about-body .check-list { grid-template-columns: 1fr; }
}

/* ---- Intro de landing: acento lateral sutil ---- */
.svc-hero + .section .section-head { position: relative; }

/* ---- Acento de marca en títulos ---- */
.blue-light { color: var(--sky); }

/* ---- Servicios: pilares (sección navy) ---- */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 1.8rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(91,168,255,.5); }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
  background: rgba(255,255,255,.1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.pillar p  { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.6; }

/* ---- Portfolio: tarjetas cliente ---- */
.p-card-logo { height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.p-card-info h3 { font-size: .95rem; color: var(--navy); margin-bottom: .15rem; }
.p-card-since { display: block; font-size: .74rem; color: var(--blue); font-weight: 700; margin-bottom: .5rem; }
.p-card-info p { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }

/* ---- Portfolio: RSE split ---- */
.rse-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rse-body h2 { margin-bottom: 1rem; }
.rse-body p  { color: var(--ink-soft); margin-bottom: 1rem; }
.rse-media { border-radius: var(--radius-lg); overflow: hidden; height: clamp(300px, 40vw, 440px); box-shadow: var(--shadow-lg); }
.rse-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Portfolio: testimonios (banda navy) ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 1.8rem; margin: 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.testimonial p { color: rgba(255,255,255,.9); font-size: .97rem; line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial footer { display: flex; flex-direction: column; gap: .1rem; }
.testimonial footer strong { color: #fff; font-size: .92rem; }
.testimonial footer span   { color: var(--sky); font-size: .82rem; }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .rse-split { grid-template-columns: 1fr; }
  .rse-media { order: -1; height: 280px; }
}
@media (max-width: 540px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ---- Presupuesto: layout form + aside + trust bar ---- */
.quote-split {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
}
.form-card-header { margin-bottom: 1.6rem; }
.form-card-header h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: .3rem; }
.form-card-header p  { color: var(--ink-soft); font-size: .95rem; }

.quote-info { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 90px; }
.quote-img  { border-radius: var(--radius-lg); overflow: hidden; height: 220px; box-shadow: var(--shadow); }
.quote-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-benefits {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow);
}
.quote-benefits h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 1rem; }
.quote-benefits .check-list { margin: 0 0 1.2rem; }
.quote-contact-alt { border-top: 1px solid var(--border); padding-top: 1.1rem; }
.quote-contact-alt p { color: var(--navy); font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.quote-contact-link { display: flex; align-items: center; gap: .5rem; color: var(--blue); font-weight: 600; font-size: .9rem; padding: .25rem 0; }
.quote-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.quote-contact-link:hover { text-decoration: underline; }

.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem 2rem; box-shadow: var(--shadow);
}
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item > svg {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; box-sizing: border-box;
  background: linear-gradient(145deg, #EEF4FF, #DCE8FF); color: var(--blue);
  border: 1px solid rgba(9,90,195,.10); flex-shrink: 0;
}
.trust-item strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy); line-height: 1.2; }
.trust-item span   { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: 2px; }

@media (max-width: 900px) {
  .quote-split { grid-template-columns: 1fr; }
  .quote-info  { position: static; }
  .quote-img   { height: 260px; }
  .trust-bar   { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
}
@media (max-width: 540px) {
  .trust-bar { grid-template-columns: 1fr; }
}

/* ---- Contacto moderno ---- */
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.5rem;
}
.contact-card {
  background: #fff; border-radius: var(--radius-lg); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow); text-align: center; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card:hover::before { transform: scaleX(1); }
.cc-ico {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #EEF4FF, #DCE8FF); color: var(--blue);
  border: 1px solid rgba(9,90,195,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 10px rgba(9,90,195,.12);
  transition: background .3s, color .3s, transform .3s;
}
.cc-ico svg { width: 26px; height: 26px; }
.cc-ico-wa { background: linear-gradient(145deg, #2BE36B, #1FB855); color: #fff; border: none; }
.contact-card:hover .cc-ico:not(.cc-ico-wa) { background: linear-gradient(145deg, var(--blue), #0742A0); color: #fff; transform: scale(1.06); }
.contact-card:hover .cc-ico-wa { transform: scale(1.06); }
.cc-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.cc-value { font-weight: 700; color: var(--navy); font-size: 1rem; word-break: break-word; }
.cc-sub   { font-size: .82rem; color: var(--ink-soft); }

.contact-bottom { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.contact-map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; display: flex; flex-direction: column; min-height: 340px;
}
.contact-map iframe { width: 100%; flex: 1; border: 0; display: block; min-height: 280px; }
.map-address {
  display: flex; align-items: center; gap: .6rem; padding: 1rem 1.3rem;
  font-size: .9rem; font-weight: 600; color: var(--navy); background: #fff;
}
.map-address svg { width: 18px; height: 18px; color: var(--blue); }

.career-card {
  background: linear-gradient(160deg, var(--navy) 0%, #0A2A60 100%);
  border-radius: var(--radius-lg); padding: 2.2rem; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem;
  position: relative; overflow: hidden;
}
.career-card::before {
  content: ''; position: absolute; top: -30%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(9,90,195,.5), transparent 65%);
  pointer-events: none;
}
.career-card > * { position: relative; z-index: 1; }
.career-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(255,255,255,.12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.career-icon svg { width: 26px; height: 26px; }
.career-card h3 { color: #fff; font-size: 1.3rem; }
.career-card p  { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.6; }
.career-social { display: flex; gap: .6rem; margin-top: .4rem; }
.career-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.career-social a:hover { background: var(--blue); }
.career-social svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .contact-cards  { grid-template-columns: repeat(2, 1fr); }
  .contact-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-cards  { grid-template-columns: 1fr; }
}

/* ====================== REDUCED MOTION ====================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-content > .hero-inner > * { opacity: 1; transform: none; }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: 1fr; gap: 1px; }
  .svc-split      { grid-template-columns: 1fr; }
  .svc-split.reverse { direction: ltr; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-split  { grid-template-columns: 1fr; }
  .about-badge    { right: 1rem; bottom: -1rem; }
  .sectors-grid   { grid-template-columns: repeat(3, 1fr); }
  .testi-grid     { grid-template-columns: 1fr; }
}
/* Nav → hamburguesa en tablets (el menú completo solo entra en pantallas anchas) */
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger      { display: block; }
}
@media (max-width: 768px) {
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .services-grid  { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .about-split    { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero h1        { font-size: 2.5rem; }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .about-badge    { position: static; display: inline-flex; gap: .4rem; align-items: center; margin-top: .8rem; padding: .7rem 1.2rem; }
  .about-badge strong { font-size: 1.4rem; margin-bottom: 0; }
}

/* ============================================================
   BLOG ARTICLE BODY
   ============================================================ */
.post-meta-line { color: var(--ink-muted); font-size: .9rem; margin-top: .6rem; }

.article-body { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.article-body img { width: 100%; height: auto; display: block; }
.article-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 2.2rem 0 .9rem;
}
.article-body p { margin: 0 0 1.1rem; }
.article-body ul { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .55rem; }
.article-body a { color: var(--blue); font-weight: 600; }
/* Los botones dentro del artículo conservan su color (no el azul de los links) */
.article-body a.btn-primary, .article-body a.btn-wa, .article-body a.btn-outline-white { color: #fff; }
.article-body a.btn-light { color: var(--navy); }
.article-body a.btn-ghost { color: var(--blue); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-cta {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line, #e4ebf3);
}
.article-cta .btn { margin: .6rem .5rem .6rem 0; vertical-align: middle; }

/* ===== File upload + hints (Trabajá con nosotros) ===== */
.file-field { position: relative; }
.file-field input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-label { display: flex; align-items: center; gap: .65rem; padding: .9rem 1rem; border: 1.5px dashed var(--blue, #095AC3); border-radius: 12px; background: #f4f8ff; color: #5E6E86; font-size: .95rem; transition: background .2s, border-color .2s; }
.file-field:hover .file-label { background: #e9f2ff; border-color: var(--sky, #5BA8FF); }
.file-field input[type="file"]:focus-visible + .file-label { outline: 2px solid var(--blue, #095AC3); outline-offset: 2px; }
.file-label svg { width: 22px; height: 22px; color: var(--blue, #095AC3); flex-shrink: 0; }
.file-name { font-weight: 600; color: var(--navy, #041024); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-hint { display: block; margin-top: .45rem; font-size: .82rem; color: #7a8aa0; }

/* ===== Google rating badge + reviews CTA (Google Business Profile) ===== */
.google-rating { display: inline-flex; align-items: center; gap: .85rem; flex-wrap: wrap; justify-content: center; background: #fff; border: 1px solid var(--line, #e4ebf3); border-radius: 14px; padding: .75rem 1.3rem; box-shadow: 0 8px 28px rgba(4,16,36,.07); margin: 1.4rem auto 0; }
.google-rating .g-logo { width: 26px; height: 26px; flex-shrink: 0; }
.google-rating .g-score { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--navy, #041024); line-height: 1; }
.google-rating .g-stars { display: inline-flex; gap: 2px; }
.google-rating .g-stars svg { width: 18px; height: 18px; color: #FBBC04; }
.google-rating .g-meta { font-size: .88rem; color: #5E6E86; text-align: left; line-height: 1.25; }
.google-rating .g-meta strong { display: block; color: var(--navy, #041024); font-size: .95rem; }
.reviews-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.map-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.map-actions a { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--blue, #095AC3); padding: .5rem .85rem; border: 1px solid var(--line, #e4ebf3); border-radius: 10px; transition: background .2s, border-color .2s; }
.map-actions a:hover { background: #f4f8ff; border-color: var(--blue, #095AC3); }
.map-actions svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Reseñas: altura pareja del texto + sello "Reseña de Google" (simetría) */
.testi-text { min-height: 3.4em; flex: 0 1 auto; }
.testi-source { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: #8a97a8; padding-top: .9rem; margin-top: auto; border-top: 1px solid var(--line, #e4ebf3); }
.testi-source svg { width: 16px; height: 16px; flex-shrink: 0; }
