
:root {
  --color-primary: #4A6670;
  --color-secondary: #F5F0EB;
  --color-accent: #B8734A;
  --color-highlight: #D4C4A8;
  --color-text: #2C3338;
  --color-text-light: #5c656c;
  --color-white: #ffffff;
  --color-overlay: rgba(44, 51, 56, 0.58);
  --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.875rem;
  --radius-lg: 1.125rem;
  --shadow-sm: 0 0.125rem 0.5rem rgba(45, 52, 54, 0.08);
  --shadow-md: 0 0.375rem 1.25rem rgba(45, 52, 54, 0.12);
  --shadow-lg: 0 0.625rem 2rem rgba(74, 102, 112, 0.18);
  --transition: 0.25s 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;
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-secondary);
  min-width: 320px;
  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);
}

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.375rem, 3.5vw, 2rem);
}

h2 {
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
}

h3 {
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
}

h4 {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-header {
  position: relative;
  z-index: 900;
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(245, 240, 235, 0.95) 100%);
  border-bottom: 0.0625rem solid rgba(74, 102, 112, 0.12);
  backdrop-filter: blur(0.5rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  min-height: var(--header-height);
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo-mark {
  width: clamp(1.75rem, 4vw, 2.125rem);
  height: clamp(1.75rem, 4vw, 2.125rem);
  border-radius: 50% 50% 50% 0.375rem;
  background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
  position: relative;
  flex-shrink: 0;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0.3125rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(0.6875rem, 2.2vw, 0.875rem);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-menu {
  margin-left: auto;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle,
.menu-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--color-text);
  padding: var(--space-xs);
  transition: color var(--transition);
}

.menu-toggle {
  display: none;
  z-index: 1001;
}

.menu-toggle:hover,
.menu-close:hover {
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(17.5rem, 88vw);
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl) var(--space-lg);
  transform: translateY(-100%);
  transition: transform 0.35s ease, visibility 0.35s;
  z-index: 1000;
  visibility: hidden;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 0.0625rem solid rgba(74, 102, 112, 0.1);
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.25rem;
}

body.menu-open .menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(22rem, 55vh, 32rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 240, 235, 0.92) 0%, rgba(74, 102, 112, 0.32) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(245, 240, 235, 0.88) 40%, rgba(74, 102, 112, 0.42) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 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 h1 {
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 14rem;
}

.figure-core {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-primary), var(--color-accent));
  position: relative;
  z-index: 3;
  animation: pulse-core 3s ease-in-out infinite;
}

.figure-head {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-white);
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.figure-body {
  width: 2.5rem;
  height: 3.5rem;
  border-radius: 1.25rem 1.25rem 0.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.figure-ring {
  position: absolute;
  border-radius: 50%;
  border: 0.125rem solid rgba(74, 102, 112, 0.35);
  animation: ring-expand 4s ease-in-out infinite;
}

.figure-ring:nth-child(1) {
  width: 7rem;
  height: 7rem;
  animation-delay: 0s;
}

.figure-ring:nth-child(2) {
  width: 9.5rem;
  height: 9.5rem;
  animation-delay: 1s;
}

.figure-ring:nth-child(3) {
  width: 12rem;
  height: 12rem;
  animation-delay: 2s;
}

.figure-orbit {
  position: absolute;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-highlight);
  animation: orbit 6s linear infinite;
}

.figure-orbit:nth-child(5) {
  animation-delay: 0s;
}

.figure-orbit:nth-child(6) {
  animation-delay: 2s;
  background: var(--color-accent);
}

.figure-orbit:nth-child(7) {
  animation-delay: 4s;
  background: var(--color-primary);
}

@keyframes pulse-core {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes ring-expand {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0.25; }
}

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(5.5rem) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(5.5rem) rotate(-360deg); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.5625rem 1.125rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  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-sm);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #3a525a;
  color: var(--color-highlight);
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 0.0625rem solid rgba(74, 102, 112, 0.3);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background: #9a6238;
  color: var(--color-highlight);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.section-header p {
  font-size: 0.8125rem;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-md);
}

.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 0.0625rem solid rgba(74, 102, 112, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-md);
}

.pillar-card i {
  font-size: 1.375rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.pillar-card h3 {
  margin-bottom: var(--space-xs);
}

.pillar-card p {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.timeline {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 0.125rem;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}

.timeline-item {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: var(--space-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.3125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-highlight);
  border: 0.125rem solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline-item h3 {
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.habit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-md);
}

.habit-item {
  background: linear-gradient(145deg, var(--color-white), rgba(245, 240, 235, 0.8));
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 0.0625rem solid rgba(184, 115, 74, 0.15);
}

.habit-item i {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.habit-item h4 {
  margin-bottom: var(--space-xs);
}

.habit-item p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 0.1875rem solid var(--color-accent);
}

.testimonial-card p {
  font-size: 0.8125rem;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial-author strong {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: var(--color-text);
}

.testimonial-author span {
  font-size: 0.6875rem;
  color: var(--color-text-light);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.stat-block {
  padding: var(--space-md);
  background: rgba(74, 102, 112, 0.06);
  border-radius: var(--radius-md);
}

.stat-block strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.stat-block span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.disclaimer-box {
  background: rgba(212, 196, 168, 0.22);
  border-left: 0.25rem solid var(--color-highlight);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  max-width: 48rem;
  margin: 0 auto;
}

.disclaimer-box p {
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a525a 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto var(--space-md);
  font-size: 0.8125rem;
}

.cta-band .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-band .btn-primary:hover {
  background: var(--color-highlight);
  color: var(--color-text);
}

.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: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.footer-col ul li {
  margin-bottom: var(--space-xs);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.footer-col a:hover {
  color: var(--color-highlight);
}

.footer-col p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero {
  background: linear-gradient(135deg, rgba(74, 102, 112, 0.08) 0%, rgba(184, 115, 74, 0.1) 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;
  font-size: 0.8125rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  font-size: 1.125rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-item h3 {
  margin-bottom: var(--space-xs);
}

.feature-item p {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}

.resource-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-top: 0.1875rem solid var(--color-primary);
  transition: transform var(--transition);
}

.resource-card:hover {
  transform: translateY(-0.125rem);
}

.resource-card i {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.resource-card h3 {
  margin-bottom: var(--space-xs);
}

.resource-card p {
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-block h3 {
  margin-bottom: var(--space-md);
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-detail i {
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 0.125rem;
}

.contact-detail p {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 0.0625rem solid rgba(74, 102, 112, 0.1);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  border: 0.0625rem solid rgba(45, 52, 54, 0.15);
  border-radius: var(--radius-sm);
  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-primary);
  box-shadow: 0 0 0 0.1875rem rgba(74, 102, 112, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-group textarea {
  min-height: 6rem;
  resize: vertical;
}

.error-msg {
  display: none;
  font-size: 0.6875rem;
  color: #e74c3c;
  margin-top: var(--space-xs);
}

.error-msg.visible {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
  margin-top: 0.1875rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 0;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-md);
}

.map-wrap iframe {
  width: 100%;
  height: 22rem;
  border: 0;
  display: block;
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}

.legal-content h1 {
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-content p,
.legal-content li {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.legal-content ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  list-style: disc;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.table-wrap {
  overflow: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid rgba(45, 52, 54, 0.1);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.legal-content th,
.legal-content td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 0.0625rem solid rgba(45, 52, 54, 0.08);
}

.legal-content th {
  background: rgba(74, 102, 112, 0.08);
  font-weight: 600;
  color: var(--color-text);
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
}

.home-button:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.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 {
  margin-bottom: var(--space-sm);
}

.page-sticky-footer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
}

.page-sticky-footer main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-sticky-footer .center-page {
  flex: 1;
  min-height: 0;
  width: 100%;
}

.page-sticky-footer .site-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

.center-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.center-icon.success {
  color: var(--color-accent);
}

.center-icon.info {
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -0.25rem 1.25rem rgba(45, 52, 54, 0.15);
  padding: var(--space-md);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  min-width: 14rem;
}

.cookie-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-buttons .btn {
  margin-top: 0;
  padding: 0.4375rem 0.875rem;
  font-size: 0.75rem;
}

.cookie-settings {
  display: none;
  width: 100%;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 0.0625rem solid rgba(45, 52, 54, 0.1);
}

.cookie-settings.open {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 0.0625rem solid rgba(45, 52, 54, 0.06);
}

.cookie-category label {
  font-size: 0.8125rem;
  font-weight: 500;
}

.cookie-category p {
  font-size: 0.6875rem;
  margin-bottom: 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.375rem;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(45, 52, 54, 0.2);
  border-radius: 1rem;
  cursor: pointer;
  transition: background var(--transition);
  pointer-events: none;
  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: 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.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;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: var(--space-md);
}

.privacy-popup.active {
  opacity: 1;
  visibility: visible;
}

.privacy-popup-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.privacy-popup-content h3 {
  margin-bottom: var(--space-sm);
}

.privacy-popup-content p {
  font-size: 0.8125rem;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.privacy-popup-buttons .btn {
  margin-top: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-figure {
    min-height: 11rem;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.center-actions {
  text-align: center;
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}
