
:root {
  --color-primary: #2B6E7A;
  --color-primary-dark: #1E4F58;
  --color-secondary: #D4EEF2;
  --color-accent: #C4A882;
  --color-accent-dark: #A68B64;
  --color-bg: #F7FAFB;
  --color-bg-alt: #EDF5F7;
  --color-text: #2C3436;
  --color-text-muted: #566164;
  --color-white: #ffffff;
  --color-border: rgba(43, 110, 122, 0.15);
  --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.5rem;
  --space-2xl: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 50%;
  --shadow-sm: 0 0.125rem 0.5rem rgba(44, 52, 54, 0.06);
  --shadow-md: 0 0.25rem 1.25rem rgba(44, 52, 54, 0.1);
  --shadow-lg: 0 0.5rem 2rem rgba(44, 52, 54, 0.12);
  --transition: 0.3s ease;
  --header-height: 3.25rem;
  --max-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  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-primary-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h2 {
  font-size: clamp(1.125rem, 3vw, 1.625rem);
}

h3 {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
}

h4 {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

p {
  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);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.55rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: var(--space-md);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 0.125rem solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-primary-dark);
}

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(247, 250, 251, 0.92);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: clamp(1.75rem, 4vw, 2.25rem);
  height: clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, var(--color-accent) 100%);
  border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  position: relative;
  flex-shrink: 0;
  animation: logo-pulse 4s ease-in-out infinite;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 30%;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
}

@keyframes logo-pulse {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%; }
  50% { border-radius: 45% 55% 40% 60% / 50% 50% 45% 55%; }
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2.5vw, 0.95rem);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover {
  color: var(--color-primary);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-primary);
  font-size: 1rem;
  z-index: 1002;
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 20rem;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s, opacity 0.4s;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.active {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  align-self: flex-end;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-bg-alt);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  transition: background var(--transition), color var(--transition);
}

.menu-close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  border-bottom: 0.0625rem solid var(--color-border);
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.menu-toggle.hidden {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(22rem, 70vh, 36rem);
  display: flex;
  align-items: center;
  background-image: linear-gradient(135deg, rgba(43, 110, 122, 0.84) 0%, rgba(44, 52, 54, 0.58) 100%), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero .btn-secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 14rem;
}

.water-figure {
  position: relative;
  width: clamp(8rem, 25vw, 12rem);
  height: clamp(8rem, 25vw, 12rem);
}

.water-drop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 4.5rem;
  background: linear-gradient(180deg, rgba(212, 238, 242, 0.95) 0%, rgba(43, 110, 122, 0.8) 100%);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: drop-float 3s ease-in-out infinite;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.water-drop::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 28%;
  width: 25%;
  height: 20%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0.125rem solid rgba(212, 238, 242, 0.5);
  border-radius: var(--radius-full);
  animation: ripple-expand 3s ease-out infinite;
}

.ripple:nth-child(1) { animation-delay: 0s; }
.ripple:nth-child(2) { animation-delay: 1s; }
.ripple:nth-child(3) { animation-delay: 2s; }

@keyframes drop-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-0.75rem); }
}

@keyframes ripple-expand {
  0% { width: 3rem; height: 3rem; opacity: 0.8; }
  100% { width: 12rem; height: 12rem; opacity: 0; }
}

.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: 0.0625rem solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p:last-child {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item i {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: step;
}

.step-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 0.25rem solid var(--color-primary);
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.quote-block {
  background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(196, 168, 130, 0.28) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.quote-block i {
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0.4;
  margin-bottom: var(--space-md);
}

.quote-block p {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.quote-block.compact {
  padding: var(--space-lg);
  text-align: left;
}

.quote-block.compact p {
  font-size: 0.82rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.disclaimer-box {
  background: var(--color-bg-alt);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 0.75rem;
  line-height: 1.7;
}

.disclaimer-box p {
  font-size: 0.75rem;
  margin-bottom: var(--space-sm);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.8rem;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-bottom: 0;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  max-width: 36rem;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-info-panel {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--color-white);
}

.contact-info-panel h2 {
  color: var(--color-white);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-lg);
}

.contact-info-panel h4 {
  color: var(--color-white);
  font-size: 0.8rem;
  margin-bottom: var(--space-xs);
}

.site-footer .logo-text {
  color: var(--color-white);
}

.contact-detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-detail i {
  font-size: 1rem;
  color: var(--color-accent);
  margin-top: 0.15rem;
}

.contact-detail p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-size: 0.85rem;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 0.0625rem solid var(--color-border);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group > label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.1875rem rgba(43, 110, 122, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c45c5c;
}

.form-group textarea {
  min-height: 7rem;
  resize: vertical;
}

.error-msg {
  font-size: 0.7rem;
  color: #c45c5c;
  margin-top: var(--space-xs);
  display: none;
}

.error-msg.visible {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  padding: 0;
}

.checkbox-group label {
  display: inline;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
  flex: 1;
}

.checkbox-group label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.checkbox-group label a:hover {
  color: var(--color-primary-dark);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 22rem;
  border: 0;
  display: block;
}

.legal-page {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  margin-bottom: var(--space-sm);
}

.legal-content h2 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.legal-content h3 {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p,
.legal-content li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.legal-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 0.0625rem solid var(--color-border);
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  padding: 0.5rem 1rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.home-button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-lg);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.legal-content th,
.legal-content td {
  padding: var(--space-sm) var(--space-md);
  border: 0.0625rem solid var(--color-border);
  text-align: left;
}

.legal-content th {
  background: var(--color-secondary);
  color: var(--color-text);
  font-weight: 600;
}

.center-page {
  min-height: 60vh;
  display: flex;
  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;
}

.success-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.center-page .btn {
  margin-top: var(--space-md);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -0.25rem 1.5rem rgba(44, 52, 54, 0.15);
  z-index: 2000;
  padding: var(--space-lg);
  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-inner p {
  font-size: 0.8rem;
  margin-bottom: var(--space-md);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-buttons .btn {
  margin-top: 0;
  font-size: 0.75rem;
  padding: 0.45rem 1rem;
}

.cookie-settings {
  display: none;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 0.0625rem solid var(--color-border);
}

.cookie-settings.visible {
  display: block;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 0.0625rem solid var(--color-border);
}

.cookie-category label {
  font-size: 0.8rem;
  font-weight: 500;
}

.cookie-category span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.375rem;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 1.375rem;
  pointer-events: none;
  transition: background var(--transition);
  z-index: 1;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(1.125rem);
}

.toggle-switch input:disabled {
  cursor: not-allowed;
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.privacy-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(44, 52, 54, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.privacy-popup.active {
  opacity: 1;
  visibility: visible;
}

.privacy-popup-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.privacy-popup-content h3 {
  margin-bottom: var(--space-md);
}

.privacy-popup-content p {
  font-size: 0.8rem;
}

.privacy-popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.privacy-popup-close:hover {
  color: var(--color-primary);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(0.5rem);
  border: 0.0625rem solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.habit-timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.habit-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.125rem;
  background: linear-gradient(180deg, var(--color-primary), 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.25rem);
  top: 0.35rem;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  border: 0.125rem solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.guide-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 0.0625rem solid var(--color-border);
}

.guide-card-content {
  padding: var(--space-lg);
}

.guide-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

@media (min-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-section {
    grid-template-columns: 1fr 1fr;
  }

  .split-section.reverse {
    direction: rtl;
  }

  .split-section.reverse > * {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-card {
    grid-template-columns: 1fr 1.2fr;
  }

  .guide-card.reverse {
    direction: rtl;
  }

  .guide-card.reverse > * {
    direction: ltr;
  }

  .quotes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 319px) {
  html {
    font-size: 93.75%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
