/* ===== Variables & Reset ===== */
:root {
  --uno-blue: #0d2847;
  --uno-blue-light: #1a4a7a;
  --uno-blue-accent: rgba(100, 180, 220, 0.3);
  --pronto-yellow: #f5c518;
  --pronto-yellow-dark: #e0ac00;
  --pronto-yellow-accent: rgba(255, 220, 100, 0.4);
  --pronto-black: #1a1a1a;
  --text-dark: #2d2d2d;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-100: #f9fafb;
  --border-gray: #e5e7eb;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Header Icon ===== */
.header-icon {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  z-index: 100;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.header-icon:hover {
  background: rgba(255, 255, 255, 0.35);
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  min-height: 60vh;
  position: relative;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
}

.hero-uno,
.hero-pronto {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  overflow: hidden;
  transition: flex 0.5s ease;
}

.hero-uno:hover,
.hero-pronto:hover {
  flex: 1.4;
}

/* Hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg-uno {
  background-image: url('../images/eds.jpg');
}

.hero-bg-uno::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 40, 71, 0.92) 0%, rgba(26, 74, 122, 0.85) 100%);
  z-index: 0;
}

.hero-bg-pronto {
  background-image: url('../images/interior-tienda-pronto.jpg');
}

.hero-bg-pronto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.95) 0%, rgba(230, 180, 20, 0.9) 100%);
  z-index: 0;
}

/* UNO - Blue theme */

.hero-accent.uno-accent {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 200px;
  height: 200px;
  background: var(--uno-blue-accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-radius: 0;
}

/* PRONTO - Yellow theme */
.hero-pronto {
  color: var(--pronto-black);
}

.hero-accent.pronto-accent {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 200px;
  height: 200px;
  background: var(--pronto-yellow-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.pronto-pro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.hero-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.hero-uno .hero-description {
  color: var(--white);
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-pronto .hero-description {
  color: var(--pronto-black);
}

.play-icon {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-uno {
  background: var(--uno-blue-light);
  color: var(--white);
  border: none;
}

.btn-pronto {
  background: var(--pronto-black);
  color: var(--pronto-yellow);
  border: none;
}

/* ===== Nuestra razón de ser ===== */
.reason-section {
  background: var(--uno-blue);
  padding: 4rem 2rem;
  color: var(--white);
}

.reason-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reason-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

.reason-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .reason-cards {
    grid-template-columns: 1fr;
  }
}

.reason-card {
  border-radius: 12px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid;
}

.reason-mision {
  border-color: var(--uno-blue-light);
}

.reason-vision {
  border-color: var(--pronto-yellow);
}

.reason-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.reason-mision .reason-icon {
  color: var(--uno-blue-light);
}

.reason-vision .reason-icon {
  color: var(--pronto-yellow);
}

.reason-icon svg {
  width: 100%;
  height: 100%;
}

.reason-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reason-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Gamificación Section ===== */
.gamification {
  padding: 4rem 2rem;
  background: var(--white);
}

.gamification-label {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e67e22;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.gamification-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

@media (max-width: 900px) {
  .gamification-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gamification-cards {
    grid-template-columns: 1fr;
  }
}

.gamification-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.gamification-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gamification-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.gamification-icon svg {
  width: 28px;
  height: 28px;
}

.gamification-icon-blue {
  background: rgba(13, 40, 71, 0.1);
  color: var(--uno-blue-light);
}

.gamification-icon-yellow {
  background: rgba(245, 197, 24, 0.2);
  color: var(--pronto-yellow-dark);
}

.gamification-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.gamification-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gamification-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, var(--uno-blue) 0%, var(--uno-blue-light) 100%);
  border-radius: 12px;
  color: var(--white);
}

.gamification-cta p {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.gamification-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-arrow {
  font-size: 1.25rem;
  opacity: 0.8;
}

.gamification-cta .btn-uno {
  background: var(--white);
  color: var(--uno-blue);
}

.gamification-cta .btn-uno:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ===== Features Section ===== */
.features {
  padding: 4rem 2rem;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--uno-blue-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--uno-blue-light);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Quick Access Section ===== */
.quick-access {
  padding: 4rem 2rem;
  background: var(--gray-100);
}

.portal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .portal-cards {
    grid-template-columns: 1fr;
  }
}

.portal-card {
  position: relative;
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}

.portal-card:hover {
  transform: translateY(-4px);
}

.portal-uno {
  background: var(--uno-blue);
}

.portal-pronto {
  background: var(--pronto-black);
}

.remember-link {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.remember-link:hover {
  text-decoration: underline;
}

.portal-brand {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.portal-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portal-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.btn-uno-outline {
  align-self: flex-start;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-uno-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-pronto-outline {
  align-self: flex-start;
  background: transparent;
  color: var(--pronto-yellow);
  border: 2px solid var(--pronto-yellow);
}

.btn-pronto-outline:hover {
  background: rgba(245, 197, 24, 0.15);
}

/* ===== Footer ===== */
.footer {
  color: var(--white);
  position: relative;
}

.footer-filete {
  height: 6px;
  background: linear-gradient(90deg, var(--pronto-yellow) 0%, var(--pronto-yellow) 50%, var(--uno-blue) 50%, var(--uno-blue) 100%);
}

.footer-filete-inproext {
  height: 4px;
  background: linear-gradient(90deg, var(--pronto-yellow) 0%, var(--uno-blue) 100%);
  width: 100%;
}

.footer-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

@media (max-width: 900px) {
  .footer-brands {
    grid-template-columns: 1fr;
  }
}

.footer-section {
  padding: 2.5rem 2rem;
  display: grid;
  gap: 1rem;
}

.footer-uno {
  background: var(--uno-blue);
}

.footer-pronto {
  background: var(--pronto-black);
  text-align: right;
  justify-items: end;
}

.footer-pronto .footer-columns {
  justify-content: flex-end;
}

.footer-pronto .footer-col {
  text-align: right;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer-logo-pronto {
  height: 2.25rem;
}

.footer-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
}

.footer-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.footer-subtitle-yellow {
  color: var(--pronto-yellow);
}

.footer-subtitle-social {
  margin-top: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-columns {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-inproext {
  padding: 2rem;
  text-align: center;
  background: #0a0a0a;
}

.footer-inproext h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-inproext p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.footer-inproext .copyright {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

