/* =============================================
   HUELLAS Y HOGAR — Coming Soon Page
   Colors from brand image:
   Blue:   #29B5DC  /  #1A4C9E
   Green:  #4BBE5C  /  #2D8A3E
   Yellow: #F5C118
   White:  #FFFFFF
   Dark:   #0D1117
   ============================================= */

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

:root {
  --blue-light:   #29B5DC;
  --blue-dark:    #1A4C9E;
  --green-light:  #4BBE5C;
  --green-dark:   #2D8A3E;
  --yellow:       #F5C118;
  --yellow-dark:  #D4A010;
  --white:        #FFFFFF;
  --off-white:    #F0F8FF;
  --dark:         #0B1622;
  --dark-mid:     #122035;
  --text-muted:   rgba(255,255,255,0.65);

  --radius-lg:    20px;
  --radius-xl:    32px;
  --radius-pill:  999px;

  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── ANIMATED BACKGROUND ─────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(41,181,220,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 90%, rgba(75,190,92,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(26,76,158,0.15) 0%, transparent 70%),
    var(--dark);
  z-index: 0;
  pointer-events: none;
}

/* Floating bubbles */
.bubbles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  opacity: 0;
  animation: rise linear infinite;
}

.bubble:nth-child(1)  { left: 5%;  width: 28px;  height: 28px; background: rgba(41,181,220,0.35); animation-duration: 9s;  animation-delay: 0s; }
.bubble:nth-child(2)  { left: 12%; width: 18px;  height: 18px; background: rgba(75,190,92,0.30);  animation-duration: 12s; animation-delay: 1.5s; }
.bubble:nth-child(3)  { left: 22%; width: 40px;  height: 40px; background: rgba(41,181,220,0.20); animation-duration: 14s; animation-delay: 3s; }
.bubble:nth-child(4)  { left: 38%; width: 22px;  height: 22px; background: rgba(245,193,24,0.25); animation-duration: 10s; animation-delay: 0.8s; }
.bubble:nth-child(5)  { left: 55%; width: 32px;  height: 32px; background: rgba(75,190,92,0.28);  animation-duration: 13s; animation-delay: 2.2s; }
.bubble:nth-child(6)  { left: 65%; width: 16px;  height: 16px; background: rgba(41,181,220,0.40); animation-duration: 8s;  animation-delay: 4s; }
.bubble:nth-child(7)  { left: 75%; width: 38px;  height: 38px; background: rgba(26,76,158,0.30);  animation-duration: 15s; animation-delay: 1s; }
.bubble:nth-child(8)  { left: 85%; width: 24px;  height: 24px; background: rgba(75,190,92,0.35);  animation-duration: 11s; animation-delay: 3.5s; }
.bubble:nth-child(9)  { left: 92%; width: 20px;  height: 20px; background: rgba(245,193,24,0.30); animation-duration: 9.5s; animation-delay: 0.3s; }
.bubble:nth-child(10) { left: 30%; width: 14px;  height: 14px; background: rgba(255,255,255,0.18); animation-duration: 7s;  animation-delay: 5s; }
.bubble:nth-child(11) { left: 48%; width: 26px;  height: 26px; background: rgba(41,181,220,0.25); animation-duration: 16s; animation-delay: 2s; }
.bubble:nth-child(12) { left: 70%; width: 12px;  height: 12px; background: rgba(75,190,92,0.40);  animation-duration: 6s;  animation-delay: 6s; }

@keyframes rise {
  0%   { transform: translateY(0)   scale(1);   opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}

/* Sparkle stars */
.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle ease-in-out infinite;
}

.star:nth-child(1) { top: 8%;  left: 10%; animation-duration: 2.4s; animation-delay: 0s; }
.star:nth-child(2) { top: 15%; left: 80%; animation-duration: 3.1s; animation-delay: 0.7s; }
.star:nth-child(3) { top: 35%; left: 5%;  animation-duration: 2.8s; animation-delay: 1.2s; }
.star:nth-child(4) { top: 55%; left: 92%; animation-duration: 2.2s; animation-delay: 0.4s; }
.star:nth-child(5) { top: 70%; left: 20%; animation-duration: 3.5s; animation-delay: 1.8s; }
.star:nth-child(6) { top: 20%; left: 55%; animation-duration: 2.6s; animation-delay: 0.9s; }
.star:nth-child(7) { top: 80%; left: 70%; animation-duration: 3.0s; animation-delay: 2.3s; }
.star:nth-child(8) { top: 45%; left: 45%; animation-duration: 4.0s; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.6); }
}

/* ── LAYOUT ──────────────────────────────────── */

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 48px 24px 60px;
  max-width: 780px;
  margin: 0 auto;
}

/* ── MASCOT ──────────────────────────────────── */

.mascot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.mascot-glow {
  position: absolute;
  bottom: -20px;
  width: 240px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(41,181,220,0.45) 0%, transparent 70%);
  filter: blur(12px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.15); }
}

.mascot-img {
  width: min(340px, 82vw);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(41,181,220,0.40)) drop-shadow(0 4px 16px rgba(0,0,0,0.60));
  transition: filter var(--transition), transform var(--transition);
}

.mascot-img:hover {
  filter: drop-shadow(0 16px 55px rgba(41,181,220,0.65)) drop-shadow(0 6px 20px rgba(0,0,0,0.70));
  transform: scale(1.03) translateY(-4px);
}

/* ── BRAND ───────────────────────────────────── */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.brand-name {
  font-family: 'Paytone One', sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: -1px;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 40%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(41,181,220,0.35));
}

.amp {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pill--blue {
  background: rgba(41,181,220,0.18);
  border: 1.5px solid rgba(41,181,220,0.50);
  color: var(--blue-light);
}

.pill--green {
  background: rgba(75,190,92,0.15);
  border: 1.5px solid rgba(75,190,92,0.45);
  color: var(--green-light);
}

/* ── HERO TEXT ───────────────────────────────── */

.hero-text {
  text-align: center;
  max-width: 600px;
}

.hero-title {
  font-family: 'Paytone One', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  margin-bottom: 18px;
  background: linear-gradient(130deg, var(--yellow) 0%, #fff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
}

.hero-subtitle strong {
  color: var(--yellow);
}

/* ── COUNTDOWN ───────────────────────────────── */

.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.countdown-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  position: relative;
}

.countdown-label::before,
.countdown-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1.5px;
  background: var(--blue-light);
  vertical-align: middle;
  margin: 0 10px;
  opacity: 0.6;
}

.countdown {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 20px);
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 4vw, 24px) clamp(18px, 4.5vw, 32px);
  min-width: clamp(72px, 18vw, 110px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.countdown-unit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(41,181,220,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.countdown-unit:hover {
  border-color: rgba(41,181,220,0.45);
  box-shadow: 0 0 30px rgba(41,181,220,0.20);
}

#cd-days    { border-color: rgba(41,181,220,0.30); }
#cd-hours   { border-color: rgba(75,190,92,0.30);  }
#cd-minutes { border-color: rgba(245,193,24,0.30); }
#cd-seconds { border-color: rgba(41,181,220,0.30); }

.cd-number {
  font-family: 'Paytone One', sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.2s ease;
}

#cd-hours .cd-number {
  background: linear-gradient(135deg, var(--white) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#cd-minutes .cd-number {
  background: linear-gradient(135deg, var(--white) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cd-number.tick {
  animation: tick 0.18s ease;
}

@keyframes tick {
  0%   { transform: translateY(-6px); opacity: 0.4; }
  100% { transform: translateY(0);    opacity: 1; }
}

.cd-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.countdown-sep {
  font-family: 'Paytone One', sans-serif;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  margin-bottom: 22px;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* ── EMAIL FORM ──────────────────────────────── */

.email-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.email-intro {
  font-size: 1.05rem;
  text-align: center;
  color: rgba(255,255,255,0.85);
}

.email-intro strong {
  color: var(--green-light);
}

.email-form {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.input-wrap {
  flex: 1 1 220px;
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--blue-light);
  pointer-events: none;
}

#email-input {
  width: 100%;
  padding: 15px 18px 15px 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(41,181,220,0.35);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

#email-input::placeholder {
  color: rgba(255,255,255,0.38);
}

#email-input:focus {
  border-color: var(--blue-light);
  background: rgba(41,181,220,0.10);
  box-shadow: 0 0 0 4px rgba(41,181,220,0.15);
}

.btn-submit {
  flex-shrink: 0;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(41,181,220,0.40);
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-submit:hover::before  { opacity: 1; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(41,181,220,0.55); }
.btn-submit:active { transform: translateY(0); }

.btn-text, .btn-loading {
  position: relative;
  z-index: 1;
}

/* Success message */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: rgba(75,190,92,0.12);
  border: 1.5px solid rgba(75,190,92,0.40);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  width: 100%;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-icon {
  font-size: 2.4rem;
}

.form-success p {
  color: var(--green-light);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Privacy note */
.privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── FOOTER ──────────────────────────────────── */

.footer {
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.02em;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 480px) {
  .container { gap: 32px; padding: 36px 18px 48px; }
  .countdown-sep { display: none; }
  .countdown { gap: 10px; }
  .email-form { flex-direction: column; }
  .btn-submit { width: 100%; }
}
