:root {
  --color-bg: #F7F6E5;
  --color-primary: #76D2DB;
  --color-accent: #DA4848;
  --color-dark: #36064D;
  --color-surface: #FFFFFF;
  --font-main: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-heading: "Gill Sans", "Trebuchet MS", sans-serif;
  --shadow-soft: 0 8px 30px rgba(54, 6, 77, 0.14);
  --shadow-hover: 0 12px 34px rgba(54, 6, 77, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.55;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 246, 229, 0.96);
  backdrop-filter: blur(8px);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  gap: var(--space-2);
}

.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;
  }
}

.main-nav {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--color-primary);
  color: #0E1A2C;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(54, 6, 77, 0.3);
  background: #FFFFFF;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(118, 210, 219, 0.37), rgba(218, 72, 72, 0.26));
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(54, 6, 77, 0.35), transparent 40%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding: var(--space-5) 0;
}

.hero-copy,
.hero-form,
.hero-figure {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  animation: fadeUp 0.8s ease both;
}

.badge,
.trust-pill {
  display: inline-block;
  background: var(--color-dark);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.intro {
  font-size: 1.06rem;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.price strong {
  color: var(--color-accent);
  font-size: 1.4rem;
}

.hero-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  animation: scaleIn 0.9s ease both 0.1s;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

input,
textarea,
button {
  font: inherit;
}

label {
  display: block;
  margin-top: var(--space-2);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(54, 6, 77, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #FFFFFF;
}

input:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: 2px solid rgba(118, 210, 219, 0.35);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
}

.consent input {
  width: auto;
  margin-top: 4px;
}

.error {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  background: var(--color-dark);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-top: var(--space-2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: #2A023A;
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.section {
  padding: var(--space-5) 0;
}

.alt {
  background: rgba(118, 210, 219, 0.2);
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.three-col article {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.three-col article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-hover {
  position: relative;
  overflow: hidden;
}

.card-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(118, 210, 219, 0.18), transparent 60%);
  transition: opacity 0.2s ease;
  opacity: 0;
}

.card-hover:hover::after {
  opacity: 1;
}

.author {
  font-weight: 700;
}

.cta {
  background: linear-gradient(135deg, rgba(218, 72, 72, 0.15), rgba(54, 6, 77, 0.15));
}

.cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.map-section iframe {
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.disclaimer {
  background: rgba(54, 6, 77, 0.1);
}

.site-footer {
  background: var(--color-dark);
  color: #FFFFFF;
  padding: var(--space-4) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.site-footer a {
  color: #FFFFFF;
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(460px, calc(100% - 32px));
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-3);
}

.cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.cookie-settings {
  margin-top: var(--space-2);
}

.cookie-settings label {
  margin-top: 8px;
}

.hidden {
  display: none;
}

.policy-main {
  padding: var(--space-5) 0;
}

.policy-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
}

.acc-btn {
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid rgba(54, 6, 77, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.acc-btn[aria-expanded="true"] {
  background: rgba(118, 210, 219, 0.15);
  border-color: var(--color-primary);
}

.acc-panel {
  padding: 10px 2px 0 2px;
}

.sr {
  opacity: 0;
  transform: translateY(18px);
}

.sr.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 960px) {

  .hero-grid,
  .three-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    background: #FFFFFF;
    border: 1px solid rgba(54, 6, 77, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 10px;
    z-index: 40;
  }

  .main-nav.open {
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    display: block;
    text-align: center;
  }

  .header-wrap {
    position: relative;
  }
}