:root {
  --navy: #071530;
  --navy-2: #0c2148;
  --blue: #1456ce;
  --royal: #007aff;
  --red: #da222d;
  --orange: #ee5b26;
  --gold: #f5a524;
  --green: #1f874c;
  --ink: #101827;
  --muted: #5f6f8c;
  --line: #dfe6f2;
  --soft: #f5f8fd;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(7, 21, 48, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 165, 36, 0.75);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 8px 0;
}

.topbar strong,
.topbar a {
  color: var(--white);
  font-weight: 800;
}

.topbar__social {
  display: inline-flex;
  gap: 7px;
}

.social-dot {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 230, 242, 0.82);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  min-width: 188px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(7, 21, 48, 0.16);
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  max-width: 174px;
}

.brand__text small {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle.is-open span {
  transform: rotate(45deg);
}

.menu-toggle.is-open span::before {
  transform: translateY(0) rotate(90deg);
}

.menu-toggle.is-open span::after {
  opacity: 0;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-panel.is-open {
  display: block;
}

.nav-links {
  display: grid;
  gap: 2px;
  padding: 14px 16px 18px;
  list-style: none;
  margin: 0;
}

.nav-links a,
.nav-links select {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  padding: 12px 10px;
  font-weight: 800;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(20, 86, 206, 0.08);
  color: var(--blue);
}

.nav-links .nav-cta a {
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.nav-links .nav-pay a {
  color: var(--navy);
  background: var(--gold);
  text-align: center;
}

.header-actions {
  display: none;
}

.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-action--pay {
  color: var(--navy);
  background: var(--gold);
}

.header-action--register {
  color: var(--white);
  background: var(--red);
}

.header-language {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero picture,
.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 21, 48, 0.95), rgba(7, 21, 48, 0.67) 46%, rgba(7, 21, 48, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  align-content: center;
  gap: 24px;
  padding: 66px 0 78px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--white);
  background: rgba(218, 34, 45, 0.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.hero__actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 15px 32px rgba(218, 34, 45, 0.28);
}

.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffd16a);
  box-shadow: 0 15px 32px rgba(245, 165, 36, 0.24);
}

.btn-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--royal));
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.hero__stats {
  display: grid;
  max-width: 820px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.hero__stat {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.hero__stat strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.hero__stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section-soft {
  background: var(--soft);
}

.section-navy {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section h2,
.content-block h2 {
  margin: 0;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-navy h2,
.section-navy .kicker {
  color: var(--white);
}

.section-head p,
.content-block p {
  margin: 0;
  color: var(--muted);
}

.section-navy .section-head p,
.section-navy .content-block p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 21, 48, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 86, 206, 0.26);
  box-shadow: var(--shadow);
}

.card__body {
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

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

.icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--royal));
  font-weight: 900;
}

.accent-red .icon-box {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.accent-gold .icon-box {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffd36f);
}

.process {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.process__item {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 20px 20px 20px 72px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 21, 48, 0.07);
}

.process__item::before {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  counter-increment: step;
  content: counter(step);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.process__item strong {
  color: var(--navy);
  font-size: 18px;
}

.pill-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.pill-list li,
.check-list li {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 800;
}

.check-list {
  display: grid;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  left: 12px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.form-panel {
  border: 1px solid rgba(223, 230, 242, 0.88);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-panel__head {
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.form-panel__head h2,
.form-panel__head p {
  color: var(--white);
  margin: 0;
}

.form-panel__head p {
  margin-top: 6px;
  opacity: 0.82;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  padding: 11px 12px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(20, 86, 206, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 86, 206, 0.09);
  outline: none;
}

.field--full {
  grid-column: 1 / -1;
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.terms input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.upload-box {
  display: grid;
  gap: 12px;
  border: 1px dashed rgba(20, 86, 206, 0.42);
  border-radius: var(--radius);
  background: rgba(20, 86, 206, 0.04);
  padding: 16px;
}

.upload-preview {
  display: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.upload-preview.is-visible {
  display: block;
}

.upload-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.file-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 13px;
}

.form-status.is-success {
  color: var(--green);
  font-weight: 900;
}

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 48, 0.96), rgba(20, 86, 206, 0.82)),
    url("../images/hero-1280.webp") center / cover;
}

.page-hero .breadcrumb {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.detail-band {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.detail-band h2,
.detail-band p {
  margin: 0;
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 6px;
  background: rgba(7, 21, 48, 0.78);
  color: var(--white);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 900;
}

.video-grid {
  display: grid;
  gap: 16px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.82;
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
}

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

.logo-strip img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.team-strip img {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  color: var(--navy);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.pricing-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.price strong {
  font-size: 46px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  padding-bottom: 7px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.contact-list strong {
  color: var(--navy);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--white);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--navy);
  background: var(--soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 0;
}

.footer-cta__inner {
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: 28px;
}

.footer-main {
  display: grid;
  gap: 26px;
  padding: 44px 0;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 20px;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.float-btn,
.scroll-top {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 21, 48, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.float-btn.whatsapp {
  background: #1fa855;
}

.float-btn.call {
  background: var(--blue);
}

.scroll-top {
  display: none;
  background: var(--red);
}

.scroll-top.is-visible {
  display: grid;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .hero h1,
  .page-hero h1 {
    font-size: 58px;
  }

  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .grid-2,
  .gallery-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .topbar__inner {
    justify-content: space-between;
  }

  .split {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 1120px) {
  .topbar__inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 0;
  }

  .nav-links a,
  .nav-links select {
    width: auto;
    padding: 10px 7px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-links .nav-cta,
  .nav-links .nav-pay,
  .nav-links .nav-lang {
    display: none;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
  }

  .split {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 1120px) {
  .nav-links a,
  .nav-links select {
    padding-inline: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand__text strong {
    max-width: 154px;
    font-size: 14px;
  }

  .hero,
  .hero__content {
    min-height: 620px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .section h2,
  .content-block h2 {
    font-size: 27px;
  }
}
