﻿:root {
  --color-bg: #fff7cd;
  --color-primary: #fdc3a1;
  --color-secondary: #fb9b8f;
  --color-accent: #f57799;
  --color-text: #2f2a31;
  --color-muted: #5f5a63;
  --color-surface: #ffffff;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
  --font-heading: "Noto Serif", Georgia, serif;
  --shadow-sm: 0 4px 12px rgba(22, 18, 24, 0.08);
  --shadow-md: 0 14px 30px rgba(22, 18, 24, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: linear-gradient(180deg, var(--color-bg), #fff);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  color: var(--color-muted);
  font-size: .92rem;
}

.navwrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) 0;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

nav a {
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform .2s ease, background-color .25s ease;
}

nav a:hover,
nav a:focus-visible {
  background: var(--color-primary);
  transform: translateY(-2px);
}

main {
  padding: var(--space-6) 0 var(--space-7);
}

section {
  margin-bottom: var(--space-7);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-panel,
.card,
.feature-banner {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-panel {
  padding: var(--space-6);
  transition: transform .4s ease, box-shadow .4s ease;
}

.hero-panel:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

h1 {
  margin-top: 0;
  font-size: clamp(1.9rem, 3.9vw, 3rem);
}

.muted,
.card p {
  color: var(--color-muted);
}

.btn-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.btn {
  border: 0;
  border-radius: var(--radius-md);
  padding: .72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-text);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.card {
  padding: var(--space-5);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.feature-banner {
  padding: var(--space-5);
  border-left: 6px solid var(--color-accent);
}

.badge {
  display: inline-block;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: #ffe6ef;
  font-weight: 600;
  font-size: .85rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.kpi {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.kpi strong {
  font-size: 1.85rem;
  display: block;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tab-btn {
  border: 1px solid #e6d8de;
  background: #fff;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: var(--color-primary);
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn .35s ease;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-a {
  padding: 0 1.1rem 1rem;
  display: none;
  color: var(--color-muted);
}

.faq-item.open .faq-a {
  display: block;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.disclaimer {
  background: #fff3f7;
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

form {
  max-width: 780px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8d0d5;
  border-radius: var(--radius-sm);
  padding: .8rem;
  font: inherit;
}

.field {
  margin-bottom: var(--space-4);
}

.error {
  color: #b60037;
  min-height: 1.2rem;
  font-size: .92rem;
  display: block;
}

.checkbox-line {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.checkbox-line input {
  width: auto;
  margin-top: .32rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--space-4);
  width: min(960px, 94vw);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
  z-index: 60;
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.cookie-settings {
  display: none;
  margin-top: var(--space-4);
  background: #fff7f2;
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.cookie-settings.open {
  display: block;
}

.toggle-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
}

.switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d4ced1;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.switch input:checked+.slider {
  background: var(--color-accent);
}

.switch input:checked+.slider::before {
  transform: translateX(22px);
}

footer {
  background: #1f1d24;
  color: #f5eff2;
  padding: var(--space-7) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
}

footer a {
  color: #ffd8e8;
}

.small {
  color: #e6dbe1;
  font-size: .93rem;
}

.fade-up {
  animation: rise .6s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {

  .topbar,
  .navwrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3,
  .kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column;
  }
}