/* ============================================================
   RENUEVA DECO — Componentes
   ============================================================ */

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.35rem 0;
  transition: padding 0.4s var(--ease-premium), background 0.4s ease, box-shadow 0.4s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled {
  padding: 0.75rem 0;
  background: rgba(251, 247, 241, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(32,31,27,0.06);
}

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand img, .brand svg { height: 46px; width: auto; transition: height 0.4s var(--ease-premium); }
.site-header.is-scrolled .brand img, .site-header.is-scrolled .brand svg { height: 38px; }
.brand-text { line-height: 1.05; }
.brand-text .r1 { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-sage-700); letter-spacing: 0.02em; }
.brand-text .r2 { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.32em; color: var(--color-rattan-700); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem; row-gap: 0.3rem; max-width: 660px; }
.main-nav a {
  position: relative; display: inline-block; font-size: 0.78rem; font-weight: 500; color: var(--color-charcoal-700);
  padding: 0.55rem 0.85rem; border-radius: var(--radius-full); white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.main-nav a:hover { background: var(--color-sage-100); color: var(--color-sage-700); }
.main-nav a.active { background: var(--gradient-forest); color: var(--color-white); box-shadow: var(--shadow-sm); }
@media (min-width: 1280px) { .main-nav ul { gap: 0.3rem; max-width: none; } .main-nav a { font-size: 0.82rem; padding: 0.6rem 1rem; } }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gradient-gold); transition: width 0.35s var(--ease-premium);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--color-sage-700); }

.header-cta { display: none; }

.nav-toggle {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-white); border: 1px solid var(--color-stone-200);
  box-shadow: var(--shadow-sm);
}
.nav-toggle .bar { display: block; width: 20px; height: 1.5px; background: var(--color-charcoal-700); position: relative; transition: all 0.3s ease; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ''; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--color-charcoal-700); transition: all 0.3s ease; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-toggle.is-active .bar { background: transparent; }
.nav-toggle.is-active .bar::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.is-active .bar::after { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 190;
  background: var(--color-cream-100);
  display: flex; flex-direction: column;
  padding: 6.5rem 1.75rem 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-premium);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer ul { display: flex; flex-direction: column; }
.mobile-drawer a {
  display: block; padding: 1rem 0; font-family: var(--font-serif); font-size: 1.5rem;
  border-bottom: 1px solid var(--color-stone-200); color: var(--color-charcoal-900);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.mobile-drawer a:hover { color: var(--color-sage-700); padding-left: 6px; }
.mobile-drawer a.active { color: var(--color-sage-700); }
.mobile-drawer .btn { margin-top: 2rem; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background: var(--color-cream-100);
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; }
.hero-shape {
  position: absolute; border-radius: 50%; filter: blur(2px);
  opacity: 0.5; will-change: transform;
}
.hero-shape.s1 { width: 480px; height: 480px; top: -140px; right: -120px; background: radial-gradient(circle at 30% 30%, var(--color-sage-200), transparent 70%); }
.hero-shape.s2 { width: 360px; height: 360px; bottom: -120px; left: -100px; background: radial-gradient(circle at 30% 30%, var(--color-gold-400), transparent 70%); opacity: 0.35; }
.hero-lattice {
  position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image: repeating-linear-gradient(100deg, var(--color-sage-700) 0 3px, transparent 3px 64px);
}

.hero-grid { position: relative; z-index: 2; display: grid; gap: 3.5rem; align-items: center; grid-template-columns: 1fr; }
.hero-copy .eyebrow { margin-bottom: 1.25rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy .lede { max-width: 520px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); }
.hero-stats .stat b { display: block; font-family: var(--font-serif); font-size: 1.9rem; color: var(--color-sage-700); }
.hero-stats .stat span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-stone-600); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--gradient-forest);
}
.hero-frame .empty-state { position: absolute; inset: 0; border-radius: var(--radius-lg); border: none; }

.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease-premium);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%); }
.hero-slider-placeholder { position: absolute; inset: 0; }

.hero-slider-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 0.4rem;
}
.hero-slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: all 0.35s ease; }
.hero-slider-dots span.is-active { width: 20px; border-radius: var(--radius-full); background: #fff; }
.hero-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  padding: 1.1rem 1.4rem; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: var(--shadow-md);
}
.hero-badge .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.hero-badge b { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--color-charcoal-900); }
.hero-badge span { font-size: 0.72rem; color: var(--color-stone-600); }
.hero-ring {
  position: absolute; top: -1.75rem; right: -1.75rem; width: 96px; height: 96px;
  border-radius: 50%; border: 1.5px dashed var(--color-gold-500);
  animation: spin-slow 24s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; }
.scroll-cue span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-stone-600); }
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--color-sage-600), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--color-sage-600); animation: scroll-drip 2s ease-in-out infinite; }
@keyframes scroll-drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
}

/* ---- Empty state (placeholders para imágenes futuras) ---- */
.empty-state {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  border: 1.5px dashed var(--color-stone-200);
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, var(--color-cream-200) 0 2px, var(--color-cream-100) 2px 14px);
  color: var(--color-stone-400);
  text-align: center; padding: 1.5rem;
}
.empty-state .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--color-white); display: flex; align-items: center; justify-content: center; color: var(--color-sage-400); box-shadow: var(--shadow-sm); }
.empty-state b { color: var(--color-stone-600); font-size: 0.85rem; font-weight: 600; }
.empty-state small { font-size: 0.72rem; max-width: 220px; }
.empty-state.on-dark { border-color: rgba(255,255,255,0.28); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px); color: rgba(255,255,255,0.55); }
.empty-state.on-dark .ico { background: rgba(255,255,255,0.12); color: #fff; }
.empty-state.on-dark b { color: rgba(255,255,255,0.85); }

/* ---- Ticker de marca ---- */
.marquee { overflow: hidden; border-top: 1px solid var(--color-stone-200); border-bottom: 1px solid var(--color-stone-200); padding: 1.5rem 0; background: var(--color-white); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-stone-400); white-space: nowrap; display: flex; align-items: center; gap: 0.85rem; }
.marquee-track span::after { content: '◆'; font-size: 0.6rem; color: var(--color-gold-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Nosotros ---- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.about-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-visual .empty-state:nth-child(1) { aspect-ratio: 3/4; }
.about-visual .empty-state:nth-child(2) { aspect-ratio: 3/4; margin-top: 2.5rem; }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.value-card { padding: 1.5rem; border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-sm); transition: all 0.4s var(--ease-premium); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--color-sage-100); color: var(--color-sage-700); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.value-card h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.value-card p { font-size: 0.82rem; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--color-stone-200); }
.stat-strip .stat b { display: block; font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--color-sage-700); }
.stat-strip .stat span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-stone-600); }

@media (min-width: 960px) { .about-grid { grid-template-columns: 0.95fr 1.05fr; } }

/* ---- Proceso / Cómo trabajamos ---- */
.process-rail { position: relative; }
.process-track { display: grid; grid-template-columns: 1fr; gap: 1.75rem; position: relative; }
.process-track::before { content: none; }
.process-step {
  position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius-md);
  background: var(--color-white); box-shadow: var(--shadow-sm);
  transition: all 0.45s var(--ease-premium);
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.process-step .step-no { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-serif); font-size: 2.4rem; color: var(--color-sage-100); }
.process-step .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--gradient-forest); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; }
.process-arrow { display: flex; justify-content: center; color: var(--color-gold-500); }

@media (min-width: 720px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) {
  .process-track { grid-template-columns: repeat(5, 1fr); align-items: start; gap: 0; }
  .process-track .process-step { margin: 0 -1px; }
  .process-connector { grid-column: span 5; height: 1px; background: var(--color-stone-200); margin: 0 0 -1px; position: relative; top: 27px; z-index: 0; }
}

/* ---- Servicios ---- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card {
  position: relative; padding: 2.25rem 1.9rem; border-radius: var(--radius-md);
  background: var(--color-white); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  background: var(--gradient-forest);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card .ico { width: 52px; height: 52px; border-radius: 15px; background: var(--color-sage-100); color: var(--color-sage-700); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.5s ease; }
.service-card:hover .ico { background: rgba(255,255,255,0.16); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; transition: color 0.5s ease; }
.service-card:hover h3 { color: #fff; }
.service-card p { font-size: 0.86rem; transition: color 0.5s ease; }
.service-card:hover p { color: rgba(255,255,255,0.82); }
.service-card .arrow {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-size: 0.8rem; font-weight: 600;
  color: var(--color-sage-700); transition: color 0.5s ease, gap 0.3s ease;
  background: none; border: none; padding: 0; font-family: inherit; cursor: pointer;
}
.service-card:hover .arrow { color: var(--color-gold-400); gap: 0.65rem; }

@media (min-width: 680px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Category hero (Carpintería / Línea Infantil / Hogar) ---- */
.category-hero { position: relative; padding: 10rem 0 5rem; overflow: hidden; }
.category-hero .container { position: relative; z-index: 2; }
.category-hero-bg { position: absolute; inset: 0; background: var(--gradient-forest); }
.category-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(100deg, rgba(255,255,255,0.05) 0 3px, transparent 3px 60px); }
.category-hero h1, .category-hero .eyebrow, .category-hero p { color: #fff; }
.category-hero .eyebrow::before { background: var(--color-gold-400); }
.category-hero .lede { color: rgba(255,255,255,0.78); }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: #fff; }

/* ---- Portafolio ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 3rem; }
.filter-chip {
  padding: 0.6rem 1.3rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600;
  background: var(--color-white); border: 1px solid var(--color-stone-200); color: var(--color-stone-600);
  transition: all 0.35s var(--ease-premium);
}
.filter-chip:hover { border-color: var(--color-sage-400); color: var(--color-sage-700); }
.filter-chip.active { background: var(--gradient-forest); border-color: transparent; color: #fff; box-shadow: var(--shadow-sm); }

.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.portfolio-card { border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-sm); transition: all 0.4s var(--ease-premium); }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.portfolio-card .empty-state { aspect-ratio: 4/3; border-radius: 0; border-width: 0 0 1px; }
.portfolio-card .portfolio-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-cream-100); }
.portfolio-card .portfolio-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 1.1rem; box-sizing: border-box; display: block; transition: transform 0.5s var(--ease-premium); }
.portfolio-card:hover .portfolio-photo img { transform: scale(1.03); }
.portfolio-card { display: block; }
.portfolio-card .empty-state, .portfolio-card .portfolio-photo { position: relative; }
.portfolio-card .hover-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  background: rgba(32, 31, 27, 0.5); opacity: 0; transition: opacity 0.35s ease;
}
.portfolio-card:hover .hover-overlay { opacity: 1; }
.portfolio-card .hover-overlay span {
  background: var(--color-white); color: var(--color-charcoal-900); padding: 0.65rem 1.3rem; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transform: translateY(6px); transition: transform 0.35s var(--ease-premium);
}
.portfolio-card:hover .hover-overlay span { transform: translateY(0); }
.portfolio-card .meta { padding: 1.35rem 1.5rem; }
.portfolio-card .meta .tag { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-rattan-700); font-weight: 700; }
.portfolio-card .meta h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-top: 0.35rem; }
.portfolio-item.is-hidden { display: none; }

@media (min-width: 680px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Página de producto ---- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.product-gallery-main { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; background: var(--color-cream-100); }
.product-thumbs { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 0.65rem; }
.product-thumbs .empty-state { aspect-ratio: 1/1; border-radius: var(--radius-sm); min-height: 0; padding: 0.4rem; }
.product-thumbs .empty-state .ico { width: 26px; height: 26px; }
.product-thumbs .empty-state b, .product-thumbs .empty-state small { display: none; }
@media (max-width: 420px) { .product-thumbs { grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 0.5rem; } }

.product-notice {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.75rem;
  border-radius: var(--radius-md); background: var(--color-rattan-200); border: 1px solid var(--color-rattan-300);
}
.product-notice .ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--color-white); color: var(--color-rattan-700); display: flex; align-items: center; justify-content: center; }
.product-notice b { display: block; font-size: 0.86rem; color: var(--color-rattan-800); }
.product-notice span { display: block; font-size: 0.78rem; color: var(--color-rattan-700); margin-top: 0.15rem; }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 680px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.product-info .price { font-family: var(--font-serif); font-size: 1.8rem; color: var(--color-sage-700); margin: 0.75rem 0 0.4rem; }
.product-info .price-note { font-size: 0.82rem; color: var(--color-stone-600); margin-bottom: 1.25rem; }
.product-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; padding: 0.4rem 0.85rem; border-radius: var(--radius-full); background: var(--color-sage-100); color: var(--color-sage-700); text-transform: uppercase; letter-spacing: 0.04em; }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.spec-table tr { border-bottom: 1px solid var(--color-stone-200); }
.spec-table td { padding: 0.85rem 0; font-size: 0.88rem; }
.spec-table td:first-child { color: var(--color-stone-600); width: 42%; font-weight: 500; }
.spec-table td:last-child { color: var(--color-charcoal-700); font-weight: 600; }


.product-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1rem; }

@media (min-width: 960px) { .product-layout { grid-template-columns: 1.15fr 1fr; } }

/* ---- Cotización / Contacto forms ---- */
.form-shell { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.75rem, 4vw, 3rem); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.field label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-stone-600); margin-bottom: 0.55rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.95rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-stone-200); background: var(--color-cream-100);
  font-size: 0.92rem; color: var(--color-charcoal-700);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-sage-600); background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(63, 93, 70, 0.12);
}
.field .error-msg { display: none; font-size: 0.74rem; color: #B3261E; margin-top: 0.4rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error .error-msg { display: block; }

.form-error-msg {
  display: none; margin-top: 1rem; padding: 0.85rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(179, 38, 30, 0.08); color: #B3261E; font-size: 0.84rem; text-align: center;
}
.form-error-msg.is-visible { display: block; }

.upload-zone {
  border: 1.5px dashed var(--color-stone-200); border-radius: var(--radius-md);
  padding: 2rem 1.5rem; text-align: center; cursor: pointer;
  background: var(--color-cream-100); transition: all 0.3s ease;
}
.upload-zone:hover, .upload-zone.is-dragover { border-color: var(--color-sage-500); background: var(--color-sage-100); }
.upload-zone .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--color-white); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.85rem; color: var(--color-sage-600); box-shadow: var(--shadow-sm); }
.upload-zone b { font-size: 0.88rem; color: var(--color-charcoal-700); }
.upload-zone small { display: block; font-size: 0.74rem; color: var(--color-stone-600); margin-top: 0.3rem; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.upload-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb .remove { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(32,31,27,0.7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }

.hidden-form { display: none; }
.success-panel { display: none; text-align: center; padding: 3rem 1rem; }
.success-panel.is-visible { display: block; animation: fade-in-up 0.6s var(--ease-premium); }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.success-panel .ico { width: 68px; height: 68px; border-radius: 50%; background: var(--color-sage-100); color: var(--color-sage-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.success-panel h3 { margin-bottom: 0.6rem; }
.success-panel p { max-width: 420px; margin: 0 auto; }

/* ---- Reseñas ---- */
.reviews-shell { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform 0.7s var(--ease-premium); }
.review-slide { flex: 0 0 100%; padding: 0 0.5rem; }
.review-page { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 680px) { .review-page { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-page { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--color-white); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-md); text-align: center; max-width: 640px; margin: 0 auto; }
.review-page .review-card { max-width: none; margin: 0; height: 100%; display: flex; flex-direction: column; text-align: left; }
.review-page .review-stars { justify-content: flex-start; }
.review-page .review-person { justify-content: flex-start; }
.review-page .review-quote { font-size: 1rem; }
.review-stars { display: flex; justify-content: center; gap: 0.3rem; color: var(--color-gold-500); margin-bottom: 1.25rem; }
.review-quote { font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--color-charcoal-900); line-height: 1.5; margin-bottom: 1.75rem; }
.review-person { display: flex; align-items: center; justify-content: center; gap: 0.85rem; }
.review-avatar { width: 52px; height: 52px; border-radius: 50%; }
.review-person b { display: block; font-size: 0.9rem; }
.review-person span { font-size: 0.76rem; color: var(--color-stone-600); }
.review-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; align-items: center; }
.review-dots { display: flex; gap: 0.5rem; }
.review-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--color-stone-200); transition: all 0.35s ease; }
.review-dots button.active { width: 24px; border-radius: var(--radius-full); background: var(--gradient-gold); }
.review-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--color-white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--color-sage-700); transition: all 0.3s ease; }
.review-arrow:hover { background: var(--color-sage-700); color: #fff; }

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.75rem; text-align: left; background: transparent; border: none;
  font-family: var(--font-serif); font-size: 1.02rem; color: var(--color-charcoal-900);
}
.faq-question .plus { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--color-sage-100); color: var(--color-sage-700); display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease-premium), background 0.3s ease, color 0.3s ease; }
.faq-item.is-open .faq-question .plus { transform: rotate(135deg); background: var(--gradient-gold); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-premium); }
.faq-answer p { padding: 0 1.75rem 1.5rem; font-size: 0.9rem; }

/* ---- Contacto ---- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.5rem 0 2rem; }
.contact-info-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-sm); transition: all 0.35s var(--ease-premium); }
.contact-info-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.contact-info-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--color-sage-100); color: var(--color-sage-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item b { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-stone-600); }
.contact-info-item span { font-size: 0.92rem; font-weight: 600; }
.social-row { display: flex; gap: 0.75rem; }
.social-row a { width: 44px; height: 44px; border-radius: 50%; background: var(--color-white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--color-sage-700); transition: all 0.35s var(--ease-premium); }
.social-row a:hover { background: var(--gradient-forest); color: #fff; transform: translateY(-4px); }
.map-frame { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; margin-top: 1.5rem; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

/* ---- CTA Banda ---- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.75rem, 5vw, 4rem); text-align: center; }
.cta-band-bg { position: absolute; inset: 0; background: var(--gradient-forest); }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(100deg, rgba(255,255,255,0.05) 0 3px, transparent 3px 60px); }
.cta-band > *:not(.cta-band-bg) { position: relative; z-index: 1; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.9); }
.cta-band .eyebrow::before { background: var(--color-gold-400); }
.cta-band .lede { color: rgba(255,255,255,0.78); max-width: 560px; margin: 1rem auto 2.25rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- Footer ---- */
.site-footer { background: var(--color-charcoal-900); color: rgba(255,255,255,0.65); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.75rem; padding-bottom: 3.5rem; }
.footer-brand .brand-text .r1 { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 1.25rem 0 1.5rem; max-width: 320px; }
.footer-col h5 { color: #fff; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col a:hover { color: var(--color-gold-400); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.75rem 0; display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; font-size: 0.78rem; }
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom .legal-links a:hover { color: #fff; }

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); } }
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---- Reseñas: carrusel automático (cuando hay reseñas reales publicadas) ---- */
.reviews-grid { width: 100%; }

.review-cta-panel { text-align: center; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(2rem, 4vw, 3rem); }

/* ---- Modal genérico (Dejar una reseña) ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  padding: 1.5rem; background: rgba(32, 31, 27, 0.6); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.35s ease;
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal-box {
  position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  transform: scale(0.94) translateY(16px); opacity: 0;
  transition: transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}
.modal-overlay.is-open .modal-box { transform: scale(1) translateY(0); opacity: 1; }
.modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-cream-100); color: var(--color-charcoal-700);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.modal-close:hover { background: var(--color-sage-100); color: var(--color-sage-700); }

/* ---- Selector de estrellas ---- */
.star-rating { display: inline-flex; gap: 0.35rem; }
.star-rating button {
  background: none; border: none; padding: 0; line-height: 0; color: var(--color-stone-200);
  transition: color 0.25s ease, transform 0.2s ease;
}
.star-rating button svg { width: 32px; height: 32px; }
.star-rating button.is-filled { color: var(--color-gold-500); }
.star-rating button:hover { transform: scale(1.12); }
.star-rating-hint { font-size: 0.78rem; color: var(--color-stone-600); margin-top: 0.5rem; }
.field.has-error .star-rating-hint { color: #B3261E; }

/* ---- Línea Kids: tema pastel + animales animados de fondo ---- */
#portfolio-results { position: relative; overflow: hidden; transition: background 0.7s ease; }
#portfolio-results.theme-kids {
  background: linear-gradient(160deg, #FDEFF3 0%, #EAF6FB 45%, #FFF9E5 100%);
}
#portfolio-results .container { position: relative; z-index: 1; }

#portfolio-results.theme-kids .filter-chip.active {
  background: linear-gradient(135deg, #F6A8C0, #FBD3E0); border-color: transparent; color: #6B3550; box-shadow: var(--shadow-sm);
}
#portfolio-results.theme-kids h1,
#portfolio-results.theme-kids .eyebrow { color: inherit; }

.kids-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.7s ease; overflow: hidden; }
#portfolio-results.theme-kids .kids-decor { opacity: 1; }
.kids-decor .animal { position: absolute; opacity: 0.85; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.1)); will-change: transform; }

.kids-decor .a1 { top: 10%; left: 0; width: 130px; animation: kids-roam-1 16s ease-in-out infinite; }
.kids-decor .a2 { top: 60%; left: 0; width: 105px; animation: kids-roam-2 19s ease-in-out infinite; }
.kids-decor .a3.elephant { top: 16%; left: 0; width: 210px; animation: kids-roam-3 22s ease-in-out infinite; }
.kids-decor .a4 { top: 42%; left: 0; width: 120px; animation: kids-roam-4 17s ease-in-out infinite; }
.kids-decor .a5 { top: 80%; left: 0; width: 80px; animation: kids-roam-2 14s ease-in-out infinite reverse; }
.kids-decor .a6.croc { top: 30%; left: 0; width: 220px; animation: kids-roam-5 21s ease-in-out infinite; }

@keyframes kids-roam-1 {
  0%   { transform: translate(-15vw, 0) rotate(-4deg); }
  25%  { transform: translate(28vw, -34px) rotate(3deg); }
  50%  { transform: translate(60vw, 14px) rotate(-3deg); }
  75%  { transform: translate(90vw, -22px) rotate(4deg); }
  100% { transform: translate(-15vw, 0) rotate(-4deg); }
}
@keyframes kids-roam-2 {
  0%   { transform: translate(105vw, 0) rotate(3deg) scaleX(-1); }
  30%  { transform: translate(65vw, -24px) rotate(-3deg) scaleX(-1); }
  60%  { transform: translate(30vw, 18px) rotate(3deg) scaleX(-1); }
  100% { transform: translate(-20vw, -10px) rotate(-2deg) scaleX(-1); }
}
@keyframes kids-roam-3 {
  0%   { transform: translate(-25vw, 0) rotate(-2deg); }
  33%  { transform: translate(25vw, -28px) rotate(2deg); }
  66%  { transform: translate(65vw, 20px) rotate(-2deg); }
  100% { transform: translate(105vw, 0) rotate(2deg); }
}
@keyframes kids-roam-4 {
  0%   { transform: translate(105vw, 0) rotate(-3deg) scaleX(-1); }
  40%  { transform: translate(55vw, -30px) rotate(3deg) scaleX(-1); }
  70%  { transform: translate(20vw, 16px) rotate(-3deg) scaleX(-1); }
  100% { transform: translate(-20vw, 0) rotate(3deg) scaleX(-1); }
}
@keyframes kids-roam-5 {
  0%   { transform: translate(-25vw, 0) rotate(0deg); }
  50%  { transform: translate(50vw, -16px) rotate(1deg); }
  100% { transform: translate(115vw, 0) rotate(0deg); }
}

@media (max-width: 720px) {
  .kids-decor .a3.elephant { width: 140px; }
  .kids-decor .a6.croc { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .kids-decor .animal { animation: none; left: 8%; }
  .kids-decor .a2, .kids-decor .a4 { left: auto; right: 8%; }
}

.kids-banner {
  display: none; margin: 0 auto 2.5rem; max-width: 900px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.kids-banner img { width: 100%; height: auto; display: block; }
#portfolio-results.theme-kids .kids-banner {
  display: block;
  animation: kids-banner-fade-in 0.6s ease forwards, kids-banner-float 5s ease-in-out 0.6s infinite;
}

@keyframes kids-banner-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes kids-banner-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  #portfolio-results.theme-kids .kids-banner { animation: kids-banner-fade-in 0.6s ease forwards; }
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-forest); color: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease-premium);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
