/**
 * Pool Maintenance Paphos — main styles
 * Conversion-focused, minimalist, consistent layout and typography.
 */

/* ——— Reset & variables ——— */
:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --surface: #f9fafb;
  --cream: #fbf4c7;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --ring: rgba(14, 165, 233, 0.22);
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  --max: 1100px;
  --sans: "Roboto", ui-sans-serif, system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --serif: "Roboto", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --accent-yellow: #fef3c7;
  --accent-yellow-border: #fcd34d;
  --btn-dark: #374151;
  /* Safe areas for iPhone notch/Dynamic Island and Samsung punch-hole */
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
  --safe-right: env(safe-area-inset-right, 0);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
[hidden] { display: none !important; }

/* iPhone / Samsung: avoid tap highlight, respect safe areas */
a, button {
  -webkit-tap-highlight-color: rgba(14, 165, 233, 0.2);
  tap-highlight-color: rgba(14, 165, 233, 0.2);
}

body {
  margin: 0;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  hyphens: none;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Header ——— */
.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  height: 88px;
  line-height: 1.2;
  padding: 2px 0;
  width: max-content;
  text-align: left;
  flex-shrink: 0;
}
.brand-logo-full-mobile {
  display: none;
}
.brand__title {
  font-family: "Bebas Neue", var(--sans);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #0b7db6;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  min-width: 0;
}
.brand__title::after {
  content: "";
  display: inline-block;
  width: 100%;
}
.brand__tagline,
.brand small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-family: "Montserrat", var(--sans);
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11.5px;
  padding: 6px 2px;
  color: #111827;
}
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent-yellow-border);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
}
.nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-yellow-border);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
}
.lang-switcher { flex-shrink: 0; }
/* Flag + two letters only; no dropdown arrow/tick; no focus/active shading */
.lang-select {
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 10px;
  min-height: 40px;
  border: 2px solid var(--accent-yellow-border);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
.lang-select::-ms-expand {
  display: none;
}
.lang-select:focus,
.lang-select:active {
  outline: none;
  box-shadow: none;
  border-color: var(--accent-yellow-border);
}
.lang-select:hover {
  background: transparent;
}

/* Hide native select when custom picker is used */
.lang-select--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Custom language picker: flag + letters only, no tick in dropdown */
.lang-picker {
  position: relative;
  display: inline-block;
}
.lang-picker__trigger {
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 10px;
  min-height: 40px;
  border: 2px solid var(--accent-yellow-border);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  white-space: nowrap;
}
.lang-picker__trigger:hover {
  background: transparent;
}
.lang-picker__trigger:focus,
.lang-picker__trigger:active {
  outline: none;
  box-shadow: none;
  border-color: var(--accent-yellow-border);
}
/* Language dropdown: same style as hamburger nav dropdown */
.lang-picker__list {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  min-width: 100%;
  width: 100%;
  z-index: 50;
  display: none;
}
.lang-picker__list.lang-picker__list--open {
  display: block;
}
.lang-picker__list [role="option"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  box-sizing: border-box;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11.5px;
  color: #111827;
  cursor: pointer;
  border: none;
  background: none;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid rgba(14, 165, 233, 0.25);
}
.lang-picker__list [role="option"]:last-child {
  border-bottom: none;
}
.lang-picker__list [role="option"]:hover {
  background: var(--surface);
}
.lang-picker__list [role="option"][aria-selected="true"] {
  background: var(--accent-yellow);
  color: #111827;
}

/* Hamburger: hidden on desktop; yellow to match site boxes */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 2px solid var(--accent-yellow-border);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger:hover {
  background: var(--surface);
  border-color: var(--accent-yellow-border);
}
.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav dropdown: mobile only, shown when menu open; under hamburger (right-aligned) */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  width: auto;
  min-width: 180px;
  max-width: min(280px, calc(100vw - 32px));
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  padding: 0;
  z-index: 40;
  flex-direction: column;
  gap: 0;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  box-sizing: border-box;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11.5px;
  color: #111827;
  border: none;
  border-bottom: 1px solid rgba(14, 165, 233, 0.25);
}
.nav-dropdown a:last-child {
  border-bottom: none;
}
.nav-dropdown a:hover {
  background: var(--surface);
  text-decoration: none;
}
.nav-dropdown a[aria-current="page"] {
  text-decoration: none;
  background: var(--accent-yellow);
  color: #111827;
}

/* ——— Hero ——— */
/* Full width; fixed height per breakpoint so height stays stable and text always fits; content centered */
.hero-banner {
  position: relative;
  width: 100%;
  height: 420px;
  display: grid;
  place-items: center;
  justify-items: center;
  text-align: center;
  color: #ffffff;
  background: #0b7db6 url("assets/hero.svg") center / cover no-repeat;
}
.hero-banner > .container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-banner .hero-inner {
  width: 100%;
  max-width: 65ch;
}
/* Main hero: wider block so h1 fits in 2 lines */
.hero-banner:not(.hero-banner--narrow) .hero-inner {
  max-width: 90ch;
}
@media (max-width: 900px) {
  .hero-banner:not(.hero-banner--narrow) {
    height: 440px;
  }
  .hero-banner:not(.hero-banner--narrow) .hero-inner {
    max-width: 80ch;
  }
}
@media (max-width: 768px) {
  .hero-banner:not(.hero-banner--narrow) {
    height: 460px;
  }
}
@media (max-width: 600px) {
  .hero-banner:not(.hero-banner--narrow) {
    height: 440px;
  }
  .hero-banner--narrow { height: 320px; }
}
@media (max-width: 480px) {
  .hero-banner:not(.hero-banner--narrow) {
    height: 420px;
  }
  .hero-banner--narrow { height: 300px; }
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 54, 76, 0.46);
  pointer-events: none;
}
.hero-banner--with-photo {
  background-image: url("assets/pool-hero.png");
}
.hero-banner--with-photo::after {
  background: rgba(7, 54, 76, 0.35);
}
.hero-banner--narrow {
  height: 300px;
}
.hero-banner--narrow .hero-inner {
  padding: 36px 0;
  max-width: 85ch;
}
.hero-banner--narrow h1 {
  font-size: 28px;
}
.hero-banner--narrow .subheadline {
  font-size: 16px;
  margin-top: 10px;
}
.hero-banner--narrow .hero-kicker {
  font-size: 12px;
}
@media (max-width: 900px) {
  .hero-banner--narrow {
    height: 320px;
  }
  .hero-banner--narrow .hero-inner {
    padding: 28px 0;
  }
}
@media (max-width: 768px) {
  .hero-banner--narrow {
    height: 340px;
  }
  .hero-banner--narrow .hero-inner {
    padding: 24px 0;
    max-width: 75ch;
  }
  .hero-banner--narrow .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero-banner--narrow h1 {
    font-size: 24px;
  }
  .hero-banner--narrow .subheadline {
    font-size: 15px;
    padding: 0 8px;
  }
}
.hero-banner--lighter::after {
  background: rgba(255, 255, 255, 0.25);
}
.hero-banner--lightest::after {
  background: rgba(255, 255, 255, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 58px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-kicker {
  margin: 0 0 10px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 12px;
  opacity: 0.9;
  color: #fff;
}
.hero-banner h1 {
  margin: 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.1;
  color: #fff;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero-divider {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
  margin: 12px auto;
}
.hero-banner .subheadline {
  margin: 12px auto 0;
  width: 100%;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
@media (max-width: 600px) {
  .hero-banner .subheadline { font-size: 15px; padding: 0 8px; }
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--btn-dark);
  border-radius: 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11.5px;
  cursor: pointer;
  user-select: none;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18), 0 0 0 7px rgba(14,165,233,0.18);
}
.btn-primary {
  background: var(--btn-dark);
  color: #fff;
  border-color: var(--btn-dark);
}
.btn-primary:hover { background: var(--primary); border-color: var(--primary); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-secondary:hover { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; }

.cta-row--spaced { margin-top: 1.5rem; }

/* ——— Intro strip ——— */
.strip {
  background: var(--bg);
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  border-bottom: 1px solid rgba(17, 24, 39, 0.10);
  padding: 44px 0;
  text-align: center;
}
.strip p {
  margin: 0 auto;
  max-width: 84ch;
  color: #111827;
}
.strip .cta-row { margin-top: 18px; }
.strip .btn {
  background: #fff;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.45);
}
.strip .btn-primary {
  background: var(--btn-dark);
  color: #fff;
  border-color: var(--btn-dark);
}
.strip .btn-primary:hover { background: var(--primary); border-color: var(--primary); }
.strip .btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.strip--contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.strip--contact .container {
  width: 100%;
}
.strip--contact .cta-row {
  margin-top: 0;
  justify-content: center;
}

/* Contact page: slightly narrower form for a more concise layout */
#call-form .container {
  max-width: 780px;
}

.intro {
  margin: 0;
  color: var(--text);
  max-width: 70ch;
}

/* ——— Sections ——— */
.section { padding: 54px 0; }
.section--centered { text-align: center; }
.section--centered p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  margin: 0;
  text-align: center;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 14px;
}
#services.section h2 { font-size: 24px; }
.section-divider {
  width: 52px;
  height: 2px;
  background: rgba(17, 24, 39, 0.18);
  margin: 14px auto 24px;
}
.section--centered .section-divider { margin-left: auto; margin-right: auto; }
.section h3 {
  margin: 0 0 6px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
  font-size: 12px;
}
.section p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.section p:last-child { margin-bottom: 0; }

/* Main-page feature section: white to match icon box background */
.section:has(.feature-grid) {
  background: var(--bg);
}

/* ——— Feature blocks ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  border: 2px solid var(--accent-yellow-border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.icon-box__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.icon-box__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 12px;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.feature p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  text-align: justify;
  hyphens: none;
}

/* ——— Trust list ——— */
.main-trust {
  padding: 2rem 0;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  background: var(--bg);
}
.main-trust .container { text-align: center; }
.main-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.main-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.main-trust-list .check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-yellow-border);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 0;
}
.main-trust-list .check::before {
  content: "✓";
  font-family: var(--sans);
  font-weight: 900;
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
}

/* ——— Blue stripe (main page) ——— */
.blue-stripe {
  background: #0b7db6;
  padding: 1.5rem 0;
  text-align: center;
}
.blue-stripe__text {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.blue-stripe__text--small {
  font-size: 0.65em;
  font-weight: 700;
}

/* ——— Service cards ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 400px));
  gap: 24px;
  margin-top: 28px;
  justify-content: center;
}
.service-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--accent-yellow-border);
  background: var(--bg);
  border-radius: 0;
  overflow: hidden;
}
.service-card__img-wrap {
  flex: 0 0 auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.service-card__img-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 8px;
  background: var(--bg);
  text-align: center;
}
.service-card__body h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
}
.service-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  text-align: justify;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}
.service-card .btn {
  width: auto;
  align-self: center;
  margin-top: 12px;
  background: var(--btn-dark);
  color: #fff;
  border-color: var(--btn-dark);
}
.service-card .btn:hover { background: var(--primary); border-color: var(--primary); text-decoration: none; }
/* Pool Construction: centered on desktop, same width as one card; full width when single column */
.service-card--centered {
  grid-column: 1 / -1;
  width: calc((100% - 24px) / 2);
  max-width: 100%;
  justify-self: center;
}

/* ——— About ——— */
.about-content .container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-content .container > * {
  max-width: 65ch;
  align-self: center;
  box-sizing: border-box;
}
.about-content .container > .about-areas { max-width: 480px; }
.about-content h2 {
  font-size: 18px;
}
.about-content h3 {
  font-size: 14px;
  margin-top: 24px;
}
.about-content p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}
.about-content .section-divider {
  margin-left: auto;
  margin-right: auto;
}
.about-content .cta-row {
  justify-content: center;
  margin-top: 28px;
}
.about-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 2em;
  list-style: none;
  margin: 0 auto 20px;
  padding-left: 0;
  max-width: 480px;
}
.about-areas li {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--sans);
  color: var(--btn-dark);
}
.about-areas li::before {
  content: "•";
  flex-shrink: 0;
  width: 0.6em;
  text-align: left;
}
.about-content .about-areas { margin-left: auto; margin-right: auto; }

/* ——— Privacy policy ——— */
.privacy-content {
  text-align: left;
}
.privacy-content .container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.privacy-content h2 {
  text-align: left;
  margin: 2rem 0 0.75rem;
}
.privacy-content h2:first-of-type { margin-top: 1.5rem; }
.privacy-content p,
.privacy-content li {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}
.privacy-content p {
  margin: 0.5rem 0 1rem;
  margin-left: 0;
  margin-right: 0;
}
.privacy-content ul {
  text-align: left;
  margin: 0.5rem 0 1rem 1.25em;
}

/* ——— FAQ ——— */
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details {
  border: 1px solid var(--border);
  background: #fff;
}
.faq summary {
  cursor: pointer;
  padding: 14px 14px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11.5px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
.faq div { padding: 0 14px 14px; color: var(--muted); font-size: 14px; }

/* ——— Forms ——— */
form { margin: 0; max-width: 100%; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  max-width: 100%;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 11px;
}
.field > label[for] {
  font-size: 12px;
}
input, select, textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: var(--sans);
  text-transform: none;
  box-sizing: border-box;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  height: 48px;
  min-height: 48px;
}
textarea {
  min-height: 100px;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(17, 24, 39, 0.55);
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.10);
}
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.consent-field { margin-bottom: 0; min-width: 0; }
.consent-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  min-width: 0;
}
.consent-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 18px;
}
.consent-label span {
  min-width: 0;
  flex: 1 1 auto;
}
.prefer-call-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.prefer-call-label span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
.field .prefer-call-label {
  margin-top: 10px;
}
.prefer-call-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  outline: none;
  box-shadow: none;
}
.prefer-call-label input[type="checkbox"]:focus,
.prefer-call-label input[type="checkbox"]:checked {
  outline: none;
  box-shadow: none;
  border-color: var(--border);
}
.fineprint {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 66ch;
}
.contact-email-line {
  margin: 0.5rem 0 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.contact-email-line a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-email-line a:hover {
  color: var(--text);
}
.word-count { font-size: 12px; color: var(--muted); }
.status {
  margin-top: 12px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: none;
}
.status[data-visible="true"],
.status:not(:empty) { display: block; }
.status.error { color: #b91c1c; }

/* ——— Footer ——— */
.site-footer {
  padding: 22px 0 40px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-inner p { margin: 0; font-size: 13px; max-width: 80ch; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); }

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.55);
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.modal[aria-hidden="false"] {
  display: flex;
  visibility: visible;
  opacity: 1;
}
.modal-panel {
  width: 100%;
  max-width: 740px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: #fff;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.35);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.modal-head strong { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.10em; font-size: 12px; }
.modal-body { padding: 16px; }
.icon-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
  color: var(--muted);
}
.icon-btn:hover { background: rgba(17, 24, 39, 0.03); color: var(--text); }

/* ——— Thank you page (all languages) ——— */
.thank-you-section { padding: 60px 0 80px; text-align: center; }
.thank-you-section .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.thank-you-section h1 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.thank-you-section .section-divider { margin-left: auto; margin-right: auto; }
.thank-you-message {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 42ch;
  text-align: center;
}
.thank-you-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0;
  text-align: center;
}

/* Desktop: shorter language toggle button */
@media (min-width: 769px) {
  .lang-select,
  .lang-picker__trigger {
    min-height: 32px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 14px 0; flex-wrap: wrap; }
  .header-right { width: auto; margin-left: auto; justify-content: flex-end; }
  .hero-inner { padding: 48px 0; }
  .service-card--centered {
    width: 100%;
    max-width: none;
  }
  .strip { padding: 36px 0; }
  .section { padding: 40px 0; }
}

@media (max-width: 768px) {
  .hero-banner:not(.hero-banner--narrow) .hero-inner {
    padding: 40px 0;
  }
  .hero-banner:not(.hero-banner--narrow) h1 {
    font-size: 32px;
  }
  .blue-stripe__text { font-size: 32px; }
  .hero-banner:not(.hero-banner--narrow) .subheadline {
    font-size: 15px;
    padding: 0 8px;
  }
  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .header-right {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
  }
  .hamburger {
    display: flex;
  }
  .nav {
    display: none;
  }
  .site-header.has-open-menu .nav-dropdown {
    display: flex;
  }
  /* Mobile: dropdown panels centered under their buttons and kept within viewport */
  .nav-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
  }
  .lang-picker__list {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Phone only: hamburger + dropdown at 430px and below; two-row layout at 430px (see below after 480px) */

@media (max-width: 600px) {
  .hero-banner h1 { font-size: 24px; }
  .blue-stripe__text { font-size: 24px; }
  .hero-inner { padding: 32px 0; }
  .hero-banner--narrow .hero-inner {
    padding: 20px 0;
    max-width: 70ch;
  }
  .hero-banner--narrow h1 {
    font-size: 22px;
  }
  .hero-banner--narrow .subheadline {
    font-size: 14px;
    padding: 0 4px;
  }
  .hero-kicker { font-size: 11px; letter-spacing: 0.12em; }
  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; min-height: 48px; }
  .nav a {
    min-height: 44px;
    padding: 10px 8px;
    display: inline-flex;
    align-items: center;
  }
  .lang-select { min-height: 40px; padding: 10px 12px; }
  .about-areas {
    grid-template-columns: 1fr 1fr;
    gap: 6px 1em;
  }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .icon-box { width: 160px; height: 160px; }
  .section h2 { font-size: 13px; letter-spacing: 0.10em; }
  #services.section h2 { font-size: 20px; }
  .strip { padding: 28px 0; }
  .section { padding: 32px 0; }
  .modal { padding: 12px; }
  .modal-panel {
    max-height: 85vh;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .thank-you-section { padding: 40px 0 60px; }
  /* iPhone / Samsung: 16px input font prevents iOS zoom on focus */
  input, select, textarea { font-size: 16px; }
  input, select { min-height: 48px; }
  textarea { min-height: 100px; }
  .consent-label {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  .consent-label input[type="checkbox"] {
    align-self: flex-start !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
  }
  .consent-label span {
    padding-top: 2px;
  }
}

@media (max-width: 480px) {
  /* Smaller text across mobile; main paragraphs sans-serif */
  html { font-size: 87.5%; }
  body { font-family: var(--sans); }
  .brand-logo-full-mobile {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
  }
  .brand-logo,
  .brand__text {
    display: none;
  }
  .hero-banner--narrow .hero-inner {
    padding: 16px 0;
    max-width: 65ch;
  }
  .hero-banner--narrow h1 {
    font-size: 18px;
  }
  .hero-banner--narrow .subheadline {
    font-size: 14px;
  }
  .strip p,
  .intro { font-size: 14px; }
  .section h2 { font-size: 12px; }
  #services.section h2 { font-size: 18px; }
  .section p,
  .feature p,
  .about-content p { font-size: 13px; }
  .feature h3,
  .section h3 { font-size: 11px; }
  .main-trust-list li { font-size: 13px; }
  .service-card__body h3 { font-size: 11px; }
  .service-card__body p { font-size: 13px; }
  .about-content h2 { font-size: 16px; }
  .about-content h3 { font-size: 13px; }
  .about-areas {
    grid-template-columns: 1fr 1fr;
    gap: 4px 0.75em;
    margin-bottom: 16px;
  }
  .about-areas li { font-size: 12px; }
  .about-content h3 + p { font-size: 12px; }
  .faq summary { font-size: 11px; }
  .faq div { font-size: 13px; }
  .footer-inner p,
  .footer-links a { font-size: 12px; }
  .btn { font-size: 11px; }
  label { font-size: 10px; }
  .field > label[for] { font-size: 11px; }
  .prefer-call-label,
  .prefer-call-label span { font-size: 9px; }
  .consent-label,
  .fineprint { font-size: 12px; }
  .word-count { font-size: 11px; }
  .nav-dropdown a { font-size: 11px; }
  .hero-kicker { font-size: 10px; }
  .hero-banner .subheadline { font-size: 14px; }
  .thank-you-section h1 { font-size: 18px; }
  .thank-you-message { font-size: 14px; }
  /* Keep inputs 16px to prevent iOS zoom */
  input, select, textarea { font-size: 16px; }
  .consent-label {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  .consent-label input[type="checkbox"] {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }
  .consent-label span {
    padding-top: 2px;
  }
  /* 431–480px: scale brand so it fits when nav is visible (no hamburger yet) */
  .brand {
    gap: 8px;
    flex-shrink: 0;
  }
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  .brand__text {
    height: auto;
    min-height: 56px;
    justify-content: center;
  }
  .brand__title {
    font-size: 1.15rem;
    white-space: normal;
    line-height: 1.2;
  }
  .brand__title::after {
    display: none;
  }
  .brand__tagline,
  .brand small {
    font-size: 9px;
    margin-top: 2px;
  }
  .hero-banner h1 {
    font-size: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .blue-stripe__text { font-size: 20px; }
  .service-card__body { padding: 16px; }
  .service-card__body h3 { font-size: 11px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .btn { min-height: 48px; padding: 14px 16px; }
}

/* 320–400px: two-row header so brand fits; hamburger + lang on second row (overrides 480px brand here) */
@media (max-width: 400px) {
  .consent-label {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  .consent-label input[type="checkbox"] {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }
  .consent-label span {
    padding-top: 2px;
  }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .header-right {
    position: relative;
    margin-left: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    order: 2;
  }
  /* Mobile brand: exact same as big screen – only sizes scaled by 48/88 (0.545) */
  .header-inner .brand {
    order: 1;
    flex-shrink: 0;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    gap: 6px;
  }
  .site-header .brand-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .site-header .brand__text {
    height: 48px;
    padding: 1px 0;
    width: max-content;
    min-width: 0;
  }
  .header-inner .brand .brand__title {
    font-family: "Bebas Neue", var(--sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: #0b7db6;
    -webkit-font-smoothing: antialiased;
    text-align: justify;
    white-space: normal;
    min-width: 0;
  }
  .header-inner .brand .brand__title::after {
    content: "";
    display: inline-block;
    width: 100%;
  }
  .header-inner .brand .brand__tagline,
  .header-inner .brand small {
    font-family: "Montserrat", var(--sans);
    font-weight: 500;
    color: var(--muted);
    font-size: 7px;
    margin-top: 2px;
    text-transform: none;
    letter-spacing: 0;
  }
  /* Mobile: yellow outline, slightly smaller buttons; light blue dividers in dropdown */
  .hamburger {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 6px;
    gap: 3px;
    background: transparent;
    border: 2px solid var(--accent-yellow-border);
  }
  .hamburger:hover {
    background: var(--surface);
    border-color: var(--accent-yellow-border);
  }
  .hamburger__line {
    height: 1.5px;
  }
  .hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .lang-switcher .lang-select {
    min-height: 40px;
    padding: 5px 6px;
    font-size: 14px;
    background: transparent;
    border: 2px solid var(--accent-yellow-border);
  }
  .lang-switcher .lang-select:hover {
    background: var(--surface);
    border-color: var(--accent-yellow-border);
  }
  /* Keep language dropdown trigger and native options within viewport */
  .header-right {
    min-width: 0;
    padding-right: var(--safe-right);
  }
  .lang-switcher {
    max-width: 5em;
    min-width: 0;
  }
  .lang-switcher .lang-select {
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 6px;
    padding-right: 6px;
    width: 4.2em;
    min-width: 0;
    text-align: center;
    text-align-last: center;
  }
  .lang-picker__trigger {
    min-height: 40px;
    padding: 5px 6px;
    font-size: 14px;
    width: 4.2em;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    border: 2px solid var(--accent-yellow-border);
    white-space: nowrap;
  }
  .lang-picker__trigger:hover {
    background: var(--surface);
  }
  .nav-dropdown {
    left: auto;
    right: 0;
    max-width: min(260px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
  }
  .nav-dropdown a {
    border-bottom: 1px solid rgba(14, 165, 233, 0.25);
  }
  .nav-dropdown a:last-child {
    border-bottom: none;
  }
  .nav {
    display: none;
  }
  .site-header.has-open-menu .nav-dropdown {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
