/* ==========================================================================
   Quién Brand Editorial Stylesheet (HUAWEI Pura 90s Series Sponsored Story)
   Inspired by Quién Editorial Renault Boreal Layout
   ========================================================================== */

/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #D0302D;
  --red-dark: #a82421;
  --dark: #000000;
  --mid: #1c1c1e;
  --body-bg: #ffffff;
  --light-alt: #f7f8fa;
  --text: #1a1a1a;
  --muted: #555555;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Inter', monserrat;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .05);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--body-bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===========================
   HEADER
   =========================== */
.main-header {
  background-color: var(--red);
  width: 100%;
  padding: 14px 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(208, 48, 45, .2);
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* ===========================
   HERO
   =========================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 0, 0, .85) 0%,
      rgba(0, 0, 0, .6) 50%,
      rgba(0, 0, 0, .25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 100px;
}

.min-vh-hero {
  min-height: 80vh;
}

.hero-brand {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255, 255, 255, .15);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.03em;
}

.hero-sumario {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, .9);
  line-height: 1.75;
  max-width: 650px;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(208, 48, 45, .4);
}

.btn-hero:hover {
  background-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(208, 48, 45, .6);
}

.btn-hero svg {
  transition: transform .3s ease;
}

.btn-hero:hover svg {
  transform: translateY(4px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, .8);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: .9;
  }
  50% {
    transform: translateY(12px);
    opacity: .2;
  }
}

/* ===========================
   CONTENT SECTIONS
   =========================== */
.content-section {
  padding: 120px 0;
  background-color: var(--body-bg);
}

@media (max-width: 768px) {
  .content-section {
    padding: 70px 0;
  }
}

.bg-light-alt {
  background-color: var(--light-alt);
}

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(208, 48, 45, .08);
  border: 1px solid rgba(208, 48, 45, .15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-tag--light {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.section-title--light {
  color: var(--white);
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 300;
}

.section-text--light {
  color: rgba(255, 255, 255, .8);
}

/* Image Frame with Offset Shadow Background */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.img-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60%;
  height: 60%;
  background: rgba(208, 48, 45, .1);
  border-radius: var(--radius);
  z-index: -1;
  pointer-events: none;
}

.img-accent--reverse {
  left: -15px;
  right: auto;
  bottom: -15px;
}

.section-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
  transition: transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .section-img {
    height: 300px;
  }
}

.img-frame:hover .section-img {
  transform: scale(1.025);
}

/* Tech pills */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(208, 48, 45, .06);
  border: 1.5px solid rgba(208, 48, 45, .15);
  padding: 8px 18px;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.tech-pill:hover {
  background: rgba(208, 48, 45, .13);
  transform: translateY(-2px);
}

/* ===========================
   STATS CARD GRID (Autonomy & Performance)
   =========================== */
.stat-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--white);
  border: 1.5px solid #eef0f4;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 130px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.03em;
}

.stat-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
  text-align: center;
}

/* ===========================
   COLOR SELECTOR INTERACTIVE CARD
   =========================== */
.color-picker-card {
  background: #ffffff;
  border: 1.5px solid #eef0f4;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.color-options-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.color-option::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1.5px solid #dcdfe6;
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-smooth);
}

.color-option.active::after,
.color-option:hover::after {
  opacity: 1;
}

.color-option.active {
  transform: scale(1.1);
}

.color-option.dorado { background-color: #E6D3B6; }
.color-option.naranja { background-color: #FF7F50; }
.color-option.uva { background-color: #7A628A; }
.color-option.negro { background-color: #2E3033; }

#phone-color-bg {
  height: 220px;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  background-color: #E6D3B6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.08);
}

.phone-mockup-inner {
  border: 1.5px solid rgba(255, 255, 255, .35);
  padding: 20px 30px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .15);
  text-align: center;
}

/* ===========================
   SECURITY SECTION (Filosofía / Full Bleed visual)
   =========================== */
.security-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.security-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.security-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.4);
}

.security-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .45) 0%,
      rgba(0, 0, 0, .75) 100%);
}

.security-content {
  position: relative;
  z-index: 2;
}

.blockquote-editorial {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  border-left: 3px solid var(--red);
  padding-left: 30px;
  margin-bottom: 40px;
  font-style: italic;
}

/* ===========================
   FOOTER
   =========================== */
footer{
  background: #000;
  padding: 2rem;
  color: #fff;
  justify-content: center;
  text-align: center;
}
.btn-premium{
  color: #fff;
  text-decoration: #fff;

} 

.btn-premium:hover{
  color: #fff;
  text-decoration: #fff;}
  
/* ===========================
   ANIMATIONS BASE STATES (Intersection Observer targets)
   =========================== */
[data-animate] {
  opacity: 0;
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="pop-in"] {
  transform: scale(.9);
}

/* Active State */
[data-animate].active {
  opacity: 1;
  transform: none;
}

/* Hover active state */
  .custom-cursor.hovered {
    width: 0;
    height: 0;
  }

  .custom-cursor-follower.hovered {
    width: 48px;
    height: 48px;
    background-color: rgba(197, 168, 128, 0.15);
    border-color: var(--accent-gold);
  }

  .custom-cursor-follower.hovered-wine {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
  }
