/* ==========================================================================
   DESIGN SYSTEM - XBT Trading Modern Website
   Vanilla CSS3 - Zero External CSS Dependencies
   ========================================================================== */

/* Local Inter variable font. Latin + latin-ext keep Romanian diacritics available. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design Tokens & Theme Variables */
:root {
  /* Colors - HSL Tailored Palettes */
  --hue: 220;
  
  /* Light Theme Colors */
  --primary-hsl: var(--hue), 30%, 10%;      /* Midnight Slate (#0b111e) - ultra contrast */
  --primary: hsl(var(--primary-hsl));
  
  --secondary-hsl: var(--hue), 15%, 35%;    /* Charcoal gray (#2e3a4e) */
  --secondary: hsl(var(--secondary-hsl));
  
  --accent-hsl: 224, 85%, 52%;              /* Premium Royal Blue (#1d4ed8) */
  --accent: hsl(var(--accent-hsl));
  --accent-hover: hsl(224, 85%, 42%);       /* Darker royal blue for hover */
  
  --success-hsl: 142, 70%, 40%;             /* Emerald Green - enhanced contrast */
  --success: hsl(var(--success-hsl));
  
  --bg-hsl: var(--hue), 30%, 97%;           /* Cool light gray */
  --bg: hsl(var(--bg-hsl));
  
  --surface-hsl: var(--hue), 30%, 100%;     /* Pure White */
  --surface: hsl(var(--surface-hsl));
  
  --text-hsl: var(--hue), 25%, 15%;         /* Dark slate text (#182235) */
  --text: hsl(var(--text-hsl));
  
  --border-hsl: var(--hue), 20%, 88%;       /* Clear border */
  --border: hsl(var(--border-hsl));
  
  /* Glassmorphism details */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(11, 17, 30, 0.06);
  
  /* Fonts */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacings */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Miscellaneous */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --primary-hsl: var(--hue), 20%, 95%;
  --secondary-hsl: var(--hue), 15%, 72%;
  
  --accent-hsl: 217, 95%, 60%;              /* Rich Electric Royal Blue for dark mode */
  
  --bg-hsl: var(--hue), 35%, 6%;            /* Extremely dark navy */
  
  --surface-hsl: var(--hue), 30%, 10%;      /* Dark surface card background */
  
  --text-hsl: var(--hue), 10%, 88%;
  
  --border-hsl: var(--hue), 15%, 18%;
  
  --glass-bg: rgba(11, 15, 25, 0.82);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.3s ease;
}

body {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700; /* Revert to 700 (Bold) from the first version for clean line breaks */
  line-height: 1.2;
  letter-spacing: -0.02em; /* Balanced tight letter-spacing for Inter */
  overflow-wrap: break-word;
}

/* Offset anchor scrolling to account for fixed header height */
h1[id], h2[id], h3[id], section[id], li[id] {
  scroll-margin-top: 140px;
}

p {
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout & Reusable Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

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

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid > * {
  min-width: 0;
}

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--space-lg); }
}

/* Glassmorphism Utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: var(--space-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.1);
  border-color: var(--accent);
}

/* Top Utility Bar (Contacts & Trust) */
.top-bar {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
}

[data-theme="dark"] .top-bar {
  background-color: hsl(var(--hue), 35%, 3%);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: var(--space-md);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.top-bar-item a {
  color: rgba(255, 255, 255, 0.7);
}

.top-bar-item a:hover {
  color: #ffffff;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--glass-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px; /* Slimmer layout to accommodate top-bar */
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Controls (Theme Toggle & CTA) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Theme Toggle Button styling */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  background-color: var(--border);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

/* Hamburger Menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  position: absolute;
  transition: var(--transition-smooth);
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 9px; }
.menu-btn span:nth-child(3) { top: 18px; }

.menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .container {
    max-width: 100vw;
    overflow-x: clip;
  }

  .contact-info-block,
  .contact-info-block > *,
  .contact-method,
  .contact-method > div,
  .glass-card {
    max-width: 100%;
    min-width: 0;
  }

  .contact-info-block h2,
  .contact-info-block p,
  .contact-method p,
  .contact-map-card p,
  .contact-map-card strong {
    overflow-wrap: anywhere;
  }

  .logo-text {
    font-size: 1.35rem; /* Prevent squeezing on mobile */
  }

  .nav-controls {
    gap: 0.5rem;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--surface);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    transform: translateX(100%);
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 1.15rem; /* Prevent squishing on very narrow mobile screens */
  }
  
  .nav-controls {
    gap: 0.35rem;
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem var(--space-md);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background-color: var(--border);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--primary);
  color: var(--bg);
}

.btn-accent:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.8rem;
  }
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Hero graphic - clean pure CSS illustration instead of heavy images */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  min-height: 430px;
  isolation: isolate;
}

.shape-bg {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(16, 185, 129, 0.15));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(40px);
  position: absolute;
  z-index: -1;
  pointer-events: none; /* Prevent mouse events on decorative shape */
  animation: float-shape 8s ease-in-out infinite alternate;
}

.hero-orbit {
  width: min(430px, 90vw);
  aspect-ratio: 1;
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.44) 48%, transparent 70%),
    linear-gradient(135deg, rgba(29, 78, 216, 0.14), rgba(16, 185, 129, 0.12));
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.hero-orbit {
  animation: orbit-glow 6s ease-in-out infinite alternate;
}

.hero-orbit::before,
.hero-orbit::after {
  content: '';
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(29, 78, 216, 0.24);
  border-radius: 50%;
  animation: orbit-spin 16s linear infinite;
}

.hero-orbit::after {
  inset: 28%;
  border-color: rgba(16, 185, 129, 0.24);
  animation-duration: 22s;
  animation-direction: reverse;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29, 78, 216, 0.12);
  inset: 10%;
}

.orbit-ring-2 {
  inset: 34%;
  border-color: rgba(16, 185, 129, 0.2);
}

.orbit-node {
  position: absolute;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 78, 216, 0.18);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0;
  animation: float-node 5s ease-in-out infinite alternate;
}

.orbit-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.node-a1 {
  left: 13%;
  top: 18%;
  font-size: 1.45rem;
}

.node-cnpp {
  right: 13%;
  top: 25%;
  width: 86px;
  height: 86px;
  font-size: 0.95rem;
}

.node-ue {
  left: 38%;
  bottom: 12%;
  background: var(--accent);
  color: #fff;
  animation-delay: 0.8s;
}

.orbit-line {
  position: absolute;
  height: 2px;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.35), transparent);
  transform-origin: left center;
}

.line-1 {
  left: 28%;
  top: 36%;
  transform: rotate(18deg);
}

.line-2 {
  left: 35%;
  top: 58%;
  transform: rotate(-24deg);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes float-node {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes orbit-glow {
  0% { box-shadow: var(--glass-shadow), 0 0 0 rgba(29, 78, 216, 0); }
  100% { box-shadow: var(--glass-shadow), 0 24px 90px rgba(29, 78, 216, 0.16); }
}

@media (max-width: 768px) {
  .hero-visual {
    min-height: 330px;
  }

  .hero-orbit {
    width: min(320px, 86vw);
  }

  .orbit-node {
    width: 58px;
    height: 58px;
    font-size: 0.85rem;
  }

  .node-a1 {
    font-size: 1.15rem;
  }

  .node-cnpp {
    width: 66px;
    height: 66px;
  }
}

@keyframes float-shape {
  0% { transform: translateY(0) scale(1); border-radius: 60% 40% 30% 70%; }
  100% { transform: translateY(-20px) scale(1.1); border-radius: 40% 60% 70% 30%; }
}

.hero-card-float-wrapper {
  z-index: 2;
  position: relative;
  animation: float-card 4s ease-in-out infinite alternate;
}

.hero-card-offset {
  position: absolute;
  bottom: 18px;
  left: -12px;
}

.hero-card {
  width: 320px;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
}

@media (max-width: 1023px) {
  .hero-card-offset {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: var(--space-sm);
  }
}

@keyframes float-card {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-title-wrapper {
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.section-title-wrapper h2 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-xs);
}

.service-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
  color: var(--primary);
}

.service-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.service-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-item {
  display: flex;
  gap: var(--space-sm);
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  padding: var(--space-md);
}

.testimonial-rating {
  color: #fbbf24; /* Star Gold */
  margin-bottom: var(--space-xs);
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--primary);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   Interactive Multi-Step / Floating Contact Form
   ========================================================================== */
.contact-section {
  position: relative;
  background: radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: min(100%, calc(100vw - (var(--space-md) * 2)));
  max-width: 100%;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: 100%;
  min-width: 0;
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  background-color: var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-method p {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 0;
}

.next-steps-card {
  padding: 0 0 var(--space-sm);
}

.next-steps-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.next-steps-card ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
}

.next-steps-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.next-steps-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--success);
}

/* Form Styles */
.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: var(--space-sm);
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
  color: var(--secondary);
  opacity: 0.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.a1-summary-panel {
  display: grid;
  gap: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 640px) {
  .container.content-block {
    width: calc(100vw - 2rem);
    padding-left: 0;
    padding-right: 0;
  }

  .a1-summary-panel {
    padding: 1.15rem;
    margin-left: 0;
    margin-right: 0;
    gap: var(--space-sm);
    max-width: 100%;
  }

  .a1-summary-panel h2 {
    font-size: 1.18rem;
    line-height: 1.25;
    max-width: calc(100vw - 5rem);
    overflow-wrap: anywhere;
  }

  .a1-summary-panel p,
  .a1-summary-panel li {
    font-size: 0.94rem;
    max-width: calc(100vw - 5rem);
    overflow-wrap: anywhere;
  }

  .a1-summary-panel ul {
    max-width: calc(100vw - 5rem);
  }
}

.a1-summary-panel h2 {
  margin-top: 0;
}

.a1-summary-panel ul {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.content-block .a1-summary-panel .a1-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-block .a1-summary-panel .a1-check-list li {
  margin-bottom: 0;
}

.a1-summary-panel li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0;
  color: var(--secondary);
  font-weight: 600;
}

.a1-summary-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: inset 0 0 0 3px var(--surface);
}

@media (min-width: 900px) {
  .a1-summary-panel {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}

.info-grid {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  box-shadow: var(--glass-shadow);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--glass-shadow);
}

.faq-list summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.faq-list details[open] summary {
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.faq-list p {
  color: var(--secondary);
  margin-bottom: 0;
}

.form-row {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-sm) 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--secondary);
  cursor: pointer;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-strip {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.26), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .footer-contact-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-contact-item a:hover {
  color: #ffffff;
}

[data-theme="dark"] .site-footer {
  background-color: hsl(var(--hue), 35%, 3%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.85rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #ffffff;
  background-color: var(--accent);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Subpages Styling */
.page-hero {
  padding-top: calc(80px + var(--space-lg));
  padding-bottom: var(--space-lg);
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2.2rem;
  letter-spacing: -1px;
  margin-bottom: var(--space-xs);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  gap: var(--space-xs);
}

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

.breadcrumbs span::before {
  content: none;
  margin-right: var(--space-xs);
  color: var(--border);
}

.content-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-block h2 {
  font-size: 1.6rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.content-block ul {
  list-style: disc;
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.content-block li {
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  z-index: 2000;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .cookie-banner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    bottom: var(--space-md);
    left: var(--space-md);
    right: auto;
  }
  .cookie-banner-actions {
    width: auto;
  }
}

/* Testimonials Slider CSS */
.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonials-slider .testimonial-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 0;
  border-color: var(--border);
}

.testimonials-slider .testimonial-card:hover {
  transform: none; /* Disable card rise inside carousel container */
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   New Elements: Stats Bar, Content Images & Breadcrumbs Refinements
   ========================================================================== */

/* Stats Bar Section */
.stats-bar {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.stat-card {
  text-align: left;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -1px;
}

.stat-card p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.contact-map-card {
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 34% 44%, rgba(16, 185, 129, 0.16) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 38%, rgba(2, 132, 199, 0.18) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(15, 23, 42, 0.04)),
    var(--surface);
  box-shadow: var(--glass-shadow);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.contact-map-card::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(2, 132, 199, 0.25);
  border-radius: 38% 62% 47% 53%;
}

.contact-map-card .map-pin {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
  flex-shrink: 0;
}

.contact-map-card div:last-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-map-card span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-map-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.25rem;
  margin: 0.15rem 0;
}

@media (max-width: 520px) {
  .contact-map-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.contact-map-card p {
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Content Images styling */
.content-image-wrapper {
  margin: var(--space-md) 0 var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.content-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 380px;
  display: block;
}

/* Breadcrumbs semantic updates */
.breadcrumbs {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--space-xs);
}

.breadcrumbs a {
  color: var(--secondary);
  transition: var(--transition-fast);
}

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

.breadcrumbs-separator {
  color: var(--border);
  user-select: none;
  font-weight: 300;
}

.breadcrumbs span {
  color: var(--primary);
  font-weight: 600;
}
