/* ============================================
   jimrio.com — Technology Governance & Policy
   Custom Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #1a1d23;
  --bg-secondary: #22262e;
  --bg-tertiary: #2a2f3a;
  --bg-card: #272b35;
  --bg-card-hover: #2e3340;
  --bg-glass: rgba(42, 47, 58, 0.65);
  --bg-glass-strong: rgba(42, 47, 58, 0.85);

  --text-primary: #e8eaed;
  --text-secondary: #b0b5be;
  --text-muted: #7a8090;
  --text-heading: #f0f2f5;

  --accent-cyan: #4ecdc4;
  --accent-cyan-dim: rgba(78, 205, 196, 0.15);
  --accent-cyan-glow: rgba(78, 205, 196, 0.3);
  --accent-bronze: #c4956a;
  --accent-bronze-dim: rgba(196, 149, 106, 0.15);
  --accent-violet: #8b7ec8;
  --accent-violet-dim: rgba(139, 126, 200, 0.12);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(78, 205, 196, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(78, 205, 196, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Consolas', 'Monaco', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --header-h: 72px;
  --max-w: 1280px;
  --max-w-narrow: 900px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--accent-bronze);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: var(--fw-bold);
}

h1 { font-size: var(--fs-4xl); margin-bottom: var(--space-md); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-md); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-xl); margin-bottom: var(--space-sm); }
h4 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text-primary);
  line-height: 1.8;
}

.label-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  padding: 4px 14px;
  background: var(--accent-cyan-dim);
  border-radius: 30px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

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

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

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

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

.section--gradient {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

.grid-asymmetric {
  grid-template-columns: 1.2fr 0.8fr;
}

.grid-asymmetric-rev {
  grid-template-columns: 0.8fr 1.2fr;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(26, 29, 35, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.site-header.scrolled {
  height: 60px;
  background: rgba(26, 29, 35, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text-heading);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-black);
  font-size: var(--fs-md);
  color: #fff;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-main a {
  padding: 8px 14px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  font-weight: var(--fw-medium);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text-heading);
  background: var(--accent-cyan-dim);
}

.nav-main a.active {
  color: var(--accent-cyan);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(78, 205, 196, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(139, 126, 200, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--fs-5xl);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 800px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  max-width: 620px;
  margin-top: var(--space-md);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.hero-stat {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-stat .num {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--accent-cyan);
  display: block;
  line-height: 1;
}

.hero-stat .txt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-image-col {
  position: relative;
}

.hero-image-col img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(78, 205, 196, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumbs .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.page-hero h1 {
  font-size: var(--fs-4xl);
}

.page-hero .lead {
  max-width: 700px;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
  color: var(--accent-cyan);
  border: 1px solid rgba(78, 205, 196, 0.15);
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Card variant — wide */
.card--wide {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Card variant — image */
.card--image {
  padding: 0;
  overflow: hidden;
}

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

.card--image .card-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* Card variant — bordered accent */
.card--accent-left {
  border-left: 3px solid var(--accent-cyan);
}

.card--accent-left:nth-child(even) {
  border-left-color: var(--accent-bronze);
}

/* Card — numbered */
.card--numbered {
  padding-left: calc(var(--space-lg) + 60px);
}

.card--numbered .card-num {
  position: absolute;
  left: var(--space-lg);
  top: var(--space-lg);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--accent-cyan);
  opacity: 0.2;
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #3ab0a8);
  color: var(--bg-primary);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.35);
  transform: translateY(-2px);
  color: var(--bg-primary);
}

.btn-outline {
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.btn-ghost {
  color: var(--accent-cyan);
  padding: 8px 0;
}

.btn-ghost:hover {
  color: var(--accent-bronze);
}

.btn-ghost::after {
  content: '\2192';
  transition: transform var(--transition);
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* --- Info Box / Feature Block --- */
.info-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: blur(8px);
}

.info-box--highlight {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

/* --- Divider --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  margin: 0;
  border: none;
}

.section-divider--accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

/* --- Two-column content --- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

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

.split-content img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* --- List styles --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.check-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  margin-top: 2px;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  text-align: left;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  transition: color var(--transition);
  gap: var(--space-sm);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  transition: all var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: all var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-control.error {
  border-color: #e74c3c;
}

.error-msg {
  font-size: var(--fs-xs);
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-control.error + .error-msg {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* --- Map --- */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: var(--fw-semibold);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer-contact-item .ic {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-governance {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.footer-governance h4 {
  color: var(--accent-cyan);
  margin-bottom: var(--space-sm);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-base);
}

.footer-governance p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transform: translateY(120%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

.cookie-banner p a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.cookie-accept {
  padding: 10px 24px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-accept:hover {
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.35);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Privacy Page --- */
.privacy-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--accent-cyan);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.privacy-content ul {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.privacy-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.privacy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

/* --- Thank You Page --- */
.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--header-h) + var(--space-xl));
}

.thankyou-box {
  max-width: 600px;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: var(--accent-cyan-dim);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-3xl);
  color: var(--accent-cyan);
}

.thankyou-box h1 {
  font-size: var(--fs-3xl);
}

.thankyou-box .lead {
  max-width: 480px;
  margin: 0 auto;
  margin-top: var(--space-sm);
}

.thankyou-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* --- Decorative elements --- */
.deco-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 3px;
  margin-bottom: var(--space-md);
}

.deco-dots {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.deco-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.3;
}

.deco-dots span:first-child {
  opacity: 0.8;
}

.deco-dots span:nth-child(2) {
  opacity: 0.5;
}

/* --- Section heading with line --- */
.section-heading {
  margin-bottom: var(--space-xl);
}

.section-heading .deco-line {
  margin-bottom: var(--space-sm);
}

.section-heading p {
  max-width: 600px;
}

/* --- Principles / Steps horizontal --- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  counter-reset: step;
}

.step-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--accent-cyan);
  opacity: 0.15;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.step-item h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.step-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

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

@media (max-width: 960px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .hero h1 { font-size: var(--fs-3xl); }
  .page-hero h1 { font-size: var(--fs-3xl); }

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

  .grid-asymmetric,
  .grid-asymmetric-rev {
    grid-template-columns: 1fr;
  }

  .split-content,
  .split-content--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split-content img {
    height: 280px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--space-lg));
    padding-bottom: var(--space-xl);
  }

  .hero-stats {
    gap: var(--space-sm);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 1050;
    gap: 2px;
  }

  .nav-main.open {
    transform: translateX(0);
  }

  .nav-main a {
    padding: 12px 16px;
    font-size: var(--fs-base);
    border-radius: var(--radius-sm);
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
  }

  .mobile-overlay.active {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --fs-5xl: 2.5rem;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero h1 {
    font-size: var(--fs-2xl);
  }

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

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

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

  .steps-row {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .thankyou-links {
    flex-direction: column;
    align-items: center;
  }

  .map-wrapper iframe {
    height: 280px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent-cyan); }
.text-bronze { color: var(--accent-bronze); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
