/* ===================================================
   HealthySkin EC — Homepage styles
   =================================================== */

:root {
  --hs-cyan:    #0FA4C8;
  --hs-pink:    #7C3AED;
  --hs-purple:  #6D28D9;
  --hs-navy:    #0A0E1A;
  --hs-dark:    #111827;
  --hs-mid:     #1E293B;
  --hs-text:    #F8FAFC;
  --hs-muted:   #94A3B8;
  --hs-white:   #FFFFFF;
  --hs-offwhite:#F1F5F9;
  --hs-border:  rgba(255,255,255,0.08);
  --hs-grad:    linear-gradient(135deg, var(--hs-cyan), var(--hs-pink));
  --hs-grad2:   linear-gradient(135deg, var(--hs-purple), var(--hs-cyan));
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
}

/* ── Reset for homepage ── */
.hs-home * { box-sizing: border-box; }
.hs-home { font-family: 'Inter', system-ui, -apple-system, sans-serif; overflow-x: hidden; }
.hs-home h1,
.hs-home h2,
.hs-home h3,
.hs-home h4 { font-family: 'Playfair Display', 'Georgia', serif; line-height: 1.2; margin: 0 0 .5em; }
.hs-home p { line-height: 1.7; margin: 0; }
.hs-home a { text-decoration: none; }
.hs-home img { display: block; max-width: 100%; }

/* Remove OceanWP content padding on front page */
.page-template-front-page #content-wrap,
.page-template-front-page #primary,
.page-template-front-page #content,
.page-template-front-page .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.page-template-front-page .container { max-width: 100% !important; padding: 0 !important; }

/* ── Section head ── */
.hs-section-head { text-align: center; margin-bottom: 3rem; }
.hs-section-head h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); color: var(--hs-dark); }
.hs-section-head p { color: #64748B; margin-top: .6rem; font-size: 1.35rem; }
.hs-tag {
  display: inline-block; background: linear-gradient(90deg,#0FA4C820,#7C3AED20);
  color: var(--hs-cyan); border: 1px solid #0FA4C840;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: .85rem;
}

/* ─────────────────────────────────
   HERO
───────────────────────────────── */
.hs-hero {
  position: relative; overflow: hidden;
  background: var(--hs-navy);
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem;
}

/* Gradient blobs */
.hs-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hs-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .35;
  animation: blobFloat 8s ease-in-out infinite;
}
.hs-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #0FA4C8, transparent 70%);
  top: -150px; left: -100px; animation-delay: 0s;
}
.hs-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  bottom: -100px; right: 0; animation-delay: -3s;
}
.hs-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  top: 40%; left: 50%; animation-delay: -6s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-30px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(.95); }
}

.hs-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 0 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

/* Badge */
.hs-badge {
  display: inline-block;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: var(--hs-muted); font-size: .9rem; font-weight: 600; letter-spacing: .05em;
  padding: 7px 18px; border-radius: 50px; margin-bottom: 1.4rem;
}

/* Headline */
.hs-hero-title {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  color: var(--hs-text); line-height: 1.08; margin-bottom: .85rem;
}
.hs-gradient-text {
  background: var(--hs-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hs-hero-sub {
  color: var(--hs-muted); font-size: 1.4rem; max-width: 560px; margin-bottom: 2rem;
}

/* Buttons */
.hs-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hs-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hs-grad); color: #fff;
  font-weight: 700; font-size: 1.2rem; padding: 18px 38px; border-radius: 50px;
  box-shadow: 0 8px 32px rgba(15,164,200,.35);
  transition: transform .2s, box-shadow .2s;
}
.hs-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(15,164,200,.5); color: #fff; }

.hs-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--hs-text); font-weight: 600; font-size: 1.2rem;
  padding: 18px 38px; border-radius: 50px;
  transition: background .2s, transform .2s;
}
.hs-btn-wa:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); color: #fff; }

/* Stats */
.hs-hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hs-stat { display: flex; flex-direction: column; }
.hs-stat strong { font-size: 2.4rem; font-weight: 800; color: var(--hs-text); }
.hs-stat span { font-size: 1.05rem; color: var(--hs-muted); }
.hs-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* Hero visual (right side) */
.hs-hero-visual { position: relative; height: 560px; }

/* Orb decorations */
.hs-orb-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hs-orb {
  position: absolute; border-radius: 50%;
  filter: blur(1px);
}
.hs-orb-main {
  width: 360px; height: 360px;
  background: conic-gradient(from 180deg, #0FA4C8 0%, #7C3AED 40%, #6D28D9 70%, #0FA4C8 100%);
  opacity: .15; animation: orbSpin 12s linear infinite;
}
.hs-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(15,164,200,.3), transparent 70%);
  animation: orbPulse 4s ease-in-out infinite;
}
.hs-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,.25), transparent 70%);
  animation: orbPulse 4s ease-in-out infinite; animation-delay: -2s;
}
@keyframes orbSpin  { to { transform: rotate(360deg); } }
@keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* Floating cards */
.hs-float-cards { position: absolute; inset: 0; pointer-events: none; }
.hs-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm); padding: 12px 16px;
  color: var(--hs-text); white-space: nowrap;
  animation: cardFloat 6s ease-in-out infinite;
  pointer-events: none;
}
.hs-fc-1 { top: 12%; right: -30px; animation-delay: 0s; }
.hs-fc-2 { top: 50%; right: -50px; transform: translateY(-50%); animation-delay: -2s; }
.hs-fc-3 { bottom: 15%; right: -10px; animation-delay: -4s; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hs-fc-2 { animation: cardFloat2 6s ease-in-out infinite; }
@keyframes cardFloat2 {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 12px)); }
}
.hs-fc-icon { font-size: 1.5rem; line-height: 1; }
.hs-fc-text { display: flex; flex-direction: column; }
.hs-fc-text strong { font-size: .85rem; font-weight: 700; }
.hs-fc-text span { font-size: .72rem; color: var(--hs-muted); }

/* Scroll hint */
.hs-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hs-scroll-mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 6px;
}
.hs-scroll-wheel {
  width: 3px; height: 8px; background: rgba(255,255,255,.5); border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ─────────────────────────────────
   TRUST BAR
───────────────────────────────── */
.hs-trust {
  background: var(--hs-white);
  border-bottom: 1px solid #E2E8F0;
  padding: 1.75rem 0;
}
.hs-trust-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 3rem;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem;
}
.hs-trust-item { display: flex; align-items: center; gap: 12px; }
.hs-trust-ico { font-size: 2.2rem; }
.hs-trust-copy { display: flex; flex-direction: column; }
.hs-trust-copy strong { font-size: 1.2rem; font-weight: 700; color: var(--hs-dark); }
.hs-trust-copy span { font-size: 1rem; color: #64748B; }
.hs-trust-sep { width: 1px; height: 40px; background: #E2E8F0; margin: 0 1rem; }

/* ─────────────────────────────────
   CATEGORÍAS
───────────────────────────────── */
.hs-cats {
  background: var(--hs-offwhite);
  padding: 5rem 0;
}
.hs-cats .hs-section-head { padding: 0 2rem; }

.hs-cats-grid {
  max-width: 1440px; margin: 0 auto;
  padding: 0 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}

.hs-cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-md); padding: 3.5rem 3rem;
  min-height: 420px; display: flex; align-items: flex-end;
  cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.hs-cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }

.hs-cat-skin  { background: linear-gradient(135deg, #0A0E1A 0%, #0C2337 40%, #0E2D4D 100%); }
.hs-cat-suple { background: linear-gradient(135deg, #0A0E1A 0%, #1A0B2E 40%, #250F40 100%); }

.hs-cat-glow {
  position: absolute; width: 300px; height: 300px;
  border-radius: 50%; filter: blur(80px); opacity: .5;
  top: -50px; right: -50px; pointer-events: none;
}
.hs-cat-skin  .hs-cat-glow { background: radial-gradient(circle, #0FA4C8, transparent 70%); }
.hs-cat-suple .hs-cat-glow { background: radial-gradient(circle, #8B5CF6, transparent 70%); }

.hs-cat-body { position: relative; z-index: 1; }
.hs-cat-ico { font-size: 3.5rem; margin-bottom: 1.2rem; }
.hs-cat-card h3 { font-size: 2.8rem; color: #fff; margin-bottom: .7rem; }
.hs-cat-card p { color: rgba(255,255,255,.65); font-size: 1.2rem; max-width: 380px; margin-bottom: 2rem; }

.hs-cat-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hs-grad); color: #fff;
  font-weight: 700; font-size: 1.15rem; padding: 15px 30px; border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
}
.hs-cat-btn:hover { transform: translateX(4px); color: #fff; }

.hs-coming-badge {
  display: inline-block;
  background: rgba(139,92,246,.2); border: 1px solid rgba(139,92,246,.4);
  color: #C4B5FD; font-size: .85rem; font-weight: 700;
  padding: 8px 18px; border-radius: 50px;
}

/* ─────────────────────────────────
   PRODUCTOS MÁS VENDIDOS
───────────────────────────────── */
.hs-products { background: var(--hs-white); padding: 6rem 0; }

.hs-products-inner { max-width: 1440px; margin: 0 auto; padding: 0 3rem; }

.hs-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-bottom: 3rem;
}

.hs-prod-card {
  background: var(--hs-white);
  border: 1px solid #E2E8F0; border-radius: var(--r-sm);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.hs-prod-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }

.hs-prod-img-wrap {
  position: relative; display: block;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--hs-offwhite);
}
.hs-prod-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.hs-prod-card:hover .hs-prod-img-wrap img { transform: scale(1.06); }

.hs-prod-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
}

.hs-prod-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,.7), transparent);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1rem; opacity: 0; transition: opacity .3s;
}
.hs-prod-card:hover .hs-prod-overlay { opacity: 1; }
.hs-prod-overlay span {
  color: #fff; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  padding: 6px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,.2);
}

.hs-prod-info { padding: 1.25rem 1.4rem 1.5rem; }

.hs-prod-cat {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--hs-cyan); margin-bottom: .4rem;
}
.hs-prod-name { margin: 0 0 .8rem; }
.hs-prod-name a { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--hs-dark); }
.hs-prod-name a:hover { color: var(--hs-cyan); }

.hs-prod-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hs-prod-price { font-size: 1.3rem; font-weight: 800; color: var(--hs-dark); }
.hs-prod-price .woocommerce-Price-amount { color: var(--hs-dark); }
.hs-prod-price del { color: #94A3B8; font-weight: 400; font-size: .85rem; }
.hs-prod-price ins { text-decoration: none; }

.hs-atc-btn {
  display: inline-flex; align-items: center;
  background: var(--hs-grad); color: #fff;
  font-size: .9rem; font-weight: 700; padding: 9px 16px; border-radius: 50px;
  white-space: nowrap; transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer;
}
.hs-atc-btn:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(15,164,200,.35); color: #fff; }
.hs-atc-btn.loading { opacity: .6; pointer-events: none; }

.hs-prod-more { text-align: center; }
.hs-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--hs-cyan); color: var(--hs-cyan);
  font-weight: 700; font-size: 1.2rem; padding: 17px 40px; border-radius: 50px;
  transition: background .2s, color .2s, transform .2s;
}
.hs-btn-outline:hover { background: var(--hs-cyan); color: #fff; transform: translateY(-2px); }

/* ─────────────────────────────────
   MARCAS
───────────────────────────────── */
.hs-brands { background: var(--hs-dark); padding: 5rem 0; }
.hs-brands-inner { max-width: 1440px; margin: 0 auto; padding: 0 3rem; }
.hs-brands .hs-section-head h2 { color: var(--hs-text); }
.hs-brands .hs-tag { background: rgba(15,164,200,.15); color: var(--hs-cyan); border-color: rgba(15,164,200,.3); }

.hs-brands-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem;
}

.hs-brand-pill {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px; padding: 15px 36px;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: default;
}
.hs-brand-pill:hover {
  background: rgba(15,164,200,.12);
  border-color: rgba(15,164,200,.4);
  transform: translateY(-3px);
}
.hs-brand-pill span { color: var(--hs-text); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em; }

/* ─────────────────────────────────
   PREOCUPACIONES DE PIEL
───────────────────────────────── */
.hs-concerns { background: var(--hs-offwhite); padding: 6rem 0; }
.hs-concerns-inner { max-width: 1440px; margin: 0 auto; padding: 0 3rem; }

.hs-concerns-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

.hs-concern-card {
  background: var(--hs-white);
  border: 1px solid #E2E8F0; border-radius: var(--r-sm);
  padding: 2.25rem 2rem;
  display: flex; align-items: center; gap: 1.25rem;
  color: var(--hs-dark); text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hs-concern-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--cc, var(--hs-cyan));
  transition: width .25s;
}
.hs-concern-card:hover { transform: translateX(4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); border-color: var(--cc); color: var(--hs-dark); }
.hs-concern-card:hover::before { width: 6px; }

.hs-concern-ico { font-size: 2.5rem; flex-shrink: 0; }
.hs-concern-card span { font-weight: 600; font-size: 1.25rem; flex: 1; }
.hs-concern-arrow { flex-shrink: 0; color: #94A3B8; transition: transform .2s, color .2s; }
.hs-concern-card:hover .hs-concern-arrow { transform: translateX(4px); color: var(--cc); }

/* ─────────────────────────────────
   CTA WHATSAPP
───────────────────────────────── */
.hs-cta {
  position: relative; overflow: hidden;
  background: var(--hs-navy); padding: 7rem 0;
}
.hs-cta-blobs { position: absolute; inset: 0; pointer-events: none; }
.hs-blob-cta1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,164,200,.35), transparent 70%);
  filter: blur(80px); top: -100px; left: -50px;
  animation: blobFloat 10s ease-in-out infinite;
}
.hs-blob-cta2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.35), transparent 70%);
  filter: blur(80px); bottom: -100px; right: 0;
  animation: blobFloat 10s ease-in-out infinite; animation-delay: -5s;
}

.hs-cta-inner {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto; padding: 0 2rem;
  text-align: center;
}
.hs-cta-tag {
  display: inline-block;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.25);
  color: #4ADE80; font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 1.25rem;
}
.hs-cta-copy h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); color: var(--hs-text); margin-bottom: .85rem; }
.hs-cta-copy p { color: var(--hs-muted); font-size: 1.4rem; max-width: 580px; margin: 0 auto 2.5rem; }

.hs-wa-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; font-weight: 800; font-size: 1.35rem;
  padding: 22px 50px; border-radius: 50px;
  box-shadow: 0 10px 40px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
}
.hs-wa-big:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 50px rgba(37,211,102,.55); color: #fff; }

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 1024px) {
  .hs-prod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .hs-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hs-hero-sub { max-width: 100%; margin: 0 auto 2rem; }
  .hs-hero-btns { justify-content: center; }
  .hs-hero-stats { justify-content: center; }
  .hs-hero-visual { height: 340px; }
  .hs-fc-1 { right: 0; }
  .hs-fc-2 { right: -20px; }
  .hs-fc-3 { right: 20px; }

  .hs-cats-grid { grid-template-columns: 1fr; }
  .hs-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-concerns-grid { grid-template-columns: repeat(2, 1fr); }

  .hs-trust-sep { display: none; }
  .hs-trust-inner { gap: 1.5rem; }
}

@media (max-width: 580px) {
  .hs-hero { min-height: auto; padding: 5rem 0 4rem; }
  .hs-hero-visual { display: none; }
  .hs-prod-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hs-concerns-grid { grid-template-columns: 1fr 1fr; }
  .hs-cat-card { min-height: 260px; padding: 2rem 1.5rem; }
}

@media (max-width: 420px) {
  .hs-prod-grid { grid-template-columns: 1fr; }
  .hs-concerns-grid { grid-template-columns: 1fr; }
}
