/* ============================================
   Ferrari Visit Information Center
   Main Stylesheet
   Colors: White + Red (#CC0000) + Dark Gray (#1A1A1A)
   ============================================ */

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

:root {
  --red: #CC0000;
  --red-dark: #990000;
  --red-light: #e60000;
  --dark: #1A1A1A;
  --dark-2: #2c2c2c;
  --dark-3: #444444;
  --gray: #666666;
  --gray-light: #999999;
  --border: #e0e0e0;
  --bg-light: #f8f8f8;
  --bg-section: #f2f2f2;
  --white: #ffffff;
  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.25s ease;
}

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

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

a {
  color: var(--red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--red-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--dark-3); }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-section);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--red h2,
.section--red h3,
.section--red p {
  color: var(--white);
}

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray);
}

.section--dark .section-header p,
.section--red .section-header p {
  color: rgba(255,255,255,0.8);
}

/* Divider accent */
.accent-line {
  width: 56px;
  height: 4px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section--red .accent-line,
.section--dark .accent-line {
  background: var(--white);
}

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(204,0,0,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--red-dark);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--red);
}

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

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  background: rgba(204,0,0,0.06);
}

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

.nav-cta a {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
}

.nav-cta a:hover {
  background: var(--red-dark) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #3a0000 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CC0000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(204,0,0,0.2);
  border: 1px solid rgba(204,0,0,0.4);
  color: #ff9999;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero h1 span {
  color: var(--red-light);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-stat span:first-child {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-light);
  line-height: 1;
}

.hero-stat span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
}

.breadcrumb ol li:last-child {
  color: var(--dark);
  font-weight: 600;
}

.breadcrumb ol li::after {
  content: '›';
  color: var(--gray-light);
}

.breadcrumb ol li:last-child::after {
  display: none;
}

.breadcrumb ol li a {
  color: var(--gray);
}

.breadcrumb ol li a:hover {
  color: var(--red);
}

/* --- Page Hero (subpages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.card-body {
  padding: 28px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(204,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.925rem;
  color: var(--gray);
  margin: 0;
}

/* Info cards (with left border) */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* Step cards */
.step-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* --- Highlight Box --- */
.highlight-box {
  background: rgba(204,0,0,0.05);
  border: 1px solid rgba(204,0,0,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.highlight-box h3 {
  color: var(--red);
  margin-bottom: 12px;
}

/* --- Table --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.info-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--dark-3);
}

.info-table tr:hover td {
  background: var(--bg-light);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* --- Tags / Badges --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tag-red {
  background: rgba(204,0,0,0.1);
  color: var(--red);
}

.tag-dark {
  background: var(--dark);
  color: var(--white);
}

.tag-gray {
  background: var(--bg-section);
  color: var(--gray);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  font-family: var(--font-main);
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--red);
}

.faq-question.active {
  background: var(--red);
  color: var(--white);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
}

.faq-question.active .faq-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 20px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #3a0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-card-image .blog-img-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.blog-card-image .blog-tag-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray-light);
}

.blog-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--gray-light);
  border-radius: 50%;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card h3 a {
  color: var(--dark);
}

.blog-card h3 a:hover {
  color: var(--red);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* --- Attractions --- */
.attraction-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.attraction-header {
  padding: 28px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
}

.attraction-header .emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.attraction-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.attraction-header .intensity {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.attraction-body {
  padding: 24px;
}

.attraction-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.attraction-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Contact Info --- */
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(204,0,0,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.975rem;
  color: var(--dark);
  font-weight: 600;
}

/* --- Notice Banner --- */
.notice-banner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--gray);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice-icon {
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Disclaimer Banner --- */
.disclaimer-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px 24px;
  border-bottom: 2px solid var(--red);
}

.disclaimer-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-brand .logo-text span:first-child {
  color: var(--white);
}

.footer-logo {
  margin-bottom: 4px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red-light);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal-links a:hover {
  color: var(--red-light);
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--dark-3);
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '✓';
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Two Column Content --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.content-text h2 {
  margin-bottom: 16px;
}

.content-text p {
  margin-bottom: 16px;
}

.content-text .accent-line {
  margin: 0 0 24px;
}

/* Visual placeholder block */
.visual-block {
  background: linear-gradient(135deg, var(--dark) 0%, #3a0000 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.visual-block::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: rgba(204,0,0,0.12);
  border-radius: 50%;
}

.visual-block .big-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.visual-block h3 {
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.visual-block p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* --- Stat Boxes --- */
.stat-box {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-box .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --- Tips grid --- */
.tip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tip-card:hover {
  box-shadow: var(--shadow-md);
}

.tip-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.tip-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.tip-card p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Article / Prose Content --- */
.prose-content {
  max-width: 780px;
}

.prose-content h2 {
  margin: 36px 0 16px;
  font-size: 1.6rem;
}

.prose-content h3 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  color: var(--red);
}

.prose-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3a3a3a;
  margin-bottom: 18px;
}

.prose-content ul, .prose-content ol {
  margin-bottom: 18px;
}

.prose-content li {
  font-size: 1rem;
  color: #3a3a3a;
  margin-bottom: 8px;
  line-height: 1.6;
}

.prose-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray);
}

/* Blog layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-sidebar .sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.blog-sidebar .sidebar-widget h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}

.sidebar-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-link-list li {
  border-bottom: 1px solid var(--border);
}

.sidebar-link-list li:last-child {
  border-bottom: none;
}

.sidebar-link-list a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--dark-3);
  transition: var(--transition);
}

.sidebar-link-list a:hover {
  color: var(--red);
  padding-left: 4px;
}

/* --- Map placeholder --- */
.map-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  border: 1px solid var(--border);
  text-align: center;
}

.map-placeholder .map-icon {
  font-size: 3rem;
  opacity: 0.5;
}

/* --- Legal Pages --- */
.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--dark);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--dark-3);
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.text-small { font-size: 0.875rem; }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

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

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 2px solid var(--red);
    box-shadow: var(--shadow-md);
    gap: 0;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 24px;
    border-radius: 0;
    width: 100%;
  }

  .nav-cta {
    margin: 8px 16px 0;
  }

  .nav-cta a {
    border-radius: var(--radius) !important;
  }

  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .content-split.reverse { direction: ltr; }

  .blog-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats { gap: 24px; }

  .hero-actions { flex-direction: column; }

  .hero-actions .btn { text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card-body, .info-card, .step-card { padding: 20px; }
}