/* =========================================================
   1) VARIABLES
========================================================= */
:root {
  --pink: #e82985;
  --blue: #cfeaff;
  --black: #000000;
  --white: #ffffff;
  --text: #1d1d1d;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  --radius-card: 18px;
  --radius-btn: 12px;
  --container: 1160px;
}

/* =========================================================
   2) RESET / BASE
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* =========================================================
   3) UTILIDADES GENERALES
========================================================= */
.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

/* =========================================================
   4) HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(207, 234, 255, 0.96);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.logo-header {
  width: 118px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--pink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: 0.25s ease;
}

/* =========================================================
   5) HERO
========================================================= */
.hero {
  background: linear-gradient(
    to bottom,
    #cfeaff 0%,
    #cfeaff 60%,
    #ffffff 100%
  );
  padding: 40px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 520px;
  padding-top: 24px;
  margin-top: -20px;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.03em;
}

.hero-text,
.hero-highlight {
  max-width: 470px;
  font-size: 18px;
  line-height: 1.45;
}

.hero-text {
  margin: 0 0 8px;
  font-weight: 400;
}

.hero-highlight {
  margin: 0 0 42px;
  font-weight: 800;
}

.download-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}

/* botones stores */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  min-width: 180px;
  height: 58px;
  padding: 0 22px;
  border: 2px solid var(--pink);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(232, 41, 133, 0.15);
  background: rgba(255, 255, 255, 0.28);
}

.store-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.store-btn span {
  font-size: 18px;
  font-weight: 500;
}

/* =========================================================
   6) HERO VISUAL (CELU / CÍRCULO / ÍCONOS)
========================================================= */
.hero-visual {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  position: absolute;
  z-index: 1;
  width: min(88%, 500px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  top: 50%;
  left: 50%;
  transform: translate(-44%, -48%);
  animation: floatCircle 6s ease-in-out infinite;
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  transform: rotate(8deg);
  animation: floatPhone 7s ease-in-out infinite;
}

/* íconos sobre el mapa */
.map-icon {
  position: absolute;
  z-index: 5;
  width: 60px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
}

.map-icon.show {
  opacity: 1;
}

.map-icon.pop {
  animation: popIn 0.6s ease forwards;
}

.map-icon-mecanico {
  top: 190px;
  left: 190px;
  animation: floatIcon1 4.8s ease-in-out infinite;
}

.map-icon-ropa {
  bottom: 165px;
  left: 110px;
  animation: floatIcon2 5.4s ease-in-out infinite;
}

.map-icon-comida {
  bottom: 220px;
  left: 300px;
  animation: floatIcon3 5s ease-in-out infinite;
}

/* =========================================================
   7) SECCIÓN ABOUT
========================================================= */
.about {
  background: #ffffff;
}

.about-inner {
  text-align: center;
}

.about h2,
.training h2,
.faq h2 {
  margin: 0 0 18px;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.about h2 span,
.faq h2 {
  color: var(--pink);
}

.about-intro {
  margin: 0 auto 46px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.4;
}

/* cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 430px));
  justify-content: center;
  gap: 30px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 26px 30px 34px;
}

.card-image-wrap {
  height: 280px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card-image {
  max-height: 250px;
  width: auto;
}

.info-card h3 {
  margin: 0 0 16px;
  color: var(--pink);
  font-family: "Urbanist", sans-serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
}

.info-card p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.5;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   8) CAPACITACIONES
========================================================= */
.training {
  background: linear-gradient(
    to bottom,
    #e82985 0%,
    #e82985 74%,
    #efc6d8 100%
  );
  color: var(--white);
}

.training-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px 36px;
  align-items: center;
}

.training-copy {
  max-width: 560px;
}

.training h2 {
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 26px;
}

.training-copy p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.34;
}

.training-copy p:last-child {
  margin-bottom: 0;
}

.training-illustration {
  justify-self: center;
  align-self: end;
  max-width: 400px;
  animation: floatIllustration 7s ease-in-out infinite;
}

/* formulario */
.training-form {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.form-field input {
  width: 100%;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  padding: 0 14px;
  outline: none;
}

.form-field input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.submit-btn {
  display: block;
  margin: 26px auto 0;
  width: min(100%, 300px);
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* =========================================================
   9) FAQ
========================================================= */
.faq {
  background: linear-gradient(
    to bottom,
    #efc6d8 0%,
    #f7f7f7 14%,
    #f7f7f7 100%
  );
}

.faq-inner {
  max-width: 980px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: transparent;
}

.faq-item summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  min-height: 62px;
  padding: 20px 56px 20px 18px;
  border: 1.5px solid #3a3a3a;
  border-radius: 10px;
  background: #f7f7f7;
  font-size: 18px;
  line-height: 1.25;
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  border: 1.5px solid var(--pink);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--pink);
}

.faq-item[open] summary::after {
  border-color: var(--pink);
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer {
  border: 1.5px solid var(--pink);
  border-top: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 22px 18px 18px;
  background: #f7f7f7;
}

.faq-answer p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   10) FOOTER
========================================================= */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 44px 0 52px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.logo-footer {
  width: 146px;
}

.footer-column h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-family: "Urbanist", sans-serif;
  font-size: 28px;
  line-height: 0.95;
  font-weight: 500;
}

.footer-column a {
  display: block;
  color: var(--pink);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-column a:last-child {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  margin: 0;
}

.social-links svg {
  width: 26px;
  height: 26px;
  fill: var(--pink);
  display: block;
}

/* =========================================================
   11) REVEAL ANIMATIONS
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.2s;
}

.reveal-delay-2 {
  transition-delay: 0.4s;
}

.reveal-delay-3 {
  transition-delay: 0.8s;
}

/* =========================================================
   12) KEYFRAMES
========================================================= */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes floatPhone {
  0% {
    transform: rotate(8deg) translateY(0px);
  }
  50% {
    transform: rotate(8deg) translateY(-10px);
  }
  100% {
    transform: rotate(8deg) translateY(0px);
  }
}

@keyframes floatIcon1 {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes floatIcon2 {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes floatIcon3 {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes floatIllustration {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =========================================================
   13) RESPONSIVE - DESKTOP CHICO / TABLET
========================================================= */
@media (max-width: 1100px) {
  .hero-inner,
  .training-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .training-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 12px;
  }

  .hero-circle {
    width: min(72vw, 440px);
    transform: translate(-50%, -50%);
  }

  .hero-phone {
    width: min(100%, 420px);
  }

  .training-illustration {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-inner {
    gap: 28px;
  }
}

/* =========================================================
   14) RESPONSIVE - TABLET / MOBILE
========================================================= */
@media (max-width: 900px) {
  /* header */
  .site-header {
    background: rgba(207, 234, 255, 0.98);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px 26px;
    background: var(--blue);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  /* grillas */
  .cards-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* hero */
  .hero {
    padding-top: 40px;
  }

  .hero-content {
    padding-top: 8px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 64px);
  }

  .hero-text,
  .hero-highlight,
  .about-intro,
  .info-card p,
  .training-copy p {
    font-size: 16px;
  }

  /* botones */
  .store-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
    height: 62px;
    justify-content: center;
    padding: 0 20px;
  }

  .store-btn span {
    font-size: 21px;
  }

  /* visual hero */
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
  }

  .hero-phone {
    width: min(100%, 200px);
  }

  .hero-circle {
    width: 200px;
    height: 200px;
  }

  .map-icon {
  display: block;
  }
}

/* =========================================================
   15) RESPONSIVE - MOBILE CHICO
========================================================= */
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .logo-header {
    width: 104px;
  }

  .hero {
    padding: 50px 0 48px;
  }
  .hero-visual {
    position: relative;
  }

  .hero-phone {
    position: relative;
    z-index: 2;
  }

  .map-icon {
    width: 42px; /* más chicos */
    z-index: 3;
  }

  /* posiciones nuevas sobre el celu */

  .map-icon-mecanico {
    top: 20%;
    left: 42%;
  }

  .map-icon-ropa {
    top: 58%;
    left: 26%;
  }

  .map-icon-comida {
    top: 48%;
    left: 50%;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero h1 {
    margin-bottom: 18px;
  }

  .hero-text {
    margin-bottom: 8px;
  }

  .hero-highlight {
    margin-bottom: 26px;
  }

  .download-title {
    font-size: 20px;
  }

  .store-buttons {
    gap: 12px;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding: 0 18px;
  }

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

  .hero-phone {
    width: min(100%, 220px);
  }

  .hero-circle {
    width: 220px;
    height: 220px;
  }

  .section {
    padding: 58px 0;
  }

  .about h2,
  .training h2,
  .faq h2 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .about-intro {
    margin-bottom: 28px;
  }

  .info-card {
    padding: 22px 18px 24px;
  }

  .card-image-wrap {
    height: 122px;
  }

  .card-image {
    max-height: 112px;
  }

  .info-card h3 {
    font-size: 24px;
  }

  .training-copy p {
    margin-bottom: 18px;
  }

  .faq-item summary,
  .faq-answer p {
    font-size: 15px;
  }

  .footer-column h3 {
    font-size: 24px;
  }

  .footer-column a {
    font-size: 16px;
  }

  .logo-footer {
    width: 130px;
  }
}
