:root {
  --color-text: #54595f;
  --color-heading: #000000;
  --color-muted: #7a7a7a;
  --color-accent: #ed4441;
  --color-beige: #e0d8cc;
  --color-white: #ffffff;
  --color-cookie-bg: #202020;
  --color-cookie-btn: #0c4da2;
  --font-sans: "Roboto", Arial, sans-serif;
  --font-slab: "Roboto Slab", Georgia, serif;
  --letter: 1.1px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
  letter-spacing: var(--letter);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--color-heading);
  font-weight: 600;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

p {
  margin: 0 0 1em;
}

/* Language switcher */
.lang-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  padding: 12px 20px 8px;
}

.lang-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-heading);
}

.lang-item:hover {
  text-decoration: none;
  opacity: 0.75;
}

.lang-item .flag {
  width: 22px;
  height: 14px;
  display: block;
}

.lang-item .flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-item span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.lang-item + .lang-item {
  margin-left: 12px;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}

.carousel-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dots button.active {
  background: #fff;
}

/* Hero / features */
.section {
  padding: 40px 20px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: var(--letter);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.feature {
  max-width: 280px;
}

.feature-icon {
  color: var(--color-accent);
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 60px;
  height: 60px;
  fill: currentColor;
  margin: 0 auto;
}

.feature h4 {
  font-family: var(--font-slab);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: var(--letter);
}

.feature p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Info band */
.info-band {
  background: linear-gradient(180deg, #f7f4ef 0%, #fff 100%);
  padding: 48px 20px;
}

.info-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.info-lead {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 18px;
}

.info-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: var(--letter);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.divider {
  width: 40%;
  max-width: 180px;
  height: 2.5px;
  background: var(--color-accent);
  border: 0;
  margin: 12px 0 24px;
}

.info-copy {
  line-height: 30px;
}

.info-copy a {
  color: var(--color-heading);
  text-decoration: underline;
}

/* Contact cards */
.contact-cards {
  background: var(--color-beige);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--color-white);
  padding: 28px 20px;
  text-align: center;
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-accent);
}

.card-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: var(--letter);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card p {
  margin: 0;
}

.card a {
  color: var(--color-text);
}

/* Map */
.map-wrap {
  background: var(--color-beige);
  padding: 0 0 16px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Contact form section */
.contact-section {
  padding: 48px 20px 64px;
}

.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: var(--letter);
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--color-heading);
}

.form-row label .req {
  color: var(--color-accent);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  letter-spacing: 0.3px;
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(237, 68, 65, 0.35);
  border-color: var(--color-accent);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
}

.btn:hover {
  background: #d63a37;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-message {
  font-size: 0.95rem;
  min-height: 1.2em;
}

.form-message.ok {
  color: #1b7a3d;
}

.form-message.err {
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  padding: 24px 20px 40px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
}

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

/* Legal pages */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: var(--letter);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.legal h3 {
  font-size: 1.15rem;
  margin: 1.6em 0 0.6em;
}

.legal hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 1.5em 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--color-cookie-bg);
  color: #fff;
  padding: 18px 20px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1 1 420px;
  font-family: "Nunito", var(--font-sans);
  letter-spacing: 0.2px;
}

.cookie-banner button.linkish {
  background: none;
  border: 0;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn-accept {
  background: var(--color-cookie-btn);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

.cookie-actions .btn-settings {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
  opacity: 0.85;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  place-items: center;
  padding: 20px;
}

.cookie-modal.is-open {
  display: grid;
}

.cookie-modal-panel {
  background: #fff;
  color: #222;
  max-width: 560px;
  width: 100%;
  border-radius: 6px;
  padding: 24px;
}

.cookie-modal-panel h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.cookie-modal-panel p {
  color: #444;
  letter-spacing: 0.2px;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.cookie-modal-actions button {
  border: 0;
  border-radius: 4px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  background: var(--color-cookie-btn);
  color: #fff;
}

@media (max-width: 1024px) {
  .features {
    gap: 32px 16px;
  }
}

@media (max-width: 767px) {
  .features {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .contact-cards,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 280px;
  }

  .carousel {
    max-height: 48vh;
  }
}
