@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ──────────────────────────────
   Design Tokens
   ────────────────────────────── */
:root {
  /* Colors — Brand palette (from logo/flyer) */
  --c-primary: #1B5EBF;
  --c-primary-light: #4A8FE7;
  --c-primary-lighter: #C5DCFA;
  --c-primary-bg: #E8F0FE;
  --c-accent: #E85D26;
  --c-accent-hover: #C74D1D;
  --c-text: #2A2533;
  --c-text-muted: #5F6577;
  --c-text-light: #9CA3AF;
  --c-surface: #F7F8FA;
  --c-surface-alt: #EEF2F7;
  --c-white: #FFFFFF;
  --c-border: #E1E4EA;
  --c-border-light: #F0F1F4;
  --c-success: #10B981;
  --c-error: #EF4444;

  /* Typography */
  --f-display: 'Outfit', sans-serif;
  --f-body: 'DM Sans', sans-serif;

  /* Spacing */
  --s-xs: 0.25rem;
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;
  --s-5xl: 8rem;

  /* Radii */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(27, 94, 191, 0.06);
  --sh-md: 0 4px 16px rgba(27, 94, 191, 0.08);
  --sh-lg: 0 8px 32px rgba(27, 94, 191, 0.10);
  --sh-xl: 0 16px 48px rgba(27, 94, 191, 0.12);
  --sh-glow: 0 0 40px rgba(27, 94, 191, 0.15);

  /* Transitions */
  --tr-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ──────────────────────────────
   Utility
   ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ──────────────────────────────
   Typography
   ────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  background: var(--c-primary-bg);
  padding: var(--s-xs) var(--s-md);
  border-radius: var(--r-full);
  margin-bottom: var(--s-lg);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--s-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ──────────────────────────────
   Buttons
   ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-full);
  transition: all var(--tr-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(27, 94, 191, 0.35);
}

.btn-primary:hover {
  background: #154FA3;
  box-shadow: 0 6px 20px rgba(27, 94, 191, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--c-white);
  color: var(--c-text);
  border-color: var(--c-border);
}

.btn-secondary:hover {
  border-color: var(--c-primary-light);
  color: var(--c-primary);
  background: var(--c-primary-bg);
}

.btn-accent {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(232, 93, 38, 0.35);
}

.btn-accent:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ──────────────────────────────
   HEADER
   ────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border-light);
  transition: box-shadow var(--tr-base);
}

#header.scrolled {
  box-shadow: var(--sh-sm);
}

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

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

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
  color: var(--c-primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--s-xl);
}

.nav-desktop a {
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color var(--tr-fast);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  color: var(--c-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-md);
}

/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--c-surface);
  border-radius: var(--r-full);
  padding: 3px;
  border: 1px solid var(--c-border);
}

.lang-toggle button {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  color: var(--c-text-muted);
  transition: all var(--tr-fast);
}

.lang-toggle button.active {
  background: var(--c-white);
  color: var(--c-primary);
  box-shadow: var(--sh-sm);
}

.header-cta {
  display: none;
}

/* Mobile hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

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

.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);
}

/* Mobile menu overlay */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: var(--s-2xl) var(--s-lg);
  gap: var(--s-lg);
  transform: translateX(100%);
  transition: transform var(--tr-slow);
}

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

.nav-mobile a {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-text);
  padding: var(--s-sm) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.nav-mobile a:hover {
  color: var(--c-primary);
}

.nav-mobile .btn {
  margin-top: var(--s-md);
}

/* ──────────────────────────────
   HERO
   ────────────────────────────── */
#hero {
  padding-top: calc(var(--header-h) + var(--s-3xl));
  padding-bottom: var(--s-4xl);
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-white) 60%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 94, 191, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2xl);
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-white);
  border: 1px solid var(--c-primary-lighter);
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s-xl);
  box-shadow: var(--sh-sm);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 540px;
  margin: 0 auto var(--s-xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  justify-content: center;
  margin-bottom: var(--s-2xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--c-success);
  flex-shrink: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--r-xl);
}

/* ──────────────────────────────
   SECTION SPACING
   ────────────────────────────── */
section {
  padding: var(--s-4xl) 0;
}

section:nth-child(even) {
  background: var(--c-surface);
}

/* ──────────────────────────────
   HOW IT WORKS
   ────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  counter-increment: step;
  transition: all var(--tr-base);
}

.step-card:hover {
  border-color: var(--c-primary-lighter);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--r-md);
  margin-bottom: var(--s-md);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-sm);
}

.step-card p {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ──────────────────────────────
   SERVICES
   ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  transition: all var(--tr-base);
}

.service-card:hover {
  border-color: var(--c-primary-lighter);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--c-primary-bg);
  border-radius: var(--r-md);
  margin-bottom: var(--s-md);
  color: var(--c-primary);
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-sm);
}

.service-card p {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ──────────────────────────────
   PRICING
   ────────────────────────────── */
#pricing {
  background: var(--c-surface);
}

.pricing-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  background: var(--c-white);
  border: 2px solid var(--c-primary-lighter);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--sh-lg), var(--sh-glow);
  position: relative;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.pricing-plan-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--s-sm);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: var(--s-xs);
  margin-bottom: var(--s-sm);
}

.pricing-amount .currency {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
}

.pricing-amount .price {
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

.pricing-setup {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-bottom: var(--s-xl);
  padding-bottom: var(--s-xl);
  border-bottom: 1px solid var(--c-border);
}

.pricing-setup strong {
  color: var(--c-text);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  margin-bottom: var(--s-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--c-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  margin-bottom: var(--s-lg);
}

.pricing-cta .btn {
  width: 100%;
}

.pricing-note {
  background: var(--c-surface-alt);
  border-radius: var(--r-md);
  padding: var(--s-md);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--c-text);
  display: block;
  margin-bottom: var(--s-xs);
  font-size: 0.875rem;
}

/* ──────────────────────────────
   COMPARISON
   ────────────────────────────── */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  min-width: 500px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--s-md) var(--s-lg);
  text-align: left;
  border-bottom: 1px solid var(--c-border-light);
  font-size: 0.9375rem;
}

.comparison-table thead th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9375rem;
  background: var(--c-surface);
  color: var(--c-text);
}

.comparison-table thead th:nth-child(2) {
  color: var(--c-primary);
  background: var(--c-primary-bg);
}

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

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--c-text);
}

.comparison-table td:nth-child(2) {
  color: var(--c-primary);
  font-weight: 600;
}

.comparison-table .check-icon {
  color: var(--c-success);
}

.comparison-table .cross-icon {
  color: var(--c-text-light);
}

/* ──────────────────────────────
   LEGAL SECTION
   ────────────────────────────── */
.legal-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
}

.legal-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  cursor: pointer;
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-primary-bg);
  opacity: 0;
  transition: opacity var(--tr-fast);
  pointer-events: none;
}

.legal-card:hover,
.legal-card:focus-visible {
  border-color: var(--c-primary-lighter);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  outline: none;
}

.legal-card:hover::before,
.legal-card:focus-visible::before {
  opacity: 1;
}

.legal-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--c-primary-bg);
  border-radius: var(--r-md);
  margin-bottom: var(--s-md);
  color: var(--c-primary);
  position: relative;
  z-index: 1;
}

.legal-card-icon svg {
  width: 24px;
  height: 24px;
}

.legal-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-sm);
  position: relative;
  z-index: 1;
}

.legal-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--s-md);
  position: relative;
  z-index: 1;
}

.legal-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-primary);
  position: relative;
  z-index: 1;
  transition: gap var(--tr-fast);
}

.legal-card:hover .legal-card-cta,
.legal-card:focus-visible .legal-card-cta {
  gap: var(--s-sm);
}

.legal-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--tr-fast);
}

.legal-card:hover .legal-card-cta svg,
.legal-card:focus-visible .legal-card-cta svg {
  transform: translateX(3px);
}

/* Legal Modals */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-md);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 37, 51, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--c-white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xl);
  overflow: hidden;
  animation: modal-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-lg) var(--s-xl);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
  background: var(--c-surface);
}

.legal-modal-header h2 {
  font-size: 1.25rem;
  font-family: var(--f-display);
}

.legal-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--c-text-muted);
  transition: background var(--tr-fast), color var(--tr-fast);
  flex-shrink: 0;
}

.legal-modal-close:hover {
  background: var(--c-border-light);
  color: var(--c-text);
}

.legal-modal-body {
  padding: var(--s-xl);
  overflow-y: auto;
  flex: 1;
  line-height: 1.7;
}

.legal-modal-body h3 {
  font-size: 1rem;
  font-family: var(--f-display);
  color: var(--c-text);
  margin-top: var(--s-xl);
  margin-bottom: var(--s-sm);
}

.legal-modal-body h3:first-of-type {
  margin-top: 0;
}

.legal-modal-body p {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--s-sm);
}

.legal-modal-body ul {
  list-style: disc;
  padding-left: var(--s-xl);
  margin-bottom: var(--s-sm);
}

.legal-modal-body ul li {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--s-xs);
  line-height: 1.6;
}

.legal-modal-body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--tr-fast);
}

.legal-modal-body a:hover {
  text-decoration-color: var(--c-primary);
}

.legal-last-updated {
  font-size: 0.8125rem !important;
  color: var(--c-text-light) !important;
  background: var(--c-surface-alt);
  border-radius: var(--r-sm);
  padding: var(--s-sm) var(--s-md) !important;
  margin-bottom: var(--s-xl) !important;
}

/* Legal responsive */
@media (min-width: 640px) {
  .legal-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
}

.portfolio-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr-base);
}

.portfolio-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.portfolio-card-body {
  padding: var(--s-lg);
}

.portfolio-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-xs);
}

.portfolio-card p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.portfolio-tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-primary);
  background: var(--c-primary-bg);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s-sm);
}

/* ──────────────────────────────
   FAQ
   ────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--tr-fast);
}

.faq-item.active {
  border-color: var(--c-primary-lighter);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-md) var(--s-lg);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--tr-fast);
}

.faq-question:hover {
  color: var(--c-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--c-text-muted);
  transition: transform var(--tr-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--c-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
}

.faq-answer-inner {
  padding: 0 var(--s-lg) var(--s-md);
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ──────────────────────────────
   CONTACT
   ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--s-md);
}

.contact-info p {
  color: var(--c-text-muted);
  margin-bottom: var(--s-xl);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-bottom: var(--s-md);
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--c-primary);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.contact-detail a:hover {
  color: var(--c-primary);
}

.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  box-shadow: var(--sh-md);
}

.form-group {
  margin-bottom: var(--s-md);
}

.form-group label {
  display: block;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--s-xs);
  color: var(--c-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-text);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(27, 94, 191, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--c-text-light);
}

.form-submit .btn {
  width: 100%;
}

.form-note {
  font-size: 0.75rem;
  color: var(--c-text-light);
  margin-top: var(--s-sm);
  text-align: center;
}

/* ──────────────────────────────
   FOOTER
   ────────────────────────────── */
#footer {
  background: var(--c-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-3xl) 0 var(--s-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2xl);
  margin-bottom: var(--s-2xl);
}

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

.footer-brand .logo img {
  height: 64px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-white);
  margin-bottom: var(--s-md);
}

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

.footer-links a {
  font-size: 0.875rem;
  transition: color var(--tr-fast);
}

.footer-links a:hover {
  color: var(--c-white);
}

.footer-social {
  display: flex;
  gap: var(--s-md);
  margin-top: var(--s-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--tr-fast);
}

.footer-social a:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  gap: var(--s-lg);
}

.footer-legal a:hover {
  color: var(--c-white);
}

/* ──────────────────────────────
   SCROLL ANIMATIONS
   ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

.reveal-delay-5 {
  transition-delay: 500ms;
}

/* ──────────────────────────────
   RESPONSIVE
   ────────────────────────────── */

/* Tablet and up */
@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3xl);
  }

  .hero-content {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-trust {
    justify-content: flex-start;
  }

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

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

/* Large desktop */
@media (min-width: 1024px) {
  section {
    padding: var(--s-5xl) 0;
  }

  .container {
    padding: 0 var(--s-2xl);
  }
}