:root {
  --color-deep: #2B2E4A;
  --color-accent: #E84545;
  --color-berry: #903749;
  --color-mauve: #53354A;
  --color-bg: #1a1c2e;
  --color-surface: #252840;
  --color-text: #e8e6f0;
  --color-muted: #a09bb8;
  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-hero: clamp(1.75rem, 5vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (max-width: 360px) {
  html {
    font-size: 93.75%;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 87.5%;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  min-width: 0;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-berry);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

.site-header {
  z-index: 100;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  transition: transform var(--transition-base), background var(--transition-base);
}

.site-header.hidden-header {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: rgba(27, 30, 74, 0.92);
  backdrop-filter: blur(8px);
}

.site-header.menu-open {
  z-index: 200;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  word-break: break-word;
  min-width: 0;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
}

.nav-desktop a {
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--color-accent);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-text);
  z-index: 200;
  position: relative;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center center;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  pointer-events: none;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-surface);
  padding: var(--space-3xl) var(--space-xl);
  z-index: 105;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile li {
  margin-bottom: var(--space-lg);
}

.nav-mobile a {
  color: var(--color-text);
  font-size: var(--fs-base);
}

.hero-wrap {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
  background-image: url('../pictures/BG.jpg');
  background-size: cover;
  background-position: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;  
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 42rem;
}

.hero-content h1 {
  color: white;
  text-shadow: 1px 1px 2px black;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.8s ease forwards;
}

.hero-content p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.8s 0.15s ease forwards;
  color: white;
  text-shadow: 1px 1px 2px black;
  animation-fill-mode: forwards;
}

.hero-content .btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
  animation: fadeUp 0.8s 0.3s ease forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-content .btn:hover {
  background: var(--color-berry);
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
  background: var(--color-berry);
  transform: translateY(-2px);
  color: #fff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section .card {
  animation: fadeUp 0.6s ease backwards;
}

.section .card:nth-child(1) { animation-delay: 0.05s; }
.section .card:nth-child(2) { animation-delay: 0.15s; }
.section .card:nth-child(3) { animation-delay: 0.25s; }

.angled-wrap {
  animation: fadeIn 0.6s ease;
}

.overlap-card {
  animation: fadeUp 0.5s ease;
}

.section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 75rem;
  margin: 0 auto;
}

.section-title {
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.section-title span {
  color: var(--color-accent);
}

.asymmetric-section {
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.asymmetric-section .block {
  margin-bottom: var(--space-xl);
}

.asymmetric-section .block:nth-child(odd) {
  margin-left: 0;
  margin-right: 10%;
}

.asymmetric-section .block:nth-child(even) {
  margin-left: 12%;
  margin-right: 0;
}

.angled-wrap {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  background: var(--color-surface);
  padding: var(--space-3xl) var(--space-lg);
  margin: var(--space-2xl) 0;
}

.overlap-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-top: -2rem;
  margin-left: var(--space-lg);
  margin-right: var(--space-lg);
}

.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card img {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: var(--fs-lg);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.card .price {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-accent);
}

.contact-section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 50rem;
  margin: 0 auto;
}

.contact-wrap {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.contact-info p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.contact-form {
  background: var(--color-surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-mauve);
  border-radius: var(--radius-sm);
  background: var(--color-deep);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form .consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-form .consent-wrap input {
  width: auto;
  margin: 0.25rem 0 0 0;
}

.contact-form .consent-wrap label {
  margin-bottom: 0;
  font-size: var(--fs-xs);
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.contact-form button[type="submit"]:hover {
  background: var(--color-berry);
}

.map-wrap {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 220px;
  min-height: 180px;
  border: none;
}

.disclaimer-note {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin: var(--space-lg) auto;
  max-width: 75rem;
  padding: 0 var(--space-lg);
  font-style: italic;
}

.site-footer {
  padding: var(--space-lg) var(--space-lg);
  background: var(--color-deep);
  margin-top: var(--space-2xl);
}

.footer-inner {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links a {
  color: var(--color-muted);
  font-size: var(--fs-xs);
}

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

.cookie-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 28rem;
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(120%);
  transition: transform var(--transition-base);
}

.cookie-popup.visible {
  transform: translateY(0);
}

.cookie-popup p {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.cookie-popup a {
  color: var(--color-accent);
  font-size: var(--fs-xs);
}

.cookie-popup .cookie-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.cookie-popup button {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.cookie-popup .btn-accept {
  background: var(--color-accent);
  color: #fff;
}

.cookie-popup .btn-accept:hover {
  background: var(--color-berry);
}

.cookie-popup .btn-decline {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-mauve);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  text-align: center;
}

.thank-you-page h1 {
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.thank-you-page p {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  max-width: 28rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  text-align: center;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.error-page p {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
}

.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  font-size: var(--fs-2xl);
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-lg);
  color: var(--color-text);
}

.legal-page p, .legal-page li {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.legal-page ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.page-hero-small {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.page-hero-small h1 {
  color: var(--color-text);
}

.asymmetric-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-lg) 0;
}

.asymmetric-image.left {
  margin-right: 15%;
}

.asymmetric-image.right {
  margin-left: 15%;
}

@media (max-width: 320px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  .logo {
    font-size: var(--fs-base);

  }
  .burger {
    padding: var(--space-sm);
    min-width: 44px;
    min-height: 44px;
  }
  .section,
  .contact-section,
  .asymmetric-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .legal-page {
    padding: var(--space-xl) var(--space-md);
  }
  .hero-wrap {
    min-height: 80vh;
    padding: var(--space-xl) var(--space-md);
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: var(--fs-xs);
  }
  .angled-wrap {
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-lg) 0;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }
  .overlap-card {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
    margin-top: -1.5rem;
    padding: var(--space-lg);
  }
  .card {
    padding: var(--space-md);
  }
  .card img {
    height: 120px;
  }
  .card h3 {
    font-size: var(--fs-base);
  }
  .contact-form {
    padding: var(--space-md);
  }
  .contact-form textarea {
    min-height: 80px;
  }
  .map-wrap iframe {
    height: 180px;
    min-height: 160px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-md);
  }
  .footer-links {
    justify-content: center;
  }
  .cookie-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    padding: var(--space-sm);
  }
  .nav-mobile {
    padding: var(--space-2xl) var(--space-md);
  }
  .nav-mobile a {
    font-size: var(--fs-sm);
  }
  .page-hero-small {
    padding: var(--space-xl) var(--space-md);
  }
  .thank-you-page,
  .error-page {
    padding: var(--space-md);
  }
  .error-page h1 {
    font-size: 3rem;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  .section,
  .contact-section,
  .asymmetric-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  .overlap-card {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }
  .cookie-popup {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .asymmetric-section .block:nth-child(odd),
  .asymmetric-section .block:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }
  .overlap-card {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }
  .card-grid {
    gap: var(--space-md);
  }
  .section-title {
    font-size: var(--fs-xl);
  }
  .disclaimer-note {
    padding: 0 var(--space-md);
  }
}

@media (min-width: 480px) and (max-width: 639px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .card img {
    height: 140px;
  }
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .section,
  .asymmetric-section {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
  .overlap-card {
    margin-left: var(--space-xl);
    margin-right: var(--space-xl);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .burger {
    display: none;
  }
  .contact-wrap {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
  .contact-section {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
  .map-wrap iframe {
    height: 260px;
  }
  .legal-page {
    padding: var(--space-2xl) var(--space-xl);
  }
}

@media (max-width: 767px) {
  .asymmetric-section .block:nth-child(odd),
  .asymmetric-section .block:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }
  .asymmetric-image.left,
  .asymmetric-image.right {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-2xl) var(--space-xl);
  }
  .hero-wrap {
    min-height: 75vh;
    padding: var(--space-3xl) var(--space-xl);
  }
  .contact-section {
    padding: var(--space-2xl) var(--space-xl);
  }
  .footer-inner {
    padding: 0 var(--space-xl);
  }
}

@media (min-width: 1280px) {
  .section {
    padding: var(--space-3xl) var(--space-xl);
  }
  .angled-wrap {
    padding: var(--space-3xl) var(--space-2xl);
  }
  .contact-section {
    max-width: 56rem;
  }
  .map-wrap iframe {
    height: 300px;
  }
}
