:root {
  --pico-primary: #6b5889;
  --pico-primary-background: #6b5889;
  --pico-primary-hover: #442b65;
  --pico-primary-hover-background: #442b65;
  --pico-background-color: #f4effd;
  --pico-color: #181321;
  --pico-secondary: #90636f;
  --pico-font-family: 'Manrope', sans-serif;
  --pico-border-radius: 16px;
  --pico-spacing: 1rem;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Manrope', serif; }

html {
  scroll-behavior: smooth;
}

body {
  background: #f4effd;
  color: #181321;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

main.container {
  padding-top: 0;
  padding-bottom: 0;
}

section {
  padding: 4.5rem 0;
}

section.surface,
article.surface {
  background: #f9f7fe;
}

section.background,
article.background {
  background: #f4effd;
}

.section-shell {
  border-radius: 24px;
  padding: 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 247, 254, 0.94);
  backdrop-filter: blur(8px);
}

.site-header nav {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  transition: padding 0.25s ease, transform 0.25s ease;
}

.site-header nav ul {
  align-items: center;
}

.site-header nav a,
.site-header nav strong {
  color: #181321;
  text-decoration: none;
}

.site-header nav [role="button"] {
  margin-bottom: 0;
}

.site-header.is-shrunk {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.site-header.is-shrunk nav {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: width 0.25s ease, height 0.25s ease;
}

.site-header.is-shrunk .brand-mark img {
  width: 38px;
  height: 38px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy small {
  color: #5f5b67;
  font-size: 0.72rem;
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid,
.two-column,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  align-items: center;
}

.hero-copy p:first-of-type {
  color: #0085a0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.hero-copy .lead {
  font-size: 1.12rem;
  color: #5f5b67;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero figure,
.about-visual figure {
  margin: 0;
}

.hero figure img {
  min-height: 420px;
  object-fit: cover;
}

.value-grid {
  display: grid;
  gap: 1.5rem;
}

article {
  border-radius: 16px;
  background: #f9f7fe;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: none;
}

.value-tile:nth-child(1) {
  box-shadow: 0 1px 2px rgba(107, 88, 137, 0.18);
}

.value-tile:nth-child(2) {
  box-shadow: 0 1px 2px rgba(144, 99, 111, 0.18);
}

.value-tile:nth-child(3) {
  box-shadow: 0 1px 2px rgba(0, 133, 160, 0.18);
}

.value-tile:nth-child(4) {
  box-shadow: 0 1px 2px rgba(107, 88, 137, 0.14);
}

.value-number {
  font-size: 3rem;
  line-height: 1;
  color: #9f90b8;
  font-weight: 800;
  margin-bottom: 1rem;
}

section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 0.8rem;
}

.section-intro {
  max-width: 46rem;
  color: #5f5b67;
  margin-bottom: 2rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-list article h3,
.contact-card h3,
.footer-grid h3 {
  margin-bottom: 0.5rem;
}

.about-visual img {
  min-height: 360px;
  object-fit: cover;
}

.contact-card p,
footer p,
footer li,
footer a {
  color: #5f5b67;
}

.contact-card strong,
footer strong {
  color: #181321;
}

button,
button.secondary,
[role="button"],
input[type="submit"] {
  background: #f9f7fe;
  color: #181321;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

button:hover,
button:focus,
[role="button"]:hover,
[role="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #ffffff;
  color: #181321;
}

input,
textarea,
select {
  border-radius: 4px;
  border: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
  background: #f9f7fe;
}

.map-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.curve-divider {
  display: block;
  width: 100%;
  height: 72px;
  color: #f9f7fe;
}

.curve-divider.surface-divider {
  color: #f4effd;
}

footer.site-footer {
  background: #f9f7fe;
  padding: 4rem 0 3rem;
}

footer.site-footer ul {
  padding-left: 0;
}

footer.site-footer li {
  list-style: none;
  margin-bottom: 0.6rem;
}

footer.site-footer a {
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #6b5889;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 380px;
  background: #f9f7fe;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  z-index: 1100;
}

.cookie-banner p {
  margin-bottom: 0.8rem;
  color: #5f5b67;
}

.cookie-banner .actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .footer-grid,
  .value-grid,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 767px) {
  .hero {
    padding-top: 3.5rem;
  }

  section {
    padding: 3.2rem 0;
  }

  .site-header nav,
  .site-header.is-shrunk nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-header nav ul:last-child {
    gap: 0.35rem;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }
}
