:root {
  --color-primary: #1b3c53;
  --color-secondary: #234c6a;
  --color-accent: #456882;
  --color-soft: #d2c1b6;
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-text: #12212d;
  --color-error: #b42318;
  --font-main: "Segoe UI", Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-h1: clamp(1.8rem, 3vw, 2.7rem);
  --font-size-h2: clamp(1.4rem, 2.2vw, 2rem);
  --shadow-card: 0 10px 28px rgba(27, 60, 83, 0.12);
  --shadow-hover: 0 14px 32px rgba(27, 60, 83, 0.2);
  --shadow-glow: 0 0 0 3px rgba(69, 104, 130, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-xs: 0.4rem;
  --space-sm: 0.8rem;
  --space-md: 1.2rem;
  --space-lg: 1.8rem;
  --space-xl: 2.6rem;
  --space-2xl: 3.6rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  background-image: radial-gradient(circle at 15% 10%, rgba(210, 193, 182, 0.28), transparent 26%), radial-gradient(circle at 95% 90%, rgba(69, 104, 130, 0.12), transparent 20%);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-primary);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35, 76, 106, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 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;
  }
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: var(--radius-lg);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.main-nav a {
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(69, 104, 130, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.main-nav a:hover {
  background: rgba(69, 104, 130, 0.24);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.section {
  padding: var(--space-xl) 0;
}

.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

h1,
h2,
h3 {
  color: var(--color-primary);
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.badge-line {
  font-weight: 600;
}

.trust-badge {
  display: inline-block;
  margin-left: var(--space-xs);
  padding: 0.25rem 0.62rem;
  border-radius: var(--radius-lg);
  background: rgba(35, 76, 106, 0.18);
}

.price-line {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.new-price {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
}

.old-price {
  color: #7e8c96;
  text-decoration: line-through;
}

.btn {
  display: inline-block;
  margin-top: var(--space-sm);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0.64rem 1.12rem;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: var(--color-accent);
}

label {
  display: block;
  margin-top: var(--space-sm);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  margin-top: 0.32rem;
  padding: 0.65rem 0.72rem;
  border: 1px solid #c2cbd1;
  border-radius: var(--radius-sm);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(35, 76, 106, 0.3);
  border-color: var(--color-secondary);
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-weight: 500;
}

.consent-line a {
  text-decoration: underline;
}

.consent-line input {
  width: auto;
  margin-top: 0.2rem;
}

.error-message {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  color: var(--color-error);
  font-size: 0.9rem;
}

.contact-meta {
  margin: var(--space-xs) 0 0;
}

.map-card iframe {
  border-radius: var(--radius-sm);
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.tab-btn {
  border: 1px solid rgba(35, 76, 106, 0.3);
  background: rgba(69, 104, 130, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeSlide 0.35s ease;
}

.faq-item {
  border: 1px solid rgba(35, 76, 106, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: rgba(69, 104, 130, 0.08);
  color: var(--color-primary);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(69, 104, 130, 0.16);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
}

.faq-item.open .faq-answer {
  max-height: 180px;
}

.faq-answer p {
  margin: 0;
  padding: 0.75rem 0.9rem;
}

.disclaimer {
  border-left: 4px solid var(--color-secondary);
}

.site-footer {
  border-top: 1px solid rgba(35, 76, 106, 0.16);
  background: #fff;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
}

.footer-line nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-banner {
  position: fixed;
  inset: auto var(--space-sm) var(--space-sm) auto;
  max-width: 420px;
  z-index: 30;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-md);
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-settings {
  display: grid;
  gap: var(--space-xs);
  margin: var(--space-sm) 0;
}

.cookie-settings label {
  margin: 0;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

@media (max-width: 980px) {

  .hero-grid,
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
    margin-top: var(--space-xs);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero-grid,
  .cards-grid,
  .footer-line {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-line {
    gap: var(--space-xs);
  }
}