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

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  font-family: 'Inter', system-ui, sans-serif;
  color: #2b2b2b;

  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f2f2f2 40%,
    #dcdcdc 70%,
    #cfcfcf 100%
  );

  background-size: 160% 160%;
  animation: bodyPulse 10s ease-in-out infinite;
}

/* ================== BACKGROUND ================== */
@keyframes bodyPulse {
  0% {
    background-size: 150% 150%;
    background-position: 50% 50%;
  }
  50% {
    background-size: 190% 190%;
    background-position: 48% 44%;
  }
  100% {
    background-size: 150% 150%;
    background-position: 50% 50%;
  }
}

/* ================== NAVBAR ================== */
.center {
  width: 100%;
}

.navbar {
  max-width: 1200px;
  margin: 20px auto;
  padding: 14px 22px;

  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  position: relative;
  z-index: 20;

  box-shadow:
    0 12px 60px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(8px);
}

.logo img {
  height: 34px;
}

/* NAV LINKS */
.navbar nav {
  display: flex;
  gap: 18px;
}

.navbar nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #2b2b2b;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: #e53935;
}

/* BUTTON */
.navbar .btn-primary {
  padding: 12px 26px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #2b2b2b;
  border-radius: 1px;
}

/* ================== HERO ================== */
.hero {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* ================== CARDS ================== */
.cards {
  position: relative;
  width: 300px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
}


.cards img {
  width: 150%;
  height: 150%;
  object-fit: cover;

  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.25));
}


/* ================== CONTENT ================== */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.content h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 18px;
  color: #e53935;
  margin-bottom: 32px;
}

.imagenlogo {
  width: 100%;
  margin-bottom: 12px;
}

/* ================== BUTTONS ================== */
.actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.btn {
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease;
}

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

.btn-primary {
  background: #f07c6a;
  color: #fff;
}
.btn-primary {
  background: #e53935;
  color: #fff;
  border: 1px solid #ddd;
}

.small {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}
/* ================== FEATURES ================== */
.features-box {
  background: rgba(255,255,255,0.95);
  border-radius: 28px;
  padding: 20px 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  max-width: 460px;
  margin: 0 auto;
}

.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.feature-item.stars {
  color: #e53935;
}
.btn {
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: #e53935;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #2b2b2b;
  border: 1px solid #d0d0d0;
}
/* ================== STATS ================== */
.stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

.stats-stars {
  display: flex;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stats-stars .star {
  color: #e53935;
  font-size: 18px;
}
.division {
  display: flex;
  justify-content: space-between; /* separa los elementos extremos */
  align-items: center; /* centra verticalmente */
  padding: 10px 20px;
}

.CENTRADOTEXTO {
  display: flex;
  gap: 20px; /* espacio entre los enlaces */
}

.CENTRADOTEXTO a {
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 500;
}

.primary1 {
  padding: 10px 20px; /* un poco más grande para mejor usabilidad */
  background-color: #e53935;
  color: white;
  text-decoration: none;
  border-radius: 25px; /* bordes muy redondeados */
  font-weight: 600;
  margin-left: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* sombra suave */
}

.primary1:hover {
  background-color: #ffffff; /* contraste fuerte */
  color: #e53935;
  transform: scale(1.07); /* crece ligeramente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* sombra más marcada */
}


/* ================== BUBBLES ================== */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(231, 160, 160, 0.9),
    rgba(146, 94, 94, 0.35) 45%,
    rgba(138, 82, 82, 0.15) 70%
  );
  animation: floatUp linear infinite;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  body {
    animation: radialPulse 22s ease-in-out infinite;
    background-size: 180% 180%;
  }

  .navbar {
    margin: 12px;
    border-radius: 20px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }
  .cards{
    justify-content: center;
  }
  .navbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    flex-direction: column;
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    margin-top: 12px;
    padding: 14px 0;

    box-shadow:
      0 36px 100px rgba(0,0,0,0.65),
      0 14px 36px rgba(0,0,0,0.45);

    z-index: 10;
  }

  .navbar nav.active {
    display: flex;
  }

  .navbar nav a {
    padding: 14px 0;
    font-size: 16px;
    text-align: center;
  }

  .navbar > .btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px auto;
    text-align: center;
  }

  .cards img {
    width: 120%;
    height: auto;
    max-width: 350px;
  }

  .imagenlogo {
    width: 90%;
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 14px 0;
  }

  .features-row {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
  }
}
/* ================== FOOTER ================== */
.footer {
  margin-top: auto;
  padding: 60px 24px 28px;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 -20px 60px rgb(255, 255, 255);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: #d1d1d1;
  line-height: 1.6;
  max-width: 260px;
}

.footer-links h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: #dfdfdf;
}

.footer-links a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: #bebebe;
  margin-bottom: 10px;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: #f07c6a;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #bebebe;
}

/* ================== FOOTER RESPONSIVE ================== */
@media (max-width: 768px) {
  .footer {
    margin-top: 80px;
    padding: 48px 20px 24px;
  }

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

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-links a:hover {
    transform: none;
  }
}
/* ================== FEATURES ================== */
.features-box {
  background: rgba(255,255,255,0.95);
  border-radius: 28px;
  padding: 20px 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  max-width: 460px;
  margin: 0 auto;
}

.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.feature-item.stars {
  color: #e53935;
}

/* ================== STATS ================== */
.stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

.stats-stars {
  display: flex;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stats-stars .star {
  color: #e53935;
  font-size: 18px;
}
/* =============== HEADER CONTENEDOR =============== */
.site-header {
  position: sticky;
  top: clamp(12px, 3vw, 32px);
  z-index: 1000;

  width: min(1200px, 92%);
  margin: 0 auto;

  padding: clamp(10px, 2vw, 14px) clamp(14px, 4vw, 22px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);

  border-radius: clamp(14px, 2vw, 18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Logo */
.header-brand img {
  height: clamp(30px, 5vw, 38px);
  display: block;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;

  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #2b2b2b;
}

/* Menú desktop */
.header-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 32px);
}

.header-nav {
  display: flex;
  gap: clamp(14px, 3vw, 22px);
}

.header-nav a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: clamp(14px, 2.5vw, 15px);
  font-weight: 500;
  white-space: nowrap;
}

.header-nav a:hover {
  color: #e53935;
}

/* CTA */
.btn-join {
  padding: clamp(6px, 1.5vw, 8px) clamp(14px, 3vw, 18px);
  background: #e53935;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-size: clamp(13px, 2.5vw, 14px);
  font-weight: 600;
}

.btn-join:hover {
  background: #c62828;
}

/* =============== MOBILE =============== */
@media (max-width: 900px) {

  .menu-toggle {
    display: flex;
    margin-left: 16px; /* separación REAL del logo */
  }

  .header-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);

    width: min(420px, 90%);
    flex-direction: column;
    gap: 18px;

    padding: 22px 0;

    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

    display: none;
  }

  .header-menu.active {
    display: flex;
  }

  .header-nav {
    flex-direction: column;
    gap: 14px;
  }
}
/* ================= LAYOUT ================= */
.layout-hero {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 100px 6%;
}

/* ================= HERO ================= */
.hero-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hero-tag {
  font-size: 14px;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
}

/* ================= CONTENT BLOCK ================= */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.content-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 48px;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.content-card p,
.values-list {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

.values-list {
  padding-left: 20px;
}

.values-list li {
  margin-bottom: 12px;
}

/* ================= IMAGES ================= */
.content-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* ================= BUTTONS ================= */
.button-group {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.btn-main {
  padding: 14px 28px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.btn-outline {
  padding: 14px 28px;
  border: 2px solid #000;
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-block,
  .content-block {
    grid-template-columns: 1fr;
  }

  .layout-hero {
    padding: 80px 6%;
    gap: 90px;
  }
}
/* Fondo rojo coral */
.fondorojo {
  margin-top: 150px;
  background-color: #e53935;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

/* Contenedor general */
.fondorojo .contenido {
  max-width: 1100px;
  width: 100%;
}

/* Título de sección */
.fondorojo h2 {
  color: #ffffff;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

/* Contenedor de cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Card blanca */
.card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* Títulos de cards */
.card h3 {
  color: #e53935;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Texto */
.card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}
.btndescarga {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background-color: #ffffff;
  color: #e53935;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btndescarga:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  background-color: #fef2f2;
}

.btndescarga:active {
  transform: translateY(-1px);
}

.btndescarga .icon {
  width: 20px;
  height: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ================== LOCATION CARDS ================== */

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #ffffff;
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  align-items: center;
}

/* Imagen */
.location-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

/* Texto */
.location-info h2 {
  margin-bottom: 0.6rem;
}

.location-info p {
  margin-bottom: 1.6rem;
  color: #555;
  line-height: 1.6;
}

/* Mapa */
.location-info iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 14px;
}

/* Alternar orden */
.location-card.reverse .location-image {
  order: 2;
}

.location-card.reverse .location-info {
  order: 1;
}

/* ================== RESPONSIVE REAL ================== */

@media (max-width: 1024px) {
  .location-card {
    grid-template-columns: 1fr;
    padding: 2.2rem;
    gap: 2.2rem;
  }

  .location-card.reverse .location-image,
  .location-card.reverse .location-info {
    order: initial;
  }

  .location-image img {
    max-height: 320px;
  }

  .location-info iframe {
    height: 260px;
  }
}

main{
  margin-top: 80px;
}
.contact-page > h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #222;
  position: relative;
}

/* Línea decorativa sutil */
.contact-page > h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e53935; /* rojo ICAR */
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-page > h2 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
}
