/* ============================================
   GoBike Phu Quoc — Grab-style Design System
   ============================================ */

/* --- CSS Custom Properties (Grab Palette) --- */
:root {
  --green: #02B150;
  --green-light: #7BDCB5;
  --green-dark: #008C3E;
  --green-bg: #E8F8F0;
  --tuna: #363A45;
  --gray-600: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --light-bg: #F5F7FA;
  --white: #FFFFFF;
  --yellow: #FFD600;
  --red: #E53935;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --max-w: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tuna);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--tuna); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 0.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--gray-600); }

.text-green { color: var(--green); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: var(--light-bg);
}

.section-green {
  padding: 4rem 0;
  background: var(--green-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.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.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; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--green-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1DA851;
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

/* --- Header / Navbar --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tuna);
  text-decoration: none;
}
.logo span { color: var(--green); }

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav a {
  color: var(--tuna);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav a:hover,
.nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

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

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 0.125rem;
}

.lang-switcher a {
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--green);
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tuna);
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #003d1a 0%, #006b2e 50%, #02B150 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--white));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gray-200);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.card-price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-600);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: var(--green-bg);
  color: var(--green-dark);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-popular {
  background: var(--yellow);
  color: var(--tuna);
}

/* --- USP Section --- */
.usp-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.usp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.usp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--green-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.step h3 { font-size: 1.125rem; }
.step p { font-size: 0.9375rem; }

/* --- Pricing Table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  table-layout: auto;
}

.price-table thead {
  background: var(--green);
  color: var(--white);
}

.price-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
}

.price-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.price-table tbody tr:hover {
  background: var(--green-bg);
}

.price-table .price-highlight {
  color: var(--green);
  font-weight: 700;
}

/* --- Reviews --- */
.review-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
}

.review-stars {
  color: var(--yellow);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.review-author {
  font-weight: 600;
  color: var(--tuna);
  font-size: 0.875rem;
}

.review-source {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 300;
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 1.25rem 1rem;
  max-height: 500px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--gray-400); margin: 0 0.5rem; }

/* --- Footer --- */
.footer {
  background: var(--tuna);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  display: block;
  padding: 0.25rem 0;
}
.footer a:hover { color: var(--green-light); }

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--green-light); }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-200);
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tuna);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* --- Map Placeholder --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Badge / Pill --- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: var(--green-bg); color: var(--green-dark); }
.badge-yellow { background: #FFF9C4; color: #F57F17; }
.badge-red { background: #FFEBEE; color: var(--red); }

/* --- Spec Grid (for bike pages) --- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.spec-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
}

.spec-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

.spec-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

/* --- Includes List (what's included) --- */
.includes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.includes-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.includes-item .check {
  width: 24px;
  height: 24px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* --- Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th {
  padding: 0.875rem;
  background: var(--light-bg);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
}

.compare-table td {
  padding: 0.875rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}

.compare-table tr:hover { background: var(--green-bg); }

/* --- Blog Article --- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2 { margin-top: 2rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content p { line-height: 1.8; }
.article-content ul, .article-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
  color: var(--gray-600);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.article-toc {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.article-toc h4 { margin-bottom: 0.75rem; }
.article-toc a { display: block; padding: 0.25rem 0; font-size: 0.9375rem; }

/* --- Article Hero & Section Images --- */
.article-hero {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-xl);
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.article-hero-label {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.article-section-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* --- Category Badge --- */
.category-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.category-badge.transport   { background: #dbeafe; color: #1d4ed8; }
.category-badge.safety      { background: #fee2e2; color: #b91c1c; }
.category-badge.destinations{ background: #dcfce7; color: #15803d; }
.category-badge.lifestyle   { background: #fef3c7; color: #b45309; }
.category-badge.guide       { background: #f3e8ff; color: #7c3aed; }

/* --- Social Proof Strip --- */
.social-proof-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f0fdf4;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}
.social-proof-strip span { color: var(--gray-600); }
.social-proof-strip strong { color: var(--tuna); }

/* --- Verdict Grid --- */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.verdict-box {
  padding: 1rem 1.25rem;
  border-radius: 0.625rem;
  border-left: 4px solid;
}
.verdict-box .verdict-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
  opacity: 0.7;
}
.verdict-box .verdict-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tuna);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.verdict-box .verdict-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}
.verdict-box .verdict-price {
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.verdict-box.short  { background: #eff6ff; border-color: #3b82f6; }
.verdict-box.short  .verdict-price { color: #1d4ed8; }
.verdict-box.medium { background: #f0fdf4; border-color: #22c55e; }
.verdict-box.medium .verdict-price { color: #15803d; }
.verdict-box.long   { background: #fefce8; border-color: #eab308; }
.verdict-box.long   .verdict-price { color: #a16207; }
.verdict-box.family { background: #fdf2f8; border-color: #ec4899; }
.verdict-box.family .verdict-price { color: #be185d; }

/* --- Price Example Cards --- */
.price-example {
  background: var(--light-bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.price-example h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--tuna);
}
.pe-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.375rem;
}
.pe-breakdown {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Wins Grid --- */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.wins-box {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.wins-box h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: var(--tuna);
}
.wins-box ul { padding-left: 1.25rem; }
.wins-box li { list-style: disc; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.375rem; }

/* --- FAQ Section --- */
.faq-section { margin: 2.5rem 0; }
.faq-section > h2 { margin-bottom: 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tuna);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
}
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
  transition: var(--transition);
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* --- Related Guides --- */
.related-guides {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.related-guides h3 { margin-bottom: 1rem; font-size: 1rem; }
.related-guides ul { padding: 0; }
.related-guides li { list-style: none; margin-bottom: 0.5rem; }
.related-guides a { font-size: 0.9rem; color: var(--green); font-weight: 500; }
.related-guides a::before { content: '→ '; }

/* --- Tag Cloud --- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.tag-cloud a {
  font-size: 0.75rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
  transition: var(--transition);
  text-decoration: none;
}
.tag-cloud a:hover { background: var(--green-bg); color: var(--green); }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.author-info h4 { margin: 0 0 0.25rem; font-size: 1rem; color: var(--tuna); }
.author-info .author-role { font-size: 0.8125rem; color: var(--green); font-weight: 500; margin-bottom: 0.5rem; }
.author-info p { font-size: 0.875rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

/* --- CTA Block --- */
.cta-block {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  color: white;
  margin: 2.5rem 0;
}
.cta-block h2 { color: white; margin-bottom: 0.5rem; font-size: 1.375rem; }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.cta-block .cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.cta-block .btn-primary { background: white; color: var(--green); }
.cta-block .btn-primary:hover { background: var(--gray-100); }
.cta-block .btn-whatsapp { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.4); }
.cta-block .btn-whatsapp:hover { background: rgba(255,255,255,0.25); }
.cta-urgency {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile nav open */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0.5rem;
    z-index: 999;
  }
  .nav.open a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }
  .nav.open a:hover { background: var(--green-bg); }

  /* Mobile grids — single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Hero mobile */
  .hero { padding: 3rem 0 2.5rem; min-height: auto; }
  .hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .hero p { font-size: 0.9375rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-badge { font-size: 0.75rem; padding: 0.375rem 0.75rem; }

  /* Section padding mobile */
  .section { padding: 2rem 0; }
  .section-alt { padding: 2rem 0; }
  .section-green { padding: 2rem 0; }

  /* Header mobile */
  .header-actions .btn { display: none; }
  .header-inner { height: 56px; }
  .logo { font-size: 1.25rem; }
  .lang-switcher a { padding: 0.2rem 0.4rem; font-size: 0.75rem; }

  /* Tables mobile — prevent overflow */
  table { font-size: 0.8125rem; }
  .price-table th, .price-table td { padding: 0.625rem 0.5rem; }
  .compare-table th, .compare-table td { padding: 0.5rem 0.375rem; font-size: 0.75rem; }

  /* Cards mobile */
  .card-body { padding: 1rem; }
  .card-price { font-size: 1.125rem; }
  .card-desc { font-size: 0.8125rem; }

  /* USP cards mobile */
  .usp-card { padding: 1.25rem 1rem; }

  /* FAQ mobile */
  .faq-question { padding: 0.875rem 1rem; font-size: 0.9375rem; }
  .faq-answer { padding: 0 1rem; }
  .faq-item.open .faq-answer { padding: 0 1rem 0.875rem; }

  /* Review cards mobile */
  .review-card { padding: 1.25rem; }
  .review-text { font-size: 0.875rem; }

  /* Section titles mobile */
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9375rem; }

  /* Buttons mobile */
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
  .flex-center { flex-wrap: wrap; }

  /* Breadcrumb mobile */
  .breadcrumb { font-size: 0.8125rem; padding: 0.75rem 0; }

  /* Map mobile */
  .map-container { height: 250px; }

  /* WhatsApp float mobile */
  .whatsapp-float { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
  .whatsapp-float svg { width: 28px; height: 28px; }

  /* Quiz modal mobile */
  #quizModal { width: calc(100vw - 1.5rem) !important; right: 0.75rem !important; bottom: 70px !important; }

  /* Spec grid in product pages */
  .spec-item { padding: 1rem; }
  .spec-value { font-size: 1.25rem; }

  /* Blog cards mobile */
  .blog-card-img { height: 140px; }

  /* Fix any inline flex that might overflow */
  [style*="display:flex"], [style*="display: flex"] { flex-wrap: wrap; }

  /* Prevent ANY element from causing horizontal scroll */
  * { max-width: 100%; }
  iframe { max-width: 100%; }
  table { max-width: 100%; display: block; overflow-x: auto; }
  pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .card-img { height: 160px; }
  .spec-grid { grid-template-columns: 1fr; }

  /* Extra small screens */
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .section-title { font-size: 1.25rem; }

  /* Price table — stack on very small */
  .price-table { font-size: 0.75rem; }
  .price-table th, .price-table td { padding: 0.5rem 0.25rem; white-space: nowrap; }

  /* Smaller buttons on tiny screens */
  .btn { padding: 0.625rem 1rem; font-size: 0.875rem; min-height: 44px; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }

  /* Footer compact */
  .footer { padding: 2rem 0 1rem; }
  .footer h4 { font-size: 0.875rem; }
  .footer a { font-size: 0.8125rem; }
  .footer-desc { font-size: 0.8125rem; }
  .footer-logo { font-size: 1.125rem; }

  /* Fix inline style grids */
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 360px) {
  /* Very small phones */
  .container { padding: 0 0.5rem; }
  .hero h1 { font-size: 1.375rem; }
  .btn { font-size: 0.8125rem; padding: 0.5rem 0.75rem; }
  .lang-switcher { gap: 0.125rem; }
  .lang-switcher a { font-size: 0.6875rem; padding: 0.125rem 0.3rem; }
}
