/* =============================================
   VELA NERA · 2026
   ============================================= */

/* --- TOKENS --- */
:root {
  color-scheme: dark;
  --bg:             #0a0c0e;
  --surface:        #131619;
  --surface-raised: #191d21;
  --text:           #eef0f2;
  --text-soft:      #c0c8d0;
  --muted:          #6e7a88;
  --primary:        #d4aa6a;
  --primary-light:  #e8c98a;
  --primary-dim:    rgba(212, 170, 106, 0.14);
  --primary-glow:   rgba(212, 170, 106, 0.22);
  --border:         rgba(255, 255, 255, 0.07);
  --border-gold:    rgba(212, 170, 106, 0.28);
  --radius:         22px;
  --radius-sm:      14px;
  --shadow-md:      0 8px 32px rgba(0,0,0,0.55);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.65);
  --shadow-gold:    0 0 48px rgba(212,170,106,0.1);
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --t:              0.28s;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
p { margin: 0.6rem 0; }
em {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-light);
}

/* --- CONTAINER --- */
.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes flicker {
  0%,100% { transform: scaleX(1)   scaleY(1)    rotate(-1deg); }
  25%     { transform: scaleX(.91) scaleY(1.05) rotate(1.2deg); }
  50%     { transform: scaleX(1.05) scaleY(.96) rotate(-.5deg); }
  75%     { transform: scaleX(.95) scaleY(1.03) rotate(1.5deg); }
}
@keyframes flickerInner {
  0%,100% { transform: scaleX(1)   scaleY(1);   opacity:.88; }
  50%     { transform: scaleX(.82) scaleY(1.12); opacity:1; }
}
@keyframes orbMove1 {
  0%,100% { transform: translate(0,0)     scale(1); }
  33%     { transform: translate(44px,-66px) scale(1.09); }
  66%     { transform: translate(-32px,38px) scale(.94); }
}
@keyframes orbMove2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-52px,-28px) scale(1.12); }
}
@keyframes orbMove3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(28px,52px) scale(.92); }
  80%     { transform: translate(-20px,-30px) scale(1.06); }
}
@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(7px); }
}
@keyframes pulseGold {
  0%,100% { box-shadow: 0 0 14px rgba(212,170,106,.16); }
  50%     { box-shadow: 0 0 28px rgba(212,170,106,.38); }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.36), 0 10px 28px rgba(0,0,0,.35); }
  50%      { box-shadow: 0 0 0 13px rgba(37,211,102,0), 0 14px 36px rgba(37,211,102,.28); }
}

/* =============================================
   SCROLL ANIMATION SYSTEM
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: .08s; }
.stagger-2 { transition-delay: .20s; }
.stagger-3 { transition-delay: .32s; }
.stagger-4 { transition-delay: .44s; }

/* Hero text reveals */
.reveal-up {
  opacity: 0;
  transform: translateY(52px);
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.reveal-fade {
  opacity: 0;
  animation: fadeIn .85s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 12, 14, 0.86);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: rgba(255,255,255,0.055);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  transition: padding var(--t) var(--ease);
}
.site-header.scrolled .header-inner { padding: .9rem 0; }

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .22em;
  font-size: 1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 18px rgba(212,170,106,.14);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: .48rem .88rem;
  border-radius: 999px;
  transition: color var(--t), background var(--t);
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.site-nav a.active { background: rgba(255,255,255,0.07); }

.nav-cta {
  background: var(--primary-dim) !important;
  color: var(--primary) !important;
  margin-left: .5rem;
}
.nav-cta:hover {
  background: rgba(212,170,106,.22) !important;
  color: var(--primary-light) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

/* Ambient orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .3;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,170,106,.45) 0%, transparent 68%);
  top: -260px; right: -140px;
  animation: orbMove1 20s ease-in-out infinite;
}
.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(130,90,50,.35) 0%, transparent 68%);
  bottom: -80px; left: -180px;
  animation: orbMove2 26s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,170,106,.18) 0%, transparent 68%);
  top: 45%; left: 32%;
  animation: orbMove3 32s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 4rem;
  align-items: center;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .7rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--primary);
  opacity: .55;
}

/* Hero headline */
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .06em;
}
.title-line { display: block; }
.title-italic { font-style: italic; color: var(--primary-light); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-soft);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Flame candle */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.flame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatY 4.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(212,170,106,.22));
}
.flame {
  width: 34px; height: 56px;
  background: linear-gradient(to bottom, #fff9e0, #f6cc42, #ea9830, #bf5a18);
  border-radius: 50% 50% 22% 22% / 60% 60% 40% 40%;
  animation: flicker 1.9s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.flame-inner {
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,224,80,.5), transparent);
  border-radius: 50% 50% 30% 30%;
  animation: flickerInner 1.5s ease-in-out infinite;
}
.candle-body {
  width: 66px; height: 110px;
  background: linear-gradient(120deg, #282c30, #1b1e23, #282c30);
  border-radius: 6px 6px 4px 4px;
  box-shadow: inset 2px 0 8px rgba(255,255,255,.05), inset -2px 0 5px rgba(0,0,0,.5);
}
.candle-base {
  width: 84px; height: 14px;
  background: linear-gradient(180deg, #3a3e44, #242730);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}

/* Hero stat cards */
.hero-stats { display: grid; gap: .7rem; width: 100%; }
.hero-stat-card {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.022);
  backdrop-filter: blur(14px);
  transition: border-color var(--t), background var(--t);
}
.hero-stat-card:hover {
  border-color: var(--border-gold);
  background: rgba(255,255,255,.04);
}
.stat-row { display: flex; align-items: baseline; gap: .1rem; line-height: 1; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary-light);
}
.stat-zero { font-size: 1.9rem; }
.stat-unit {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  align-self: flex-start;
  margin-top: .25rem;
}
.hero-stat-card p { margin: .35rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  opacity: 0;
  animation: fadeIn .9s ease 1.6s forwards;
  transition: opacity .4s ease;
}
.scroll-indicator span { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scroll-arrow { color: var(--primary); animation: bounceDown 2.2s ease-in-out infinite; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: rgba(255,255,255,.012);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .8rem; color: var(--muted);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,.12); font-size: 1rem; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.016) 0%, transparent 100%); }

.section-header { max-width: 680px; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.022em;
  margin-bottom: 1rem;
}
.section-header p { color: var(--muted); font-size: 1rem; line-height: 1.8; }

/* =============================================
   CONCEPT PANELS
   ============================================= */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
}

.panel {
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.panel::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(212,170,106,.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
}
.panel:hover {
  border-color: var(--border-gold);
  transform: translateY(-7px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}
.panel:hover::before { opacity: 1; }
.panel-icon { font-size: 1.9rem; margin-bottom: 1rem; display: block; }
.panel-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 9px;
  background: var(--primary-dim);
  color: var(--primary);
  font-weight: 700; font-size: .78rem;
  margin-bottom: 1.1rem;
}
.panel h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: .7rem;
}
.panel p { color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* =============================================
   PRODUCTS
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
}

.product-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.product-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s ease;
}
.product-card:hover,
.product-card.featured {
  border-color: var(--border-gold);
}
.product-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}
.product-card:hover::after,
.product-card.featured::after { transform: scaleX(1); }

.product-image {
  aspect-ratio: 4 / 3;
  margin: -1rem -1rem 1.35rem;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.045); }

.product-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; margin-bottom: .7rem;
}
.product-card > p { color: var(--muted); font-size: .88rem; line-height: 1.72; flex: 1; }
.product-card ul {
  list-style: none; padding: 0;
  margin: 1.2rem 0;
  display: grid; gap: .48rem;
}
.product-card li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .83rem; color: var(--text-soft);
}
.product-card li::before {
  content: '';
  display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--primary); flex-shrink: 0;
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: auto; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem; font-weight: 700;
}
.product-badge {
  display: inline-flex; padding: .32rem .72rem;
  border-radius: 999px;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; border-radius: 999px;
  padding: .88rem 1.7rem;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), #c8940e);
  color: #12100a;
  box-shadow: 0 4px 18px rgba(212,170,106,.28);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(212,170,106,.44); }

.btn-secondary {
  background: rgba(255,255,255,.07);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }

.btn-submit { width: 100%; margin-top: 1.5rem; padding: 1.05rem 2rem; font-size: .96rem; }
.btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

/* =============================================
   PERFUMES
   ============================================= */
.perfume-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.perfume-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: default;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.perfume-item:hover {
  border-color: var(--border-gold);
  background: var(--surface-raised);
  transform: translateY(-3px);
}
.perfume-emoji { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }
.perfume-name { font-weight: 600; font-size: .94rem; margin-bottom: .2rem; }
.perfume-notes { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* =============================================
   FEATURE CARDS
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
}
.feature-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-icon { font-size: 1.9rem; margin-bottom: 1.2rem; display: block; }
.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; margin-bottom: .7rem;
}
.feature-card p { color: var(--muted); font-size: .9rem; line-height: 1.75; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
}
.testimonial-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .9rem;
  position: relative;
  transition: border-color var(--t), transform var(--t);
}
.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
}
.testimonial-stars { display: flex; gap: 3px; color: var(--primary); font-size: .88rem; }
.testimonial-quote-mark {
  position: absolute; top: 1.4rem; right: 1.7rem;
  font-size: 4.5rem; line-height: 1;
  font-family: 'Playfair Display', Georgia, serif;
  color: rgba(212,170,106,.1);
  user-select: none; pointer-events: none;
}
.testimonial-card > p {
  color: var(--text-soft);
  font-size: .93rem; line-height: 1.78;
  font-style: italic; flex: 1;
}
.testimonial-author { font-weight: 600; font-size: .84rem; }
.testimonial-city {
  display: inline-block; margin-left: .5rem;
  padding: .18rem .58rem; border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: .7rem; color: var(--muted);
  font-style: normal; font-weight: 400;
}

/* =============================================
   ORDER FORM
   ============================================= */
.form-outer {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 4.5rem;
  align-items: start;
}
.form-side h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1; margin-bottom: 1rem;
}
.form-side > p { color: var(--muted); font-size: .98rem; line-height: 1.82; margin-bottom: 2rem; }
.form-perks { list-style: none; display: grid; gap: .7rem; }
.form-perks li { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--text-soft); }
.form-perks li svg { color: var(--primary); flex-shrink: 0; }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.order-form { margin: 0; }
.form-status {
  min-height: 1.35rem;
  margin: .85rem 0 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--muted);
}
.form-status.success { color: #82d6ad; }
.form-status.error { color: #ff9a9a; }
.form-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.full-width { grid-column: 1 / -1; }

/* Floating labels */
.fl-label { position: relative; display: block; }

.fl-label input,
.fl-label textarea,
.fl-label select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.032);
  color: var(--text);
  padding: 1.45rem 1rem .5rem;
  transition: border-color var(--t), background var(--t);
}
.fl-label textarea { resize: vertical; min-height: 88px; }
.fl-label select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  color-scheme: dark;
}
.fl-label select option {
  background: var(--surface);
  color: var(--text);
}
.fl-label select option:disabled {
  color: var(--muted);
}

.fl-label input:focus,
.fl-label textarea:focus,
.fl-label select:focus {
  outline: none;
  border-color: rgba(212,170,106,.4);
  background: rgba(212,170,106,.04);
}

.fl-label span {
  position: absolute;
  top: .95rem; left: 1rem;
  font-size: .87rem; color: var(--muted);
  pointer-events: none;
  transition: top .2s ease, font-size .2s ease, color .2s ease;
}

/* Float the label when focused or has value */
.fl-label input:focus ~ span,
.fl-label input:not(:placeholder-shown) ~ span,
.fl-label textarea:focus ~ span,
.fl-label textarea:not(:placeholder-shown) ~ span {
  top: .35rem; font-size: .68rem; color: var(--primary);
}

/* For select: float when focused or valid (a non-empty option selected) */
.select-label select:focus ~ span,
.select-label select:valid ~ span {
  top: .35rem; font-size: .68rem; color: var(--primary);
}

/* Select dropdown arrow */
.select-label { position: relative; }
.select-arrow {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: rgba(0,0,0,.28);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  font-size: .95rem; color: var(--text); margin-bottom: .7rem;
}
.footer-tagline { color: var(--muted); font-size: .86rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted); text-decoration: none;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.social-links a:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-dim);
}
.footer-title {
  font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a {
  color: var(--text-soft); text-decoration: none;
  font-size: .88rem;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--muted);
}
.heart { color: var(--primary); }

.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  text-decoration: none;
  animation: whatsappPulse 2.1s ease-in-out infinite;
  transition: transform var(--t), background var(--t);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #20bd5a;
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { flex-direction: row; justify-content: center; align-items: flex-start; }
  .flame-wrap { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: min(300px, 78vw);
    background: rgba(10,12,14,.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding: 2rem;
    gap: .4rem;
    transition: right .34s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid var(--border);
    z-index: 99;
  }
  .site-nav.open { right: 0; }
  .site-nav a { font-size: 1.08rem; padding: .72rem 1rem; width: 100%; border-radius: 12px; }
  .nav-cta { margin-left: 0; margin-top: .5rem; }

  .panel-grid,
  .product-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .perfume-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-outer { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 6rem 0 4.5rem; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .trust-items { gap: .75rem; }
  .trust-sep { display: none; }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 1.5rem; }
  .scroll-indicator { display: none; }
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}
