:root {
  --ink: #071737;
  --navy: #082b57;
  --teal: #087d82;
  --teal-soft: #e8f6f6;
  --coral: #ff463d;
  --coral-dark: #df332d;
  --sky: #d9eefb;
  --text: #26344d;
  --muted: #66738a;
  --line: rgba(8, 43, 87, 0.14);
  --soft: #f7fbfd;
  --shadow: 0 24px 70px rgba(7, 23, 55, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #062552;
  border-radius: 4px;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - clamp(32px, 7.5vw, 140px));
  min-height: 76px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(7, 23, 55, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 228px;
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
  border-color: var(--coral);
}

.language {
  white-space: nowrap;
}

.language span {
  color: var(--muted);
  padding: 0 6px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--sky);
}

.hero-photo,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/hero-vpl-ibiza.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(248, 253, 255, 0.98) 0%, rgba(248, 253, 255, 0.92) 37%, rgba(248, 253, 255, 0.12) 61%),
    linear-gradient(180deg, rgba(217, 238, 251, 0.2) 0%, rgba(217, 238, 251, 0.05) 64%, #fff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(440px, 0.78fr);
  gap: clamp(48px, 8vw, 180px);
  width: calc(100% - clamp(32px, 10vw, 260px));
  margin: 0 auto;
  padding: clamp(120px, 12vh, 160px) 0 120px;
}

.hero-copy {
  max-width: 560px;
  padding: clamp(28px, 5vh, 70px) 0 0 clamp(0px, 3vw, 42px);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 5.25vw, 6.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: clamp(1.35rem, 1.65vw, 1.62rem);
  font-weight: 800;
}

.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--coral);
}

.intro {
  max-width: 360px;
  margin-bottom: 24px;
  color: #1e2f4b;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button::after,
button::after {
  content: "→";
  margin-left: 16px;
  font-size: 1.25rem;
  line-height: 1;
}

.button-primary,
button {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 18px 34px rgba(255, 70, 61, 0.24);
}

.button-primary:hover,
button:hover {
  background: var(--coral-dark);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(8, 125, 130, 0.38);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.service-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 440px;
  color: var(--ink);
}

.service-note > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--coral);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
}

.service-note strong,
.service-note small {
  display: block;
}

.service-note small {
  color: var(--text);
}

.registration-card {
  align-self: start;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.form-title h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 1.9vw, 2rem);
  line-height: 1.15;
}

.form-symbol {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal);
  background: rgba(8, 125, 130, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.steps li + li::before {
  position: absolute;
  top: 13px;
  right: calc(50% + 21px);
  width: calc(100% - 42px);
  height: 1px;
  content: "";
  background: var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
}

.steps .active {
  color: var(--teal);
  font-weight: 800;
}

.steps .active span {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
}

.form-details {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-details[hidden] {
  display: none;
}

.residency-step {
  display: grid;
  gap: 18px;
}

.residency-heading {
  padding: 18px;
  background: linear-gradient(135deg, #eef7fc 0%, #fff 100%);
  border: 1px solid #c9ddea;
  border-radius: 8px;
}

.residency-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #007f87;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.residency-heading h3 {
  margin: 0 0 8px;
  color: #062552;
  font-size: 1.35rem;
  line-height: 1.08;
}

.residency-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.municipality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.municipality-card {
  position: relative;
  min-height: 112px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(7, 23, 55, 0.06);
}

.municipality-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  content: "";
  background: #005ea8;
  border-radius: 50%;
}

.municipality-card span {
  color: #062552;
  font-size: 0.95rem;
  font-weight: 900;
}

.municipality-card input {
  width: 88px;
  min-height: 42px;
  margin-top: 10px;
  padding-inline: 10px;
  color: #062552;
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.municipality-card small {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #007f87;
  font-weight: 900;
}

.residency-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  color: #062552;
  background: #eef7fc;
  border: 1px solid #c9ddea;
  border-radius: 8px;
}

.residency-summary strong {
  display: grid;
  place-items: center;
  min-width: 90px;
  min-height: 58px;
  color: #fff;
  background: #005ea8;
  border-radius: 8px;
  line-height: 1.1;
  text-align: center;
}

.residency-summary strong span {
  display: block;
  font-size: 1.55rem;
}

.residency-summary > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.residency-confirmation {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 13px 14px;
  color: #062552;
  background: #eef7fc;
  border: 1px solid #c9ddea;
  border-radius: 8px;
}

.residency-confirmation strong {
  font-size: 0.88rem;
}

.residency-confirmation span {
  color: #007f87;
  font-weight: 900;
}

.residency-confirmation small {
  color: var(--muted);
  font-weight: 700;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  min-height: 39px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(8, 43, 87, 0.16);
  border-radius: 6px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 125, 130, 0.14);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 13px;
  color: #35445d;
  font-size: 0.78rem;
  font-weight: 500;
}

.checkbox input {
  width: 15px;
  min-height: 15px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.checkbox span {
  color: inherit;
}

.privacy-summary {
  margin-top: 16px;
  padding: 14px;
  background: rgba(232, 246, 246, 0.72);
  border: 1px solid rgba(8, 125, 130, 0.18);
  border-radius: 8px;
}

.privacy-summary h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.88rem;
}

.privacy-summary dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.privacy-summary div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.privacy-summary dt {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
}

.privacy-summary dd {
  margin: 0;
  color: #35445d;
  font-size: 0.76rem;
}

.privacy-summary a {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.text-link {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 10px 0 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
}

.text-link::after {
  content: none;
}

.text-link:hover {
  color: #005ea8;
  background: transparent;
}

button {
  width: 100%;
  margin-top: 18px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.form-status {
  min-height: 19px;
  margin: 10px 0 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
}

.was-validated input:invalid,
.was-validated select:invalid {
  border-color: #c1121f;
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.12);
}

.benefits {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: calc(100% - clamp(32px, 14vw, 300px));
  margin: -52px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.benefits article {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 24px;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-top: 5px solid #005ea8;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 23, 55, 0.09);
}

.benefits article + article {
  border-left: 1px solid #d7e3eb;
}

.round-icon,
.home-icon {
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 50%;
}

.round-icon {
  width: 64px;
  height: 64px;
  color: #005ea8;
  background: linear-gradient(135deg, #e7f1f8 0%, #f7fbfd 100%);
  border: 1px solid #c9ddea;
  font-size: 1.8rem;
}

.benefits small {
  display: block;
  margin-bottom: 4px;
  color: #007f87;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefits h2 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.08rem;
}

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

.prices {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: calc(100% - clamp(32px, 14vw, 300px));
  margin: 34px auto 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 23, 55, 0.06);
}

.prices-heading,
.price-item {
  padding: 0;
}

.prices-heading span {
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--coral);
}

.prices-heading h2 {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
}

.prices-heading p {
  margin-bottom: 8px;
  color: var(--navy);
}

.prices-heading small,
.price-item small {
  color: var(--muted);
}

.price-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-height: 190px;
  padding: 22px;
  background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%);
  border: 1px solid #d7e3eb;
  border-radius: 8px;
}

.home-icon {
  width: 46px;
  height: 46px;
  color: #005ea8;
  background: #e7f1f8;
  font-size: 1.18rem;
}

.price-item strong,
.price-item b,
.price-item em,
.price-item small {
  display: block;
}

.price-item strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.price-item b {
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1.1;
}

.price-item em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.price-item small {
  margin-top: 10px;
  padding-top: 10px;
  color: var(--teal);
  border-top: 1px solid #d7e3eb;
  font-size: 1.05rem;
  font-weight: 800;
}

.content-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: calc(100% - clamp(32px, 7.5vw, 140px));
  margin: 0 auto 32px;
  background: transparent;
  border-radius: 8px;
}

.content-strip article {
  position: relative;
  min-height: 180px;
  padding: 30px;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 23, 55, 0.05);
}

.content-strip article::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 38px;
  height: 4px;
  content: "";
  background: #005ea8;
  border-radius: 999px;
}

.content-strip article > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #005ea8;
  background: #e7f1f8;
  border-radius: 50%;
  font-weight: 900;
}

.content-strip h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.content-strip p {
  margin: 0;
  color: var(--muted);
}

.notice {
  width: calc(100% - clamp(32px, 7.5vw, 140px));
  margin: 0 auto 34px;
  padding: 24px 28px;
  color: var(--navy);
  background: #eaf6fb;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.notice p {
  margin: 0;
}

.legal-section {
  width: calc(100% - clamp(32px, 7.5vw, 140px));
  margin: 0 auto 34px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid rgba(8, 43, 87, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(7, 23, 55, 0.06);
}

.legal-section.compact {
  background: #fbfdff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading span {
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--coral);
}

.section-heading p {
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legal-grid article {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-grid h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.12rem;
}

.legal-grid p {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal-grid p:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.legal-list dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 800;
}

.legal-list dd {
  margin: 0;
  color: var(--muted);
}

.accessibility-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 37, 82, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 18px;
  border-bottom: 1px solid #d7e3eb;
}

.modal-header p {
  margin: 0 0 4px;
  color: #007f87;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-header h2 {
  margin: 0;
  color: #062552;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
}

.modal-close {
  flex: 0 0 auto;
  width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  color: #062552;
  background: #e7f1f8;
  border-radius: 50%;
  box-shadow: none;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-close::after {
  content: none;
}

.modal-content {
  display: grid;
  gap: 18px;
  padding: 24px 28px 28px;
}

.modal-content a {
  color: #005ea8;
  font-weight: 800;
}

.admin-page {
  background: #f3f7fb;
}

.admin-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0;
}

.admin-hero,
.admin-login,
.admin-panel {
  margin-bottom: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(7, 23, 55, 0.06);
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.admin-hero p,
.admin-login p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-login {
  max-width: 520px;
}

.admin-login h2 {
  color: #062552;
}

.admin-login form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--coral);
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stats-grid article {
  padding: 18px;
  background: #eef7fc;
  border: 1px solid #c9ddea;
  border-radius: 8px;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: #062552;
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.filter-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-actions button {
  width: auto;
  min-width: 150px;
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #fff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #e1e9f0;
  color: #26344d;
  text-align: left;
  vertical-align: top;
}

th {
  color: #062552;
  background: #eef7fc;
  font-size: 0.86rem;
}

td small {
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #293e99;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr;
  gap: clamp(34px, 7vw, 92px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.footer-brand address {
  display: grid;
  gap: 6px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.footer-brand address span,
.footer-brand address a {
  display: block;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1160px) {
  .site-header,
  .hero-inner,
  .benefits,
  .prices,
  .content-strip,
  .notice,
  .legal-section {
    width: min(100% - 40px, 980px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .hero-copy {
    max-width: 680px;
    padding-left: 0;
  }

  .registration-card {
    max-width: 760px;
  }

  .benefits,
  .prices,
  .content-strip,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .benefits article,
  .price-item,
  .prices-heading {
    padding: 20px 24px;
  }

  .benefits article + article,
  .price-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-radius: 0;
    transform: none;
  }

  .brand img {
    width: min(220px, 76vw);
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .hero-inner {
    width: min(100% - 28px, 680px);
    padding: 36px 0 78px;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(248, 253, 255, 0.97) 0%, rgba(248, 253, 255, 0.86) 58%, #fff 100%);
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .municipality-grid,
  .residency-summary {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 8px;
  }

  .benefits,
  .prices,
  .content-strip,
  .notice,
  .legal-section {
    width: min(100% - 28px, 680px);
  }

  .privacy-summary div {
    grid-template-columns: 1fr;
  }

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

  .footer-logo {
    width: min(250px, 78vw);
  }
}

.legal-main {
  padding: 46px 0 0;
  background: #f7fbfd;
}

.legal-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: clamp(34px, 5vw, 64px);
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(7, 23, 55, 0.06);
}

.legal-hero h1 {
  max-width: 840px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Institutional transparency-portal skin */
.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #005ea8;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  left: auto;
  width: 100%;
  min-height: 86px;
  padding: 18px max(24px, calc((100% - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid #d9e3ec;
  border-radius: 0;
  box-shadow: 0 6px 22px rgba(7, 23, 55, 0.08);
  transform: none;
}

.brand img {
  width: 246px;
}

.nav-links {
  gap: clamp(18px, 2.8vw, 40px);
  color: #09204a;
  font-size: 0.98rem;
}

.nav-links a {
  padding: 14px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #005ea8;
  border-color: #005ea8;
}

.hero {
  min-height: auto;
  padding: clamp(42px, 6vw, 78px) 0 0;
  background:
    linear-gradient(135deg, #eef7fc 0%, #f8fcff 48%, #ffffff 100%),
    #eef7fc;
}

.hero-photo {
  display: none;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(0, 94, 168, 0.08) 0%, rgba(0, 94, 168, 0) 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
}

.hero-inner {
  grid-template-columns: minmax(430px, 0.92fr) minmax(430px, 0.72fr);
  gap: clamp(38px, 5vw, 78px);
  width: min(1180px, calc(100% - 48px));
  padding: clamp(24px, 4vw, 46px) 0 92px;
}

.hero-copy {
  max-width: 660px;
  padding: clamp(22px, 4vw, 52px) 0 0 0;
}

.portal-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #005ea8;
  background: #fff;
  border: 1px solid #c9ddea;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  color: #062552;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.45rem, 5vw, 6.1rem);
  font-weight: 900;
  line-height: 0.96;
}

.lead {
  color: #007f87;
}

.accent-line {
  background: #005ea8;
}

.button-primary,
button {
  background: #005ea8;
  box-shadow: 0 18px 34px rgba(0, 94, 168, 0.23);
}

.button-primary:hover,
button:hover {
  background: #00467e;
}

.button-secondary {
  color: #005ea8;
  border-color: #b8d5e8;
}

.service-note > span {
  color: #005ea8;
}

.registration-card {
  width: min(100%, 545px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7e3eb;
  box-shadow: 0 20px 60px rgba(7, 23, 55, 0.14);
  backdrop-filter: blur(8px);
}

.form-title h2,
.prices-heading h2,
.content-strip h2,
.section-heading h2 {
  color: #062552;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.form-symbol,
.round-icon,
.home-icon {
  color: #005ea8;
  background: #e7f1f8;
}

.steps .active span {
  background: #005ea8;
  border-color: #005ea8;
}

.privacy-summary {
  background: #eef7fc;
  border-color: #c9ddea;
}

.benefits {
  width: min(1180px, calc(100% - 48px));
  margin-top: -42px;
  border-color: #d7e3eb;
  box-shadow: 0 18px 40px rgba(7, 23, 55, 0.1);
}

.prices,
.content-strip,
.notice,
.legal-section {
  width: min(1180px, calc(100% - 48px));
}

.prices {
  background: #fff;
  border-top: 1px solid #d7e3eb;
  border-bottom: 1px solid #d7e3eb;
}

.prices-heading span,
.section-heading span {
  background: #005ea8;
}

.price-item strong,
.price-item small,
.section-heading p,
.privacy-summary dt {
  color: #007f87;
}

.content-strip article,
.legal-section,
.legal-grid article {
  border-color: #d7e3eb;
}

.notice {
  background: #eef7fc;
  border-left-color: #005ea8;
}

.benefits {
  gap: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.benefits article {
  border: 1px solid #d7e3eb;
  border-top: 5px solid #005ea8;
  box-shadow: 0 18px 42px rgba(7, 23, 55, 0.09);
}

.benefits article + article {
  border-left: 1px solid #d7e3eb;
}

.prices {
  gap: 18px;
  padding: 28px;
  border: 1px solid #d7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 23, 55, 0.06);
}

.price-item {
  border: 1px solid #d7e3eb;
  border-radius: 8px;
}

.content-strip {
  gap: 18px;
  background: transparent;
  overflow: visible;
}

.content-strip article {
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 23, 55, 0.05);
}

.hero-inner {
  align-items: start;
  grid-template-columns: minmax(500px, 0.98fr) minmax(430px, 0.72fr);
  gap: clamp(44px, 6vw, 92px);
  padding-top: clamp(10px, 2.2vw, 28px);
  padding-bottom: clamp(70px, 7vw, 104px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding-top: 0;
}

.hero-copy .service-note {
  margin-top: auto;
}

.hero-benefits {
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 720px);
  margin: 20px 0 0;
}

.hero-benefits article {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 210px;
  padding: 20px;
  border-top: 0;
  border-left: 0;
  box-shadow: 0 14px 32px rgba(7, 23, 55, 0.08);
}

.hero-benefits article + article {
  border-left: 1px solid #d7e3eb;
}

.hero-benefits .round-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero-benefits h2 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.14;
}

.hero-benefits p {
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-note {
  max-width: 520px;
  padding: 16px 18px;
  color: #8f1515;
  background: #fff2f2;
  border: 1px solid #f0b4b4;
  border-left: 5px solid #c1121f;
  border-radius: 8px;
}

.service-note > span {
  width: 30px;
  height: 30px;
  color: #c1121f;
  font-size: 1rem;
  background: #fff;
  border-width: 2px;
}

.service-note strong {
  color: #8f1515;
  font-size: 1.08rem;
}

.service-note small {
  color: #5f1b1b;
  font-size: 0.92rem;
  font-weight: 700;
}

.registration-card {
  align-self: start;
  margin-top: 0;
}

.site-footer {
  background: #062552;
}

@media (max-width: 1160px) {
  .top-strip {
    padding-inline: 20px;
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    opacity: 0.34;
  }

  .hero-inner {
    width: min(100% - 40px, 980px);
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 780px) {
  .top-strip {
    flex-direction: column;
    gap: 2px;
  }

  .site-header {
    padding: 16px;
  }

  .hero {
    padding-top: 0;
  }

  .benefits,
  .prices,
  .content-strip {
    gap: 14px;
  }

  .prices {
    padding: 18px;
  }

  .benefits article,
  .price-item,
  .prices-heading,
  .content-strip article {
    padding: 20px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-benefits article {
    grid-template-columns: 58px 1fr;
    min-height: auto;
  }

  .hero-benefits .round-icon {
    margin-bottom: 0;
  }
}

/* Mobile-first finishing pass */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .top-strip {
    padding: 7px 16px;
    font-size: 0.78rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: min(220px, 78vw);
  }

  .nav-links {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .nav-links a,
  .language {
    flex: 0 0 auto;
    padding: 8px 10px;
    background: #eef7fc;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100% - 28px, 680px);
    padding: 22px 0 54px;
  }

  .hero-copy {
    min-height: auto;
  }

  .portal-label {
    margin-bottom: 14px;
    font-size: 0.74rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 14vw, 4.6rem);
    line-height: 0.98;
  }

  .lead {
    font-size: clamp(1.15rem, 5vw, 1.55rem);
  }

  .intro {
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 0.92rem;
  }

  .service-note {
    max-width: 100%;
    padding: 14px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-benefits article {
    grid-template-columns: 54px 1fr;
    min-height: auto;
    padding: 15px;
  }

  .hero-benefits .round-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
  }

  .registration-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px;
  }

  .form-title {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .form-title h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .steps {
    gap: 6px;
  }

  .steps small {
    font-size: 0.66rem;
  }

  .residency-heading {
    padding: 16px;
  }

  .residency-heading h3 {
    font-size: 1.25rem;
  }

  .municipality-grid {
    grid-template-columns: 1fr;
  }

  .municipality-card {
    min-height: 96px;
  }

  .residency-summary {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .prices,
  .content-strip,
  .notice {
    width: min(100% - 28px, 680px);
  }

  .prices {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .price-item {
    min-height: auto;
  }

  .content-strip {
    grid-template-columns: 1fr;
  }

  .notice {
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100% - 28px, 680px);
  }

  .footer-logo {
    width: min(230px, 78vw);
  }

  .legal-main,
  .admin-main {
    padding-top: 24px;
  }

  .legal-hero,
  .legal-section,
  .admin-main {
    width: min(100% - 28px, 680px);
  }

  .legal-grid,
  .filters,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    display: grid;
    align-items: start;
  }

  .admin-hero h1,
  .legal-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }
}

@media (max-width: 520px) {
  .top-strip span:last-child {
    display: none;
  }

  .site-header {
    padding: 12px 14px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a,
  .language {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .hero-inner {
    width: min(100% - 22px, 480px);
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.65rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .service-note {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .hero-benefits article {
    grid-template-columns: 1fr;
  }

  .registration-card {
    padding: 18px;
  }

  .steps span {
    width: 26px;
    height: 26px;
  }

  .municipality-card {
    padding: 13px;
  }

  .municipality-card input {
    width: 82px;
  }

  .privacy-summary div {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
  }

  .modal-header,
  .modal-content {
    padding-inline: 18px;
  }

  .prices,
  .content-strip,
  .notice,
  .footer-inner,
  .legal-hero,
  .legal-section,
  .admin-main {
    width: min(100% - 22px, 480px);
  }

  .filter-actions button {
    width: 100%;
  }
}
