/* =========================================================
   DR. PEDRO URIARTE · DISEÑO LIMPIO, RESPONSIVE Y VISUAL
========================================================= */

:root {
  --blue: #0647b8;
  --blue-2: #0c65e8;
  --blue-dark: #061d46;
  --blue-soft: #eef6ff;
  --green: #58c878;
  --green-2: #28b95d;
  --green-soft: #e9f9ee;
  --purple: #8054e6;
  --purple-soft: #f1ecff;
  --white: #ffffff;
  --bg: #f7fbff;
  --line: #dfe9f1;
  --text: #122344;
  --muted: #637187;
  --shadow: 0 22px 60px rgba(8, 38, 82, .12);
  --shadow-soft: 0 12px 28px rgba(8, 38, 82, .07);
  --transition: all .32s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #ffffff;
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 34px));
  margin: auto;
}

.section { padding: 70px 0; }

.section-kicker,
.eyebrow {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  color: var(--green-2);
  margin-bottom: 8px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.section-head h2,
.about h2,
.voces h2,
.actualidad h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.05;
  color: var(--blue-dark);
  letter-spacing: -.04em;
  font-weight: 900;
}

.section-head h2 span,
.about h2 span { color: var(--green-2); }

.section-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  font-weight: 900;
  color: var(--blue);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  display: grid;
  place-items: center;
  transition: opacity .55s ease, visibility .55s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  width: 210px;
  border-radius: 26px;
  padding: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.loader-card img {
  width: 150px;
}

.loader-card > span {
  display: none;
  color: var(--blue);
  font-size: 2.4rem;
}

.loader-bar {
  width: 130px;
  height: 5px;
  background: var(--blue-soft);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 16px;
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: loaderMove 1.15s infinite ease-in-out;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: var(--transition);
  font-size: .9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -130%;
  width: 70%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transition: .58s ease;
}

.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 14px 34px rgba(6, 71, 184, .24);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--blue-dark);
}

.btn-outline.dark {
  border-color: #bcd2e4;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0,0,0,.09);
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 8px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(8,38,82,.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
}

.brand img {
  width: 108px;
  max-height: 58px;
  object-fit: contain;
}

.brand-icon {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.brand-copy strong {
  display: block;
  color: var(--blue-dark);
  font-size: .9rem;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  font-size: .82rem;
  font-weight: 900;
  color: var(--blue-dark);
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 665px;
  padding: 50px 0 50px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 22%, rgba(88,200,120,.18), transparent 29%),
    radial-gradient(circle at 18% 30%, rgba(6,71,184,.08), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 50%, #edf8ff 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,71,184,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,71,184,.026) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-a {
  width: 720px;
  height: 720px;
  right: -80px;
  top: -25px;
  background: radial-gradient(circle, rgba(6,71,184,.10), transparent 60%);
}

.hero-glow-b {
  width: 460px;
  height: 460px;
  right: 145px;
  top: 50px;
  background: radial-gradient(circle, rgba(88,200,120,.12), transparent 64%);
}

.hero-brain {
  position: absolute;
  right: 70px;
  top: 95px;
  width: 700px;
  height: 455px;
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .28;
  animation: brainFloat 8s ease-in-out infinite;
  will-change: transform;
}

.hero-grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  max-width: 500px;
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -.065em;
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-text {
  max-width: 450px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-values {
  display: grid;
  grid-template-columns: repeat(4, 82px);
  gap: 16px;
}

.hero-values div {
  text-align: center;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
}

.hero-values i {
  display: block;
  color: var(--blue);
  font-size: 1.18rem;
  margin-bottom: 7px;
}

.hero-visual {
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.doctor-glow {
  position: absolute;
  width: 590px;
  height: 590px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.88), transparent 70%);
  z-index: 1;
}

.hero-doctor {
  position: relative;
  z-index: 3;
  max-height: 665px;
  width: auto;
  object-fit: contain;
  transform: translateX(-42px) translateY(66px);
  filter:
    drop-shadow(0 30px 42px rgba(7,31,69,.17))
    drop-shadow(0 8px 14px rgba(7,31,69,.10));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,.85) 88%, rgba(0,0,0,.35) 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,.85) 88%, rgba(0,0,0,.35) 95%, transparent 100%);
  animation: pedroFloat 7s ease-in-out infinite;
}

.particle {
  position: absolute;
  border-radius: 50%;
  z-index: 4;
  animation: particleMove 7s ease-in-out infinite;
}

.p1 { width: 9px; height: 9px; background: #7ca4ff; left: 12%; top: 40%; }
.p2 { width: 7px; height: 7px; background: #6cd98a; right: 28%; top: 34%; animation-delay: .8s; }
.p3 { width: 10px; height: 10px; background: #91b4ff; right: 42%; top: 21%; animation-delay: 1.5s; }
.p4 { width: 12px; height: 12px; background: #d8f7df; right: 10%; bottom: 26%; animation-delay: 2s; }
.p5 { width: 6px; height: 6px; background: #3ebf73; right: 43%; top: 53%; animation-delay: 1.1s; }
.p6 { width: 8px; height: 8px; background: #91b4ff; left: 9%; top: 62%; animation-delay: 2.6s; }

.scroll-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) scale(.88);
  display: grid;
  place-items: center;
  gap: 5px;
  color: var(--blue-dark);
  font-size: .68rem;
  text-align: center;
  font-weight: 800;
  z-index: 10;
}

.scroll-indicator span {
  display: block;
  width: 18px;
  height: 34px;
  border: 2px solid var(--blue-dark);
  border-radius: 999px;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-dark);
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

/* SERVICES */
.services { background: #fff; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  min-height: 184px;
  overflow: hidden;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1.15);
}

.service-card .icon {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 14px;
}

.service-card .icon.green {
  color: var(--green);
}

.service-card h3 {
  color: var(--blue-dark);
  font-size: .98rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.service-card a {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  position: relative;
  z-index: 2;
}

/* CTA */
.cta-band {
  margin: 10px 0 30px;
  background: linear-gradient(120deg, var(--blue), #057d9d, var(--green));
  border-radius: 16px;
  padding: 26px 38px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 22px;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -18px;
  width: 300px;
  height: 120px;
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .16;
}

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.cta-band p {
  opacity: .9;
  position: relative;
  z-index: 2;
}

/* ABOUT */
.about {
  background:
    radial-gradient(circle at 10% 12%, rgba(6,71,184,.05), transparent 28%),
    linear-gradient(180deg, #fff, var(--bg));
}

.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 15px;
}

.about-visual {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
}

.about-visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.image-missing {
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.info-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  min-width: 105px;
  z-index: 3;
  animation: badgeFloat 5s ease-in-out infinite;
}

.info-badge strong {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
}

.info-badge span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.top-left { left: -38px; top: 18px; }
.mid-left { left: -58px; top: 160px; animation-delay: .8s; }
.top-right { right: -24px; top: 42px; animation-delay: 1.3s; }
.bottom-right { right: -38px; bottom: 18px; animation-delay: 1.8s; }

/* ECOSYSTEM */
.ecosystem {
  background:
    radial-gradient(circle at 20% 30%, rgba(6,71,184,.06), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(88,200,120,.10), transparent 28%),
    #fff;
  overflow: hidden;
}

.ecosystem-map {
  position: relative;
  min-height: 500px;
  margin-top: 20px;
}

.orbit-line {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(6,71,184,.22);
  pointer-events: none;
}

.orbit-line-a {
  width: 760px;
  height: 300px;
  animation: orbitPulse 7s ease-in-out infinite;
}

.orbit-line-b {
  width: 560px;
  height: 220px;
  border-color: rgba(88,200,120,.28);
  animation: orbitPulse 8s ease-in-out infinite reverse;
}

.orbit-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 10px rgba(88,200,120,.10);
}

.dot-a { left: 17%; top: 41%; background: var(--blue); animation: dotFloat 4s ease-in-out infinite; }
.dot-b { right: 18%; top: 42%; background: var(--purple); animation: dotFloat 4.5s ease-in-out infinite; }
.dot-c { left: 50%; bottom: 18%; background: var(--green); animation: dotFloat 5s ease-in-out infinite; }

.pillar-card,
.pillar-bottom {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: absolute;
  text-align: center;
  transition: var(--transition);
}

.pillar-card {
  width: 240px;
  min-height: 240px;
  border-radius: 50%;
  padding: 32px 24px;
}

.pillar-left {
  left: 3%;
  top: 95px;
  border: 5px solid rgba(6,71,184,.18);
}

.pillar-center {
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  width: 270px;
  min-height: 270px;
  border: 6px solid rgba(88,200,120,.65);
  z-index: 5;
}

.pillar-right {
  right: 3%;
  top: 95px;
  border: 5px solid rgba(128,84,230,.22);
}

.pillar-bottom {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 360px;
  border-radius: 24px;
  padding: 24px;
  z-index: 4;
}

.pillar-card:hover,
.pillar-bottom:hover {
  box-shadow: 0 28px 70px rgba(8,38,82,.16);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 1.45rem;
}

.pillar-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.pillar-icon.purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.pillar-logo {
  width: 120px;
  height: 74px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}

.pillar-logo img {
  max-height: 74px;
  object-fit: contain;
}

.pillar-card h3,
.pillar-bottom h3 {
  color: var(--blue-dark);
  font-size: 1.02rem;
  margin-bottom: 9px;
}

.pillar-card p,
.pillar-bottom p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.pillar-bottom a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
  font-size: .82rem;
}

.pillar-num {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: .78rem;
  top: -14px;
  left: 26px;
}

.pillar-right .pillar-num {
  left: auto;
  right: 26px;
  background: var(--purple);
}

.center-num {
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: 99px;
  top: auto;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
}

/* PROJECTS */
.projects {
  background: var(--bg);
  padding-top: 50px;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-arrows button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrows button:hover {
  background: var(--blue);
  color: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  height: 225px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--blue-dark);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: .65s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.82));
}

.project-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.project-card span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.project-card h3 {
  font-size: 1.26rem;
  margin-bottom: 6px;
}

.project-card p {
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.project-card a {
  font-weight: 900;
  font-size: .82rem;
}

/* STATS */
.stats-wrap {
  background: var(--bg);
  padding: 0 0 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.stat-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: var(--transition);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card:hover {
  background: #fbfdff;
}

.stat-card i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.25rem;
}

.stat-card:nth-child(4) i {
  background: var(--green-soft);
  color: var(--green);
}

.stat-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.6rem;
}

.stat-card strong::after {
  content: "+";
}

.stat-card:nth-child(4) strong::after {
  content: "";
}

.stat-card span {
  color: var(--muted);
  font-size: .80rem;
}

/* VOCES */
.voces {
  background:
    radial-gradient(circle at 82% 18%, rgba(88,200,120,.16), transparent 30%),
    linear-gradient(180deg, var(--bg), #fff);
}

.voces-grid,
.actualidad-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.voces-copy p,
.actualidad-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.78;
  margin: 14px 0 22px;
}

.voces-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.voces-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 900;
}

.voces-tags i {
  color: var(--green);
}

.voces-visual {
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(88,200,120,.22), transparent 38%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.voces-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.voice-wave {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: .75;
}

.voice-wave span {
  width: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  animation: soundWave 1.6s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { height: 70px; }
.voice-wave span:nth-child(2) { height: 120px; animation-delay: .15s; }
.voice-wave span:nth-child(3) { height: 180px; animation-delay: .30s; }
.voice-wave span:nth-child(4) { height: 135px; animation-delay: .45s; }
.voice-wave span:nth-child(5) { height: 95px; animation-delay: .60s; }
.voice-wave span:nth-child(6) { height: 150px; animation-delay: .75s; }

.voice-card {
  position: relative;
  z-index: 2;
  width: min(360px, calc(100% - 44px));
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  backdrop-filter: blur(14px);
  text-align: center;
}

.voice-card i {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  background: rgba(255,255,255,.14);
  font-size: 1.8rem;
}

.voice-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.voice-card p {
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}

/* ACTUALIDAD */
.actualidad {
  background: #fff;
}

.facebook-frame {
  min-height: 420px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  padding: 16px;
}

/* CTA FINAL */
.final-cta-wrap {
  padding-bottom: 30px;
}

.final-cta {
  background:
    radial-gradient(circle at 0% 50%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(120deg, #0c43b8, #057d9d, var(--green));
  color: #fff;
  border-radius: 16px;
  padding: 28px 38px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.final-cta::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -40px;
  width: 270px;
  height: 170px;
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .16;
}

.final-symbol {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  z-index: 2;
}

.final-cta h2 {
  font-size: 1.55rem;
  position: relative;
  z-index: 2;
}

.final-cta p {
  color: rgba(255,255,255,.84);
  position: relative;
  z-index: 2;
}

/* CONTACT */
.contact {
  background: var(--bg);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.contact-list a:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.contact-list i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
}

.contact-list strong {
  display: block;
  color: var(--blue-dark);
}

.contact-list span {
  color: var(--muted);
  font-size: .9rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: .88rem;
  margin-bottom: 14px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6,71,184,.09);
}

.legal {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  margin-top: 12px;
}

/* FOOTER */
.footer {
  background:
    radial-gradient(circle at 86% 45%, rgba(88,200,120,.18), transparent 22%),
    linear-gradient(135deg, #031634, var(--blue-dark) 55%, #020b1c);
  color: #cbd8e9;
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-brain {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 330px;
  height: 250px;
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .18;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.28fr .8fr .82fr 1.1fr;
  gap: 34px;
}

.footer-logo {
  width: 230px;
  min-height: 112px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  margin-bottom: 16px;
}

.footer-logo img {
  width: 200px;
  max-height: 90px;
  object-fit: contain;
}

.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer p,
.footer a {
  display: block;
  color: #cbd8e9;
  font-size: .86rem;
  margin-bottom: 9px;
}

.footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.09);
  transition: var(--transition);
}

.socials a:hover {
  transform: translateY(-4px);
  background: rgba(88,200,120,.28);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom a {
  display: inline;
  margin-left: 22px;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #21c063;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(33,192,99,.35);
  animation: pulseWa 2s infinite;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .75s cubic-bezier(.2,.75,.2,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@keyframes loaderMove {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes brainFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.02); }
}

@keyframes pedroFloat {
  0%, 100% { transform: translateX(-42px) translateY(66px); }
  50% { transform: translateX(-42px) translateY(57px); }
}

@keyframes particleMove {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(12px,-16px); }
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%,0); }
  100% { opacity: 0; transform: translate(-50%,12px); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes orbitPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .85; }
  50% { transform: translate(-50%,-50%) scale(1.035); opacity: 1; }
}

@keyframes dotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes soundWave {
  0%, 100% { transform: scaleY(.55); opacity: .45; }
  50% { transform: scaleY(1); opacity: .95; }
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(33,192,99,.42); }
  70% { box-shadow: 0 0 0 16px rgba(33,192,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,192,99,0); }
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .brand { min-width: auto; }
  .brand-copy { display: none; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: .78rem; }
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 6px 20px rgba(8,38,82,.06);
  }

  .nav-cta { display: none; }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    padding: 108px 0 60px;
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .voces-grid,
  .actualidad-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 640px;
    margin: auto;
    text-align: center;
  }

  .hero h1 {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-values {
    max-width: 520px;
    margin: auto;
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-doctor {
    max-height: 560px;
    transform: translateX(0) translateY(18px);
  }

  @keyframes pedroFloat {
    0%, 100% { transform: translateX(0) translateY(18px); }
    50% { transform: translateX(0) translateY(9px); }
  }

  .hero-brain {
    width: 620px;
    height: 400px;
    right: 50%;
    transform: translateX(50%);
    top: 455px;
    opacity: .22;
  }

  .service-grid,
  .project-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band,
  .final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-icon,
  .final-symbol {
    margin: auto;
  }

  .about-copy {
    order: 2;
  }

  .about-visual {
    display: grid;
    gap: 10px;
  }

  .about-visual img {
    height: 330px;
  }

  .top-left,
  .mid-left,
  .top-right,
  .bottom-right {
    position: static;
    margin: 0;
  }

  .ecosystem-map {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .orbit-line,
  .orbit-dot {
    display: none;
  }

  .pillar-card,
  .pillar-bottom,
  .pillar-left,
  .pillar-center,
  .pillar-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    padding: 26px;
  }

  .pillar-center {
    order: -1;
    border-width: 4px;
  }

  .pillar-bottom {
    order: 3;
  }

  .pillar-logo {
    width: 140px;
  }

  .pillar-card:hover,
  .pillar-bottom:hover {
    transform: translateY(-8px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .brand img {
    width: 88px;
  }

  .hero {
    padding: 94px 0 48px;
  }

  .hero h1 {
    font-size: 2.55rem;
    line-height: 1.06;
  }

  .hero-text {
    font-size: .92rem;
  }

  .hero-actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-values,
  .service-grid,
  .project-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-values div {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    text-align: left;
  }

  .hero-values i {
    margin-bottom: 0;
  }

  .hero-visual {
    min-height: 385px;
  }

  .hero-doctor {
    max-height: 420px;
    transform: translateY(12px);
  }

  @keyframes pedroFloat {
    0%, 100% { transform: translateY(12px); }
    50% { transform: translateY(5px); }
  }

  .hero-brain {
    width: 430px;
    height: 300px;
    top: 470px;
  }

  .scroll-indicator {
    display: none;
  }

  .section-head.split {
    display: block;
  }

  .text-link,
  .slider-arrows {
    margin-top: 12px;
  }

  .about-visual img {
    height: 300px;
  }

  .voces-visual {
    min-height: 320px;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 18px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
/* =========================================================
   CTA PREMIUM / DINÁMICO
========================================================= */

.cta-band-premium {
  margin: 18px 0 38px;
  min-height: 154px;
  background:
    radial-gradient(circle at 78% 45%, rgba(255,255,255,.28), transparent 18%),
    radial-gradient(circle at 92% 90%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(120deg, #0647b8 0%, #057d9d 48%, #58c878 100%);
  border-radius: 26px;
  padding: 30px 42px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 26px;
  color: #ffffff;
  box-shadow:
    0 24px 70px rgba(6, 71, 184, .20),
    inset 0 1px 0 rgba(255,255,255,.28);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* textura sutil tipo tecnología / cerebro */
.cta-band-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .42;
  z-index: -3;
}

/* brillo en movimiento */
.cta-band-premium::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -28%;
  width: 42%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.22),
    transparent
  );
  transform: rotate(22deg);
  animation: ctaShine 5.8s ease-in-out infinite;
  z-index: -1;
}

.cta-visual-icon {
  width: 82px;
  height: 82px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow:
    0 18px 35px rgba(0,0,0,.13),
    inset 0 0 0 1px rgba(255,255,255,.65);
  position: relative;
  z-index: 2;
  animation: ctaIconFloat 4.8s ease-in-out infinite;
}

.cta-visual-icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.34);
  animation: ctaIconPulse 2.4s ease-in-out infinite;
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta-mini {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.cta-band-premium h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 7px;
  color: #ffffff;
}

.cta-band-premium p {
  max-width: 640px;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
  font-size: .96rem;
}

.cta-action {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.cta-action small {
  color: rgba(255,255,255,.78);
  font-size: .74rem;
  font-weight: 800;
}

.cta-btn {
  min-width: 210px;
  height: 56px;
  color: var(--blue);
  background: rgba(255,255,255,.96);
  box-shadow:
    0 16px 34px rgba(0,0,0,.14),
    inset 0 0 0 1px rgba(255,255,255,.85);
}

.cta-btn i {
  color: #21c063;
  font-size: 1.1rem;
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0,0,0,.18),
    0 0 0 6px rgba(255,255,255,.12);
}

/* elementos decorativos animados */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
}

.orb-one {
  width: 240px;
  height: 240px;
  right: 140px;
  top: -92px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%);
  animation: ctaOrbMove 8s ease-in-out infinite;
}

.orb-two {
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.24), transparent 65%);
  animation: ctaOrbMove 7s ease-in-out infinite reverse;
}

.cta-wave {
  position: absolute;
  right: 20%;
  bottom: -34px;
  width: 390px;
  height: 120px;
  opacity: .28;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 160"><path d="M0 100 C90 40 140 150 230 90 C330 20 390 145 600 55" stroke="rgba(255,255,255,.78)" fill="none" stroke-width="3"/><path d="M0 130 C90 70 140 180 230 120 C330 50 390 175 600 85" stroke="rgba(255,255,255,.45)" fill="none" stroke-width="3"/></svg>') center/contain no-repeat;
  animation: ctaWaveMove 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes ctaShine {
  0% {
    left: -45%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  48% {
    left: 120%;
    opacity: 0;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes ctaIconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}

@keyframes ctaIconPulse {
  0%, 100% {
    transform: scale(.96);
    opacity: .35;
  }
  50% {
    transform: scale(1.08);
    opacity: .75;
  }
}

@keyframes ctaOrbMove {
  0%, 100% {
    transform: translate(0,0) scale(1);
  }
  50% {
    transform: translate(-18px,14px) scale(1.08);
  }
}

@keyframes ctaWaveMove {
  0%, 100% {
    transform: translateX(0);
    opacity: .22;
  }
  50% {
    transform: translateX(26px);
    opacity: .36;
  }
}

/* RESPONSIVE CTA */
@media (max-width: 900px) {
  .cta-band-premium {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 34px 26px;
    gap: 18px;
  }

  .cta-visual-icon {
    margin: auto;
  }

  .cta-band-premium p {
    margin: auto;
  }

  .cta-mini {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-action {
    width: 100%;
  }

  .cta-btn {
    width: min(100%, 290px);
  }
}

@media (max-width: 520px) {
  .cta-band-premium {
    border-radius: 22px;
    padding: 30px 20px;
  }

  .cta-visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    font-size: 1.75rem;
  }

  .cta-band-premium h2 {
    font-size: 1.45rem;
  }

  .cta-band-premium p {
    font-size: .9rem;
  }
}
/* =========================================================
   SOBRE MÍ LIMPIO Y PROFESIONAL
========================================================= */

.about-clean {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(6, 71, 184, .045), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(88, 200, 120, .10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.about-clean-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.about-clean-copy {
  max-width: 520px;
}

.about-clean-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.about-clean-copy h2 span {
  display: block;
  color: var(--green-2);
}

.about-clean-lead {
  color: var(--blue-dark) !important;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-clean-copy p {
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Imagen */
.about-clean-visual {
  position: relative;
}

.about-clean-photo {
  width: 100%;
  height: 390px;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 24px 60px rgba(8, 38, 82, .13),
    0 0 0 1px rgba(223, 233, 241, .8);
  position: relative;
}

.about-clean-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 35%, rgba(255,255,255,.10)),
    linear-gradient(180deg, transparent 72%, rgba(6, 29, 70, .08));
  pointer-events: none;
}

.about-clean-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}

.about-clean-visual:hover .about-clean-photo img {
  transform: scale(1.04);
}

/* Estadísticas debajo, no encima del texto */
.about-clean-stats {
  width: calc(100% - 52px);
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-clean-stats div {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.about-clean-stats div:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-clean-stats strong {
  display: block;
  color: var(--green-2);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.about-clean-stats span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 980px) {
  .about-clean-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-clean-copy {
    max-width: 720px;
    text-align: center;
    margin: auto;
  }

  .about-clean-actions {
    justify-content: center;
  }

  .about-clean-photo {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .about-clean-copy h2 {
    font-size: 2.15rem;
  }

  .about-clean-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-clean-photo {
    height: 300px;
    border-radius: 22px;
  }

  .about-clean-stats {
    width: 100%;
    margin: 14px 0 0;
    grid-template-columns: 1fr;
  }

  .about-clean-stats div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 8px;
  }

  .about-clean-stats strong {
    margin-bottom: 0;
  }
}
/* =========================================================
   ECOSISTEMA LIMPIO - SIN CORTES, SIN MOVIMIENTO LATERAL
========================================================= */

.ecosystem-clean {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(6, 71, 184, .045), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(88, 200, 120, .10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.ecosystem-clean::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 71, 184, .035), transparent 64%);
  pointer-events: none;
}

.ecosystem-clean .container {
  position: relative;
  z-index: 2;
}

/* Contenedor principal */
.ecosystem-clean-map {
  margin-top: 42px;
  position: relative;
}

/* Panel principal Dr. Pedro */
.eco-main-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,251,255,.96));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px 34px;
  box-shadow:
    0 24px 70px rgba(8, 38, 82, .10),
    inset 0 1px 0 rgba(255,255,255,.90);
  position: relative;
  overflow: hidden;
}

.eco-main-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 200, 120, .20), transparent 68%);
}

.eco-main-panel::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 71, 184, .12), transparent 68%);
}

.eco-main-logo {
  width: 150px;
  height: 110px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.eco-main-logo img {
  width: 125px;
  max-height: 86px;
  object-fit: contain;
}

.eco-main-copy {
  position: relative;
  z-index: 2;
}

.eco-main-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eco-main-copy h3 {
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.eco-main-copy p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 590px;
}

/* Conector limpio */
.eco-connector {
  width: min(680px, 88%);
  height: 78px;
  margin: 0 auto;
  position: relative;
}

.eco-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 50px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(88, 200, 120, .65), rgba(6, 71, 184, .15));
}

.eco-connector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 71, 184, .20), rgba(88, 200, 120, .34), rgba(128, 84, 230, .20), transparent);
}

.eco-connector span {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 10px rgba(88, 200, 120, .12);
  animation: ecoPulseDot 2.6s ease-in-out infinite;
}

/* Tarjetas inferiores */
.eco-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.eco-clean-card {
  min-height: 265px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* Importante: solo sube, no se mueve hacia los lados */
.eco-clean-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 71, 184, .18);
}

.eco-clean-card.featured {
  border-color: rgba(88, 200, 120, .36);
  box-shadow:
    0 18px 50px rgba(8, 38, 82, .10),
    inset 0 0 0 1px rgba(88, 200, 120, .16);
}

.eco-clean-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: .9;
  transition: transform .35s ease;
}

.eco-clean-card:nth-child(2)::before {
  background: var(--green-soft);
}

.eco-clean-card:nth-child(3)::before {
  background: var(--purple-soft);
}

.eco-clean-card:hover::before {
  transform: scale(1.18);
}

.eco-clean-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.eco-clean-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 900;
}

.eco-clean-number.blue {
  background: var(--blue);
}

.eco-clean-number.green {
  background: var(--green-2);
}

.eco-clean-number.purple {
  background: var(--purple);
}

.eco-clean-icon {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
}

.eco-clean-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.eco-clean-icon.green {
  color: var(--green-2);
  background: var(--green-soft);
}

.eco-clean-icon.purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.eco-clean-card h3 {
  color: var(--blue-dark);
  font-size: 1.22rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.eco-clean-card p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.eco-clean-card a {
  color: var(--blue);
  font-size: .84rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 2;
}

.eco-clean-card:nth-child(2) a {
  color: var(--green-2);
}

.eco-clean-card:nth-child(3) a {
  color: var(--purple);
}

/* Animaciones suaves */
@keyframes ecoPulseDot {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: .8;
  }

  50% {
    transform: translateX(-50%) scale(1.12);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .eco-main-panel {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 30px 24px;
  }

  .eco-main-copy p {
    margin: auto;
  }

  .eco-path-grid {
    grid-template-columns: 1fr;
  }

  .eco-connector {
    height: 54px;
  }

  .eco-connector::after {
    display: none;
  }

  .eco-connector::before {
    height: 42px;
  }

  .eco-connector span {
    top: 36px;
  }
}

@media (max-width: 620px) {
  .ecosystem-clean .section-head h2 {
    font-size: 2.05rem;
  }

  .ecosystem-clean .section-subtitle {
    font-size: .94rem;
  }

  .eco-main-panel {
    border-radius: 24px;
  }

  .eco-main-logo {
    width: 135px;
    height: 95px;
  }

  .eco-clean-card {
    min-height: auto;
    border-radius: 22px;
    padding: 24px;
  }

  .eco-clean-top {
    margin-bottom: 18px;
  }
}
/* =========================================================
   ECOSISTEMA - FONDO Y LÍNEAS CON FLUJO DE CONEXIÓN
========================================================= */

.ecosystem-clean {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(6, 71, 184, .065), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(88, 200, 120, .13), transparent 32%),
    radial-gradient(circle at 50% 78%, rgba(128, 84, 230, .055), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 48%, #eef8ff 100%);
}

/* textura visual muy sutil */
.ecosystem-clean::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(6, 71, 184, .045) 1px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: .32;
  pointer-events: none;
}

/* halo central */
.ecosystem-clean::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 185px;
  width: 780px;
  height: 520px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(88, 200, 120, .14), transparent 36%),
    radial-gradient(circle, rgba(6, 71, 184, .08), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

/* aseguro que el contenido quede arriba del fondo */
.ecosystem-clean .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   CONECTOR PRINCIPAL
========================================================= */

.eco-connector {
  width: min(720px, 88%);
  height: 88px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

/* línea vertical desde Pedro hacia las tarjetas */
.eco-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(88, 200, 120, .95),
    rgba(6, 71, 184, .18)
  );
  box-shadow: 0 0 18px rgba(88, 200, 120, .22);
}

/* línea horizontal hacia las 3 tarjetas */
.eco-connector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 71, 184, .18) 14%,
    rgba(6, 71, 184, .42) 28%,
    rgba(88, 200, 120, .58) 50%,
    rgba(128, 84, 230, .40) 72%,
    rgba(128, 84, 230, .16) 86%,
    transparent 100%
  );
  box-shadow: 0 0 18px rgba(6, 71, 184, .10);
}

/* punto central */
.eco-connector span {
  position: absolute;
  left: 50%;
  top: 43px;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--green-2);
  box-shadow:
    0 0 0 10px rgba(88, 200, 120, .13),
    0 0 28px rgba(88, 200, 120, .38);
  z-index: 4;
  animation: ecoPulseDot 2.4s ease-in-out infinite;
}

/* =========================================================
   PUNTOS DE TRANSFERENCIA EN LAS LÍNEAS
========================================================= */

.eco-connector .transfer-dot {
  position: absolute;
  top: 50px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

/* punto azul hacia tarjeta 01 */
.eco-connector .dot-blue {
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(6, 71, 184, .10), 0 0 22px rgba(6, 71, 184, .42);
  animation: transferLeft 3.2s ease-in-out infinite;
}

/* punto verde hacia tarjeta 02 */
.eco-connector .dot-green {
  background: var(--green-2);
  box-shadow: 0 0 0 7px rgba(88, 200, 120, .12), 0 0 22px rgba(88, 200, 120, .42);
  animation: transferCenter 3.2s ease-in-out infinite .55s;
}

/* punto violeta hacia tarjeta 03 */
.eco-connector .dot-purple {
  background: var(--purple);
  box-shadow: 0 0 0 7px rgba(128, 84, 230, .11), 0 0 22px rgba(128, 84, 230, .42);
  animation: transferRight 3.2s ease-in-out infinite 1.1s;
}

/* pequeño punto vertical que baja desde el panel principal */
.eco-connector .dot-down {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--green-2);
  box-shadow: 0 0 18px rgba(88, 200, 120, .42);
  z-index: 6;
  animation: transferDown 2.4s ease-in-out infinite;
}

/* =========================================================
   ANIMACIONES DE TRANSFERENCIA
========================================================= */

@keyframes transferDown {
  0% {
    top: 2px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 50px;
    opacity: 0;
  }
}

@keyframes transferLeft {
  0% {
    left: 50%;
    opacity: 0;
    transform: scale(.7);
  }

  16% {
    opacity: 1;
    transform: scale(1);
  }

  82% {
    opacity: 1;
  }

  100% {
    left: 15%;
    opacity: 0;
    transform: scale(.75);
  }
}

@keyframes transferCenter {
  0% {
    left: 50%;
    opacity: 0;
    transform: translateY(0) scale(.7);
  }

  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  70% {
    opacity: 1;
    transform: translateY(18px) scale(1);
  }

  100% {
    left: 50%;
    opacity: 0;
    transform: translateY(34px) scale(.75);
  }
}

@keyframes transferRight {
  0% {
    left: 50%;
    opacity: 0;
    transform: scale(.7);
  }

  16% {
    opacity: 1;
    transform: scale(1);
  }

  82% {
    opacity: 1;
  }

  100% {
    left: 85%;
    opacity: 0;
    transform: scale(.75);
  }
}

@keyframes ecoPulseDot {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: .85;
  }

  50% {
    transform: translateX(-50%) scale(1.13);
    opacity: 1;
  }
}

/* =========================================================
   MEJORA VISUAL DE LAS TARJETAS DEL ECOSISTEMA
========================================================= */

.eco-clean-card {
  position: relative;
  isolation: isolate;
}

.eco-clean-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.75), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(6, 71, 184, .07), transparent 30%);
  opacity: .85;
  z-index: -1;
  pointer-events: none;
}

.eco-clean-card.featured::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.76), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(88, 200, 120, .10), transparent 32%);
}

.eco-clean-card:nth-child(3)::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.76), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(128, 84, 230, .10), transparent 32%);
}

@media (max-width: 980px) {
  .eco-connector {
    width: 100%;
    height: 58px;
  }

  .eco-connector::after,
  .eco-connector .dot-blue,
  .eco-connector .dot-green,
  .eco-connector .dot-purple {
    display: none;
  }

  .eco-connector .dot-down {
    display: block;
  }
}

/* =========================================================
   ECOSISTEMA - CONECTOR TIPO FLUJO HACIA LAS 3 TARJETAS
========================================================= */

.eco-connector-flow {
  width: min(760px, 88%);
  height: 115px;
  margin: 0 auto -8px;
  position: relative;
  overflow: visible;
}

/* Línea vertical que baja desde la tarjeta principal */
.eco-connector-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(88, 200, 120, .95),
    rgba(88, 200, 120, .34)
  );
  box-shadow: 0 0 18px rgba(88, 200, 120, .22);
}

/* Línea horizontal principal */
.eco-connector-flow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 71, 184, .18) 8%,
    rgba(6, 71, 184, .46) 24%,
    rgba(88, 200, 120, .62) 50%,
    rgba(128, 84, 230, .46) 76%,
    rgba(128, 84, 230, .18) 92%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(6, 71, 184, .11);
}

/* Punto central de distribución */
.connector-center {
  position: absolute;
  left: 50%;
  top: 51px;
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--green-2);
  box-shadow:
    0 0 0 12px rgba(88, 200, 120, .13),
    0 0 30px rgba(88, 200, 120, .38);
  z-index: 5;
  animation: ecoPulseDot 2.4s ease-in-out infinite;
}

/* Bajadas hacia cada tarjeta */
.connector-drop {
  position: absolute;
  top: 62px;
  width: 3px;
  height: 44px;
  border-radius: 999px;
  z-index: 2;
}

.drop-left {
  left: 16.6%;
  background: linear-gradient(180deg, rgba(6, 71, 184, .46), rgba(6, 71, 184, .10));
}

.drop-center {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(88, 200, 120, .60), rgba(88, 200, 120, .12));
}

.drop-right {
  right: 16.6%;
  background: linear-gradient(180deg, rgba(128, 84, 230, .46), rgba(128, 84, 230, .10));
}

/* Puntos de transferencia */
.eco-connector-flow .transfer-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}

/* Punto que baja desde Pedro al centro */
.eco-connector-flow .dot-down {
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid var(--green-2);
  box-shadow: 0 0 18px rgba(88, 200, 120, .42);
  animation: transferDownNew 2.5s ease-in-out infinite;
}

/* Punto hacia tarjeta izquierda */
.eco-connector-flow .dot-blue {
  top: 58px;
  left: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 7px rgba(6, 71, 184, .10),
    0 0 22px rgba(6, 71, 184, .42);
  animation: transferLeftNew 3.6s ease-in-out infinite .35s;
}

/* Punto hacia tarjeta central */
.eco-connector-flow .dot-green {
  top: 58px;
  left: 50%;
  background: var(--green-2);
  box-shadow:
    0 0 0 7px rgba(88, 200, 120, .12),
    0 0 22px rgba(88, 200, 120, .42);
  animation: transferCenterNew 3.6s ease-in-out infinite .75s;
}

/* Punto hacia tarjeta derecha */
.eco-connector-flow .dot-purple {
  top: 58px;
  left: 50%;
  background: var(--purple);
  box-shadow:
    0 0 0 7px rgba(128, 84, 230, .11),
    0 0 22px rgba(128, 84, 230, .42);
  animation: transferRightNew 3.6s ease-in-out infinite 1.15s;
}

/* Animaciones */
@keyframes transferDownNew {
  0% {
    top: 4px;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    top: 54px;
    opacity: 0;
  }
}

@keyframes transferLeftNew {
  0% {
    left: 50%;
    top: 58px;
    opacity: 0;
    transform: scale(.75);
  }

  18% {
    opacity: 1;
    transform: scale(1);
  }

  72% {
    left: 16.6%;
    top: 58px;
    opacity: 1;
  }

  100% {
    left: 16.6%;
    top: 99px;
    opacity: 0;
    transform: scale(.75);
  }
}

@keyframes transferCenterNew {
  0% {
    left: 50%;
    top: 58px;
    opacity: 0;
    transform: translateX(-50%) scale(.75);
  }

  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  100% {
    left: 50%;
    top: 100px;
    opacity: 0;
    transform: translateX(-50%) scale(.75);
  }
}

@keyframes transferRightNew {
  0% {
    left: 50%;
    top: 58px;
    opacity: 0;
    transform: scale(.75);
  }

  18% {
    opacity: 1;
    transform: scale(1);
  }

  72% {
    left: 83.4%;
    top: 58px;
    opacity: 1;
  }

  100% {
    left: 83.4%;
    top: 99px;
    opacity: 0;
    transform: scale(.75);
  }
}

@keyframes ecoPulseDot {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: .85;
  }

  50% {
    transform: translateX(-50%) scale(1.13);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .eco-connector-flow {
    width: 100%;
    height: 62px;
    margin-bottom: 0;
  }

  .eco-connector-flow::after,
  .connector-drop,
  .eco-connector-flow .dot-blue,
  .eco-connector-flow .dot-green,
  .eco-connector-flow .dot-purple {
    display: none;
  }

  .eco-connector-flow::before {
    height: 48px;
  }

  .connector-center {
    top: 40px;
  }

  .eco-connector-flow .dot-down {
    display: block;
  }
  
}

/* =========================================================
   SECCIÓN: ¿QUÉ NECESITAS? / DECISION SECTION
   Código aislado para evitar conflicto con proyectos anteriores
========================================================= */

.decision-section {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 71, 184, .06), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(88, 200, 120, .12), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
}

.decision-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 90px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 200, 120, .13), transparent 68%);
  pointer-events: none;
}

.decision-section::after {
  content: "";
  position: absolute;
  left: -130px;
  bottom: 60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 71, 184, .09), transparent 68%);
  pointer-events: none;
}

.decision-section .container {
  position: relative;
  z-index: 2;
}

.decision-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 36px !important;
}

.decision-card {
  position: relative !important;
  min-height: 405px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid var(--line) !important;
  border-radius: 26px !important;
  padding: 28px 24px !important;
  box-shadow: var(--shadow-soft) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

.decision-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: .9;
  transition: transform .35s ease;
  z-index: 0;
}

.decision-card:nth-child(2)::before {
  background: var(--green-soft);
}

.decision-card:nth-child(3)::before {
  background: var(--blue-soft);
}

.decision-card:nth-child(4)::before {
  background: var(--purple-soft);
}

.decision-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow) !important;
  border-color: rgba(6, 71, 184, .18) !important;
}

.decision-card:hover::before {
  transform: scale(1.16);
}

.decision-featured {
  border-color: rgba(88, 200, 120, .40) !important;
  box-shadow:
    0 18px 50px rgba(8, 38, 82, .10),
    inset 0 0 0 1px rgba(88, 200, 120, .16) !important;
}

.decision-icon,
.decision-label,
.decision-card h3,
.decision-card p,
.decision-list,
.decision-btn {
  position: relative;
  z-index: 2;
}

.decision-icon {
  width: 68px !important;
  height: 68px !important;
  border-radius: 22px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 1.55rem !important;
  margin-bottom: 18px !important;
}

.decision-blue {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

.decision-green {
  background: var(--green-soft) !important;
  color: var(--green-2) !important;
}

.decision-purple {
  background: var(--purple-soft) !important;
  color: var(--purple) !important;
}

.decision-label {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: #f5f8fb !important;
  color: var(--muted) !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

.decision-card h3 {
  color: var(--blue-dark) !important;
  font-size: 1.28rem !important;
  line-height: 1.16 !important;
  margin-bottom: 12px !important;
}

.decision-card p {
  color: var(--muted) !important;
  font-size: .88rem !important;
  line-height: 1.62 !important;
  margin-bottom: 18px !important;
}

.decision-list {
  display: grid !important;
  gap: 9px !important;
  margin: 0 0 22px !important;
}

.decision-list span {
  color: var(--blue-dark) !important;
  font-size: .83rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.decision-list i {
  color: var(--green-2) !important;
  font-size: .76rem !important;
}

.decision-btn {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: .86rem !important;
  font-weight: 900 !important;
  transition: var(--transition) !important;
}

.decision-btn-blue {
  color: var(--blue) !important;
}

.decision-btn-green {
  color: var(--green-2) !important;
}

.decision-btn-purple {
  color: var(--purple) !important;
}

.decision-btn i {
  transition: transform .28s ease !important;
}

.decision-btn:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .decision-card {
    min-height: 350px !important;
  }
}

@media (max-width: 620px) {
  .decision-grid {
    grid-template-columns: 1fr !important;
  }

  .decision-card {
    min-height: auto !important;
    border-radius: 22px !important;
    padding: 24px !important;
  }

  .decision-section .section-head h2 {
    font-size: 2.1rem !important;
  }
}
/* =========================================================
   AJUSTE FINAL - TARJETAS CENTRADAS Y BOTONES WHATSAPP
========================================================= */

.decision-card {
  text-align: center !important;
  align-items: center !important;
}

.decision-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}

.decision-label {
  margin-left: auto !important;
  margin-right: auto !important;
}

.decision-card h3,
.decision-card p {
  text-align: center !important;
}

.decision-list {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 12px !important;
  margin: 2px 0 24px !important;
}

.decision-list span {
  width: auto !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  background: #f7fbff !important;
  border: 1px solid var(--line) !important;
  color: var(--blue-dark) !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.decision-list span i {
  color: var(--green-2) !important;
  font-size: .72rem !important;
}

.decision-btn {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 24px rgba(8, 38, 82, .08) !important;
}

.decision-btn-blue {
  color: var(--blue) !important;
}

.decision-btn-green {
  color: var(--green-2) !important;
}

.decision-btn-purple {
  color: var(--purple) !important;
}

.decision-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 34px rgba(8, 38, 82, .13) !important;
}

.decision-btn i {
  font-size: 1rem !important;
}

/* En móvil, las palomitas pueden bajar una por una si no caben */
@media (max-width: 620px) {
  .decision-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .decision-list span {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  .decision-btn {
    width: 100% !important;
  }
}
/* =========================================================
   VOCES VIVAS - PREVIEW / PUENTE HACIA SU FUTURA PÁGINA
========================================================= */

.voces-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 71, 184, .055), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(88, 200, 120, .13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.voces-preview-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.voces-preview-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.05em;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.voces-preview-copy h2 span {
  display: block;
  color: var(--green-2);
}

.voces-preview-copy p {
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 15px;
  max-width: 560px;
}

.voces-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

.voces-preview-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 900;
}

.voces-preview-tags i {
  color: var(--green-2);
}

.voces-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Visual */
.voces-preview-visual {
  min-height: 410px;
  border-radius: 32px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(88, 200, 120, .18), transparent 34%),
    linear-gradient(135deg, #061d46 0%, #0647b8 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.voces-preview-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .42;
}

.voces-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.32);
  animation: vocesRotate 18s linear infinite;
}

.voces-main-card {
  position: relative;
  z-index: 3;
  width: min(380px, calc(100% - 42px));
  border-radius: 28px;
  padding: 34px 30px;
  text-align: center;
  color: #ffffff;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

.voces-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: rgba(255,255,255,.16);
  color: #ffffff;
  font-size: 1.9rem;
}

.voces-main-card h3 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.voces-main-card p {
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  margin-bottom: 18px;
}

.voces-main-card span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  font-weight: 900;
}

.voces-floating-note {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.94);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  animation: vocesFloat 5s ease-in-out infinite;
}

.voces-floating-note i {
  color: var(--green-2);
}

.note-one {
  left: 42px;
  top: 70px;
}

.note-two {
  right: 42px;
  bottom: 70px;
  animation-delay: 1.2s;
}

@keyframes vocesRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes vocesFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .voces-preview-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .voces-preview-copy {
    text-align: center;
  }

  .voces-preview-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .voces-preview-tags,
  .voces-preview-actions {
    justify-content: center;
  }

  .voces-preview-visual {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .voces-preview-copy h2 {
    font-size: 2.15rem;
  }

  .voces-preview-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .voces-preview-visual {
    min-height: 340px;
    border-radius: 24px;
  }

  .voces-floating-note {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 10px;
  }

  .voces-preview-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px 0;
  }

  .voces-orbit {
    width: 250px;
    height: 250px;
  }
}

/* =========================================================
   AJUSTE VISUAL VOCES VIVAS - SIN EMPALMES
========================================================= */

.voces-visual-clean {
  min-height: 430px;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 26%, rgba(88, 200, 120, .18), transparent 28%),
    radial-gradient(circle at 30% 76%, rgba(6, 71, 184, .28), transparent 35%),
    linear-gradient(135deg, #061d46 0%, #0647b8 100%);
}

.voces-visual-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
  pointer-events: none;
}

.voces-visual-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 66%);
  filter: blur(2px);
  animation: vocesGlow 7s ease-in-out infinite;
}

.voces-card-clean {
  width: min(430px, 100%);
  min-height: 310px;
  border-radius: 30px;
  padding: 34px 34px 28px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(16px);
  box-shadow:
    0 28px 70px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.16);
  position: relative;
  z-index: 4;
  text-align: center;
  color: #ffffff;
}

.voces-card-clean .voces-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  color: #ffffff;
  font-size: 1.9rem;
}

.voces-card-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.voces-card-clean h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.voces-card-clean p {
  max-width: 330px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  font-size: 1rem;
}

.voces-card-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.90);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.2;
}

.voces-card-footer i {
  color: var(--green);
}

/* Etiquetas flotantes, ahora fuera del contenido central */
.voces-visual-clean .voces-floating-note {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 260px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--blue-dark);
  border: 1px solid rgba(223,233,241,.75);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  font-size: .84rem;
  font-weight: 900;
  animation: vocesFloat 5s ease-in-out infinite;
}

.voces-visual-clean .voces-floating-note i {
  color: var(--green-2);
}

.voces-visual-clean .note-one {
  left: 42px;
  top: 58px;
}

.voces-visual-clean .note-two {
  right: 42px;
  bottom: 58px;
  animation-delay: 1.2s;
}

.voces-visual-clean .voces-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.30);
  z-index: 2;
  animation: vocesRotate 18s linear infinite;
}

@keyframes vocesGlow {
  0%, 100% {
    transform: scale(.96);
    opacity: .72;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .voces-visual-clean {
    min-height: 410px;
    padding: 34px 26px;
  }

  .voces-visual-clean .note-one {
    left: 24px;
    top: 28px;
  }

  .voces-visual-clean .note-two {
    right: 24px;
    bottom: 28px;
  }
}

@media (max-width: 620px) {
  .voces-visual-clean {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .voces-card-clean {
    width: 100%;
    min-height: auto;
    padding: 28px 20px;
    border-radius: 24px;
  }

  .voces-card-footer {
    border-radius: 18px;
    white-space: normal;
  }

  .voces-visual-clean .voces-floating-note {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    animation: none;
  }

  .voces-visual-clean .voces-orbit,
  .voces-visual-glow {
    display: none;
  }
}

/* =========================================================
   ACTUALIDAD Y REDES SOCIALES
========================================================= */

.social-feed-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 71, 184, .055), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(88, 200, 120, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.social-feed-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 200, 120, .14), transparent 68%);
  pointer-events: none;
}

.social-feed-section::after {
  content: "";
  position: absolute;
  left: -130px;
  bottom: 80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 71, 184, .09), transparent 68%);
  pointer-events: none;
}

.social-feed-section .container {
  position: relative;
  z-index: 2;
}

.social-feed-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  margin-top: 38px;
  align-items: stretch;
}

/* Tarjeta principal Facebook */
.social-feed-main {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow:
    0 24px 70px rgba(8, 38, 82, .10),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}

.social-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.social-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.social-platform i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: .78rem;
}

.social-card-header h3 {
  color: var(--blue-dark);
  font-size: 1.55rem;
  line-height: 1.1;
}

.social-open-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.social-open-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Contenedor del plugin */
.facebook-embed-box {
  width: 100%;
  min-height: 650px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(6,71,184,.06), transparent 36%),
    #ffffff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px;
  overflow: hidden;
}

/* Facebook iframe/plugin */
.facebook-embed-box .fb-page,
.facebook-embed-box iframe {
  max-width: 100% !important;
}

/* Columna lateral */
.social-feed-side {
  display: grid;
  gap: 18px;
}

.social-mini-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.social-mini-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: .85;
  transition: transform .35s ease;
}

.social-mini-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(6,71,184,.18);
}

.social-mini-card:hover::before {
  transform: scale(1.16);
}

.instagram-card::before {
  background: radial-gradient(circle, rgba(225, 48, 108, .14), transparent 68%);
}

.whatsapp-social-card::before {
  background: var(--green-soft);
}

.social-mini-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.social-mini-icon.instagram {
  background: rgba(225, 48, 108, .10);
  color: #e1306c;
}

.social-mini-icon.whatsapp {
  background: var(--green-soft);
  color: var(--green-2);
}

.social-mini-card span,
.social-mini-card h3,
.social-mini-card p,
.social-mini-card a {
  position: relative;
  z-index: 2;
}

.social-mini-card span {
  display: inline-flex;
  color: var(--green-2);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.social-mini-card h3 {
  color: var(--blue-dark);
  font-size: 1.22rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.social-mini-card p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.62;
  margin-bottom: 16px;
}

.social-mini-card a {
  color: var(--blue);
  font-size: .84rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.instagram-card a {
  color: #e1306c;
}

.whatsapp-social-card a {
  color: var(--green-2);
}

.social-mini-card a i {
  transition: transform .28s ease;
}

.social-mini-card a:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 980px) {
  .social-feed-grid {
    grid-template-columns: 1fr;
  }

  .facebook-embed-box {
    min-height: 620px;
  }

  .social-feed-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-mini-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .social-feed-side {
    grid-template-columns: 1fr;
  }

  .social-card-header {
    display: grid;
  }

  .social-open-link {
    width: fit-content;
  }

  .facebook-embed-box {
    min-height: 560px;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .social-feed-main {
    padding: 18px;
    border-radius: 24px;
  }

  .facebook-embed-box {
    min-height: 520px;
    border-radius: 18px;
  }

  .social-card-header h3 {
    font-size: 1.35rem;
  }
}
/* =========================================================
   FACEBOOK EMBED CORREGIDO
========================================================= */

.facebook-embed-box {
  width: 100%;
  min-height: 760px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(6,71,184,.06), transparent 36%),
    #ffffff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px;
  overflow: hidden;
}

.facebook-embed-box iframe {
  width: 500px !important;
  max-width: 100% !important;
  height: 720px !important;
  border: 0 !important;
  display: block;
  background: #ffffff;
}

.social-card-header p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-top: 6px;
  max-width: 520px;
}

@media (max-width: 760px) {
  .facebook-embed-box {
    min-height: 660px;
    padding: 12px;
  }

  .facebook-embed-box iframe {
    width: 360px !important;
    height: 620px !important;
  }
}

@media (max-width: 420px) {
  .facebook-embed-box iframe {
    width: 320px !important;
    height: 600px !important;
  }
}
/* =========================================================
   ACTUALIDAD SOLO FACEBOOK
========================================================= */

.facebook-only-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 71, 184, .055), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(88, 200, 120, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.facebook-only-section::before {
  content: "";
  position: absolute;
  right: -150px;
  top: 120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 71, 184, .11), transparent 68%);
  pointer-events: none;
}

.facebook-only-section::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: 70px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 200, 120, .13), transparent 68%);
  pointer-events: none;
}

.facebook-only-section .container {
  position: relative;
  z-index: 2;
}

.facebook-only-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
}

/* Tarjeta izquierda */
.facebook-info-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 34px 30px;
  background:
    radial-gradient(circle at 86% 18%, rgba(88, 200, 120, .13), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facebook-info-card::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 71, 184, .12), transparent 68%);
}

.facebook-info-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 18px 36px rgba(6, 71, 184, .22);
  position: relative;
  z-index: 2;
}

.facebook-info-card span {
  position: relative;
  z-index: 2;
  color: var(--green-2);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.facebook-info-card h3 {
  position: relative;
  z-index: 2;
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

.facebook-info-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.facebook-info-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.facebook-info-tags small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.facebook-info-tags i {
  color: var(--green-2);
}

.facebook-main-btn {
  position: relative;
  z-index: 2;
  width: fit-content;
}

/* Tarjeta derecha */
.facebook-feed-card {
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  box-shadow:
    0 24px 70px rgba(8, 38, 82, .10),
    inset 0 1px 0 rgba(255,255,255,.9);
  padding: 22px;
  overflow: hidden;
}

.facebook-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.facebook-feed-header span {
  display: inline-flex;
  color: var(--green-2);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.facebook-feed-header h3 {
  color: var(--blue-dark);
  font-size: 1.5rem;
  line-height: 1.1;
}

.facebook-feed-header a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.facebook-feed-header a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.facebook-iframe-wrap {
  width: 100%;
  min-height: 750px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(6,71,184,.06), transparent 36%),
    #ffffff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  overflow: hidden;
}

.facebook-iframe-wrap iframe {
  width: 500px !important;
  max-width: 100% !important;
  height: 720px !important;
  border: 0 !important;
  display: block;
  background: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
  .facebook-only-grid {
    grid-template-columns: 1fr;
  }

  .facebook-info-card {
    text-align: center;
    align-items: center;
  }

  .facebook-info-tags {
    justify-content: center;
  }

  .facebook-iframe-wrap {
    min-height: 720px;
  }
}

@media (max-width: 620px) {
  .facebook-info-card,
  .facebook-feed-card {
    border-radius: 24px;
    padding: 20px;
  }

  .facebook-feed-header {
    display: grid;
  }

  .facebook-feed-header a {
    width: fit-content;
  }

  .facebook-iframe-wrap {
    min-height: 650px;
    padding: 10px;
    border-radius: 18px;
  }

  .facebook-iframe-wrap iframe {
    width: 340px !important;
    height: 620px !important;
  }

  .facebook-info-card h3 {
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  .facebook-iframe-wrap iframe {
    width: 310px !important;
  }
}
/* =========================================================
   CTA FINAL PREMIUM
========================================================= */

.final-cta-wrap {
  margin-top: 18px;
  margin-bottom: 52px;
}

.final-cta-premium {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 30px;
  padding: 34px 44px;
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 50%, rgba(255,255,255,.24), transparent 20%),
    radial-gradient(circle at 92% 90%, rgba(255,255,255,.14), transparent 24%),
    linear-gradient(120deg, #0647b8 0%, #057d9d 48%, #58c878 100%);
  box-shadow:
    0 26px 76px rgba(6, 71, 184, .20),
    inset 0 1px 0 rgba(255,255,255,.25);
  isolation: isolate;
}

/* textura sutil */
.final-cta-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .36;
  z-index: -4;
}

/* brillo diagonal */
.final-cta-premium::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -34%;
  width: 42%;
  height: 240%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.22),
    transparent
  );
  transform: rotate(22deg);
  animation: finalCtaShine 6s ease-in-out infinite;
  z-index: -1;
}

/* cerebro tenue al fondo */
.final-cta-bg-brain {
  position: absolute;
  right: 120px;
  top: 50%;
  width: 260px;
  height: 160px;
  transform: translateY(-50%);
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .20;
  filter: brightness(1.25) saturate(.8);
  z-index: -2;
  animation: finalBrainFloat 7s ease-in-out infinite;
}

.final-cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -3;
}

.final-cta-orb.orb-a {
  width: 230px;
  height: 230px;
  right: 120px;
  top: -100px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 68%);
  animation: finalOrbMove 8s ease-in-out infinite;
}

.final-cta-orb.orb-b {
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  animation: finalOrbMove 7s ease-in-out infinite reverse;
}

/* icono */
.final-cta-premium .final-symbol {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  color: #ffffff;
  font-size: 2rem;
  box-shadow:
    0 18px 36px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.18);
  animation: finalIconFloat 4.8s ease-in-out infinite;
}

.final-cta-premium .final-symbol::after {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.25);
  animation: finalIconPulse 2.7s ease-in-out infinite;
}

.final-cta-copy {
  position: relative;
  z-index: 2;
}

.final-cta-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.final-cta-copy h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.final-cta-copy p {
  max-width: 680px;
  color: rgba(255,255,255,.86);
  line-height: 1.62;
  font-size: .96rem;
}

.final-cta-actions {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.final-whatsapp-btn {
  min-width: 260px;
  min-height: 58px;
  color: var(--blue);
  background: rgba(255,255,255,.96);
  box-shadow:
    0 16px 34px rgba(0,0,0,.15),
    inset 0 0 0 1px rgba(255,255,255,.86);
}

.final-whatsapp-btn i {
  color: #21c063;
  font-size: 1.15rem;
}

.final-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0,0,0,.18),
    0 0 0 6px rgba(255,255,255,.12);
}

.final-cta-actions small {
  max-width: 280px;
  color: rgba(255,255,255,.78);
  font-size: .74rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
}

/* Animaciones */
@keyframes finalCtaShine {
  0% {
    left: -45%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  48% {
    left: 120%;
    opacity: 0;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes finalBrainFloat {
  0%, 100% {
    transform: translateY(-50%) translateX(0) scale(1);
  }

  50% {
    transform: translateY(-54%) translateX(18px) scale(1.04);
  }
}

@keyframes finalOrbMove {
  0%, 100% {
    transform: translate(0,0) scale(1);
  }

  50% {
    transform: translate(-18px,14px) scale(1.08);
  }
}

@keyframes finalIconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}

@keyframes finalIconPulse {
  0%, 100% {
    transform: scale(.94);
    opacity: .34;
  }

  50% {
    transform: scale(1.08);
    opacity: .76;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .final-cta-premium {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 38px 28px;
  }

  .final-cta-premium .final-symbol {
    margin: auto;
  }

  .final-cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta-actions {
    width: 100%;
  }

  .final-whatsapp-btn {
    width: min(100%, 320px);
  }

  .final-cta-bg-brain {
    right: 50%;
    transform: translate(50%, -50%);
    opacity: .14;
  }
}

@media (max-width: 520px) {
  .final-cta-wrap {
    margin-bottom: 38px;
  }

  .final-cta-premium {
    border-radius: 24px;
    padding: 32px 20px;
  }

  .final-cta-premium .final-symbol {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    font-size: 1.75rem;
  }

  .final-cta-copy h2 {
    font-size: 1.7rem;
  }

  .final-cta-copy p {
    font-size: .9rem;
  }

  .final-whatsapp-btn {
    min-width: 100%;
  }
}
/* =========================================================
   FOOTER PREMIUM
========================================================= */

.footer-premium {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 85% 35%, rgba(88, 200, 120, .16), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(6, 71, 184, .22), transparent 30%),
    linear-gradient(135deg, #061d46 0%, #03122d 58%, #020b1c 100%);
}

.footer-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .35;
  pointer-events: none;
}

.footer-bg-brain {
  position: absolute;
  right: 70px;
  bottom: 50px;
  width: 310px;
  height: 210px;
  background: url("../images/brain-bg.png") center/contain no-repeat;
  opacity: .18;
  filter: brightness(1.25) saturate(.8);
  animation: footerBrainFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer-glow-one {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 30px;
  background: radial-gradient(circle, rgba(88, 200, 120, .18), transparent 68%);
}

.footer-glow-two {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(6, 71, 184, .22), transparent 68%);
}

.footer-premium .container {
  position: relative;
  z-index: 2;
}

.footer-premium .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .9fr 1.15fr;
  gap: 54px;
  align-items: flex-start;
}

/* Logo */
.footer-brand-block p {
  max-width: 330px;
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  margin: 18px 0 22px;
}

.footer-logo-card {
  width: 250px;
  min-height: 132px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 24px 56px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition: var(--transition);
}

.footer-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(0,0,0,.26);
}

.footer-logo-card img {
  width: 335px;
  max-height: 125px;
  object-fit: contain;
}

/* Social */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.10);
  transition: var(--transition);
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: var(--green-2);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(88, 200, 120, .25);
}

/* Columnas */
.footer-col h3 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

.footer-col a,
.footer-col p {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: rgba(255,255,255,.74);
  font-size: .92rem;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-col a::after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width .28s ease;
}

.footer-col a:hover::after {
  width: 18px;
}

.footer-contact i {
  width: 18px;
  color: rgba(88, 200, 120, .95);
  text-align: center;
}

.footer-contact p {
  width: auto;
}

/* Botón WhatsApp del footer */
.footer-whatsapp-btn {
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--blue) !important;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.footer-whatsapp-btn:hover {
  transform: translateY(-4px) !important;
  color: var(--blue) !important;
  box-shadow: 0 22px 44px rgba(0,0,0,.22);
}

.footer-whatsapp-btn i {
  color: #21c063;
}

/* Bottom */
.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: rgba(255,255,255,.72);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Animación */
@keyframes footerBrainFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-premium .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-bg-brain {
    opacity: .12;
  }
}

@media (max-width: 720px) {
  .footer-premium {
    padding-top: 48px;
  }

  .footer-premium .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .footer-brand-block,
  .footer-col,
  .footer-contact {
    display: grid;
    justify-items: center;
  }

  .footer-brand-block p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-card {
    width: min(260px, 100%);
  }

  .footer-col a,
  .footer-col p {
    width: auto;
    justify-content: center;
  }

  .footer-col a:hover {
    transform: translateY(-2px);
  }

  .footer-col a::after {
    display: none;
  }

  .footer-bottom {
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom div {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-bg-brain {
    right: 50%;
    transform: translateX(50%);
    bottom: 120px;
    opacity: .09;
  }
}

@media (max-width: 420px) {
  .footer-logo-card {
    min-height: 118px;
    border-radius: 20px;
  }

  .footer-logo-card img {
    width: 165px;
  }

  .footer-whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* =========================================================
   AJUSTE FINAL LOGOS - HEADER / FOOTER / LOADER
   PEGAR AL FINAL DEL CSS
========================================================= */

/* LOGO SUPERIOR / HEADER */
.site-header .brand img,
.site-header .brand-logo,
.nav-wrap .brand img {
  width: 155px !important;
  max-width: 155px !important;
  max-height: 82px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Evita que el bloque del logo se apriete */
.site-header .brand,
.nav-wrap .brand {
  min-width: 330px !important;
  gap: 14px !important;
}

/* Texto junto al logo */
.site-header .brand-copy strong {
  font-size: 1rem !important;
}

.site-header .brand-copy small {
  font-size: .72rem !important;
}

/* Header un poco más alto para que el logo respire */
.site-header {
  padding: 12px 0 !important;
}

.site-header.scrolled {
  padding: 7px 0 !important;
}

/* LOGO DEL FOOTER */
.footer-logo-card,
.footer-logo {
  width: 340px !important;
  min-height: 175px !important;
  padding: 24px !important;
}

.footer-logo-card img,
.footer-logo img {
  width: 285px !important;
  max-width: 285px !important;
  max-height: 140px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* LOADER */
.loader-card {
  width: 310px !important;
  min-height: 220px !important;
  padding: 34px !important;
  border-radius: 32px !important;
}

.loader-card img {
  width: 240px !important;
  max-width: 240px !important;
  max-height: 140px !important;
  height: auto !important;
  object-fit: contain !important;
}

.loader-card > span {
  font-size: 3.4rem !important;
}

.loader-bar {
  width: 190px !important;
  height: 6px !important;
  margin-top: 22px !important;
}

/* RESPONSIVE TABLET */
@media (max-width: 1120px) {
  .site-header .brand img,
  .site-header .brand-logo,
  .nav-wrap .brand img {
    width: 135px !important;
    max-width: 135px !important;
    max-height: 72px !important;
  }

  .site-header .brand,
  .nav-wrap .brand {
    min-width: auto !important;
  }

  /* Si quieres que el texto siga visible en tablet, esto corrige tu regla anterior */
  .brand-copy {
    display: inline-block !important;
  }
}

/* RESPONSIVE MÓVIL */
@media (max-width: 620px) {
  .site-header .brand img,
  .site-header .brand-logo,
  .nav-wrap .brand img {
    width: 118px !important;
    max-width: 118px !important;
    max-height: 64px !important;
  }

  .site-header .brand,
  .nav-wrap .brand {
    gap: 8px !important;
  }

  .brand-copy {
    display: none !important;
  }

  .footer-logo-card,
  .footer-logo {
    width: min(300px, 100%) !important;
    min-height: 155px !important;
  }

  .footer-logo-card img,
  .footer-logo img {
    width: 245px !important;
    max-width: 245px !important;
    max-height: 125px !important;
  }

  .loader-card {
    width: 270px !important;
    min-height: 200px !important;
  }

  .loader-card img {
    width: 210px !important;
    max-width: 210px !important;
  }
}

/* MÓVIL MUY PEQUEÑO */
@media (max-width: 420px) {
  .site-header .brand img,
  .site-header .brand-logo,
  .nav-wrap .brand img {
    width: 105px !important;
    max-width: 105px !important;
  }

  .footer-logo-card img,
  .footer-logo img {
    width: 220px !important;
    max-width: 220px !important;
  }
}
}