/* Evita re-escaleo tipográfico */
html { -webkit-text-size-adjust: 100%; }

/* ====== Tokens mínimos para el hero ====== */
:root {
  --primary:#5f38cf;
  --primary-700:#43279a;
  --white:#fff;
  --text:#484356;
  --glass-border:rgba(255,255,255,.55);
  --glass-bg:rgba(255,255,255,.28);
  --shadow:0 18px 40px rgba(26,6,68,.18);
  --ava-size: 36px;     /* diámetro */
  --ava-ring: 2px;      /* grosor del aro blanco */
  --ava-overlap: 16px;  /* cuánto se montan */
  --topbar-h: 56px;
}
@font-face{ font-family:"Poppins"; src: local("Poppins"); font-display:swap; }
html,body{ background:#fff; font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--text); }
.container{ width:min(1160px, 92%); margin-inline:auto; }

/* ====== NAV GLASEADO ====== */
/* evita franja blanca superior */
html, body { margin: 0; }

/* Sticky arriba dentro del hero */
/* Fijo, centrado y por encima de todo */
.glass-nav {
  position: fixed;
  top: calc(var(--topbar-h) + 16px);                 /* separacion desde el borde superior */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: auto;
  pointer-events: none;      /* el wrapper no interfiere; el pill sí */
}

.nav-shell {
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* Pill EXACTO de Figma + ancho al contenido */
.nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 9px;
  width: max-content;                 /* no se estira */
  max-width: calc(100vw - 32px);      /* respiración a los lados */
  border-radius: 30px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(152,150,150,0.20);
  -webkit-backdrop-filter: blur(4.4px);
  backdrop-filter: blur(4.4px);
  box-shadow: none;
  pointer-events: auto;               /* clickeable */
}

/* marca redonda a la izquierda (opcional, puedes ajustar) */
.brand-circle{
  display: grid; place-items: center;
  border-radius: 999px;
  padding: 8px;
}

.nav__links{ display:flex; align-items:center; gap:18px; }
.nav__links a {
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.30);
  /* Body/Normal medium */
  font-family: var(--font-family-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: text-shadow, transform .18s ease;
}

.nav__links a:hover {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.50);
}

.nav__button {
  padding: 15px 14px !important;
  font-weight: var(--font-weight-medium) !important;
  border-radius: 25px !important;
  box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.25);
  background: var(--secondary---blue--darker);
  text-shadow: none !important;
  transition: transform .18s ease;
}

/* Capa con el gradiente que aparece en hover */
.nav__button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(262deg, #A59FFF 0%, #5F38CF 100%);
  opacity: 0;                         /* escondido por defecto */
  transition: opacity .28s ease;      /* animación suave */
  z-index: -1;                        /* por debajo del contenido */
}

/* Hover del botón */
.nav__button:hover{
  transform: translateY(-1px);
}

.nav__button:hover::before{
  opacity: 1; /* aparece el gradiente suavemente */
}

@media (max-width:860px){
  .nav__links a:not(.nav__button){ display:none; }
  .nav__inner{
    max-width: calc(100vw - 20px);
  }
}

/* ====== HERO SLAB (morado con radial) ====== */
.hero-slab{
  /* círculo radial como ya lo tienes */
  --radial-r: clamp(340px, 42vw, 560px);
  --radial-x: 50%;
  --radial-y: 46%;
  /* espacio reservado para que el mock “cuelgue” sin pisar lo de abajo */
  --hero-space: clamp(100px, 25vw, 180px);
  position: relative;
  isolation: isolate;                 /* crea contexto propio de apilado */
  z-index: 0;
  background-color: #8967EA;
  /* Radial circular (no elíptico) y con transición suave */
  background-image:
    radial-gradient(
      circle var(--radial-r) at var(--radial-x) var(--radial-y),
      #5F38CF 0%,
      #5F38CF 20%,
      rgba(95,56,207,0.92) 38%,
      rgba(95,56,207,0.68) 58%,
      rgba(95,56,207,0.36) 76%,
      rgba(95,56,207,0.14) 88%,
      rgba(95,56,207,0.00) 100%
    );
  background-repeat: no-repeat;

  border-bottom-left-radius: 115px;
  border-bottom-right-radius: 115px;
  overflow: visible;
  /* un solo padding: top y bottom (reservamos espacio abajo) */
  padding: 160px 0 var(--hero-space);
}

/* Opcional: en móviles, haz el círculo un poco más pequeño */
@media (max-width: 940px) {
  .hero-slab {
    --radial-r: clamp(260px, 60vw, 380px);
    --radial-y: 44%;
    margin-bottom: 0;
    padding: 140px 0 var(--hero-space);
  }

  .glass-nav {
    top: calc(var(--topbar-h) + 52px);
  }
}

/* Badge */
.hero__badge {
	display: flex;
	align-items:center;
	gap:10px;
	padding:18px 23px;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	border-radius: 44px;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.10);

  width: max-content;                 /* shrink-wrap */
  max-width: calc(100% - 32px);       /* no desborda en mobile */
  box-sizing: border-box;
  margin-inline: auto;                /* centra en bloques/grid */
  align-self: center;
}

/* Grupo de avatares */
.badge__avatars{
	position:relative; display:inline-flex; align-items:center;
}

/* Avatar con aro blanco + sombra + solapamiento */
.badge__avatars .ava{
	position:relative;
	width:var(--ava-size);
	height:var(--ava-size);
	border-radius:50%;
	overflow:hidden;
	border:var(--ava-ring) solid #fff;
	box-shadow: 0 8px 18px rgba(26, 6, 68, .22); /* sombra suave detrás */
}

/* solapamiento hacia la izquierda */
.badge__avatars .ava + .ava{ margin-left: calc(-1 * var(--ava-overlap)); }

/* Z-index para que el del medio quede adelante (como en el diseño) */
.badge__avatars .ava:nth-child(1){ z-index:3; }
.badge__avatars .ava:nth-child(2){ z-index:2; } /* arriba de todos */
.badge__avatars .ava:nth-child(3){ z-index:1; }

.badge__avatars .ava img{
	width:100%; height:100%; object-fit:cover; display:block;
	border-radius:50%;
}

/* Responsive: avatares un poco más pequeños en móviles */
@media (max-width: 520px){
	:root{
		--ava-size: 44px;
		--ava-overlap: 14px;
	}
}

.mascotas-atendidas {
	color: #FFF;
	text-align: center;
	font-family: var(--font-family-body);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Título + Subtítulo */
.hero__title{
	color: #FFF;
	text-align: center;
	font-family: var(--font-family-headlines);
	font-size: 75px;
	font-style: normal;
	font-weight: 800;
	line-height: 123.915%; /* 106.567px */
	margin:12px 0 20px;
}
.hero__subtitle{
	max-width: 650px;
	margin: 0 auto 45px;
	color: var(--white, #FFF);
	text-align: center;
	font-family: var(--font-family-body);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* CTAs */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  border-radius:999px; text-decoration:none; font-weight:800; cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary{
  background:#fff;
  color:var(--primary);
  padding:14px 18px;
  box-shadow: var(--shadow);
}

.btn-cta-v1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: 19px;
    background: #FFF;

    /* línea cercana, levemente púrpura (se ve sobre fondo morado) */
    box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.35);
    /* Body/Medium Bold */
    font-family: var(--font-family-body);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    color: var(--primary--purple-main);
}


.btn--primary:hover{ transform: translateY(-2px); }

.btn--link{
  color: var(--white, #FFF);
  text-align: center;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 12%; /* 2.16px */
  text-underline-offset: 15%; /* 2.7px */
  text-underline-position: from-font;
  gap: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__cta {
  display:flex;
  gap: 50px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Ornamentos (SVG alrededor del título) */
.orn{
    position:absolute;
    width:86px;
    height:auto;
    opacity:.95;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
    pointer-events:none;
}
.o1{
  top: 12%;
  left: 4%;
  width: 155px;
  transform: rotate(3deg);
}
.o2{
  top: 46%;
  left: 11%;
  width: 135px;
  transform: rotate(5deg);
}
.o3{
  top: 62%;
  left: 15%;
  width: 275px;
}
.o4{
  top: 4%;
  right: 3%;
  width: 195px;
  transform: rotate(-7deg);
}
.o5{
  top: 43%;
  right: 11%;
  width: 150px;
  transform: rotate(-5deg);
}

.o6{
  top: 72%;
  right: 18%;
  width: 170px;
  transform: rotate(-6deg);
}





/* Responsivo */
@media (max-width:980px){
  .o2, .o4, .o6 {
    display: none;
  }
  .o1 {
    width: 95px;
    left: 1%;
    top: 71%;
  }
  .o3 {
    top: 71%;
    left: 23%;
    width: 220px;
}
  .o5 {
    width: 110px;
    top: 72%;
    right: 2%;
  }
  .o6 {
    width: 150px;
    right: 1%;
    top: 77%;
  }
  .hero-slab{ padding-bottom:140px;
    border-bottom-left-radius: 27px;
    border-bottom-right-radius: 27px;
  }
  .hero__cta {
    gap: 30px;
    margin-bottom: 60px;
  }
  .why {
    margin: 52px;
  }
}
@media (max-width:640px){
  .hero__title{
    font-size: clamp(32px, 9vw, 46px);
    margin-top: 18px;
  }
  .hero__subtitle{ padding:0 8px; }
}




/* --- ABOUT --- */
:root{
  --Gray:#747474;
}

/* contenedor más ancho y fluido */
.about{
  padding-top: clamp(120px, 12vw, 180px);
  padding-bottom: clamp(100px, 12vw, 180px);
  padding-inline: 0;                      /* 0 a los lados */
}
.about__wrap{
  /* ancho legible y no tan angosto, escala con el font-size */
  max-width: min(1200px);
  margin-inline: auto;
}

/* estilos Figma */
.about__lead{
  color: var(--black);
  text-align: center;
  font-family: var(--font-family-headlines);
  font-style: normal;
  font-weight: 600;
  line-height: normal;   /* Figma pide “normal” */
  margin: 0;

  /* 32px en desktop; baja suavemente en pantallas pequeñas */
  font-size: clamp(20px, 2.2vw + 0.6rem, 32px);
}

/* ==== animación por CARÁCTER sin cortar PALABRAS ==== */
/* cada palabra va en .word (bloque indivisible) */
.about__lead .word{
  display: inline-block;
  white-space: nowrap;       /* <-- evita cortes dentro de la palabra */
}
.about__lead .space{
  display: inline;           /* el espacio sí permite quiebre entre palabras */
  white-space: pre;          /* conserva el espacio visual */
}

/* cada carácter */
.about__lead .ch{
  display: inline-block;
  color: var(--Gray);        /* inicia gris */
  transform: translateY(4px);
  opacity: .95;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}
.about__lead .ch.revealed{
  color: var(--black, #343434);       /* se pinta a negro */
  transform: translateY(0);
  opacity: 1;
}

/* Afinados opcionales por breakpoint */
@media (max-width: 768px){
  /* el contenedor puede respirar un poco más en tablets/móviles */
  .about__wrap{ max-width: 92vw; }
}

@media (max-width: 480px){
  /* en móviles pequeños, la fuente baja un pelín más si hace falta */
  .about__lead{ font-size: clamp(18px, 5.2vw, 28px); }
}






/* --- ABOUT SECTION--- */
:root {
  --gray: #747474;
  --purple: #5F38CF;
}

/* ===== Sección ===== */
.about-pawwy{
  padding-top: 0;                         /* 0 arriba */
  padding-bottom: clamp(120px, 12vw, 180px); /* responsivo: baja en móviles, máx 180px */
  padding-inline: 0;                      /* 0 a los lados */
  overflow: hidden;
}

/* HEAD: 2 columnas en desktop */
.about-pawwy__head{
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: clamp(10px, 4vw, 28px);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.about-pawwy__title{
  margin: 0;
  color: rgb(45, 45, 45);
  font-family: var(--font-family-headlines);
  font-size: clamp(28px, 6.5vw, 40px);
  font-weight: 600;
  line-height: 134.903%;
}
.about-pawwy__subtitle{
  margin: 0;
  color: rgba(45, 45, 45, 0.86);
  font-family: var(--font-family-body);
  font-size: 16px;
  text-align: right;
}

@media (max-width: 900px){
  .about-pawwy__subtitle {
    text-align: left;
    margin-bottom: 12px;
  }
  .about-pawwy__head{
    grid-template-columns: 1fr;
  }
}

/* ===== Carrusel ===== */
.about-pawwy__scroll{
  position: relative;
  overflow: hidden;
  /* altura mínima aproximada al alto de la imagen/cuadros (con padding interno) */
  min-height: clamp(200px, 24vw, 360px);
  padding-block: 6px;          /* un respiro para que no “toque” los fades */
}



/* opcional: cursor para indicar interacción */
.about-pawwy__scroll:hover { cursor: pointer; }


/* Cards */
.about-card{
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: var(--black);
}

/* Imagen cuadrada */
.about-card--img img{
  width: clamp(240px, 26vw, 270px);
  height: auto;
  border-radius: 45px;
  object-fit: cover;
  display: block;
}

/* Círculos */
.about-card--circle{
  width: clamp(180px, 20vw, 235px);
  height: clamp(180px, 20vw, 235px);
  border-radius: 50%;
  color: #fff;
  flex-direction: column;
}
.about-card--circle h3{
  font-size: clamp(20px, 2vw, 32px);
  margin: 0;
  margin-bottom: clamp(10px, 2vw, 15px);
  font-family: var(--font-family-headlines);
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
}
.about-card--circle p{
  font-size: clamp(16px, 1.6vw, 24px);
  margin: 0;
  font-family: var(--font-family-headlines);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* Cuadro CORFO */
/* ===== Card CORFO (idéntica a figma) ===== */
.about-card--corfo{
  /* tamaño cuadrado y fluido */
  width: clamp(240px, 22vw, 270px);
  height: clamp(240px, 22vw, 270px);

  /* fondo y bordes del figma */
  background: var(--primary--purple-extra-light, #E1DFFF);
  border-radius: 45px;         /* esquinas redondeadas grandes */
  /* si tu figma usa 36px, cámbialo sin miedo a 36px */

  /* layout interno */
  display: grid;
  grid-template-rows: 1fr auto; /* logo arriba, textos abajo */
  align-items: start;              /* textos pegados a la base */
  justify-items: stretch;
  text-align: left;

  /* paddings según proporción visual del figma */
  padding: 24px;
  color: var(--black, #343434);
}

/* logo centrado arriba con resguardo */
.corfo-logo{
  justify-self: flex-end;                   /* centrado horizontal */
  width: clamp(146px, 38%, 160px);        /* escala fluida */
  margin-top: 20px;
  height: auto;
  display: block;
}

/* bloque de textos inferior */
.corfo-text{
  align-self: end;
}

/* “Ganadores” — Poppins 700, peso visual alto */
.corfo-title{
  margin: 0;
  font-size: clamp(22px, 1.6vw, 32px);
  font-family: var(--font-family-headlines);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* líneas secundarias — Poppins 500/400 */
.corfo-sub{
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #3F3F3F;                         /* leve contraste menor al título */
}

/* ajuste en mobile para mantener proporciones perfectas */
@media (max-width: 600px){
  .about-card--corfo{
    border-radius: 28px;
    padding: 18px 18px 20px;
  }
  .corfo-logo{ width: clamp(90px, 44%, 140px);  margin-top: 0;}
}

.about-card__logo{ width: 90px; margin-bottom: 1rem; }

/* Gradientes laterales */
.about-pawwy__fade{
  position: absolute;
  top: 0; height: 100%;
  width: clamp(70px, 8vw, 120px);
  pointer-events: none; z-index: 2;
}
.about-pawwy__fade--left{
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 60%);
}
.about-pawwy__fade--right{
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 60%);
}

/* Gradientes de los círculos */
.gradient-orange{
  background: radial-gradient(306.84% 52% at 90.34% 67.19%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(66.48% 68.75% at 50% 31.25%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(89.09% 55.97% at 31.25% 76.56%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%), radial-gradient(102.67% 97.22% at 35.23% 0%, #F8D790 0%, rgba(248, 215, 144, 0.12) 100%), radial-gradient(105.19% 147.56% at 43.75% -31.25%, rgba(250, 107, 85, 0.92) 24.16%, rgba(255, 153, 138, 0.89) 84.89%), #FF998A;
}
.gradient-purple{
  background: linear-gradient(133deg, #5F38CF 15.49%, #8353F3 47.48%, #5F38CF 85.54%);
}
.startupbiobio-logo{ width: clamp(75px, 45%, 140px); }

.gradient-violet{
  background: radial-gradient(306.84% 52% at 90.34% 67.19%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(66.48% 68.75% at 50% 31.25%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(89.09% 55.97% at 31.25% 76.56%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%), radial-gradient(102.67% 97.22% at 35.23% 0%, #C243FE 0%, rgba(182, 47, 246, 0.12) 100%), radial-gradient(105.19% 147.56% at 43.75% -31.25%, rgba(170, 34, 156, 0.92) 24.16%, rgba(162, 95, 248, 0.89) 84.89%), #5B099B;
}
.impacto-emprendedor-logo {
  width: clamp(40px, 30%, 80px);
}

.gradient-lilac{ background:#EAE8FF; }

/* Responsivo fino */
@media (max-width: 768px){
  .about-card--img img{ width: clamp(200px, 70vw, 300px); }
  .about-card--circle{ width: 180px; height: 180px; }
  .about-card--square{ width: 180px; height: 180px; }
}
@media (max-width: 480px){
  .about-pawwy{ padding-inline: 1rem; }
  .about-card--circle{ width: 150px; height: 150px; }
  .about-card--square{ width: 170px; height: 170px; }
  .about-card--img img{ width: 170px; }
}
/* Marquee CSS para ABOUT */
.about-pawwy__track{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  will-change: transform;
  animation-name: about-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;              /* por defecto corre */
}

/* cuando está todo medido -> corre */
.about-pawwy__scroll.is-ready .about-pawwy__track {
  animation-play-state: running;
}

/* pausa segura en hover/touch (clase desde JS) */
.about-pawwy__scroll.paused .about-pawwy__track {
  animation-play-state: paused;
}

.about-pawwy__scroll.is-ready .about-pawwy__track {
  animation-play-state: running;
}

.about-pawwy__scroll.paused .about-pawwy__track {
  animation-play-state: paused;
}

/* duración se setea desde JS con --distance */
@keyframes about-marquee{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--distance, 1000px)), 0, 0); }
}

.about-pawwy__scroll{
  position: relative;
  overflow: hidden;
  min-height: clamp(200px, 24vw, 360px);
  padding-block: 6px;
  isolation: isolate;
}









/* ===== Team Section ===== */
.team{
  padding-top: 0;                         /* 0 arriba */
  padding-bottom: clamp(120px, 12vw, 180px); /* responsivo: baja en móviles, máx 180px */
  padding-inline: 0;                      /* 0 a los lados */
  overflow: hidden;
}

/* Reutiliza HEAD de about */
.team__head{ margin-bottom: clamp(1.5rem, 3vw, 3rem); }

/* Rail */
.team__rail{
  position: relative;
  isolation: isolate;
}

.team__viewport{
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;         /* Firefox */
}
.team__viewport::-webkit-scrollbar{ display:none; } /* WebKit */

.team__track{
  display: flex;
  gap: clamp(1.5rem, 2.2vw, 40px);
  padding-block: 6px;

}

/* Card */
.team-card{
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 270px);
  scroll-snap-align: start;
  border-radius: 28px;
  background: #fff;
}

.team-card__frame{
  margin: 0;
  width: clamp(220px, 26vw, 270px);
  height: clamp(240px, 28vw, 301px);
  background: var(--card-bg);
  border-radius: 25px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  align-items: end;
  box-shadow: 0 7px 18px rgba(36,38,43,.10);
  overflow: hidden;
  position: relative;
}

/* PNG con sombra sutil para “despegarse” del fondo */
.team-card__photo{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10))
          drop-shadow(0 2px 8px rgba(0,0,0,.08));
  transform: translateY(6px);
  position: relative;
  z-index: 1;
}

/* Textos */
.team-card__name{
  margin: 14px 0 0;
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 600;
  color: #2D2D2D;
}
.team-card__role{
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--gray-text, #747474);
  /* Body/Normal medium */
  font-family: var(--font-family-body);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Nav arrows */
.team__nav{
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 6;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--primary--purple-light);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: grid; place-items: center;
  cursor: pointer;
}
.team__nav--prev{ left: 4px; }
.team__nav--next{ right: 4px; }

.team__nav[disabled]{
  opacity: .35;
  cursor: default;
}

/* Fades laterales */
.team__fade{
  position: absolute; top: 0; height: 100%;
  width: clamp(40px, 6vw, 80px);
  z-index: 5; pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease;
}
.team__fade--left{
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.team__fade--right{
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}


.team__rail.is-start .team__fade--left { opacity: 0; }
.team__rail.is-end   .team__fade--right{ opacity: 0; }

/* Si no hay overflow, oculta ambos */
.team__rail.no-overflow .team__fade { opacity: 0; }

/* Responsivo fino */
@media (max-width: 900px){
  .team-card{ width: clamp(220px, 48vw, 280px); }
  .team-card__frame{ height: clamp(240px, 48vw, 320px); }
}
@media (max-width: 520px){
  .team__nav{ display:none; } /* en mobile se navega por swipe */
  .team{ padding-inline: 1rem; }
}







/* ===== TEAM PETS ===== */
.team-pets{
  padding-top: 0;                         /* 0 arriba */
  padding-bottom: clamp(120px, 12vw, 180px); /* responsivo: baja en móviles, máx 180px */
  padding-inline: 0;                      /* 0 a los lados */
  overflow: hidden;
}

.team-pets__marquees{
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 2rem);
}

.team-pets__row{
  position: relative;
  overflow: hidden;
  /* Altura mínima para que no colapse mientras cargan imágenes */
  min-height: clamp(110px, 10vw, 140px);
}

.team-pets__track{
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* Card */
.pet-card{
  flex: 0 0 auto;
  width: clamp(110px, 10vw, 140px);
  height: clamp(110px, 10vw, 140px);
  border-radius: 24px;
  background: var(--card-bg, #EEE);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pet-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* tus PNG recortados igual quedan ok */
  border-radius: inherit;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10))
          drop-shadow(0 2px 8px rgba(0,0,0,.08));
}

@media (max-width: 600px){
  .pet-card{
    width: clamp(90px, 24vw, 120px);
    height: clamp(90px, 24vw, 120px);
  }
}
/* ===== FADE LATERAL PARA TEAM PETS ===== */
.team-pets__marquees {
  position: relative;
  overflow: hidden;
}

/* Los fades */
.team-pets__fade {
  position: absolute;
  top: 0;
  height: 100%;
  width: clamp(60px, 8vw, 120px);
  pointer-events: none;
  z-index: 2;
}

/* Fade izquierdo */
.team-pets__fade--left {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 50%);
}

/* Fade derecho */
.team-pets__fade--right {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 50%);
}
@media (max-width: 520px){
  .team-pets{ padding-inline: 1rem; }
}








/* ===== CTA final ===== */
.cta{
  margin: clamp(36px, 6vw, 72px) auto clamp(52px, 8vw, 96px);
  margin-bottom: clamp(18px, 4vw, 36px);
}

.cta__box{
  position: relative;
  overflow: hidden;
  border-radius: 50px;

  /* Radial EXACTO del Figma */
  background: radial-gradient(50% 50% at 50% 50%, #B9B4F9 0%, #5F38CF 86.06%);

  /* Inner glow + ligera sombra exterior */
  box-shadow:
    inset 18px 32px 69.6px 0 #FFF;

  backdrop-filter: blur(33.55px);
  -webkit-backdrop-filter: blur(33.55px);

  /* Espaciado responsivo */
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 64px);
  text-align: center;
  color: #fff;
}

.cta__title{
  display: inline-flex;
  margin: 0 0 9px;
  font-family: var(--font-family-headlines);
  color: #FFF;
  text-align: center;
  font-size: 52px;
  font-style: normal;
  font-weight: 600;
  line-height: 135.817%; /* 70.625px */
  justify-self: center;
  width: 80%;
}

.cta__text{
  justify-self: center;
  max-width: min(560px, 92%);
  margin: 0 auto 35px;   /* centra como bloque */
  text-align: center;     /* centra el contenido */
  align-self: center;     /* si el padre es flex (col), centra en el eje cruzado */
}

.features__cta {
  border-radius: 21px;
  border: 2.2px solid rgba(95, 56, 207, 0.15);
  background: var(--white, #FFF);
  display: inline-flex;
  padding: 14px 13px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--black, #343434);
  text-shadow: 0 0 6.3px rgba(0, 0, 0, 0.14);
  text-decoration: none;

}

.features__cta svg {
  transition: transform .15s ease;
}

.features__cta svg:hover {
  transform: rotate(-43deg);
}

/* Re-usa tu botón “Comienza ahora”; aquí solo centramos */
.cta__box .features__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ornamentos grandes */
.cta__orn{
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 22px 46px rgba(0,0,0,.15));
  opacity: .98;
}

/* Ajusta tamaños con clamp para responsividad */
.cta__orn--left{
  left: clamp(-56px, -3vw, -8px);
  bottom: clamp(-16px, -4vw, -10px);
  width: clamp(220px, 32vw, 330px);
  transform: rotate(13deg);
}

.cta__orn--right{
  right: clamp(-62px, -5.5vw, -6px);
  bottom: clamp(-72px, -6.5vw, -8px);
  width: clamp(220px, 30vw, 380px);
  transform: rotate(-11.404deg);
}

/* Opcional: en pantallas muy pequeñas reduce el radio para evitar clipping brusco */
@media (max-width: 700px){
  .cta__box{ border-radius: 36px;
    padding: 50px 10px 26vw 10px;
  }
  .cta__title {
    font-size: 24px;
  }
  .cta__text {
    font-size: 16px;
    width: 80%;
    margin-bottom: 15px;
  }
  .cta__orn--right {
    display: none;
  }
  .cta__orn--left {
    transform: none;
    width: 180px;
  }
}


/* ===== Botón flotante Contáctanos ===== */
.contact-fab{
  position: fixed;
  right: clamp(12px, 2.2vw, 22px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(12px, 2.2vw, 22px));
  z-index: 4000;
  text-shadow: rgba(0, 0, 0, 0.20) 0px 0px 4.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 19px;
  background-color: var(--secondary---blue--darker);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.30);

  /* color base + overlay animado para suavizar el cambio */
  transition: transform .18s ease, box-shadow .22s ease;
}

.contact-fab__icon{
  display:grid;
  place-items:center;
}

/* Hover / focus */
.contact-fab:hover{
  transform: translateY(-2px);
  background-color: var(--primary--purple-secondary);
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.50);
}
.contact-fab:hover::before{ opacity: 1; }

.contact-fab:active{ transform: translateY(0); transition-duration: .06s; }

/* Mobile: solo icono (para no tapar contenido) */
@media (max-width: 560px){
  .contact-fab{
    padding: 12px;
  }
  .contact-fab__label{
    display:none;
  }
  .contact-fab__icon{ width: 32px; height: 32px; }
}

/* Animación de entrada */
@keyframes fab-in{
  to{ opacity:1; transform: translateY(0); }
}

/* Respeta preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce){
  .contact-fab{ animation: none; opacity: 1; transform:none; transition:none; }
  .contact-fab::before{ transition: none; }
}


/* Utility */
.img-fluid{max-width:100%; height:auto}

/* Logo */
.hero-logo{
  position: absolute;
  top: 40px;
  left: 50px;
  z-index: 10;                 /* por encima del fondo radial, debajo del nav si este tiene z-index mayor */
  display: inline-block;
}

.hero-logo img{
  height: clamp(22px, 2.6vw, 32px);  /* tamaño responsivo como en Figma */
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18)); /* glow sutil del Figma */
}

/* En pantallas muy pequeñas, baja un poco el tamaño/margen */
@media (max-width: 480px){
  .hero-logo{ top: 26px; left: 16px; }
  .hero-logo img{ height: 16px; }
}

/* --- Top CTA Bar --- */
.top-cta_button {
    justify-content: center;
    align-items: center;
    color: var(--black, #343434);
    text-shadow: rgba(0, 0, 0, 0.14) 0px 0px 6.3px;
    border-radius: 21px;
    background-color: var(--white, #FFF);
    padding: 9px 15px !important;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.19);
    transition: transform .18s ease;

  grid-column: 3;
  justify-self: center;
  display: inline-flex;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; /* evita que se corte */
  text-decoration: none;
}

.top-cta_button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
}

.top-cta_button:focus-visible {
  outline: 3px solid rgba(95,56,207,.35); /* #5F38CF */
  outline-offset: 2px;
  transition: outline-color .18s ease;
}

.top-bar {
  position: sticky;          /* si prefieres fijo siempre, cambia a: fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  width: 100%;
  background: var(--vet-blue, #CFE7FF); /* tono suave como en figma */
  backdrop-filter: saturate(120%);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  padding-top: max(4px, env(safe-area-inset-top));
  padding-bottom: 4px;
}

.top-bar__inner {
  display: grid;
  grid-template-columns: 0fr auto auto;
  align-items: center;
  column-gap: 15px;
  max-width: 950px;   /* ajusta al ancho de tu layout */
  margin: 0 auto;
  padding: 6px 16px;
}

.top-bar__text {
  grid-column: 2;
  text-align: center;
  color: var(--text, #1f2937);
  margin: 0;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
  .top-bar__inner {
    grid-template-columns: 1fr; /* stack */
    row-gap: 5px;
    padding: 5px 15px;
  }
  .top-bar__text {
    grid-column: 1;
    text-align: center;
    padding: 0 4px;
    font-size: 14px;
  }
  .top-cta_button {
    grid-column: 1;
    justify-self: center;
    width: 100%;
    max-width: 320px;
    font-size: 15px;
  }
}

/* (opcional) si decides usar position: fixed en .top-bar:
   añade margen superior al header principal para que no lo tape */
.has-topbar-offset {
  margin-top: 48px; /* ajusta según la altura real del bar */
}

/* Overlay + modal simples, sin agregar botones extra en el DOM fijo */
.pwa-modal__backdrop {
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  display:none; align-items:center; justify-content:center; z-index:10000;
}

.pwa-modal__panel {
  width:min(640px,92%);
  max-height:78vh;
  overflow:auto;
  background: var(--white);
  color:var(--purple--dark--text);
  border-radius:18px;
  box-shadow:0 10px 40px rgba(0,0,0,.35);
  padding:22px 22px 16px;
}

.pwa-modal__title{
  font-size:24px;
  font-weight:700;
  margin:0 0 8px;
}

.pwa-modal__subtitle {
  font-size:14px;
  opacity:.85;
  margin:0 0 14px;
}

.pwa-steps {
  margin:0;
  padding-left:18px;
}

.pwa-steps li {
  margin:8px 0;
}
.pwa-modal__close {
  appearance:none;
  background: var(--primary--purple-main);
  color:#fff;
  border:1px solid transparent;
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
}
.pwa-modal__footer {
  margin-top:14px;
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
}
.pwa-badge {
  display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:6px 9px; border-radius:999px;
  color: var(--white); background: var(--secondary---blue--darker); opacity:.9; font-weight: 600;
}

#pwaInstallBtn {
  display:none;
  position:fixed;
  right: clamp(12px, 2.2vw, 22px);
  bottom: 90px;
  z-index:9999;
  padding:14px 20px;
  border:none;
  border-radius: 18px;
  cursor:pointer;
  font-size:16px;
  font-weight:600;
  color:#fff;
  background-color: var(--secondary---blue--darker);
  box-shadow:0 4px 20px rgba(0,0,0,0.25);
  transition:transform .2s ease;
}

#pwaInstallBtn:hover {
  transform: translateY(-2px);
  background-color: var(--primary--purple-secondary);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 18px 0px;
}