@font-face {
  font-family: "Open Sans";
  src: url("OpenSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #7eba27;
  --primary-hover: #6c9f21;
  --green-dark: #004800;
  --yellow: #ffc300;
  --navy: #141450;
  --text: #5a5a5a;
  --text-strong: #2b2b2b;
  --text-muted: #888888;
  --nav: #6d6d6d;
  --surface: #ffffff;
  --surface-muted: #f5f5f5;
  --quote-bg: #404040;
  --quote-dots-bg: #555555;
  --footer-bg: #222222;
  --footer-text: #cccccc;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Open Sans", var(--font);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-muted);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1010px;
  margin-inline: auto;
  padding-inline: 24px;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 2;
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand {
  height: 26px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link,
.header-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  color: var(--nav);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.header-link {
  padding-inline: 12px;
}

.header-link .icon {
  display: none;
}

.header-icon {
  padding-inline: 8px;
  cursor: pointer;
}

.header-icon .icon {
  width: 22px;
  height: 22px;
}

.header-link:hover,
.header-icon:hover,
.lang-menu[open] > .header-icon {
  color: var(--primary);
}

/* Language menu (globe) */

.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-current {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.lang-switch {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  padding: 6px 0;
  border-top: 3px solid var(--primary);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.lang-switch a {
  display: block;
  padding: 6px 18px;
  color: var(--nav);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.lang-switch a:hover {
  background: var(--surface-muted);
  color: var(--primary);
}

.lang-switch a[aria-current="true"] {
  color: var(--primary);
}

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 150px;
  padding-block: 24px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 0.9rem + 1.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.hero-sub {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  line-height: 1.5;
}

.hero-sub span {
  padding: 0.05em 0.2em;
  background: var(--primary);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-badge {
  flex: 0 0 auto;
  width: 200px;
  overflow: visible;
  font-family: var(--font);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/* Notice card ----------------------------------------------------------- */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Grows on tall screens, so the quotes band stays next to the footer. */
.main-content {
  flex: 1;
  padding-top: 48px;
}

.card {
  max-width: 760px;
  margin-inline: auto;
  border-top: 4px solid var(--primary);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 16px 32px -20px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.card-body {
  padding: 40px 56px 40px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card-title {
  margin: 0 0 20px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.card-text {
  max-width: 36em;
  margin: 0 auto 32px;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
}

.card-text p {
  margin: 0 0 1em;
}

.card-text p:last-child {
  margin-bottom: 0;
}

.card-text strong {
  color: var(--text-strong);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 3px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Brand teasers --------------------------------------------------------- */

.teasers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.teaser {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.teaser img {
  width: 100%;
  height: auto;
}

.teaser p {
  flex: 1;
  margin: 0;
  padding: 26px 24px 32px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.teaser:hover {
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.teaser-myloc p {
  background: var(--navy);
}

/* Dark text instead of the original white: white on yellow is hardly readable. */
.teaser-webtropia p {
  background: var(--yellow);
  color: var(--text-strong);
}

.teaser-webtropia:focus-visible {
  outline-color: var(--text-strong);
}

/* VAT note -------------------------------------------------------------- */

.vat-note {
  max-width: 1000px;
  margin: 0 auto;
  padding-block: 40px 48px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  text-align: center;
}

/* Customer quotes ------------------------------------------------------- */

.quotes {
  background: var(--quote-bg);
  color: #fff;
  text-align: center;
}

.quote {
  max-width: 880px;
  margin: 0 auto;
  padding-block: 36px 20px;
}

.quote[hidden] {
  display: none;
}

.quote blockquote {
  margin: 0;
}

.quote p {
  margin: 0;
  font-size: clamp(1.125rem, 0.95rem + 0.7vw, 1.4375rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  text-wrap: balance;
}

.quote figcaption {
  margin-top: 12px;
  font-size: 0.9375rem;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 20px;
  padding-block: 5px;
  background: var(--quote-dots-bg);
}

.quote-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.quote-dots button[aria-current="true"] {
  background: #fff;
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  padding-block: 56px 48px;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.875rem;
  line-height: 1.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.footer-brand {
  width: 158px;
  height: auto;
  margin: 6px 0 28px;
  filter: brightness(0) invert(1);
}

.footer-col address {
  font-style: normal;
}

.footer-wiit {
  display: inline-block;
  margin-top: 26px;
  color: #fff;
  text-decoration: none;
}

.footer-wiit svg {
  width: 148px;
  height: auto;
  fill: currentColor;
}

.footer-wiit span {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-partner {
  display: inline-block;
  margin-top: 18px;
}

.footer-partner img {
  width: 207px;
  height: auto;
}

.footer-wiit,
.footer-partner {
  transition: opacity 0.2s;
}

.footer-wiit:hover,
.footer-partner:hover {
  opacity: 0.8;
}

.footer-wiit:focus-visible,
.footer-partner:focus-visible {
  outline-color: #fff;
}

.footer-mail {
  margin: 0 0 12px;
  font-weight: 700;
}

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

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.footer-mail a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 28px;
  }

  .hero-badge {
    width: 150px;
  }

  .teasers {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    height: 20px;
  }

  .header-nav {
    gap: 0;
  }

  /* Login shows as icon only; the label stays readable for screen readers. */
  .header-link {
    padding-inline: 8px;
  }

  .header-link .icon {
    display: block;
    width: 22px;
    height: 22px;
  }

  .header-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .main-content {
    padding-top: 32px;
  }

  .card-body {
    padding: 32px 20px 28px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .vat-note {
    padding-block: 32px 40px;
  }

  .quote {
    padding-block: 28px 16px;
  }

  .site-footer {
    padding-block: 40px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
