:root {
  --color-primary: #2E5C6B;
  --color-primary-dark: #1A3D48;
  --color-secondary: #F4EFE6;
  --color-accent: #C4785A;
  --color-accent-light: #D9A08A;
  --color-highlight: #7A9B8E;
  --color-text: #2A3132;
  --color-text-muted: #5C6566;
  --color-white: #ffffff;
  --color-border: rgba(46, 92, 107, 0.14);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.375rem;
  --space-sm: 0.625rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 0.125rem 0.5rem rgba(45, 45, 45, 0.06);
  --shadow-md: 0 0.25rem 1.25rem rgba(46, 92, 107, 0.12);
  --shadow-lg: 0 0.5rem 2rem rgba(26, 61, 72, 0.16);
  --transition: 0.25s ease;
  --header-height: 3.25rem;
  --max-width: 72rem;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-hero: clamp(1.5rem, 4vw, 2.25rem);
  --text-section: clamp(1.125rem, 2.5vw, 1.5rem);
  --mobile-menu-z: 800;
  --menu-toggle-z: 801;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-secondary);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-header {
  position: relative;
  z-index: 100;
  padding: var(--space-sm) 0;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.97) 0%, rgba(244, 239, 230, 0.88) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50% 50% 50% 20%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2.5vw, 0.95rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: none;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: var(--menu-toggle-z);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

body.menu-open .menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(18rem, 88vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--mobile-menu-z);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  transform: translateY(0);
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.menu-close:hover {
  background: var(--color-highlight);
  color: var(--color-primary-dark);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--color-secondary);
  font-size: var(--text-base);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--color-highlight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  margin-top: var(--space-md);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-primary-dark);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-primary-dark);
}

.hero {
  position: relative;
  min-height: clamp(22rem, 85vh, 36rem);
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0 var(--space-2xl);
  background-image: linear-gradient(135deg, rgba(244, 239, 230, 0.9) 0%, rgba(46, 92, 107, 0.78) 100%), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--color-secondary), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.hero-content .hero-sub {
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: 32rem;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-actions .btn {
  margin-top: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 14rem;
}

.hero-figure {
  position: relative;
  width: 12rem;
  height: 12rem;
}

.figure-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(122, 155, 142, 0.5);
  animation: pulse-ring 3s ease-in-out infinite;
}

.figure-ring:nth-child(2) {
  inset: 12%;
  animation-delay: 0.5s;
  border-color: rgba(196, 120, 90, 0.5);
}

.figure-core {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-primary) 100%);
  box-shadow: var(--shadow-lg);
  animation: float-core 4s ease-in-out infinite;
}

.figure-orbit {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--color-highlight);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -0.375rem;
  animation: orbit 6s linear infinite;
  transform-origin: 5.5rem 0;
}

.figure-orbit:nth-child(4) {
  animation-duration: 8s;
  animation-direction: reverse;
  background: var(--color-accent-light);
  transform-origin: -4.5rem 0;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes float-core {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(5.5rem); }
  to { transform: rotate(360deg) translateX(5.5rem); }
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-white);
}

.section-dark {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-secondary);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-secondary);
}

.section-dark p {
  color: rgba(244, 239, 230, 0.9);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-dark .section-label {
  color: var(--color-highlight);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.section-dark .card h3 {
  color: var(--color-primary);
}

.section-dark .card p {
  color: var(--color-text-muted);
}

.section-dark .card .btn {
  color: var(--color-primary);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  object-fit: cover;
}

.split-media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  padding: var(--space-xl);
  background: linear-gradient(145deg, rgba(122, 155, 142, 0.18) 0%, rgba(46, 92, 107, 0.1) 100%);
  border: 1px solid var(--color-border);
}

.split-icon-wrap {
  width: 6.5rem;
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  font-size: 2.25rem;
  box-shadow: var(--shadow-md);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.feature-list i {
  color: var(--color-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  background: rgba(122, 155, 142, 0.14);
  border-radius: var(--radius-md);
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-primary);
}

.stat-item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.section-dark .stat-item {
  background: rgba(255, 255, 255, 0.1);
}

.section-dark .stat-item strong {
  color: var(--color-highlight);
}

.section-dark .stat-item span {
  color: rgba(244, 239, 230, 0.82);
}

.disclaimer-box {
  background: rgba(196, 120, 90, 0.12);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: var(--space-lg);
}

.disclaimer-box p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-xl);
  color: var(--color-white);
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
}

.cta-band .btn {
  margin-top: var(--space-md);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  margin-top: var(--space-lg);
}

.cta-actions .btn {
  margin-top: 0;
}

.section-dark .cta-actions {
  margin-top: var(--space-lg);
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(180deg, rgba(46, 92, 107, 0.09) 0%, transparent 100%);
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero .lead {
  font-size: var(--text-base);
  max-width: 36rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-item i {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.contact-info-item p {
  font-size: var(--text-sm);
  margin: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-secondary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(122, 155, 142, 0.28);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c45c5c;
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: #c45c5c;
  margin-top: var(--space-xs);
  min-height: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: var(--text-xs);
  font-weight: 400;
  margin: 0;
}

.checkbox-group label a {
  text-decoration: underline;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.map-wrap iframe {
  width: 100%;
  height: 22rem;
  min-height: 350px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(244, 239, 230, 0.88);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
  color: var(--color-secondary);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(244, 239, 230, 0.72);
  margin-top: var(--space-sm);
}

.footer-col h4 {
  font-size: var(--text-sm);
  color: var(--color-highlight);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(244, 239, 230, 0.82);
}

.footer-col a:hover {
  color: var(--color-highlight);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: rgba(244, 239, 230, 0.65);
}

.legal-page {
  padding: var(--space-lg) 0 var(--space-2xl);
}

.legal-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  max-width: 52rem;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h2 {
  font-size: var(--text-md);
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-content h3 {
  font-size: var(--text-base);
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p,
.legal-content li {
  font-size: var(--text-sm);
}

.legal-content ul {
  margin-bottom: var(--space-md);
}

.legal-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.home-button:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.legal-content th,
.legal-content td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.legal-content th {
  background: var(--color-secondary);
  font-weight: 600;
  color: var(--color-primary);
}

.center-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.center-page h1 {
  margin-bottom: var(--space-md);
}

.center-page p {
  max-width: none;
}

.center-page .btn {
  margin-top: var(--space-lg);
}

.contact-privacy-link {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
}

.cta-band-spaced {
  margin-top: var(--space-xl);
}

.perspective-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.perspective-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.perspective-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
  font-style: italic;
}

.perspective-card cite {
  display: block;
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}

.perspective-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
  text-align: center;
}

@media (min-width: 48rem) {
  .perspective-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -0.25rem 1.5rem rgba(45, 45, 45, 0.15);
  padding: var(--space-lg);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

.cookie-banner p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-actions .btn {
  margin-top: 0;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-xs);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 45, 45, 0.5);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-panel h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-md);
}

.modal-panel p {
  font-size: var(--text-sm);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.toggle-row label {
  font-size: var(--text-sm);
  font-weight: 500;
}

.toggle-row span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
}

.toggle-switch {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 1.125rem;
  height: 1.125rem;
  left: 0.2rem;
  bottom: 0.15rem;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(1.2rem);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.modal-actions .btn {
  margin-top: 0;
  flex: 1;
  min-width: 6rem;
}

.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  padding-left: var(--space-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) + 0.15rem);
  top: 0.35rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-highlight);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline-item h3 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: var(--text-sm);
}

.guide-steps {
  counter-reset: step;
}

.guide-step {
  position: relative;
  padding: var(--space-lg);
  padding-left: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.guide-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: var(--space-md);
  top: var(--space-lg);
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.guide-step h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

@media (min-width: 48rem) {
  .nav-menu {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }

  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 64rem) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 20rem) {
  html {
    font-size: 93.75%;
  }

  .container {
    padding: 0 var(--space-sm);
  }
}
