:root {
  --color-primary: #021A54;
  --color-accent: #FF85BB;
  --color-soft: #FFCEE3;
  --color-bg: #F5F5F5;
  --color-text: #132445;
  --color-white: #ffffff;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 30px rgba(2, 26, 84, 0.08);
  --shadow-hover: 0 18px 40px rgba(2, 26, 84, 0.14);
  --font-display: "Permanent Marker", cursive;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 80% -10%, #ffe2ef, transparent 36%), var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(2, 26, 84, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: 1rem;
}

.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;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(2, 26, 84, 0.24);
  background: #fff;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.main-nav a {
  padding: 0.46rem 0.82rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-primary);
  color: var(--color-soft);
  transform: translateY(-1px);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #ffe8f2);
}

.slide {
  display: none;
  padding: var(--space-xl) 0;
  animation: heroIn 0.8s ease;
}

.slide.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.hero-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  margin: 0 0 var(--space-sm);
}

h3 {
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
}

.eyebrow {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.74rem 1.26rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background-color 0.26s ease, color 0.26s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn.primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn.ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(2, 26, 84, 0.24);
}

.btn.light {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(2, 26, 84, 0.84);
  color: var(--color-white);
  cursor: pointer;
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.section {
  padding: var(--space-xl) 0;
}

.tinted {
  background: linear-gradient(180deg, rgba(255, 206, 227, 0.45), rgba(255, 255, 255, 0.9));
}

.soft {
  background: rgba(255, 133, 187, 0.11);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.info-card,
.tile,
.testimonies article,
.legal,
.contact-form,
.quote-block,
.unique-block,
.accordion-item,
.interactive-panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.masonry {
  column-count: 2;
  column-gap: var(--space-md);
}

.tile {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.quote-block {
  text-align: center;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.map-embed.compact {
  min-height: 260px;
  margin-top: var(--space-md);
}

.cta-band {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-band h2,
.cta-band p {
  color: var(--color-white);
}

.cta-flex {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  justify-content: space-between;
}

.site-footer {
  background: #02133d;
  color: #f8e8ef;
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-links {
  display: grid;
  gap: var(--space-xs);
}

.page-hero {
  padding: 4.6rem 0 1rem;
}

.prose {
  max-width: 780px;
}

.testimonies {
  display: grid;
  gap: var(--space-md);
}

.contact-form {
  display: grid;
  gap: 0.4rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(2, 26, 84, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.82rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 133, 187, 0.45);
  border-color: var(--color-accent);
}

.checkbox-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: var(--space-xs);
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.error {
  color: #b00020;
  min-height: 1.1rem;
  font-size: 0.84rem;
}

.unique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.unique-block {
  border-top: 4px solid var(--color-accent);
}

.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.badge-line span {
  background: rgba(2, 26, 84, 0.09);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.accordion {
  display: grid;
  gap: 0.8rem;
  margin-top: var(--space-lg);
}

.accordion-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s ease, opacity 0.32s ease;
}

.accordion-item.open .accordion-content {
  max-height: 280px;
  opacity: 1;
  margin-top: 0.55rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.chip {
  border: 1px solid rgba(2, 26, 84, 0.2);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.chip.active {
  background: var(--color-primary);
  color: var(--color-soft);
  border-color: var(--color-primary);
}

.interactive-panel {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, 94%);
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(2, 26, 84, 0.22);
  display: none;
  z-index: 60;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(2, 26, 84, 0.45);
  z-index: 61;
}

.cookie-modal.open {
  display: grid;
}

.cookie-panel {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  width: min(420px, 92%);
  display: grid;
  gap: var(--space-sm);
}

.thank-you-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.legal h2 {
  margin-top: var(--space-md);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {

  .hero-grid,
  .split,
  .stats,
  .footer-grid,
  .cta-flex,
  .unique-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .masonry {
    column-count: 1;
  }

  .slider-btn {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    padding: 0.75rem;
    flex-direction: column;
    z-index: 55;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }
}