/* ReseñaLo — Original Design System
   BitekSolutions 2026 — Built from scratch */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --color-primary: #1a2744;
  --color-primary-light: #253660;
  --color-accent: #e8600a;
  --color-accent-hover: #c45008;
  --color-green: #2a7a4b;
  --color-green-light: #e8f5ee;
  --color-white: #ffffff;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f1f3f5;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;
  --color-text: #1c1c2e;
  --color-text-muted: #5a5a72;
  --color-border: #e2e6ea;
  --color-gold: #d4a017;
  --color-badge-best: #1a7a3a;
  --color-badge-editors: #1a3a7a;
  --color-badge-budget: #7a1a1a;

  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 40px rgba(0,0,0,.14);

  --transition: 0.2s ease;
  --max-width: 1200px;
  --content-width: 820px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: var(--content-width); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo span { color: var(--color-accent); }
.site-logo:hover { color: var(--color-white); opacity: 0.9; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-switcher {
  display: flex;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  font-size: 0.8rem;
}
.lang-switcher a {
  color: rgba(255,255,255,.7);
  padding: 0.3rem 0.65rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-search {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.btn-search:hover { color: var(--color-white); }

.header-nav {
  border-top: 1px solid rgba(255,255,255,.1);
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-list li { flex-shrink: 0; }

.nav-list a {
  display: block;
  color: rgba(255,255,255,.8);
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.4rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d3f6b 60%, #1a2744 100%);
  color: var(--color-white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232,96,10,.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(42,122,75,.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(4px);
}
.hero-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-card a { text-decoration: none; color: inherit; }

.hero-card-image {
  width: 100%;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, rgba(232,96,10,.25) 0%, rgba(42,122,75,.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-image .img-placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}
.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-body { padding: 1rem 1.1rem; }
.hero-card-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.hero-card-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: white;
  color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: white;
}

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; }

.btn-amazon {
  background: #FF9900;
  color: #0f1111;
  border-color: #FF9900;
  font-weight: 700;
}
.btn-amazon:hover { background: #e88a00; border-color: #e88a00; color: #0f1111; }

/* ============================================================
   Section Headers
   ============================================================ */
.section { padding: 3rem 0; }
.section--gray { background: var(--color-gray-50); }
.section--dark { background: var(--color-primary); color: white; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--color-primary);
  margin: 0;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.4rem;
  border-radius: 2px;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   Article / Guide Cards
   ============================================================ */
.guide-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.guide-card a { text-decoration: none; }

.guide-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-gray-400);
  font-size: 0.8rem;
}

.img-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }

.guide-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.guide-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.guide-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.guide-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.guide-card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

/* ============================================================
   Product Cards
   ============================================================ */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); }

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-best { background: var(--color-badge-best); color: white; }
.badge-editors { background: var(--color-badge-editors); color: white; }
.badge-budget { background: var(--color-badge-budget); color: white; }
.badge-new { background: var(--color-accent); color: white; }

.product-card-image {
  width: 100%;
  background: var(--color-gray-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.product-card-photo-caption {
  display: block;
  width: 100%;
  font-size: 0.68rem;
  color: var(--color-gray-400, #9ca3af);
  text-align: center;
  padding: 0.2rem 0.5rem;
  font-style: italic;
  line-height: 1.3;
  background: var(--color-gray-50);
}

.product-card-body { padding: 1.1rem 1.25rem; }

.product-card-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.product-card-name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.product-card-pros {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.product-card-pros li {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.25rem;
}
.product-card-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.product-card-bestfor {
  background: var(--color-green-light);
  border-left: 3px solid var(--color-green);
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  color: var(--color-green);
  font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
}

.product-card-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-price-note {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   Comparison Table
   ============================================================ */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}

.comparison-table th {
  background: var(--color-primary);
  color: white;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-md) 0 0; }

.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--color-gray-50); }
.comparison-table tr:hover td { background: #fffbf7; }

.comparison-table .product-name { font-weight: 700; color: var(--color-primary); }
.comparison-table .check { color: var(--color-green); font-weight: 700; }
.comparison-table .cross { color: #c0392b; }

/* ============================================================
   Pros / Cons
   ============================================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-block, .cons-block {
  border-radius: var(--radius-md);
  padding: 1.1rem;
}
.pros-block {
  background: #f0faf5;
  border: 1px solid #b2dfcc;
}
.cons-block {
  background: #fdf3f3;
  border: 1px solid #f5c2c2;
}

.pros-block h4 { color: #1e6b40; margin-bottom: 0.6rem; font-size: 0.9rem; }
.cons-block h4 { color: #a02020; margin-bottom: 0.6rem; font-size: 0.9rem; }

.pros-block ul, .cons-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-block li, .cons-block li {
  font-size: 0.85rem;
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.pros-block li::before { content: '+'; position: absolute; left: 0; color: #1e6b40; font-weight: 700; }
.cons-block li::before { content: '−'; position: absolute; left: 0; color: #a02020; font-weight: 700; }

/* ============================================================
   Buyer Guide / Article Content
   ============================================================ */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.buyer-guide-box {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border: 1px solid #c5d3f5;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.buyer-guide-box h3 {
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.buyer-guide-steps {
  counter-reset: guide-step;
  list-style: none;
  padding: 0;
}
.buyer-guide-steps li {
  counter-increment: guide-step;
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.buyer-guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section { margin: 2.5rem 0; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--color-gray-50);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-gray-100); }
.faq-question.open { background: var(--color-primary); color: white; }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }

/* ============================================================
   Affiliate Disclosure
   ============================================================ */
.disclosure {
  background: #fffbf0;
  border: 1px solid #f5e0a0;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.82rem;
  color: #6b5500;
  line-height: 1.5;
  margin: 1.25rem 0 1.75rem;
}
.disclosure strong { color: #4a3800; }

/* ============================================================
   Category Cards
   ============================================================ */
.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.category-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.category-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.category-card-count {
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

/* ============================================================
   Trust Signals
   ============================================================ */
.trust-section { background: var(--color-primary); padding: 3rem 0; }
.trust-section .section-title { color: white; }
.trust-section .section-title::after { background: var(--color-accent); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: center;
  color: rgba(255,255,255,.9);
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.4rem;
}
.trust-item h4 { color: white; margin-bottom: 0.4rem; font-size: 1rem; }
.trust-item p { font-size: 0.85rem; color: rgba(255,255,255,.7); margin: 0; }

/* ============================================================
   Newsletter CTA Placeholder
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c45008 100%);
  padding: 2.5rem 0;
  text-align: center;
}
.newsletter-section h2 { color: white; margin-bottom: 0.75rem; }
.newsletter-section p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; font-size: 1rem; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.newsletter-form .btn {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.newsletter-form .btn:hover { background: var(--color-primary-light); color: white; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-gray-50);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb-list a { color: var(--color-gray-600); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--color-accent); }
.breadcrumb-list li:last-child a { color: var(--color-text); font-weight: 500; }
.breadcrumb-sep { color: var(--color-gray-400); font-size: 0.75rem; }

/* ============================================================
   Page Header (for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a3a5e 100%);
  color: white;
  padding: 2.5rem 0;
}
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }

.page-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.page-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   Table of Contents
   ============================================================ */
.toc-box {
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-600);
  margin-bottom: 0.75rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc-list li {
  counter-increment: toc;
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.toc-list li::before {
  content: counter(toc) '.';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.toc-list a { color: var(--color-primary); font-size: 0.875rem; font-weight: 500; }
.toc-list a:hover { color: var(--color-accent); }

/* ============================================================
   Info Boxes
   ============================================================ */
.info-box {
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.info-box-tip { background: #f0f9ff; border-left: 4px solid #2196F3; }
.info-box-warn { background: #fffbf0; border-left: 4px solid #FF9800; }
.info-box-note { background: #f5f0ff; border-left: 4px solid #7C4DFF; }
.info-box strong { display: block; margin-bottom: 0.4rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-gray-900);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .site-logo { font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

.footer-disclosure {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}

/* ============================================================
   Language Splash (root index)
   ============================================================ */
.lang-splash {
  min-height: 100vh;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.lang-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(232,96,10,.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(42,122,75,.15) 0%, transparent 60%);
}

.lang-splash-logo {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  position: relative;
}
.lang-splash-logo span { color: var(--color-accent); }

.lang-splash-tagline {
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 2.5rem;
  position: relative;
}

.lang-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.lang-option {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: white;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
}
.lang-option:hover {
  border-color: var(--color-accent);
  background: rgba(232,96,10,.15);
  color: white;
  transform: translateY(-3px);
}

.lang-option-flag { font-size: 2.5rem; }
.lang-option-label { font-size: 1.1rem; font-weight: 700; }
.lang-option-sub { font-size: 0.8rem; color: rgba(255,255,255,.65); }

.lang-splash-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  position: relative;
}

/* ============================================================
   CafeterasCon Partner Banner
   ============================================================ */
.partner-banner {
  background: linear-gradient(135deg, #2d1a00 0%, #4a2e00 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
  text-decoration: none;
  transition: opacity var(--transition);
  margin: 2rem 0;
}
.partner-banner:hover { opacity: 0.92; color: white; }
.partner-banner-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-banner-body h4 { color: #FFD166; margin-bottom: 0.25rem; font-size: 1rem; }
.partner-banner-body p { margin: 0; font-size: 0.875rem; color: rgba(255,255,255,.8); line-height: 1.5; }
.partner-banner-arrow { margin-left: auto; flex-shrink: 0; color: #FFD166; font-size: 1.4rem; }
/* ============================================================
   Partner Page (CafeterasCon referral pages)
   ============================================================ */
.partner-page-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 2.5rem;
}
.partner-page-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.partner-card {
  background: var(--color-white, #fff);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.partner-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(26,39,68,.08);
  border-radius: 4px;
  padding: 0.2em 0.55em;
  margin-bottom: 0.75rem;
}
.partner-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--color-gray-900);
}
.partner-card-body {
  color: var(--color-gray-600, #4b5563);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr; }
  /* Compact nav padding for 9-item nav at tablet widths */
  .nav-list a { padding: 0.5rem 0.65rem; font-size: 0.82rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0; }
  .section { padding: 2rem 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .lang-options { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .partner-banner { flex-direction: column; text-align: center; }
  .partner-banner-arrow { display: none; }
  .hamburger { display: block; }
  .header-nav { display: none; }
  .header-nav.open { display: block; }
}

@media (max-width: 480px) {
  .header-top { padding: 0.6rem 1rem; }
  .site-logo { font-size: 1.35rem; }
}
