/* ============================================================
   LONGEVITY ARGENTINA — styles.css
   Sistema tipográfico: Poppins — 300/400/500/600/700/800
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple:   #7B2F8E;
  --purple-dk:#5e1e6e;
  --celeste:  #4FB5E5;
  --mauve:    #B565A7;
  --orange:   #F79157;
  --cream:    #F5F3EE;
  --cream-dk: #EDE9E1;
  --text:     #2C2C2C;
  --text-lt:  #5A5A6A;
  --white:    #FFFFFF;
  --gradient: linear-gradient(135deg, #7B2F8E 0%, #4FB5E5 100%);
  --gradient-warm: linear-gradient(135deg, #7B2F8E 0%, #B565A7 55%, #F79157 100%);
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 24px rgba(123,47,142,0.08);
  --shadow-hover: 0 12px 40px rgba(123,47,142,0.15);
  --radius: 6px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── FADE UP ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }
.delay-6 { transition-delay: 0.60s; }

/* ── HERO KEYFRAMES ── */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatParticle {
  0%   { transform: translateY(0) translateX(0) scale(1);    opacity: 0.18; }
  33%  { transform: translateY(-40px) translateX(20px) scale(1.1); opacity: 0.28; }
  66%  { transform: translateY(-20px) translateX(-15px) scale(0.9); opacity: 0.15; }
  100% { transform: translateY(0) translateX(0) scale(1);    opacity: 0.18; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.6); opacity: 0.15; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes waveIn {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.12); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.08); }
  56%       { transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245,243,238,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  height: 72px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(123,47,142,0.07);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  background: rgba(245,243,238,0.98);
}
.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-primary {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 22px;
  color: var(--purple); letter-spacing: -0.3px; line-height: 1.1;
}
.nav-logo-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 500; font-size: 8.5px;
  letter-spacing: 2px; color: var(--purple);
  opacity: 0.75; text-transform: uppercase; margin-top: 3px;
}
.nav-logo-img {
  height: 40px; width: auto; display: block;
}
.footer-logo-img {
  height: 36px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; font-size: 13px;
  color: var(--text); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-primary {
  display: inline-block;
  background: var(--purple); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.3px; padding: 11px 26px;
  border-radius: 40px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--purple-dk);
  box-shadow: 0 4px 20px rgba(123,47,142,0.35);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-block;
  background: var(--white); color: var(--purple);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.2px; padding: 14px 36px;
  border-radius: 40px; text-decoration: none; border: none; cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s;
}
.btn-white:hover {
  box-shadow: 0 6px 28px rgba(123,47,142,0.3);
  transform: translateY(-2px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--purple); border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(245,243,238,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 24px 40px 32px; z-index: 999;
  flex-direction: column; gap: 20px;
  animation: fadeSlideDown 0.25s ease both;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--text);
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid rgba(44,44,44,0.07);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu .btn-primary { margin-top: 8px; text-align: center; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #3d1260 0%, #7B2F8E 30%, #B565A7 65%, #4FB5E5 100%);
  background-size: 300% 300%;
  animation: gradientFlow 14s ease infinite;
  display: flex; align-items: stretch;
  overflow: hidden;
}

.hero-split {
  padding-top:60px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  grid-template-rows: 100vh;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: floatParticle var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.04) 49px, rgba(255,255,255,0.04) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.04) 49px, rgba(255,255,255,0.04) 50px);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(181,101,167,0.3);
  top: -100px; right: -100px;
  animation: rotateSlow 30s linear infinite;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: rgba(79,181,229,0.2);
  bottom: -50px; left: -80px;
  animation: rotateSlow 24s linear infinite reverse;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 100px 60px 40px;
  display: flex; flex-direction: column;
}

.hero-content-inner {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-image-col {
  background: #4b015c98;
  position: relative;
  overflow: hidden;
}

.hero-nurse-img {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%; width: auto;
  display: block;
  pointer-events: none;
}

.hero-quote-card {
  position: absolute; z-index: 3;
  bottom: 120px; left: 32px; right: 32px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  text-align: center;
}

.hero-quote-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 300; font-style: italic; font-size: 16px;
  color: #3d1260; line-height: 1.75;
  margin-bottom: 10px;
}

.hero-quote-author {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: #7B2F8E;
  display: block;
}

.hero-seals {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 44px;
}

.hero-seal {
  height: 64px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.hero-seal:hover { opacity: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.95);
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.8px; padding: 8px 20px;
  border-radius: 30px; margin-bottom: 36px;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25);
  justify-content: center;
}
.hero-badge svg { flex-shrink: 0; animation: heartbeat 3s ease-in-out infinite; }

.hero-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 500;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 16px;
  display: block;
  text-align: center;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 62px);
  color: var(--white); line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 24px;
  text-align: center;
}
.hero-title .accent {
  background: linear-gradient(90deg, #FFD7F0, #A8E4FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  text-align: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 17px;
  color: rgba(255,255,255,0.88); line-height: 1.8;
  margin: 0 0 52px;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}

.btn-link-white {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9);
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
}
.btn-link-white:hover { gap: 14px; border-color: rgba(255,255,255,0.85); }
.btn-link-white .arrow { transition: transform 0.2s; }
.btn-link-white:hover .arrow { transform: translateX(5px); }

.hero-scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: auto; align-self: center;
  padding-bottom: 40px;
  z-index: 2;
  padding-top: 56px;
}
.hero-scroll-indicator span {
  font-family: 'Poppins', sans-serif; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.scroll-mouse {
  width: 24px; height: 36px; border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-wheel {
  width: 3px; height: 8px; background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(8px); opacity: 0.1; }
}

/* ════════════════════════════════════════════════════════════
   SECTION BASE
   ════════════════════════════════════════════════════════════ */
.section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'Poppins', sans-serif; font-weight: 500;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--mauve); margin-bottom: 14px; display: block;
}
.section-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--purple); line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 12px;
  color: var(--text-lt); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 52px; opacity: 0.75;
}

.section-separator {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.section-separator-line {
  width: 44px; height: 2px;
  background: var(--gradient);
  animation: waveIn 0.8s ease both;
}

/* ════════════════════════════════════════════════════════════
   NOSOTROS
   ════════════════════════════════════════════════════════════ */
.nosotros { background: var(--white); }

.nosotros-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.nosotros-text p {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 15.5px;
  line-height: 1.9; color: var(--text); margin-bottom: 20px;
}
.nosotros-text p:last-child { margin-bottom: 0; }

.nosotros-image-block { position: relative; }
.nosotros-img-wrapper {
  width: 100%; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius); position: relative;
}
.nosotros-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%); display: block;
  transition: filter 0.5s ease, transform 0.6s ease;
}
.nosotros-img-wrapper:hover img {
  filter: grayscale(30%); transform: scale(1.03);
}
.nosotros-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,47,142,0.5) 0%, rgba(79,181,229,0.3) 100%);
  mix-blend-mode: multiply;
}
.nosotros-motto {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--cream); padding: 20px 28px;
  border-left: 3px solid var(--purple); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-card);
}
.nosotros-motto span {
  font-family: 'Poppins', sans-serif; font-style: italic;
  font-size: 18px; color: var(--purple); display: block;
}
.nosotros-motto small {
  font-family: 'Poppins', sans-serif; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-lt);
}

/* ════════════════════════════════════════════════════════════
   LEGADO (Patricia García)
   ════════════════════════════════════════════════════════════ */
.legado {
  background: var(--cream-dk);
  position: relative; overflow: hidden;
}
.legado::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gradient-warm);
}

.legado-layout {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 72px; align-items: start;
}

.legado-portrait {
  position: sticky; top: 100px;
}
.legado-portrait-frame {
  position: relative;
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(123,47,142,0.15);
}
.legado-portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.legado-portrait-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(61,18,96,0.6) 100%);
}
.legado-portrait-name {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
}
.legado-portrait-name strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-style: italic; font-size: 20px;
  color: rgba(255,255,255,0.95); line-height: 1.2;
}
.legado-portrait-name span {
  font-family: 'Poppins', sans-serif; font-size: 10px;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.legado-portrait-placeholder {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple) 0%, var(--mauve) 60%, var(--celeste) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(123,47,142,0.2);
  position: relative; overflow: hidden;
}
.legado-portrait-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.legado-portrait-placeholder svg { position: relative; z-index: 1; }
.legado-portrait-placeholder .portrait-name {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  z-index: 1;
}
.legado-portrait-placeholder .portrait-name strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-style: italic; font-size: 20px;
  color: rgba(255,255,255,0.95); line-height: 1.2;
}
.legado-portrait-placeholder .portrait-name span {
  font-family: 'Poppins', sans-serif; font-size: 10px;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.legado-content {}
.legado-content p {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 15.5px;
  line-height: 2; color: var(--text); margin-bottom: 22px;
}
.legado-content p:last-child { margin-bottom: 0; }

.legado-quote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--white);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
}
.legado-quote p {
  font-family: 'Poppins', sans-serif;
  font-style: italic; font-size: 19px;
  color: var(--purple); line-height: 1.6; margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--purple);
  padding: 72px 40px;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 0, transparent 50%);
  background-size: 14px 14px;
}
.stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1);
  position: relative; z-index: 1;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px; text-align: center;
  transition: background 0.3s;
  border-radius: 0;
}
.stat-card:hover { background: rgba(255,255,255,0.09); }
.stat-number {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 48px; color: var(--white); line-height: 1; margin-bottom: 10px;
  display: block; letter-spacing: -1px;
}
.stat-number .stat-suffix {
  font-size: 32px; opacity: 0.7;
}
.stat-label {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 12.5px;
  color: rgba(255,255,255,0.65); line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   SERVICIOS
   ════════════════════════════════════════════════════════════ */
.servicios { background: var(--cream); }
.servicios-header { text-align: center; margin-bottom: 64px; }

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

.service-card {
  background: var(--white); padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(123,47,142,0.08);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 100%);
  border: 1.5px solid rgba(123,47,142,0.15);
}

.service-icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,47,142,0.06);
  border-radius: var(--radius);
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(123,47,142,0.11);
  transform: scale(1.08);
}
.service-complexity {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--mauve); margin-bottom: 10px;
}
.service-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 18px; color: var(--purple); margin-bottom: 4px; line-height: 1.25;
}
.service-title-badge {
  display: inline-flex; align-items: center; gap: 6px;
}
.full-caregiving-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-size: 9px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white);
  background: var(--gradient);
  padding: 3px 10px; border-radius: 20px;
  vertical-align: middle; margin-left: 8px; margin-bottom: 14px;
}
.service-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 14px;
  color: var(--text); line-height: 1.8; opacity: 0.85;
  margin-top: 12px;
}

/* ElderWatch callout (compact, bottom of servicios) */
.elderwatch-callout {
  margin-top: 48px; padding: 32px 40px;
  background: linear-gradient(135deg, #1a0a26 0%, #3d1260 100%);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.elderwatch-callout::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 0, transparent 50%);
  background-size: 14px 14px;
}
.elderwatch-callout > * { position: relative; z-index: 1; }
.elderwatch-heading {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px;
}
.elderwatch-heading h3 {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 26px; color: var(--white);
}
.elderwatch-heading .ew-badge {
  font-family: 'Poppins', sans-serif; font-size: 9px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--purple); background: rgba(255,255,255,0.9);
  padding: 3px 10px; border-radius: 20px;
}
.elderwatch-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 13.5px;
  color: rgba(255,255,255,0.7); line-height: 1.7;
  max-width: 600px;
}
.elderwatch-features {
  display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px;
}
.ew-feature {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.65);
}
.ew-feature::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--celeste); flex-shrink: 0;
}
.elderwatch-icon-wrap {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: rgba(79,181,229,0.12);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   PILARES CECE
   ════════════════════════════════════════════════════════════ */
.pilares {
  background: var(--white);
}
.pilares-header { text-align: center; margin-bottom: 64px; }

.cece-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-style: italic;
  font-size: 28px; color: var(--purple); opacity: 0.5;
  letter-spacing: 8px; margin-bottom: 10px;
}

.pilares-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid rgba(123,47,142,0.1);
  border-radius: var(--radius-lg); overflow: hidden;
}

.pilar-card {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid rgba(123,47,142,0.08);
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.pilar-card:last-child { border-right: none; }
.pilar-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.pilar-card:hover { background: rgba(123,47,142,0.03); }
.pilar-card:hover::after { transform: scaleX(1); }

.pilar-letter {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 64px; line-height: 1; color: var(--purple); opacity: 0.12;
  position: absolute; top: 16px; right: 20px;
  transition: opacity 0.3s;
}
.pilar-card:hover .pilar-letter { opacity: 0.18; }

.pilar-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(123,47,142,0.07);
}
.pilar-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 20px; color: var(--purple); margin-bottom: 12px;
}
.pilar-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 13px;
  color: var(--text-lt); line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   BENEFICIOS
   ════════════════════════════════════════════════════════════ */
.beneficios { background: var(--cream-dk); }
.beneficios-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.beneficios-text {}
.beneficios-text p {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 15px;
  line-height: 1.9; color: var(--text); margin-bottom: 24px; opacity: 0.85;
}
.beneficios-list {
  display: flex; flex-direction: column; gap: 0;
}
.beneficio-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(123,47,142,0.08);
  transition: background 0.2s;
}
.beneficio-item:last-child { border-bottom: none; }
.beneficio-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--white);
}
.beneficio-text {
  font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 14.5px;
  color: var(--text); line-height: 1.6; padding-top: 7px;
}

.historia-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.historia-card::before {
  content: '"';
  position: absolute; top: 16px; left: 24px;
  font-family: 'Poppins', sans-serif; font-size: 100px;
  color: var(--purple); opacity: 0.07; line-height: 1;
}
.historia-card-title {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 22px; color: var(--purple); margin-bottom: 20px;
  position: relative; z-index: 1;
}
.historia-card p {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 14px;
  color: var(--text); line-height: 1.9; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.historia-card p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════
   VALORES
   ════════════════════════════════════════════════════════════ */
.valores { background: var(--cream); }
.valores-header { text-align: center; margin-bottom: 64px; }

.valores-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.valor-card {
  background: var(--white); padding: 40px 28px; text-align: center;
  box-shadow: var(--shadow-card); border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.valor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.valor-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(123,47,142,0.07);
  transition: transform 0.3s;
}
.valor-card:hover .valor-icon { transform: scale(1.1) rotate(5deg); }
.valor-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 18px; color: var(--purple); margin-bottom: 12px;
}
.valor-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 13.5px;
  color: var(--text-lt); line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq { background: var(--white); }
.faq-layout {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; align-items: start;
}
.faq-aside { position: sticky; top: 100px; }
.faq-aside .section-title { margin-bottom: 16px; }
.faq-aside p {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 14px;
  color: var(--text-lt); line-height: 1.8;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(44,44,44,0.08); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 22px 0;
  background: none; border: none; cursor: pointer; text-align: left;
  transition: color 0.2s;
}
.faq-question-text {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 15px;
  color: var(--text); line-height: 1.4; transition: color 0.2s;
}
.faq-question:hover .faq-question-text { color: var(--purple); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(123,47,142,0.08);
  transition: background 0.25s, transform 0.3s ease;
}
.faq-item.active .faq-icon {
  background: var(--purple); transform: rotate(45deg);
}
.faq-item.active .faq-icon svg { stroke: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 0 24px;
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 14px;
  color: var(--text); opacity: 0.85; line-height: 1.9;
}

/* ════════════════════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════════════════════ */
.contacto { background: var(--cream); position: relative; overflow: hidden; }
.contacto::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient);
}
.contacto-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contacto-left .section-title { margin-bottom: 16px; }
.contacto-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 15.5px;
  color: var(--text); line-height: 1.85; opacity: 0.85; margin-bottom: 36px;
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  padding: 16px 36px; border-radius: 40px; text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s; margin-bottom: 20px;
}
.btn-whatsapp:hover {
  background: #1fb357;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4); transform: translateY(-2px);
}
.contacto-note {
  font-family: 'Poppins', sans-serif; font-size: 11.5px; color: var(--text-lt);
  font-style: italic; margin-top: 8px;
}
.contacto-info {
  background: var(--white); padding: 44px; box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}
.contacto-info h3 {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 24px;
  color: var(--purple); margin-bottom: 30px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(44,44,44,0.06);
}
.contact-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-item-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(123,47,142,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.contact-item:hover .contact-item-icon {
  background: rgba(123,47,142,0.14); transform: scale(1.08);
}
.contact-item-text strong {
  display: block;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-lt); margin-bottom: 4px;
}
.contact-item-text span {
  font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 14.5px;
  color: var(--text); line-height: 1.5;
}
.contact-item-text a { color: var(--purple); text-decoration: none; }
.contact-item-text a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   PRE-FOOTER CTA
   ════════════════════════════════════════════════════════════ */
.prefooter {
  background: linear-gradient(135deg, #3d1260 0%, #7B2F8E 40%, #B565A7 100%);
  padding: 96px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.prefooter::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 0, transparent 50%);
  background-size: 12px 12px;
}
.prefooter > * { position: relative; z-index: 1; }
.prefooter-eyebrow {
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 12px; display: block;
}
.prefooter-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white); margin-bottom: 14px; line-height: 1.1;
  letter-spacing: -0.5px;
}
.prefooter-text {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 16px;
  color: rgba(255,255,255,0.8); margin-bottom: 40px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer { background: #1a0a26; padding: 72px 40px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 60px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 40px;
}
.footer-brand .nav-logo-primary {
  color: rgba(255,255,255,0.95); font-size: 24px;
}
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.5); }
.footer-motto {
  font-family: 'Poppins', sans-serif; font-style: italic; font-size: 18px;
  color: rgba(255,255,255,0.45); margin-top: 16px; margin-bottom: 12px;
}
.footer-desc {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 13px;
  color: rgba(255,255,255,0.4); line-height: 1.8;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 13.5px;
  color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.95); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-badge {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.footer-badge:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.footer-badge-text {
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 400;
  color: rgba(255,255,255,0.6); line-height: 1.3;
}

/* Quality seal logos */
.footer-seals {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px; margin-top: 8px;
}
.footer-seal {
  height: 52px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.footer-seal:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-copy {
  font-family: 'Poppins', sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: 'Poppins', sans-serif; font-size: 12.5px;
  color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ════════════════════════════════════════════════════════════
   WA FLOAT
   ════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 60px; height: 60px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.wa-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%; border: 2px solid rgba(37,211,102,0.5);
  animation: pulseDot 2.5s ease-in-out infinite;
}

/* Gradient line divider */
.divider-gradient {
  height: 3px; background: var(--gradient);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .legado-layout { grid-template-columns: 280px 1fr; gap: 52px; }
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .pilar-card:nth-child(2) { border-right: none; }
  .pilar-card:nth-child(3) { border-top: 1px solid rgba(123,47,142,0.08); }
  .pilar-card:nth-child(4) { border-top: 1px solid rgba(123,47,142,0.08); }
}

@media (max-width: 1024px) {
  .nosotros-layout, .contacto-layout { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-image-block { max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { position: static; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .beneficios-layout { grid-template-columns: 1fr; gap: 48px; }
  .elderwatch-callout { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hero-image-col { order: 1; height: 72vh; }
  .hero-content { order: 2; padding: 64px 40px 64px; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links, .nav .btn-primary { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 24px; }
  .hero { min-height: unset; }
  .hero-image-col { height: 65vh; }
  .hero-content { padding: 52px 24px 48px; }
  .hero-quote-card { left: 16px; right: 16px; bottom: 20px; padding: 18px 20px; }
  .hero-quote-text { font-size: 14px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 18px; align-content: center;}
  .services-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-inner { padding: 0 20px; }
  .nosotros-motto { right: 0; bottom: 0; }
  .legado-layout { grid-template-columns: 1fr; }
  .legado-portrait { position: static; max-width: 300px; }
  .pilares-grid { grid-template-columns: 1fr 1fr; }
  .quote-strip { padding: 44px 24px; }
  .stats-section { padding: 56px 24px; }
}

@media (max-width: 480px) {
  .hero-image-col { height: 58vh; }
  .valores-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; background: transparent; gap: 2px; }
  .stat-card { background: rgba(255,255,255,0.07); margin-bottom: 1px; }
  .hero-title { font-size: 38px; }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .pilares-grid { grid-template-columns: 1fr; }
  .pilar-card { border-right: none; border-bottom: 1px solid rgba(123,47,142,0.08); }
  .pilar-card:last-child { border-bottom: none; }
}
