/* ============================================================
   Venta al Toque — style.css
   Landing page · CSS3 puro · Mobile-First · sin frameworks
   ============================================================ */

/* ---------- Tokens de marca ---------- */
:root {
  --celeste: #00a8e8;   /* Botones principales, acentos y links */
  --ocean: #007ea7;     /* Fondos secundarios, encabezados */
  --ice: #f8f9fa;       /* Fondo general limpio */
  --ink: #293241;       /* Texto principal y contraste oscuro */
  --naranja: #ff7b01;   /* Alertas, promociones, badges */

  --shadow-cta: 0 12px 30px -10px rgba(0, 168, 232, 0.5);
  --shadow-cta-orange: 0 12px 30px -10px rgba(255, 123, 1, 0.55);
  --shadow-card: 0 10px 30px -12px rgba(41, 50, 65, 0.18);

  --radius-card: 18px;
}

/* ---------- Reset y base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  background: var(--ice);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(0, 168, 232, 0.25);
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow {
  max-width: 768px;
}

.section {
  padding: 64px 0;
}

.bg-white {
  background: #ffffff;
}

.section h2 {
  font-size: 1.875rem;
  text-align: center;
  color: var(--ink);
}

.section-sub {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  color: rgba(41, 50, 65, 0.8);
  font-size: 1.0625rem;
}

/* ---------- Animación Fade In Up ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-celeste {
  background: var(--celeste);
  box-shadow: var(--shadow-cta);
}

.btn-celeste:hover {
  background: var(--ocean);
  transform: translateY(-3px);
}

.btn-naranja {
  background: var(--naranja);
  box-shadow: var(--shadow-cta-orange);
}

.btn-naranja:hover {
  background: #ff9329;
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--ocean);
  border: 2px solid rgba(0, 126, 167, 0.25);
  padding: 14px 26px;
}

.btn-ghost:hover {
  border-color: var(--ocean);
}

.btn-card {
  background: var(--naranja);
  box-shadow: var(--shadow-cta-orange);
  width: 100%;
  padding: 13px 20px;
  font-size: 0.9rem;
  margin-top: 24px;
}

.btn-card:hover {
  background: #ff9329;
  transform: translateY(-2px);
}

.cta-center {
  margin-top: 40px;
  text-align: center;
}

.btn-cta-mid {
  padding: 17px 40px;
  font-size: 1.0625rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 126, 167, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link {
  width: 150px;
  flex-shrink: 0;
}

.logo {
  width: 100%;
  height: auto;
}

.btn-header {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ice);
}

.hero-grid {
  display: grid;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 64px;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--naranja);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(255, 123, 1, 0.7);
}

.hero h1 {
  margin-top: 24px;
  font-size: 2.5rem;
  color: var(--ocean);
}

.hero h1 .accent {
  color: var(--celeste);
  white-space: nowrap;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--ink);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-cta {
  width: 100%;
  padding: 17px 32px;
  font-size: 1.0625rem;
}

@media (min-width: 480px) {
  .btn-cta {
    width: auto;
  }
}

/* --- Mockup de celular --- */
.phone-wrap {
  position: relative;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
}

.phone-glow {
  position: absolute;
  inset: -32px;
  background: rgba(0, 168, 232, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.phone {
  position: relative;
  background: var(--ink);
  border: 10px solid var(--ink);
  border-radius: 44px;
  box-shadow: var(--shadow-card);
}

.phone-inner {
  position: relative;
  background: var(--ice);
  border-radius: 34px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
}

.store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px 12px;
}

.store-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ocean);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--ink);
}

.store-tag {
  font-size: 0.625rem;
  line-height: 1.2;
  color: var(--ocean);
}

.store-cart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 168, 232, 0.1);
  color: var(--celeste);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  position: relative;
  margin: 0 16px;
  border-radius: 16px;
  overflow: hidden;
}

.product-img img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.badge-nuevo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--naranja);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-info {
  padding: 16px;
}

.product-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.product-sub {
  margin-top: 2px;
  font-size: 0.6875rem;
  color: rgba(41, 50, 65, 0.6);
}

.product-wa {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  background: var(--celeste);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-cta);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .hero-text {
    text-align: left;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-sub {
    max-width: 560px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* ---------- Beneficios ---------- */
.grid-3 {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--ice);
  border: 1px solid rgba(41, 50, 65, 0.05);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-celeste {
  background: rgba(0, 168, 232, 0.1);
  color: var(--celeste);
}

.c-naranja {
  background: rgba(255, 123, 1, 0.1);
  color: var(--naranja);
}

.c-ocean {
  background: rgba(0, 126, 167, 0.1);
  color: var(--ocean);
}

.benefit-card h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  color: var(--ocean);
}

.benefit-card p {
  margin-top: 8px;
  color: rgba(41, 50, 65, 0.8);
}

/* ---------- Catálogo ---------- */
.catalog {
  background: var(--ocean);
}

.catalog .h-light {
  color: #fff;
}

.catalog-sub {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  color: rgba(248, 249, 250, 0.9);
  font-size: 1.0625rem;
}

.model-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.model-card:hover {
  transform: translateY(-4px);
}

.model-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 168, 232, 0.1);
  color: var(--celeste);
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-card h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  color: var(--ink);
}

.model-card ul {
  list-style: none;
  margin-top: 16px;
  flex: 1;
}

.model-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(41, 50, 65, 0.8);
}

.model-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--celeste);
}

.model-card li + li {
  margin-top: 12px;
}

/* ---------- Portafolio ---------- */
.proj-card {
  background: #fff;
  border: 1px solid rgba(41, 50, 65, 0.05);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.proj-card:hover {
  transform: translateY(-4px);
}

.proj-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proj-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--celeste), var(--ocean));
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--celeste);
}

.proj-place {
  margin-top: 12px;
  font-size: 0.875rem;
  color: rgba(41, 50, 65, 0.6);
}

.proj-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s ease;
}

.proj-link:hover {
  color: var(--celeste);
}

/* ---------- Testimonios ---------- */
.testimonial {
  margin-top: 48px;
  background: var(--ice);
  border: 1px solid rgba(41, 50, 65, 0.05);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.testimonial .quote {
  margin: 0 auto;
  color: rgba(0, 168, 232, 0.4);
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
}

.testimonial blockquote {
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.testimonial figcaption {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ocean);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  text-align: left;
}

.testimonial-role {
  font-size: 0.875rem;
  color: rgba(41, 50, 65, 0.6);
  text-align: left;
}

@media (min-width: 640px) {
  .testimonial {
    padding: 48px;
  }
}

/* ---------- FAQ (acordeón solo CSS) ---------- */
.faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq details {
  background: #fff;
  border: 1px solid rgba(41, 50, 65, 0.05);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--ocean);
}

.faq .chev {
  flex-shrink: 0;
  color: var(--celeste);
  transition: transform 0.25s ease;
}

.faq details[open] .chev {
  transform: rotate(180deg);
}

.faq details p {
  margin-top: 12px;
  color: rgba(41, 50, 65, 0.8);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ice);
  text-align: center;
}

.footer-cta {
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-logo-box {
  width: fit-content;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.footer-logo-box .logo {
  width: 224px;
}

.footer-cta h2 {
  font-size: 1.875rem;
  color: var(--ice);
}

.footer-cta p {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(248, 249, 250, 0.8);
  font-size: 1.0625rem;
}

.footer-cta .btn-naranja {
  margin-top: 36px;
  padding: 20px 36px;
  font-size: 1.0625rem;
  max-width: 100%;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px;
  font-size: 0.75rem;
  color: rgba(248, 249, 250, 0.6);
}

.copyright a {
  color: inherit;
  transition: color 0.2s ease;
}

.copyright a:hover {
  color: var(--celeste);
}

/* ---------- Grillas responsivas ---------- */
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 80px 0;
  }

  .section h2,
  .footer-cta h2 {
    font-size: 2.25rem;
  }

  .logo-link {
    width: 200px;
  }

  .footer-logo-box .logo {
    width: 256px;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 96px 0;
  }
}
/* Efecto de latido suave para el botón principal */
.boton-latido {
  animation: latir 2s infinite ease-in-out !important;
}

@keyframes latir {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(255, 123, 1, 0.2);
  }
  50% {
    transform: scale(1.05); /* Se agranda un cachito */
    box-shadow: 0 10px 20px rgba(255, 123, 1, 0.4); /* Brilla un poco más */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(255, 123, 1, 0.2);
  }
}
/* ===== VIDEO HERO ===== */
.video-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.shorts-wrapper {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}
