:root {
  --primary: #064b93;
  --primary-dark: #03386f;
  --accent: #f47b20;
  --accent-dark: #d96208;
  --whatsapp: #12a538;
  --text: #122033;
  --muted: #657489;
  --line: #dfe7f0;
  --surface: #ffffff;
  --soft: #f4f8fc;
  --shadow: 0 20px 45px rgba(9, 44, 84, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

svg {
  fill: none;
  flex: 0 0 auto;
  height: 1.25em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.25em;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  background: var(--primary-dark);
  color: #ffffff;
}

.topbar__inner {
  align-items: center;
  display: flex;
  gap: 22px;
  margin: 0 auto;
  max-width: 1220px;
  min-height: 38px;
  padding: 0 24px;
}

.topbar a,
.topbar span {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(9, 36, 68, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 28px;
  margin: 0 auto;
  max-width: 1220px;
  min-height: 82px;
  padding: 0 24px;
}

.brand-link {
  margin-right: auto;
}

.logo {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.logo__mark {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #0f76bd);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  position: relative;
  width: 58px;
}

.logo__mark svg {
  height: 34px;
  width: 34px;
}

.logo__mark::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: -8px;
  position: absolute;
  top: 14px;
  width: 24px;
}

.logo__mark::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: -14px;
  position: absolute;
  top: 24px;
  width: 30px;
}

.logo strong {
  color: var(--primary);
  display: block;
  font-size: 28px;
  line-height: 1;
}

.logo small {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
  max-width: 230px;
}

.logo--compact .logo__mark {
  height: 40px;
  width: 48px;
}

.logo--compact .logo__mark svg {
  height: 24px;
  width: 24px;
}

.logo--compact strong {
  color: #ffffff;
  font-size: 24px;
}

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

.nav a {
  color: #17283d;
  font-size: 15px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--accent);
}

.nav__admin {
  color: var(--primary) !important;
}

.header-cta,
.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta,
.button--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(244, 123, 32, 0.28);
}

.button--primary:hover,
.header-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button--whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 165, 56, 0.2);
}

.button--ghost {
  background: #eef4fb;
  color: var(--primary);
}

.button strong {
  display: block;
  font-size: 13px;
  line-height: 1;
}

.menu-button {
  align-items: center;
  background: #eef4fb;
  border: 0;
  border-radius: 8px;
  color: var(--primary);
  display: none;
  font-size: 26px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: linear-gradient(90deg, #f7fbff 0%, rgba(247, 251, 255, 0.95) 37%, rgba(247, 251, 255, 0) 61%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero__content {
  align-self: center;
  max-width: 590px;
  padding: 76px 24px 76px max(24px, calc((100vw - 1220px) / 2 + 24px));
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--primary-dark);
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.hero p {
  color: #24364c;
  font-size: 20px;
  line-height: 1.6;
  margin: 26px 0 30px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #ffffff 100%),
    url("/assets/hero-moving.png") center / cover no-repeat;
  min-height: 650px;
}

.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1220px;
}

.trust-strip article {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 16px;
  min-height: 94px;
  padding: 18px 24px;
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip svg,
.service-card svg,
.contact-list svg {
  color: var(--primary);
}

.trust-strip svg {
  height: 28px;
  width: 28px;
}

.service-card > svg {
  height: 42px;
  width: 42px;
}

.contact-list svg {
  height: 24px;
  width: 24px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 16px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 74px 24px;
}

.section-heading {
  margin: 0 auto 36px;
  max-width: 760px;
  text-align: center;
}

.section-heading span,
.about__text > span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-heading h2,
.about h2 {
  color: #0d1f33;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(11, 49, 88, 0.08);
  min-height: 290px;
  padding: 32px 26px;
}

.service-card h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 24px 0 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.service-card a {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-size: 30px;
  font-weight: 900;
}

.gallery-band {
  background: var(--soft);
  padding: 70px 24px;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.gallery-item {
  align-items: end;
  aspect-ratio: 1.15;
  background:
    linear-gradient(180deg, rgba(4, 27, 51, 0) 45%, rgba(4, 27, 51, 0.75) 100%),
    url("/assets/hero-moving.png") center / cover no-repeat;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  padding: 18px;
}

.gallery-item--2 {
  background-position: 60% 70%;
}

.gallery-item--3 {
  background-position: 78% 30%;
}

.gallery-item--4 {
  background-position: 92% 78%;
}

.gallery-item span {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.about {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 1.1fr;
}

.about__text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.about li {
  align-items: center;
  color: #20334a;
  display: flex;
  font-weight: 800;
  gap: 10px;
}

.about li svg {
  color: var(--primary);
}

.stats-panel {
  background:
    linear-gradient(120deg, rgba(6, 75, 147, 0.92), rgba(6, 75, 147, 0.76)),
    url("/assets/hero-moving.png") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #ffffff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  padding: 220px 26px 26px;
}

.stats-panel div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
}

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

.stats-panel strong {
  font-size: 34px;
  line-height: 1;
}

.stats-panel span {
  font-weight: 800;
  margin-top: 8px;
}

.contact {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1220px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1220px) / 2 + 24px));
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.3fr 0.9fr;
}

.contact-list,
.quote-form,
.map-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(12, 48, 87, 0.08);
  padding: 22px;
}

.contact-list {
  display: grid;
  gap: 4px;
}

.contact-list a,
.contact-list > span {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  padding: 15px 0;
}

.contact-list a:last-child {
  border-bottom: 0;
}

.contact-list span span,
.contact-list a span {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.contact-list strong {
  color: #0d1f33;
  display: block;
  font-size: 16px;
  margin-top: 3px;
}

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

.quote-form textarea,
.quote-form button {
  grid-column: 1 / -1;
}

input,
textarea {
  background: #f8fbfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 48px;
  outline: 0;
  padding: 13px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 75, 147, 0.12);
}

.map-card {
  align-content: center;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(45deg, #dbe7f2 0 1px, transparent 1px 32px);
  color: var(--primary);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 260px;
  text-align: center;
}

.map-card strong {
  color: var(--primary-dark);
  font-size: 24px;
}

.map-card span {
  color: var(--muted);
  font-weight: 800;
}

.footer {
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 44px 24px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.floating-call {
  align-items: center;
  background: var(--whatsapp);
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 18px 35px rgba(18, 165, 56, 0.3);
  color: #ffffff;
  display: flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  width: 58px;
  z-index: 25;
}

.admin-page {
  background: #f3f7fb;
  color: var(--text);
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  padding: 30px 24px;
}

.admin-sidebar .logo strong,
.admin-sidebar .logo small {
  color: #ffffff;
}

.logo--admin {
  align-items: flex-start;
}

.logo--admin .logo__mark {
  height: 48px;
  min-width: 58px;
}

.logo--admin strong {
  font-size: 24px;
  line-height: 1.05;
  max-width: 170px;
}

.logo--admin small {
  font-size: 11px;
  line-height: 1.2;
  max-width: 170px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 42px;
}

.admin-sidebar nav a {
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  padding: 13px 14px;
}

.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.admin-content {
  padding: 34px;
}

.admin-top {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.admin-top h1 {
  font-size: 36px;
  line-height: 1;
  margin: 0;
}

.admin-top p {
  color: var(--muted);
  margin: 8px 0 0;
}

.admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.save-status {
  color: #0a7e2d;
  font-weight: 900;
}

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

.admin-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(11, 49, 88, 0.08);
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

.admin-card h2 {
  align-items: center;
  display: flex;
  font-size: 20px;
  gap: 10px;
  margin: 0;
}

.admin-card label {
  color: #283b52;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
}

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

.color-row input {
  cursor: pointer;
  height: 54px;
  padding: 6px;
}

.service-editor {
  display: grid;
  gap: 14px;
}

.service-editor__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.7fr 1.3fr;
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

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

  .hero::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.88) 56%, rgba(247, 251, 255, 0) 100%);
  }

  .hero__content {
    padding: 58px 24px 24px;
  }

  .hero__image {
    min-height: 360px;
  }

  .trust-strip,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-bottom: 9px;
    padding-top: 9px;
  }

  .nav-shell {
    min-height: 74px;
  }

  .logo strong {
    font-size: 22px;
  }

  .logo small {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(13, 44, 76, 0.12);
    display: none;
    left: 0;
    padding: 16px 24px 22px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav--open {
    display: grid;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .gallery-grid,
  .contact-grid,
  .quote-form,
  .stats-panel,
  .admin-grid,
  .color-row,
  .service-editor__row {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .stats-panel {
    padding-top: 160px;
  }

  .section,
  .contact,
  .gallery-band {
    padding-bottom: 54px;
    padding-top: 54px;
  }

  .admin-content {
    padding: 22px;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions,
  .admin-actions .button {
    width: 100%;
  }
}
