/* ================================================================
   REMEMBE·ME — styles.css
   Paleta Premium 2025: Teal · Navy · Blanco · Dorado
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* ── Teal — color de marca principal ───────── */
  --teal:       #14B8A6;
  --teal-lt:    #2DD4BF;
  --teal-dk:    #0D9488;
  --teal-dim:   #F0FDFA;
  --teal-glow:  rgba(20,184,166,.18);

  /* ── Navy profundo — titulares y fondos oscuros */
  --navy:       #0B1D35;
  --navy-lt:    #1E3A5F;
  --navy-dim:   rgba(11,29,53,.05);

  /* ── Dorado premium — CTAs y acentos cálidos ─ */
  --gold:       #F59E0B;
  --gold-dk:    #D97706;
  --gold-dim:   #FFFBEB;

  /* ── Apoyo ────────────────────────────────── */
  --green:      #10B981;
  --green-dim:  #D1FAE5;

  /* ── Aliases de compatibilidad (var legacy → nueva paleta) */
  --rose:       var(--teal);
  --rose-lt:    var(--teal-lt);
  --rose-dk:    var(--teal-dk);
  --rose-dim:   var(--teal-dim);
  --purple:     var(--navy);
  --purple-lt:  var(--navy-lt);
  --purple-dim: var(--navy-dim);

  /* ── Fondos modernos ────────────────────────── */
  --bg:         #F8FFFE;
  --bg-2:       #F0FDFA;
  --bg-3:       #CCFBF1;
  --surface:    #FFFFFF;
  --border:     #CCFBF1;
  --border-2:   #99F6E4;

  /* ── Tipografía limpia ──────────────────────── */
  --text:       #0B1D35;
  --text-2:     #334155;
  --text-3:     #64748B;

  /* ── Fuentes ────────────────────────────────── */
  --font-serif: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:  'Sora', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Radios ─────────────────────────────────── */
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;

  /* ── Sombras ─────────────────────────────────  */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.05);
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.12);
  --shadow-r:   0 8px 32px rgba(20,184,166,.30);
  --shadow-p:   0 8px 32px rgba(11,29,53,.20);
  --shadow-t:   0 4px 24px rgba(20,184,166,.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 3px; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2 { font-family: var(--font-sans); font-weight: 700; }
h3, h4 { font-family: var(--font-sans); font-weight: 700; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--rose); border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text); line-height: 1.15; margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.7; max-width: 560px;
}
.serif { font-family: var(--font-serif); }
.rose   { color: var(--rose); }
.purple { color: var(--purple-lt); }
.gold   { color: var(--gold-dk); }

/* ── Utilities ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-cream { background: var(--bg-2); }
.section-white { background: var(--surface); }
.center { text-align: center; }
.center .section-label { justify-content: center; }
.center .section-label::before { display: none; }
.center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .22s; letter-spacing: .01em;
  white-space: nowrap;
}
.btn-rose {
  background: var(--rose); color: #fff;
  box-shadow: var(--shadow-r);
}
.btn-rose:hover { background: var(--rose-dk); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(20,184,166,.35); }
.btn-purple {
  background: var(--purple-lt); color: #fff;
  box-shadow: var(--shadow-p);
}
.btn-purple:hover { background: var(--purple); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--rose);
  border: 2px solid var(--rose);
}
.btn-outline:hover { background: var(--rose-dim); transform: translateY(-2px); }
.btn-white {
  background: white; color: var(--rose);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: var(--gold); color: var(--text);
  box-shadow: 0 6px 24px rgba(247,201,72,.4);
}
.btn-gold:hover { background: var(--gold-dk); color: white; transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,255,254,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center;
  padding: 0 24px; height: 70px;
  max-width: 1200px; margin: 0 auto; gap: 32px;
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; flex: 1; justify-content: center; }
.nav-links a {
  padding: 7px 16px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-2);
  transition: all .15s;
}
.nav-links a:hover { color: var(--rose); background: var(--rose-dim); }
.nav-cta { margin-left: auto; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-links.open {
  display: flex !important; flex-direction: column;
  position: absolute; top: 70px; left: 0; right: 0;
  background: var(--bg); padding: 16px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; padding-top: 70px;
  display: flex; align-items: center;
  background: linear-gradient(140deg, #F0FDFA 0%, #E0F7F4 40%, #F8FFFE 100%);
  position: relative; overflow: hidden;
}
/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -200px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,29,53,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  width: 100%; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rose-dim); border: 1px solid rgba(20,184,166,.2);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 0.8rem; font-weight: 600; color: var(--rose);
}
.hero-eyebrow::before { content:'📸'; font-size:0.85rem; }
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.08;
  color: var(--text); margin-bottom: 22px;
}
.hero-title em { color: var(--rose); font-style: italic; }
.hero-desc { font-size: 1.1rem; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-3); font-weight: 500; }
.hero-trust-item .icon { font-size: 1rem; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photos {
  position: relative; width: 400px; height: 420px;
}
/* Floating polaroid style photos */
.photo-card {
  position: absolute;
  background: white;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 10px 10px 32px;
  transition: transform .3s ease;
}
.photo-card:hover { transform: scale(1.04) !important; z-index: 10; }
.photo-card-inner {
  width: 100%; height: 100%;
  border-radius: 4px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.photo-1 { width: 180px; height: 200px; top: 20px; left: 20px; transform: rotate(-6deg); background: linear-gradient(135deg, #FFE4E8, #FFB3BE); z-index: 3; }
.photo-2 { width: 200px; height: 220px; top: 60px; right: 10px; transform: rotate(4deg); background: linear-gradient(135deg, #E8D5FF, #C4A0F0); z-index: 2; }
.photo-3 { width: 170px; height: 190px; bottom: 10px; left: 60px; transform: rotate(2deg); background: linear-gradient(135deg, #FFF0CC, #FFD970); z-index: 4; }
.photo-tag {
  font-size: 0.7rem; font-weight: 600; color: var(--text-3);
  text-align: center; padding-top: 8px; letter-spacing: .06em;
}
/* Floating decorative elements */
.hero-badge {
  position: absolute;
  background: white; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600;
  z-index: 10; animation: float 3s ease-in-out infinite;
}
.hero-badge.b1 { top: -10px; right: 40px; animation-delay: 0s; }
.hero-badge.b2 { bottom: 20px; right: -20px; animation-delay: 1.5s; }
.hero-badge .badge-icon { font-size: 1.2rem; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ════════════════════════════════════════════════
   PROBLEMA → SOLUCIÓN
════════════════════════════════════════════════ */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 48px;
}
.problem-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex; gap: 18px; align-items: flex-start;
  transition: box-shadow .2s;
}
.problem-card:hover { box-shadow: var(--shadow); }
.problem-icon { font-size: 2.2rem; flex-shrink: 0; }
.problem-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.problem-card-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.stat-item { text-align: center; padding: 28px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stat-value { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; color: var(--rose); line-height: 1; }
.stat-label { font-size: 0.88rem; color: var(--text-2); margin-top: 8px; }

/* ════════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 48px;
}
.service-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px; border: 2px solid var(--border);
  transition: all .25s; cursor: default; position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--rose); transform: scaleX(0); transition: transform .3s;
  transform-origin: left;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-emoji { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.service-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.service-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.service-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-rose { background: var(--rose-dim); color: var(--rose); }
.badge-purple { background: var(--purple-dim); color: var(--purple); }
.badge-gold { background: var(--gold-dim); color: var(--gold-dk); }
.badge-teal { background: var(--teal-dim); color: var(--teal); }
.badge-green { background: var(--green-dim); color: #15803d; }

/* ════════════════════════════════════════════════
   PRODUCTOS / TIPOS DE CUADROS
════════════════════════════════════════════════ */
.products-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 32px 0 28px;
}
.ptab {
  padding: 8px 20px; border-radius: 100px; border: 2px solid var(--border);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  color: var(--text-2); background: var(--surface); transition: all .15s;
}
.ptab.active, .ptab:hover {
  border-color: var(--rose); color: var(--rose); background: var(--rose-dim);
}
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative;
}
.product-img.rose-bg   { background: linear-gradient(135deg, #F0FDFA, #CCFBF1); }
.product-img.purple-bg { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.product-img.gold-bg   { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.product-img.teal-bg   { background: linear-gradient(135deg, #F0FDFE, #CFFAFE); }
.product-body { padding: 16px; }
.product-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.product-desc { font-size: 0.8rem; color: var(--text-2); margin-bottom: 10px; line-height: 1.5; }
.product-sizes { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.size-tag {
  font-size: 0.68rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
  background: var(--bg-2); color: var(--text-2);
  border: 1px solid var(--border);
}
.product-price { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--rose); }
.product-price-sub { font-size: 0.72rem; color: var(--text-3); }
.product-cta { width: 100%; margin-top: 10px; justify-content: center; }

/* ════════════════════════════════════════════════
   VISUALIZADOR DE CUADROS
════════════════════════════════════════════════ */
.visualizer {
  background: linear-gradient(135deg, #F0FDFA, #E6FFFE);
}
.visualizer-inner {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 40px; align-items: start;
}
.viz-controls { display: flex; flex-direction: column; gap: 24px; }
.viz-group-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px;
}
/* Frame style selector */
.frame-styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.frame-style {
  padding: 12px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer; text-align: center;
  background: var(--surface); transition: all .15s;
}
.frame-style:hover { border-color: var(--purple-lt); }
.frame-style.active { border-color: var(--rose); background: var(--rose-dim); }
.frame-style-icon { font-size: 1.8rem; margin-bottom: 4px; display: block; }
.frame-style-name { font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
/* Size selector */
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-opt {
  padding: 8px 4px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer; text-align: center;
  background: var(--surface); transition: all .15s;
  font-size: 0.78rem; font-weight: 600; color: var(--text-2);
}
.size-opt:hover { border-color: var(--purple-lt); }
.size-opt.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); }
/* Photo upload */
.photo-drop {
  border: 2px dashed var(--border-2); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; cursor: pointer;
  background: var(--surface); transition: all .2s;
}
.photo-drop:hover, .photo-drop.drag-over { border-color: var(--rose); background: var(--rose-dim); }
.photo-drop input { display: none; }
.photo-drop-icon { font-size: 2rem; margin-bottom: 6px; }
.photo-drop p { font-size: 0.85rem; color: var(--text-3); }
.photo-drop p strong { color: var(--rose); }
/* Preview room */
.viz-preview {
  background: var(--surface); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.room-scene {
  width: 100%; height: 480px; position: relative;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
/* Room background */
.room-wall {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #E8DDD0 0%, #D5C8B8 100%);
}
.room-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(180deg, #C4AA90, #A0876D);
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
}
.room-molding {
  position: absolute; top: 50px; left: 0; right: 0;
  height: 3px; background: rgba(0,0,0,.08);
}
.room-baseboard {
  position: absolute; bottom: 100px; left: 0; right: 0;
  height: 12px; background: rgba(255,255,255,.25);
}
/* Frame on wall */
.wall-frame {
  position: relative; z-index: 5;
  background: white;
  box-shadow: 8px 12px 40px rgba(0,0,0,.35), 2px 4px 12px rgba(0,0,0,.2);
  transition: all .4s ease;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wall-frame-inner {
  width: calc(100% - 16px); height: calc(100% - 16px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wall-frame-inner img {
  width: 100%; height: 100%; object-fit: cover;
}
.wall-frame-placeholder {
  font-size: 0.8rem; color: #aaa; text-align: center; line-height: 1.5;
  padding: 10px;
}
/* Frame styles */
.wall-frame[data-style="classico"] { border: 18px solid #8B6914; border-radius: 2px; }
.wall-frame[data-style="moderno"]  { border: 6px solid #2D2D2D; border-radius: 0; }
.wall-frame[data-style="canvas"]   { border: 14px solid transparent; border-radius: 3px; box-shadow: 8px 12px 40px rgba(0,0,0,.35), 0 0 0 3px rgba(0,0,0,.1); }
.wall-frame[data-style="flotante"] { border: none; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.wall-frame[data-style="blanco"]   { border: 22px solid white; border-radius: 3px; outline: 2px solid #e0d8d0; }
.wall-frame[data-style="polaroid"] { border: 14px solid white; border-bottom: 52px solid white; border-radius: 3px; }
/* Frame shadow details */
.wall-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 50%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
/* Size variants for wall frame */
.wall-frame[data-size="10x15"] { width: 100px; height: 150px; }
.wall-frame[data-size="13x18"] { width: 135px; height: 185px; }
.wall-frame[data-size="20x30"] { width: 170px; height: 255px; }
.wall-frame[data-size="30x40"] { width: 200px; height: 266px; }
.wall-frame[data-size="40x50"] { width: 230px; height: 288px; }
.wall-frame[data-size="50x70"] { width: 260px; height: 364px; }
/* Room info bar */
.room-info {
  padding: 16px 20px;
  background: var(--bg-2); border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.room-info-text { font-size: 0.85rem; color: var(--text-2); }
.room-info-price { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--rose); }
.upload-preview { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════════════════
   CÓMO FUNCIONA
════════════════════════════════════════════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 36px; left: 12%; right: 12%;
  height: 2px; background: linear-gradient(90deg, var(--rose), var(--purple-lt));
  z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: white;
  box-shadow: var(--shadow-r);
  border: 4px solid var(--bg);
}
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, var(--purple-lt), var(--purple)); box-shadow: var(--shadow-p); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); box-shadow: 0 6px 24px rgba(247,201,72,.4); }
.step-card:nth-child(4) .step-num { background: linear-gradient(135deg, var(--teal), #087E88); }
.step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }

/* ════════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.testi-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s;
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 0.92rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; background: var(--rose-dim); flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 700; }
.testi-loc  { font-size: 0.75rem; color: var(--text-3); }

/* ════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0D9488 0%, #0B1D35 55%, #1E3A5F 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-inner {
  text-align: center; padding: 80px 24px;
  max-width: 680px; margin: 0 auto; position: relative; z-index: 1;
}
.cta-title { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 16px; }
.cta-sub { color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand {}
.footer-logo-img { height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.88rem; line-height: 1.65; max-width: 260px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background .15s; cursor: pointer;
  color: white; border: none;
}
.social-btn:hover { background: var(--rose); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--rose); }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.5); border: none;
  cursor: pointer; transition: all .2s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,.6); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s; padding: 20px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 2.2rem; color: rgba(255,255,255,.6); cursor: pointer; transition: color .15s; background: none; border: none; }
.lightbox-close:hover { color: var(--rose); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════
   SUPPLEMENTAL — classes used in index.html
════════════════════════════════════════════════ */

/* Nav extras */
.btn-nav {
  background: var(--rose); color: #fff !important;
  padding: 9px 22px; border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  transition: background .15s, transform .15s;
}
.btn-nav:hover { background: var(--rose-dk) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; display: block; }

/* Hero layout (index.html uses two-column flex inside .hero) */
.hero {
  padding: 90px 24px 60px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 48px;
  min-height: 100vh;
}
.hero-content { flex: 1; min-width: 300px; max-width: 560px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rose-dim); border: 1px solid rgba(20,184,166,.2);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 22px;
  font-size: 0.8rem; font-weight: 600; color: var(--rose);
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4rem); line-height: 1.1;
  color: var(--text); margin-bottom: 20px;
}
.hero-title em { color: var(--rose); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-primary {
  background: var(--rose); color: #fff; padding: 15px 36px;
  border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-r); transition: all .2s;
}
.btn-hero-primary:hover { background: var(--rose-dk); transform: translateY(-2px); }
.btn-hero-secondary {
  background: white; color: var(--purple); padding: 15px 28px;
  border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--purple-dim); box-shadow: var(--shadow-sm); transition: all .2s;
}
.btn-hero-secondary:hover { border-color: var(--purple-lt); transform: translateY(-2px); box-shadow: var(--shadow); }
/* Hero stats (inline) */
.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-stats .stat-item { text-align: left; background: none; border: none; box-shadow: none; padding: 0; }
.hero-stats .stat-num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--rose); display: block; }
.hero-stats .stat-label { font-size: 0.78rem; color: var(--text-3); display: block; }

/* Hero gallery — polaroid cards */
.hero-gallery {
  flex: 1; min-width: 280px; max-width: 440px;
  position: relative; height: 380px;
}
.polaroid {
  position: absolute; background: white;
  padding: 10px 10px 30px; border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  transition: transform .3s;
}
.polaroid:hover { transform: scale(1.06) rotate(0deg) !important; z-index: 10; }
.polaroid-img {
  width: 110px; height: 100px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.polaroid p { font-size: 0.65rem; text-align: center; color: #888; margin-top: 6px; font-weight: 500; }
.p1 { top: 20px; left: 10px; transform: rotate(-8deg); z-index: 3; }
.p2 { top: 10px; left: 130px; transform: rotate(5deg); z-index: 2; }
.p3 { top: 10px; right: 10px; transform: rotate(-3deg); z-index: 1; }
.p4 { bottom: 40px; left: 30px; transform: rotate(6deg); z-index: 4; }
.p5 { bottom: 30px; right: 20px; transform: rotate(-5deg); z-index: 2; }

/* Problem section */
.problem-section { padding: 60px 0; background: var(--bg-2); }
.problem-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.problem-card, .solution-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: center;
}
.solution-card { border-color: rgba(20,184,166,.30); background: linear-gradient(135deg,#F0FDFA,#fff); }
.p-icon { font-size: 2.6rem; margin-bottom: 12px; }
.problem-card h3, .solution-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.problem-card p, .solution-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
.problem-arrow { font-size: 2.5rem; color: var(--rose); font-weight: 300; }

/* Section header (used throughout) */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 12px; line-height: 1.2; }
.section-header p { font-size: 1rem; color: var(--text-2); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-tag {
  display: inline-block; background: var(--rose-dim); color: var(--rose);
  padding: 4px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}

/* Services section extras */
.services-section { padding: 96px 0; background: var(--surface); }
.service-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.service-from { display: block; margin-top: 12px; font-size: 0.8rem; font-weight: 700; color: var(--rose); }
.service-card h3 { font-size: 1rem; margin-bottom: 6px; }
.service-card p  { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.service-card::before { background: var(--accent, var(--rose)); }

/* Products section extras */
.products-section { padding: 96px 0; background: var(--bg-2); }
.prod-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.prod-img {
  width: 100%; height: 170px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.prod-thumb { font-size: 3.5rem; }
.prod-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--rose); color: white;
  font-size: 0.65rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; letter-spacing: .05em;
}
.prod-badge.new { background: var(--purple-lt); }
.prod-body { padding: 16px; }
.prod-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.prod-body p  { font-size: 0.8rem; color: var(--text-2); margin-bottom: 8px; line-height: 1.5; }
.prod-sizes { font-size: 0.72rem; color: var(--text-3); margin-bottom: 12px; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-price { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--rose); }
.btn-order {
  background: var(--rose); color: white; border: none; cursor: pointer;
  padding: 8px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  transition: background .15s, transform .15s;
}
.btn-order:hover { background: var(--rose-dk); transform: translateY(-1px); }

/* Visualizer section extras */
.visualizer-section { padding: 96px 0; background: linear-gradient(135deg,#F0FDFA,#E6FFFE); }
.viz-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.viz-step { margin-bottom: 8px; }
.step-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 12px;
}
.step-num {
  width: 22px; height: 22px; background: var(--rose); color: white;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.fs-preview { width: 36px; height: 36px; border-radius: 4px; background: #ddd; margin: 0 auto 4px; }
.classico-prev { border: 6px solid #8B6914; }
.moderno-prev  { border: 3px solid #2D2D2D; }
.canvas-prev   { border: 5px solid transparent; box-shadow: 0 0 0 2px #ccc; background: #f0e8d8; }
.flotante-prev { border: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); background: #e8e0d8; }
.blanco-prev   { border: 7px solid white; box-shadow: 0 0 0 1px #ccc; }
.polaroid-prev { border: 4px solid white; border-bottom: 12px solid white; box-shadow: 0 0 0 1px #ccc; }
.frame-style span { font-size: 0.68rem; color: var(--text-2); font-weight: 600; }
.viz-price-box {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 20px; border: 1px solid var(--border); margin-top: 4px;
  text-align: center;
}
.viz-info { font-size: 0.85rem; color: var(--text-3); margin-bottom: 4px; }
.viz-price { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--rose); margin-bottom: 14px; }
.btn-viz-order {
  width: 100%; background: #25D366; color: white; border: none;
  padding: 13px 20px; border-radius: 100px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .15s;
}
.btn-viz-order:hover { background: #1ea855; transform: translateY(-1px); }
.viz-room { position: relative; }
.viz-room .room-scene {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.viz-room-controls {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; justify-content: center;
}
.btn-room-theme {
  background: var(--surface); border: 2px solid var(--border);
  padding: 8px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; color: var(--text-2); transition: all .15s;
}
.btn-room-theme:hover { border-color: var(--purple-lt); color: var(--purple); }
.room-label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; }

/* Process section extras */
.process-section { padding: 96px 0; background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: start; margin-top: 48px; }
.step-card { text-align: center; }
.step-icon { font-size: 2.4rem; margin-bottom: 8px; display: block; }
.step-num-big { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--rose); opacity: .2; margin-bottom: 8px; line-height: 1; }
.step-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-card p  { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }
.step-connector { font-size: 1.5rem; color: var(--rose); opacity: .3; padding-top: 40px; letter-spacing: 0; }
.cta-banner {
  margin-top: 64px; background: linear-gradient(135deg, var(--rose), var(--rose-dk) 50%, var(--purple));
  border-radius: var(--radius-xl); padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-content h3 { font-size: 1.35rem; color: white; font-family: var(--font-serif); margin-bottom: 6px; }
.cta-content p  { font-size: 0.95rem; color: rgba(255,255,255,.85); }
.btn-cta-wa {
  background: #25D366; color: white; padding: 14px 30px;
  border-radius: 100px; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  box-shadow: 0 6px 24px rgba(37,211,102,.4); transition: all .2s;
}
.btn-cta-wa:hover { background: #1ea855; transform: translateY(-2px); }

/* Testimonials */
.testimonials-section { padding: 96px 0; background: var(--bg-2); }
.testi-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testi-author strong { display: block; font-size: 0.88rem; }
.testi-author span { font-size: 0.75rem; color: var(--text-3); }

/* Contact section */
.contact-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #0D9488 0%, #0B1D35 55%, #1E3A5F 100%);
}
.contact-section .section-tag { color: white; background: rgba(255,255,255,.15); }
.contact-section .section-header h2 { color: white; }
.contact-section .section-header p  { color: rgba(255,255,255,.8); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  backdrop-filter: blur(8px);
}
.ci-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; font-size: 0.82rem; font-weight: 700; color: white; margin-bottom: 2px; }
.contact-card a, .contact-card span { display: block; font-size: 0.85rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.contact-card a:hover { color: var(--gold); }
.contact-form {
  background: white; border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.78rem; font-weight: 700; color: var(--text-2); letter-spacing: .04em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--text);
  background: var(--surface); transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--rose); }
.form-textarea { resize: vertical; }
.btn-form-submit {
  width: 100%; background: var(--rose); color: white; border: none;
  padding: 14px; border-radius: 100px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .15s;
  font-family: var(--font-sans);
}
.btn-form-submit:hover { background: var(--rose-dk); transform: translateY(-1px); }

/* Footer extras */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .15s;
}
.footer-social a:hover { background: var(--rose); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-bottom p { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,.35); }

/* WhatsApp FAB */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: all .2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,.6); }

/* ── Responsive ──────────────────────────────────────────── */
/* ════════════════════════════════════════════════
   VISUALIZADOR MULTI-CUADRO — SISTEMA COMPLETO
════════════════════════════════════════════════ */

/* Wall real dimensions (3m × 2m at 3px/cm = 900×600px) */
:root {
  --wall-w: 900px;
  --wall-h: 600px;
  --wall-scale: 3; /* px per cm */
}

.visualizer-section {
  background: linear-gradient(160deg, #F0FDFA 0%, #E6FFFE 100%);
  padding: 96px 0;
}
.viz-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}
.viz-workspace {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Panel lateral de controles ── */
.viz-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}
.viz-panel::-webkit-scrollbar { width: 4px; }
.viz-panel::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 2px; }

.btn-add-frame {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px;
  background: var(--rose); color: white;
  border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s;
}
.btn-add-frame:hover { background: var(--rose-dk); }
.btn-add-frame svg { fill: white; flex-shrink: 0; }

.panel-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
  padding: 12px 16px 6px;
}

/* Frame list */
.frame-list-wrap { border-bottom: 1px solid var(--border); }
.frame-list { padding: 0 10px 10px; min-height: 48px; }
.fl-empty-msg { font-size: 0.8rem; color: var(--text-3); text-align: center; padding: 12px; line-height: 1.5; }
.fl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  cursor: pointer; transition: background .12s;
  border: 2px solid transparent;
}
.fl-item:hover { background: var(--bg-2); }
.fl-item.active { background: var(--rose-dim); border-color: rgba(20,184,166,.28); }
.fl-thumb {
  width: 30px; height: 30px; border-radius: 4px; flex-shrink: 0;
  background: var(--bg-2); border: 2px solid var(--border);
}
.fl-thumb[data-style="classico"] { border: 4px solid #8B6914; }
.fl-thumb[data-style="moderno"]  { border: 3px solid #2D2D2D; }
.fl-thumb[data-style="canvas"]   { background: #f0e8d8; box-shadow: inset 0 0 0 2px rgba(0,0,0,.1); border: none; }
.fl-thumb[data-style="flotante"] { background: #e8e0d8; border: none; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.fl-thumb[data-style="blanco"]   { border: 5px solid white; box-shadow: 0 0 0 1px #ccc; }
.fl-thumb[data-style="polaroid"] { border: 3px solid white; border-bottom: 8px solid white; box-shadow: 0 0 0 1px #ccc; }
.fl-info strong { display: block; font-size: 0.82rem; color: var(--text); }
.fl-info span   { font-size: 0.72rem; color: var(--text-3); }

/* Frame editor */
.frame-editor {
  border-top: 1px solid var(--border);
  display: none; /* shown when frame selected */
}
.fe-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--border);
}
.fe-title { font-size: 0.82rem; font-weight: 700; color: var(--text-2); }
.fe-del-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); padding: 4px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.fe-del-btn:hover { color: #dc2626; background: #fee2e2; }
.fe-group { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.fe-group-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; }

/* Style grid */
.fe-styles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fe-style-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer; background: var(--surface);
  font-size: 0.7rem; font-weight: 600; color: var(--text-2);
  transition: all .12s;
}
.fe-style-btn:hover { border-color: var(--rose-lt); }
.fe-style-btn.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); }
.fes-swatch { width: 28px; height: 20px; border-radius: 3px; display: block; }
.classico-sw { border: 4px solid #8B6914; }
.moderno-sw  { border: 2px solid #1A1A1A; }
.canvas-sw   { background: #E8DCC8; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.flotante-sw { background: #E0D8D0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.blanco-sw   { border: 5px solid #F0EDEA; box-shadow: 0 0 0 1px #D0C8C0; }
.polaroid-sw { border: 3px solid #F8F6F2; border-bottom: 7px solid #F8F6F2; box-shadow: 0 0 0 1px #D0C8C0; }

/* Size grid */
.fe-sizes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.fe-size-btn {
  padding: 7px 4px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  font-size: 0.72rem; font-weight: 700; color: var(--text-2);
  background: var(--surface); transition: all .12s; text-align: center;
}
.fe-size-btn:hover { border-color: var(--rose-lt); }
.fe-size-btn.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); }

/* Photo drop zone */
.photo-drop {
  border: 2px dashed var(--border-2); border-radius: var(--radius-lg);
  padding: 18px 12px; text-align: center; cursor: pointer;
  background: var(--bg); transition: all .2s;
}
.photo-drop:hover, .photo-drop.drag-over { border-color: var(--rose); background: var(--rose-dim); }
.pd-icon { font-size: 1.8rem; margin-bottom: 6px; }
.photo-drop p { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }
.photo-drop p strong { color: var(--rose); }
.btn-change-photo {
  margin-top: 6px; padding: 5px 14px; border-radius: 100px;
  border: 1.5px solid var(--rose); color: var(--rose);
  font-size: 0.72rem; font-weight: 600; cursor: pointer;
  background: transparent; transition: all .12s;
}
.btn-change-photo:hover { background: var(--rose-dim); }

/* Price & CTA */
.fe-price-box {
  padding: 14px; background: var(--bg-2); text-align: center;
}
.fep-info { font-size: 0.78rem; color: var(--text-3); margin-bottom: 2px; }
.fep-price { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--rose); margin-bottom: 10px; }
.btn-wa-order {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px 16px;
  background: #25D366; color: white; border: none; cursor: pointer;
  border-radius: 100px; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa-order:hover { background: #1ea855; transform: translateY(-1px); }
.btn-wa-order svg { fill: white; flex-shrink: 0; }

/* Room environment panel */
.room-env-panel { padding: 0 0 12px; }
.room-env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 12px 0; }
.room-env-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 4px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer; background: var(--surface);
  font-size: 0.65rem; font-weight: 600; color: var(--text-2);
  transition: all .12s;
}
.room-env-btn:hover { border-color: var(--purple-lt); }
.room-env-btn.active { border-color: var(--rose); background: var(--rose-dim); }
.re-swatch { width: 100%; height: 18px; border-radius: 3px; display: block; }

/* ── Área de la pared ── */
.viz-wall-area {
  display: flex; flex-direction: column; gap: 10px;
}
.wall-topbar, .wall-bottombar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-3);
}
.wall-dim-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px; font-weight: 600;
  color: var(--text-2);
}
.wall-count-badge {
  background: var(--rose-dim); color: var(--rose);
  padding: 5px 12px; border-radius: 100px; font-weight: 700;
  font-size: 0.75rem;
}
.wall-bottombar { gap: 16px; flex-wrap: wrap; }

/* Scroll wrapper (for responsive) */
.wall-scroll-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.wall-scroll-wrap::-webkit-scrollbar { height: 5px; }
.wall-scroll-wrap::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 3px; }

/* Room structure */
.wall-room-wrap {
  width: calc(var(--wall-w) + 0px); /* same as wall */
  background: #2A2018; /* dark outer frame */
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.room-crown-molding {
  height: 18px;
  background: linear-gradient(180deg, #F0E8DC 0%, #D8C8B4 100%);
  border-bottom: 2px solid #C0A880;
  flex-shrink: 0;
}
.wall-surface {
  width: var(--wall-w);
  height: var(--wall-h);
  position: relative;
  background: linear-gradient(160deg, #E8DDD0 0%, #D5C8B8 100%);
  overflow: hidden;
  cursor: default;
  flex-shrink: 0;
}
/* Subtle wall texture via repeating gradient */
.wall-surface::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(0,0,0,.025) 60px
    ),
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 59px,
      rgba(0,0,0,.02) 60px
    );
  pointer-events: none; z-index: 0;
}
/* Ambient lighting effect */
.wall-surface::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.room-baseboard {
  height: 14px;
  background: linear-gradient(180deg, #E8D8C8 0%, #C0A880 100%);
  border-top: 2px solid #D0B890;
  flex-shrink: 0;
}
.room-floor {
  height: 60px;
  background: linear-gradient(180deg, #B8956A 0%, #9A7850 100%);
  flex-shrink: 0;
}

/* Rulers */
.wall-ruler-h {
  position: absolute; top: 0; left: 20px; right: 0; height: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; color: rgba(0,0,0,.25); z-index: 1; pointer-events: none;
  padding: 0 4px;
}
.wall-ruler-v {
  position: absolute; top: 18px; left: 0; bottom: 0; width: 20px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  font-size: 8px; color: rgba(0,0,0,.25); z-index: 1; pointer-events: none;
  writing-mode: vertical-rl; padding: 2px 0;
}

/* Wall empty hint */
.wall-empty-hint {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(0,0,0,.3); font-size: 0.88rem; text-align: center; line-height: 1.6;
  pointer-events: none;
}
.wall-empty-hint strong { color: rgba(0,0,0,.5); }

/* ── Cuadros en la pared ── */
.wf-item {
  position: absolute; z-index: 10;
  cursor: grab; user-select: none; touch-action: none;
  transition: box-shadow .15s;
}
.wf-item:active, .wf-item.dragging { cursor: grabbing; z-index: 50; }
.wf-item.selected .wf-ring { opacity: 1; }
.wf-item.dragging {
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 8px 20px rgba(0,0,0,.3) !important;
  transform: scale(1.02);
  transition: transform .1s;
}

/* Marco base */
.wf-item { background: white; }
.wf-item[data-style="classico"] {
  border: 12px solid;
  border-image: linear-gradient(135deg,#D4A040,#8B6014,#D4A040,#6A4A10) 1;
  box-shadow: 4px 6px 20px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,200,80,.3);
}
.wf-item[data-style="moderno"] {
  border: 5px solid #1A1A1A;
  box-shadow: 4px 6px 20px rgba(0,0,0,.4);
}
.wf-item[data-style="canvas"] {
  border: 12px solid transparent;
  background-clip: padding-box;
  box-shadow: 4px 6px 20px rgba(0,0,0,.4), 0 0 0 2px rgba(0,0,0,.08);
  background: #E8DCC8;
}
.wf-item[data-style="flotante"] {
  border: none;
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.3);
  border-radius: 4px;
}
.wf-item[data-style="blanco"] {
  border: 18px solid #F8F6F2;
  box-shadow: 4px 6px 20px rgba(0,0,0,.35), 0 0 0 1px #D0C8C0;
}
.wf-item[data-style="polaroid"] {
  border: 10px solid #F8F6F2;
  border-bottom: 38px solid #F8F6F2;
  box-shadow: 4px 6px 20px rgba(0,0,0,.35), 0 0 0 1px #D0C8C0;
}

/* Brillo superficial del vidrio */
.wf-item::before {
  content: '';
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.15) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.04) 100%);
}

/* Inner (foto o placeholder) */
.wf-inner {
  position: absolute; inset: 0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.wf-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-placeholder {
  text-align: center; color: rgba(0,0,0,.35); line-height: 1.4;
  font-family: var(--font-sans); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.wfp-size  { font-size: 0.78rem; font-weight: 700; }
.wfp-style { font-size: 0.62rem; opacity: .8; }

/* Selection ring */
.wf-ring {
  position: absolute; inset: -3px; z-index: 20; pointer-events: none;
  border: 2px solid var(--rose); border-radius: 2px; opacity: 0;
  transition: opacity .15s;
  box-shadow: 0 0 0 3px rgba(184,80,48,.25);
}

/* Delete button (shown on hover) */
.wf-del {
  position: absolute; top: -10px; right: -10px; z-index: 30;
  width: 20px; height: 20px; border-radius: 50%;
  background: #EF4444; color: white; border: 2px solid white;
  font-size: 10px; cursor: pointer; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  line-height: 1;
}
.wf-item.selected .wf-del,
.wf-item:hover .wf-del { display: flex; }

/* Label on frame */
.wf-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: rgba(0,0,0,.45); white-space: nowrap;
  pointer-events: none; z-index: 5; font-weight: 600;
  background: rgba(255,255,255,.6); padding: 1px 5px; border-radius: 3px;
  display: none;
}
.wf-item.selected .wf-label { display: block; }

/* ── Responsive visualizador ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .viz-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1050px) {
  .viz-workspace { grid-template-columns: 1fr; }
  .viz-panel { position: static; max-height: none; overflow: visible; }
  .viz-wall-area { order: -1; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-gallery { height: 260px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .step-connector { display: none; }
  .problem-grid { grid-template-columns: 1fr !important; }
  .problem-arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cta-banner { flex-direction: column; text-align: center; }
  .fe-styles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid, .products-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr !important; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .frame-styles { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-gallery { display: none; }
  .wall-frame[data-size="50x70"] { width: 200px; height: 280px; }
  .wall-frame[data-size="40x50"] { width: 185px; height: 232px; }
}

/* ================================================================
   VISUALIZADOR v3 — Diseñador de Ambiente
   ================================================================ */

/* ── Workspace layout ──────────────────────────────────────── */
.viz-workspace {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items: start;
}
.viz-panel {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
}
.viz-wall-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Tabs navigation ─────────────────────────────────────── */
.viz-tab-nav {
  display: flex;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
}
.viz-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all .18s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: .01em;
}
.viz-tab:hover { color: var(--rose); }
.viz-tab.active {
  background: var(--surface);
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* ── Tab panels ──────────────────────────────────────────── */
.viz-tp {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-dim) transparent;
}
.viz-tp::-webkit-scrollbar { width: 4px; }
.viz-tp::-webkit-scrollbar-track { background: transparent; }
.viz-tp::-webkit-scrollbar-thumb { background: var(--rose-dim); border-radius: 4px; }

/* ── Add frame button ────────────────────────────────────── */
.btn-add-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dk) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  letter-spacing: .01em;
  margin-bottom: 14px;
}
.btn-add-frame:hover { opacity: .9; transform: translateY(-1px); }
.btn-add-frame:active { transform: none; }

/* ── Element list ────────────────────────────────────────── */
.panel-list-wrap { margin-bottom: 14px; }
.panel-sublabel {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.panel-list { display: flex; flex-direction: column; gap: 6px; }
.list-empty { font-size: 12px; color: var(--text-3); text-align: center; padding: 10px 0; margin: 0; font-style: italic; }
.fl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,.07);
  cursor: pointer;
  transition: all .15s;
}
.fl-item:hover { background: var(--rose-dim); border-color: var(--rose-lt); }
.fl-item.active { background: var(--rose-dim); border-color: var(--rose); }
.fl-thumb {
  width: 28px; height: 22px;
  border-radius: 3px;
  background: var(--bg-2);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.fl-thumb[data-style="moderno"]  { border-color: #222; border-width: 1.5px; }
.fl-thumb[data-style="canvas"]   { border: none; background: #d4a570; border-radius: 2px; }
.fl-thumb[data-style="flotante"] { border: none; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.fl-thumb[data-style="blanco"]   { border-color: #ddd; border-width: 4px; }
.fl-thumb[data-style="polaroid"] { border: none; background: #fff; box-shadow: inset 0 -6px 0 #fff, 0 1px 4px rgba(0,0,0,.15); }
.fl-info { display: flex; flex-direction: column; }
.fl-info strong { font-size: 12px; font-weight: 600; color: var(--text); }
.fl-info span { font-size: 10.5px; color: var(--text-3); }

/* ── Frame editor ────────────────────────────────────────── */
.frame-editor {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  padding: 14px;
  display: none;
}
.fe-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.fe-ttl { font-size: 13px; font-weight: 700; color: var(--text); }
.fe-del-btn {
  width: 28px; height: 28px;
  border: none;
  background: rgba(200,50,30,.08);
  color: #c83020;
  border-radius: 7px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.fe-del-btn:hover { background: rgba(200,50,30,.18); }

.fe-grp { margin-bottom: 14px; }
.fe-lbl { font-size: 10.5px; font-weight: 700; color: var(--text-3); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }

/* Frame style grid */
.fe-stylegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.fes-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 4px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 8px;
  background: var(--surface);
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.fes-btn:hover { border-color: var(--rose-lt); }
.fes-btn.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); }
.fes-sw {
  width: 28px; height: 20px;
  border-radius: 2px;
  background: var(--bg-2);
}
.sw-classico { border: 3px solid var(--gold); }
.sw-moderno  { border: 1.5px solid #222; }
.sw-canvas   { background: #c8a070; border-radius: 1px; }
.sw-flotante { box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.sw-blanco   { border: 5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.sw-polaroid { background: #fff; box-shadow: 0 -5px 0 0 #fff inset, 0 1px 4px rgba(0,0,0,.2); }

/* Frame size grid */
.fe-szgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.fesz-btn {
  padding: 6px 4px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 7px;
  background: var(--surface);
  font-size: 10.5px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.fesz-btn:hover { border-color: var(--rose-lt); }
.fesz-btn.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); }

/* Photo drop area */
.photo-drop {
  border: 2px dashed rgba(0,0,0,.18);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  background: var(--surface);
}
.photo-drop:hover, .photo-drop.drag-over {
  border-color: var(--rose);
  background: var(--rose-dim);
}
.pd-ico { font-size: 22px; margin-bottom: 5px; }
.photo-drop p { margin: 0; font-size: 11.5px; color: var(--text-2); line-height: 1.5; }
.btn-change-photo {
  font-size: 11px; font-family: var(--font-sans); font-weight: 600;
  color: var(--rose); background: none; border: none; cursor: pointer;
  padding: 0; text-decoration: underline;
}

/* Price + order box */
.fe-price-box {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-lt) 100%);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
}
.fe-pinfo { font-size: 10.5px; opacity: .75; margin-bottom: 2px; font-family: var(--font-sans); }
.fe-price { font-size: 22px; font-weight: 700; font-family: var(--font-serif); margin-bottom: 10px; }
.btn-wa-order {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  padding: 9px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  letter-spacing: .01em;
}
.btn-wa-order:hover { opacity: .9; }

/* ── Ambiente controls ───────────────────────────────────── */
.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.color-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { border-color: var(--gold); transform: scale(1.1); box-shadow: 0 0 0 3px rgba(201,139,24,.35); }
.custom-color-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-2);
  cursor: pointer;
}
.custom-color-wrap input[type="color"] {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 6px;
  cursor: pointer;
  padding: 1px;
  background: none;
}

/* Texture buttons */
.texture-grid, .floor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.texture-btn, .floor-btn {
  padding: 6px 10px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 7px;
  background: var(--surface);
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.texture-btn:hover, .floor-btn:hover { border-color: var(--rose-lt); }
.texture-btn.active, .floor-btn.active { border-color: var(--rose); background: var(--rose-dim); color: var(--rose); font-weight: 700; }

/* Dimension sliders */
.dim-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.dim-row span { width: 36px; flex-shrink: 0; }
.dim-row strong { width: 42px; text-align: right; flex-shrink: 0; font-family: var(--font-sans); font-size: 11.5px; color: var(--text); }
.dim-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--rose) 0%, var(--rose) 50%, var(--bg-2) 50%);
  outline: none;
  cursor: pointer;
}
.dim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
}
.dim-slider::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rose);
  border: none;
  cursor: pointer;
}

/* ── Deco panel ──────────────────────────────────────────── */
.deco-hint {
  font-size: 11.5px;
  color: var(--text-3);
  font-style: italic;
  margin: 0 0 12px;
  line-height: 1.5;
}
.deco-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.deco-cat-btn {
  padding: 5px 10px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 20px;
  background: var(--surface);
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.deco-cat-btn:hover { border-color: var(--rose-lt); color: var(--rose); }
.deco-cat-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }

.deco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.deco-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px 8px;
  background: var(--surface);
  border: 1.5px solid rgba(0,0,0,.09);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-2);
}
.deco-card:hover { border-color: var(--rose); background: var(--rose-dim); transform: translateY(-1px); }
.deco-card-prev {
  width: 72px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.deco-card-prev svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.deco-card span { text-align: center; line-height: 1.3; }

/* ── Wall surface & elements ─────────────────────────────── */
.viz-ruler-area {
  position: relative;
  padding-left: 28px;
  padding-top: 22px;
}
.viz-ruler-h {
  position: absolute;
  top: 0; left: 28px;
  right: 0;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.viz-ruler-h span, .viz-ruler-v span {
  font-size: 9px;
  color: var(--text-3);
  font-family: var(--font-sans);
}
.viz-ruler-v {
  position: absolute;
  top: 22px; left: 0;
  bottom: 0;
  width: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 4px;
}
#wallRoomWrap {
  position: relative;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}
#wallSurface {
  width: 900px;
  height: 600px;
  position: relative;
  overflow: hidden;
  cursor: default;
  background: linear-gradient(160deg, #E8DDD0 0%, #D0C4B0 100%);
  transition: background .4s, height .3s;
}

/* Wall textures */
#wallSurface.tx-grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
}
#wallSurface.tx-brick::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(transparent, transparent 28px, rgba(0,0,0,.12) 28px, rgba(0,0,0,.12) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 56px, rgba(0,0,0,.12) 56px, rgba(0,0,0,.12) 58px);
  background-size: 58px 30px;
  pointer-events: none;
  z-index: 0;
}
#wallSurface.tx-wood::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    175deg,
    transparent 0px, transparent 6px,
    rgba(0,0,0,.04) 7px, rgba(0,0,0,.04) 8px
  );
  pointer-events: none;
  z-index: 0;
}
#wallSurface.tx-tile::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient light overlay on wall */
#wallSurface::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,240,200,.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

#wallFloor {
  width: 900px;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    #C8A060 0px, #C8A060 38px,
    #A88040 39px, #A88040 40px
  ),
  repeating-linear-gradient(
    180deg,
    #C8A060 0px, #C8A060 38px,
    #A88040 39px, #A88040 40px
  );
  border-top: 2px solid rgba(0,0,0,.2);
  position: relative;
  transition: background .4s;
}
/* Baseboard */
#wallFloor::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
  background: rgba(0,0,0,.1);
}

/* Wall dim badge */
#wallDimBadge {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  background: rgba(28,58,94,.75);
  color: rgba(255,255,255,.9);
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
}

/* Element count badge */
#elCount {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(28,58,94,.7);
  color: rgba(255,255,255,.85);
  font-size: 10px;
  font-family: var(--font-sans);
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 20;
}

/* Empty hint */
#wallEmptyHint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.wall-hint-icon { font-size: 36px; opacity: .45; }
.wall-hint-text { font-size: 13px; color: rgba(0,0,0,.45); font-style: italic; font-family: var(--font-sans); text-align: center; }

/* ── Frame elements on wall ──────────────────────────────── */
.wf-item {
  position: absolute;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: box-shadow .18s;
  z-index: 15;
}
.wf-item:hover { z-index: 18 !important; }
.wf-item.selected { z-index: 20 !important; }
.wf-item.dragging { cursor: grabbing; z-index: 25 !important; }

/* Frame inner (photo area) */
.wf-inner {
  width: 100%; height: 100%;
  overflow: hidden;
  position: relative;
}
.wf-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Frame styles */
.wf-item[data-style="classico"] { padding: 5px; background: #C8982A; box-shadow: 0 6px 20px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.25); border-radius: 2px; }
.wf-item[data-style="moderno"]  { padding: 2px; background: #1a1a1a; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.wf-item[data-style="canvas"]   { padding: 0; border-radius: 2px; box-shadow: 4px 4px 0 rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.25); }
.wf-item[data-style="flotante"] { padding: 3px; background: transparent; box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.2); }
.wf-item[data-style="blanco"]   { padding: 8px; background: #FFFCF8; box-shadow: 0 4px 20px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.08); }
.wf-item[data-style="polaroid"] { padding: 6px 6px 22px; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.3); border-radius: 1px; }

/* Placeholder */
.wf-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(184,80,48,.18) 0%, rgba(28,58,94,.15) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.wfp-sz { font-size: 11px; font-weight: 700; color: rgba(0,0,0,.5); text-align: center; font-family: var(--font-sans); }
.wfp-st { font-size: 10px; color: rgba(0,0,0,.35); font-style: italic; font-family: var(--font-sans); }

/* Selection ring */
.wf-ring {
  position: absolute; inset: -3px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  box-shadow: 0 0 0 1px rgba(201,139,24,.4);
}
.wf-item.selected .wf-ring { opacity: 1; }

/* ── Deco elements on wall ───────────────────────────────── */
.deco-item {
  position: absolute;
  cursor: grab;
  touch-action: none;
  user-select: none;
  z-index: 10;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.22));
  transition: filter .15s;
}
.deco-item:hover { filter: drop-shadow(0 6px 14px rgba(0,0,0,.32)); }
.deco-item.selected { outline: 2px dashed var(--gold); outline-offset: 4px; z-index: 18 !important; }
.deco-item.dragging { cursor: grabbing; z-index: 25 !important; }
.deco-item svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ── Delete button (shared by frame + deco) ──────────────── */
.el-del {
  position: absolute;
  top: -10px; right: -10px;
  width: 20px; height: 20px;
  background: #c83020;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
  z-index: 30;
  padding: 0;
}
.wf-item:hover .el-del,
.wf-item.selected .el-del,
.deco-item:hover .el-del,
.deco-item.selected .el-del { opacity: 1; }

/* ── Resize handle (bottom-right corner) ────────────────── */
.el-resize {
  position: absolute;
  bottom: -9px; right: -9px;
  width: 18px; height: 18px;
  background: var(--gold);
  border: 2px solid #fff;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: nwse-resize;
  color: #fff;
  opacity: 0;
  transition: opacity .15s, transform .1s;
  z-index: 30;
  touch-action: none;
}
.el-resize svg { pointer-events: none; display: block; }
.wf-item:hover .el-resize,
.wf-item.selected .el-resize,
.deco-item:hover .el-resize,
.deco-item.selected .el-resize { opacity: 1; }
.el-resize:hover { transform: scale(1.2); }
.wf-item.resizing,
.deco-item.resizing { cursor: nwse-resize !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MÓVIL — Visualizador
═══════════════════════════════════════════════════════════ */

/* Tablet y escritorio pequeño */
@media (max-width: 1150px) {
  .viz-workspace {
    grid-template-columns: 1fr;
  }
  .viz-panel {
    position: static;
    max-height: none;
    border-radius: 14px;
  }
  #wallSurface, #wallFloor { width: 100%; }
  #wallSurface { height: clamp(260px, 50vw, 520px) !important; }
}

/* Móvil — panel como bottom sheet ─────────────────────── */
@media (max-width: 900px) {

  /* El panel es un bottom sheet: oculto abajo, sube con .mob-open */
  .viz-panel {
    position: fixed !important;
    left: 0; right: 0;
    bottom: 0;
    top: auto !important;
    max-height: 78vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 40px rgba(0,0,0,.18);
    z-index: 1100;
    transform: translateY(110%);
    transition: transform .32s cubic-bezier(.25,.8,.25,1);
    overflow: hidden;
  }
  .viz-panel.mob-open {
    transform: translateY(0);
  }
  /* Pill handle en top del sheet */
  .viz-tab-nav::before {
    content: '';
    display: block;
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    border-radius: 2px;
    background: rgba(0,0,0,.18);
  }
  .viz-tab-nav { position: relative; padding-top: 18px; }

  /* Wall ocupa ancho completo */
  .viz-workspace { gap: 12px; }
  #wallSurface { height: clamp(220px, 58vw, 400px) !important; }

  /* Hacer los controles más touch-friendly */
  .viz-tab { padding: 10px 6px; font-size: 11px; }
  .fes-btn { padding: 10px 4px; }
  .fesz-btn { padding: 9px 4px; font-size: 11px; }
  .el-del  { width: 24px; height: 24px; top:-12px; right:-12px; font-size:10px; }
  .el-resize { width: 22px; height: 22px; bottom:-11px; right:-11px; }
  .deco-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .deco-card-prev { width: 56px; height: 44px; }
  .deco-card { font-size: 10px; padding: 8px 4px 6px; }
}

/* Botón flotante para abrir el panel en móvil */
.mob-panel-trigger {
  display: none;
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 1050;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(184,80,48,.45);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .25s;
  opacity: 0;
  pointer-events: none;
}
.mob-panel-trigger.visible {
  opacity: 1;
  pointer-events: auto;
}
.mob-panel-trigger.active {
  background: var(--purple);
  box-shadow: 0 4px 20px rgba(28,58,94,.4);
}
.mob-panel-trigger:active { transform: scale(.95); }

@media (max-width: 900px) {
  .mob-panel-trigger { display: flex; }
}

/* Botón "Ver en mi muro real" en hero */
.btn-camera-ar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 20px;
  background: rgba(255,255,255,.12);
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
  backdrop-filter: blur(6px);
}
.btn-camera-ar:hover {
  background: rgba(184,80,48,.1);
  border-color: var(--rose);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   MODAL CÁMARA AR
═══════════════════════════════════════════════════════════ */

.cam-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cam-modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* Video de fondo (llena la pantalla) */
.cam-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0a;
  /* Evitar parpadeo/flash blanco al iniciar en iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* Overlay transparente para los cuadros */
.cam-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none; /* pasa eventos a los .cam-frame hijos */
  overflow: hidden;
}
.cam-overlay > .cam-frame {
  pointer-events: auto;
}

/* Frames sobre el video */
.cam-frame {
  position: absolute;
  box-sizing: border-box;
  background: rgba(210,190,165,.55);
  backdrop-filter: blur(2px);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: outline .1s;
}
.cam-frame-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 100%);
}

/* Botón eliminar cuadro en cámara */
.cf-del {
  position: absolute;
  top: -10px; right: -10px;
  width: 22px; height: 22px;
  background: #c83020;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 30;
  padding: 0;
  opacity: 0;
  transition: opacity .15s;
}
.cam-frame:hover .cf-del,
.cam-frame[style*="dashed"] .cf-del { opacity: 1; }

/* Resize handle cámara */
.cf-resize {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 22px; height: 22px;
  background: var(--gold);
  border: 2px solid #fff;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  cursor: nwse-resize;
  z-index: 30;
  opacity: 0;
  transition: opacity .15s;
  touch-action: none;
}
.cam-frame:hover .cf-resize,
.cam-frame[style*="dashed"] .cf-resize { opacity: 1; }
@media (max-width: 900px) {
  .cf-del   { opacity: 1; width: 26px; height: 26px; top: -13px; right: -13px; }
  .cf-resize { opacity: 1; width: 26px; height: 26px; bottom: -13px; right: -13px; }
}

/* Hint de quietud */
.cam-hint {
  position: absolute;
  top: 72px; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(28,58,94,.85);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  z-index: 20;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.cam-hint.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Error de cámara */
.cam-error {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0,0,0,.85);
  color: #fff;
  text-align: center;
  padding: 32px;
}
.cam-error-icon { font-size: 52px; }
.cam-error p { font-family: var(--font-sans); line-height: 1.6; opacity: .9; }
.cam-err-close {
  margin-top: 8px;
  padding: 10px 28px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

/* Top bar de la cámara */
.cam-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 100%);
}
.cam-close-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .15s;
}
.cam-close-btn:hover { background: rgba(255,255,255,.3); }
.cam-topbar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Panel inferior de la cámara */
.cam-bottom-panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  padding: 16px 16px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 70%, transparent 100%);
  backdrop-filter: blur(2px);
}
.cam-row-label {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

/* Estilos de marco (en cámara) */
.cam-style-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.cam-style-row::-webkit-scrollbar { display: none; }
.cam-style-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}
.cam-style-btn:hover  { background: rgba(255,255,255,.2); }
.cam-style-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }

/* Swatches dentro del botón */
.csw {
  width: 14px; height: 10px;
  border-radius: 2px;
  background: rgba(210,190,165,.6);
  flex-shrink: 0;
}
.csw-classico { border: 2px solid #C8982A; }
.csw-moderno  { border: 1.5px solid #fff; }
.csw-blanco   { border: 3px solid #fff; }
.csw-flotante { box-shadow: 0 2px 5px rgba(0,0,0,.5); }
.csw-polaroid { border: 2px solid #fff; border-bottom: 5px solid #fff; }
.csw-canvas   { border-radius: 1px; }

/* Tamaños (en cámara) */
.cam-size-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.cam-size-btn {
  padding: 6px 12px;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.cam-size-btn:hover  { background: rgba(255,255,255,.2); }
.cam-size-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Fila de acciones */
.cam-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.cam-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  padding: 11px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.cam-add-btn:hover { background: rgba(255,255,255,.25); }
.cam-capture-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dk) 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(184,80,48,.5);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.cam-capture-btn:hover  { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,80,48,.55); }
.cam-capture-btn:active { transform: none; }
.cam-capture-btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Tip */
.cam-tip {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
