/* ─── Arte Vegetal — Brand Styles ─── */

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

:root {
  --bg:            #F0EBE1;
  --bg-card:       #FAF6F0;
  --bg-card-alt:   #EDE5D8;
  --bg-dark:       #2C2416;
  --text:          #1C1C1A;
  --text-secondary: #4A4A44;
  --text-muted:    #5E5E57;
  --text-dim:      rgba(28,28,26,0.35);
  --accent:        #8B6F47;
  --accent-green:  #3D5A38;
  --accent-gold:   #C49A3C;
  --border:        rgba(28,28,26,0.10);
  --border-subtle: rgba(28,28,26,0.06);
  --navbar-bg:     rgba(240,235,225,0.85);

  --font-heading: 'DM Serif Display', serif;
  --font-body:    'Inter Tight', Inter, -apple-system, sans-serif;

  --radius-card:   24px;
  --radius-card-lg: 28px;
  --radius-btn:    10px;
  --radius-btn-sm: 8px;
  --radius-icon:   12px;

  --shadow-card:   0 2px 24px rgba(28,28,26,0.08);
  --shadow-hover:  0 8px 40px rgba(28,28,26,0.14);

  --hero-gradient: radial-gradient(ellipse at center, rgba(139,111,71,0.10) 0%, rgba(139,111,71,0.04) 40%, transparent 70%);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── Noise Texture Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}

/* ─── Typography Helpers ─── */
.heading-serif { font-family: var(--font-heading); font-weight: 400; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #7a6040; box-shadow: 0 4px 16px rgba(139,111,71,0.35); }

.btn-green {
  background: var(--accent-green);
  color: #fff;
}
.btn-green:hover { background: #2d4429; box-shadow: 0 4px 16px rgba(61,90,56,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card-alt); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1fbb57; box-shadow: 0 4px 16px rgba(37,211,102,0.35); }

.btn-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.btn-ig:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(220,39,67,0.3); }

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }

/* ─── Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  height: 60px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  white-space: nowrap;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.navbar-links a:hover {
  color: var(--text);
  background: var(--border-subtle);
}

.navbar-cta { margin-left: 8px; }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav .btn { margin-top: 12px; align-self: flex-start; }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  padding: 4px 8px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 4px;
}
.mobile-nav-close:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }

/* hero fallback text hidden visually but present in the accessible tree */
.hero-heading-fallback {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 14px;
  background: rgba(139,111,71,0.08);
  border-radius: 100px;
  border: 1px solid rgba(139,111,71,0.15);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-heading-animated {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-style: italic;
  color: var(--accent);
  height: 1.2em;
  overflow: hidden;
  position: relative;
}

.hero-animated-text {
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-animated-text.active {
  opacity: 1;
  transform: translateY(0);
}
.hero-animated-text.exit {
  opacity: 0;
  transform: translateY(-40px);
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 24px auto 36px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-group-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.hero-group-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.hero-group-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-group-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee-section {
  background: var(--bg-dark);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  white-space: nowrap;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.marquee-item .marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

.marquee-item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.marquee-item .marquee-photo {
  border-radius: 50%;
  object-fit: cover;
  filter: none;
  opacity: 0.88;
}

/* ─────────────────────────────────────────
   SECTION SHARED
───────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-label { margin-bottom: 12px; display: block; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   FEATURED PRODUCTS
───────────────────────────────────────── */
.section-products {
  padding: 100px 0;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Large card spans full left column */
.product-card-large {
  grid-row: 1 / 3;
  background: var(--bg-card);
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card-large:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card-large .card-image {
  height: 300px;
  background: var(--bg-card-alt);
  overflow: hidden;
  position: relative;
}
.product-card-large .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card-large:hover .card-image img { transform: scale(1.05); }

/* Mosaic layout for cremas card */
.card-mosaic {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.card-mosaic .mosaic-main {
  grid-row: 1 / 3;
}
.card-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card-large:hover .card-mosaic img { transform: scale(1.05); }

.product-card-large .card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.card-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.card-varieties {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Medium and small cards */
.product-card-medium,
.product-card-small {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card-medium:hover,
.product-card-small:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card-medium .card-image,
.product-card-small .card-image {
  height: 180px;
  background: var(--bg-card-alt);
  overflow: hidden;
}
.product-card-medium .card-image img,
.product-card-small .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card-medium:hover .card-image img,
.product-card-small:hover .card-image img { transform: scale(1.04); }

.product-card-medium .card-body,
.product-card-small .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

/* ─────────────────────────────────────────
   STORY BANNER (section-files)
───────────────────────────────────────── */
.section-files {
  padding: 100px 0;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.files-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.files-text .story-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
  padding: 5px 12px;
  background: rgba(196,154,60,0.12);
  border-radius: 100px;
  border: 1px solid rgba(196,154,60,0.2);
}

.files-text .story-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.files-text .story-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

.files-image {
  position: relative;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.files-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.files-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,90,56,0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* ─────────────────────────────────────────
   CATEGORIES CAROUSEL (section-features)
───────────────────────────────────────── */
.section-features {
  padding: 100px 0;
  background: var(--bg);
}

.features-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: transparent;
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.feature-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139,111,71,0.04);
}

.feature-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.feature-tab .tab-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.features-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.features-panel.active { display: grid; }

.panel-text {}

.panel-category-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.panel-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.panel-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-emoji-placeholder {
  font-size: 5rem;
  opacity: 0.5;
}

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.section-stats {
  padding: 72px 0;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ─────────────────────────────────────────
   PRODUCTS GRID (catalogue)
───────────────────────────────────────── */
.section-apps {
  padding: 100px 0;
  background: var(--bg);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.app-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

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

.app-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-card-alt);
}

.app-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.app-card:hover .app-card-photo img {
  transform: scale(1.08);
}

.app-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(28,28,26,0.6) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.app-card-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.app-card-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.app-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.app-category {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.app-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.app-size {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.apps-cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.apps-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
}

.apps-cta-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ─────────────────────────────────────────
   CONTACT BANNER (section-oss / section-contact)
───────────────────────────────────────── */
.section-contact {
  padding: 120px 0;
  background: var(--accent-green);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.contact-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.social-link:hover { background: rgba(255,255,255,0.14); color: #fff; }

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-heart { color: var(--accent-gold); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar-links, .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }

  .hero-groups { grid-template-columns: 1fr; gap: 10px; max-width: 340px; }
  .hero-group-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
  .hero-group-icons { margin-bottom: 0; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card-large { grid-row: auto; }

  .files-inner { grid-template-columns: 1fr; gap: 40px; }
  .files-image { aspect-ratio: 16/9; }

  .features-tabs { gap: 6px; }
  .feature-tab { font-size: 0.8rem; padding: 8px 14px; }
  .features-panel { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .features-panel.active { display: flex; flex-direction: column-reverse; }

  .stats-row { grid-template-columns: 1fr; max-width: 320px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 16px; }

  .apps-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 16px 60px; }
  .section-inner { padding: 0 16px; }
  .files-inner { padding: 0 16px; }
  .contact-inner { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }

  .apps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .apps-cta-block { padding: 32px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-btns { flex-direction: column; align-items: center; }

  .features-panel { padding: 24px; }
}

/* ═════════════════════════════════════════
   TASK 4 — CATALOGUE FILTER + "AGREGAR"
═════════════════════════════════════════ */
.catalogue-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139,111,71,0.05);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Wrapper is the actual grid item */
.app-card-wrap {
  display: flex;
  flex-direction: column;
}

/* app-card fills wrapper, rounded only on top since add-btn is below */
.app-card-wrap .app-card {
  flex: 1;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  border-bottom: none;
}

/* Hidden card (filter state) */
.app-card-wrap.cat-hidden {
  display: none;
}

/* "Agregar al carrito" button — sticks to bottom of card */
.card-add-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  letter-spacing: 0.01em;
  min-height: 44px;
}

.card-add-btn:hover { background: #7a5f3c; }

.card-add-btn.in-cart { background: var(--accent-green); }

.card-add-btn:active { transform: scale(0.98); }

/* ─── Variant pickers (sizes & flavors) ─── */
.variant-picker {
  padding: 8px 12px 4px;
  background: var(--surface);
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-pill {
  padding: 4px 10px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-height: 30px;
}

.size-pill.active,
.size-pill:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.flavor-picker {
  padding: 8px 12px 4px;
}

.flavor-select {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
  min-height: 36px;
}

.flavor-select:focus { border-color: var(--accent); }

/* ═════════════════════════════════════════
   TASK 5 — FLOATING CART FAB + DRAWER
═════════════════════════════════════════ */
.cart-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(61,90,56,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(61,90,56,0.5);
}

.cart-fab:active { transform: scale(0.96); }

.cart-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--bg);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.4);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--bg);
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(28,28,26,0.15);
}

.cart-drawer:not([hidden]) { display: flex; }
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.15s;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-close:hover { color: var(--text); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cart-empty.hidden { display: none; }

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px;
}

.cart-item-photo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-size {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
  padding: 0;
}

.qty-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  min-width: 20px;
  text-align: center;
}

.cart-remove {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  margin-top: 2px;
  transition: color 0.15s;
  border-radius: 4px;
  min-width: 24px;
  text-align: center;
}

.cart-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-footer.hidden { display: none; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cart-total-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
}

.cart-checkout-btn { width: 100%; justify-content: center; }

/* ═════════════════════════════════════════
   TASK 6 — CHECKOUT MODAL
═════════════════════════════════════════ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.5);
  z-index: 590;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.checkout-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) scale(0.97);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-card-lg);
  z-index: 600;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 80px rgba(28,28,26,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.checkout-modal:not([hidden]).open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-close:hover { color: var(--text); }

.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.cs-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cs-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cs-dot.done   { background: var(--accent-green); border-color: var(--accent-green); color: #fff; }

.cs-line {
  flex: 1;
  max-width: 48px;
  height: 2px;
  background: var(--border);
}

.checkout-panel { display: none; }
.checkout-panel.active { display: block; }

.checkout-panel-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.checkout-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  gap: 16px;
}

.checkout-summary-item strong { color: var(--text); flex-shrink: 0; }

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--text);
}

.checkout-total-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
}

.checkout-next-btn { width: 100%; justify-content: center; }

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.payment-option:hover {
  border-color: var(--accent);
  background: rgba(139,111,71,0.04);
  transform: translateY(-1px);
}

.payment-option:active { transform: scale(0.99); }

.payment-option-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.payment-option-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.payment-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.payment-option-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
  min-height: 44px;
}

.form-group input:focus { border-color: var(--accent); }
.form-group input.error { border-color: #c0392b; }

.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 16px;
  display: block;
}

.checkout-form .btn { margin-top: 8px; width: 100%; justify-content: center; }

@media (max-width: 600px) {
  .checkout-modal { padding: 28px 20px 24px; }
  .cart-fab { bottom: 20px; right: 16px; }
  .catalogue-filter { gap: 6px; }
  .filter-pill { font-size: 0.78rem; padding: 7px 14px; }
}

/* ═════════════════════════════════════════
   REVIEWS SECTION
═════════════════════════════════════════ */
.section-reviews {
  padding: 100px 0 80px;
  background: var(--bg);
}

.reviews-carousel {
  position: relative;
  margin-bottom: 32px;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 220px;
}

@media (max-width: 900px) {
  .reviews-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .reviews-track { grid-template-columns: 1fr; }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.review-card--hidden { display: none; }

.review-stars {
  display: flex;
  gap: 3px;
}

.review-star {
  font-size: 1.1rem;
  color: var(--border);
  line-height: 1;
}

.review-star.filled {
  color: var(--accent-gold);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}

.review-ig-icon {
  color: #c13584;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.review-handle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.reviews-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.reviews-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.reviews-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139,111,71,0.05);
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.reviews-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.reviews-footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* ─── Review Modal ─── */
.review-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.5);
  z-index: 590;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.review-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.review-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) scale(0.97);
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-card-lg);
  z-index: 600;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 80px rgba(28,28,26,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.review-modal:not([hidden]).open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.review-modal-close:hover { color: var(--text); }

.review-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.review-modal-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.review-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.review-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.review-field input,
.review-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  min-height: 44px;
}

.review-field input:focus,
.review-field textarea:focus { border-color: var(--accent); }

.review-field input.error,
.review-field textarea.error { border-color: #c0392b; }

.field-error {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 16px;
}

.star-picker {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.star-btn {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--border);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.15s, transform 0.1s;
}

.star-btn.selected,
.star-btn.hovered { color: var(--accent-gold); }

.star-btn:hover { transform: scale(1.15); }

.btn-submit-review {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ─── Review Toast ─── */
.review-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: #fff;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 700;
  box-shadow: 0 8px 32px rgba(61,90,56,0.3);
  white-space: nowrap;
}

.review-toast[hidden] { display: none; }
