﻿:root {
  --ink: #071421;
  --muted: #4a5a6f;
  --blue: #073f82;
  --cyan: #087fa4;
  --yellow: #f5d500;
  --soft: #f4f8fb;
  --line: #dbe5ee;
  --panel: #ffffff;
  --shadow: 0 18px 40px rgba(7, 20, 33, 0.11);
  --radius: 8px;
}

/* Video-guided refinements */
.compact-form {
  max-width: 420px;
  padding: 24px;
  gap: 12px;
}

.compact-form h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.mini-form {
  margin-top: 18px;
  padding: 18px;
  box-shadow: none;
}

.mini-form label,
.mini-form input {
  font-size: 13px;
}

.inline-action {
  margin-top: 24px;
}

.solutions-overview {
  background: var(--soft);
}

.solutions-inner {
  max-width: 1040px;
  margin: 0 auto;
}

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

.solutions-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

.solutions-heading p {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.solutions-grid.location-only {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.solution-card,
.location-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 20, 33, 0.04);
}

.solution-card {
  min-height: 220px;
  padding: 26px 24px;
}

.solution-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.solution-card h3,
.location-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.solution-card p,
.location-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.location-card,
.location-photo-card {
  min-height: 360px;
}

.location-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.location-copy {
  position: relative;
  z-index: 2;
  margin: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0.5), rgba(7, 20, 33, 0.34));
  box-shadow: 0 18px 44px rgba(7, 20, 33, 0.36);
  backdrop-filter: blur(1.5px);
}

.location-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(0.95) contrast(1.02);
}

.location-card h3,
.location-card p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(7, 20, 33, 0.9), 0 1px 2px rgba(7, 20, 33, 0.8);
}

.location-card p {
  max-width: 410px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.55;
}

.location-card h3 {
  max-width: 410px;
  font-size: 24px;
  line-height: 1.18;
}

.location-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 20, 33, 0.04);
}

.location-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-photo-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0), rgba(7, 20, 33, 0.76));
}

.location-photo-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-photo-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.app-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.app-mockup {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 330px);
  min-height: 520px;
  padding: 22px;
  border: 10px solid #071421;
  border-radius: 34px;
  background: linear-gradient(180deg, #f9fcff 0%, #eaf4f8 100%);
  box-shadow: var(--shadow);
}

.phone-top {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.app-card {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.app-card.blue {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.app-card span,
.app-status {
  font-size: 13px;
}

.app-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.app-status span {
  padding: 12px;
  border-radius: 12px;
  background: #fff8bd;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.maintenance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.maintenance-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #213249;
  font-size: 14px;
  font-weight: 800;
}

.portfolio-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.portfolio-pair-grid .service-card img {
  aspect-ratio: 1.65 / 1;
}

.portfolio-carousel-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.maintenance-carousel {
  max-width: 1080px;
  margin: 0 auto;
}

.maintenance-track {
  position: relative;
  min-height: 520px;
}

.maintenance-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.maintenance-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.maintenance-photo {
  position: relative;
  min-height: 520px;
  background: var(--ink);
}

.maintenance-photo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maintenance-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 33, 0.08), rgba(7, 20, 33, 0.18));
  pointer-events: none;
}

.maintenance-logo {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 70px;
  height: 70px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 8px 14px rgba(7, 20, 33, 0.28));
}

.maintenance-logo.logo-top-left {
  right: auto;
  left: 16px;
}

.maintenance-logo.logo-bottom-right {
  top: auto;
  right: 16px;
  bottom: 16px;
}

.maintenance-logo.logo-bottom-left {
  top: auto;
  right: auto;
  bottom: 16px;
  left: 16px;
}

.maintenance-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 58px);
}

.maintenance-copy span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maintenance-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
}

.maintenance-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.62;
}

.maintenance-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.maintenance-controls button {
  min-width: 118px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 63, 130, 0.18);
}

.maintenance-controls button:hover {
  background: #0b4f99;
}

.maintenance-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.maintenance-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b7c8da;
  transition: width 0.25s ease, background 0.25s ease;
}

.maintenance-dots span.is-active {
  width: 30px;
  background: var(--yellow);
}

.app-download-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.app-download-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.app-download-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.qr-placeholder {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 150px;
  height: 150px;
  padding: 16px;
  border: 8px solid #fff;
  outline: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, #071421 8px, transparent 8px) 0 0 / 18px 18px,
    linear-gradient(#071421 8px, transparent 8px) 0 0 / 18px 18px,
    #fff;
  box-shadow: 0 12px 26px rgba(7, 20, 33, 0.12);
}

.qr-placeholder span {
  background: #fff;
  border: 10px solid var(--blue);
  border-radius: 6px;
}

.qr-placeholder small {
  position: absolute;
  inset: auto 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.video-placeholder {
  max-width: 920px;
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 34px;
  border: 2px dashed #b7c9d8;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.video-placeholder h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.video-placeholder p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.contact-simple-form {
  margin: 0 auto;
}

.participation-section {
  position: relative;
}

.participation-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.participation-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.participation-section.is-wrapped .participation-copy::before,
.participation-section.is-wrapped .participation-copy::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.participation-section.is-wrapped .participation-copy::before {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 18%, transparent 18% 42%, rgba(255, 255, 255, 0.14) 42% 58%, transparent 58%),
    linear-gradient(145deg, #ffd21c, #f5a625 55%, #e88312);
}

.participation-section.is-wrapped .participation-copy::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 34px;
  background: #ff2626;
  box-shadow: 0 0 0 1px rgba(132, 0, 0, 0.08), 0 18px 28px rgba(148, 45, 0, 0.22);
  transform: translateY(-50%);
}

.participation-section.is-wrapped .participation-copy > :not(.participation-gift-unlock) {
  filter: blur(5px);
  opacity: 0.22;
  user-select: none;
}

.participation-section.is-unwrapping .participation-copy::before {
  animation: wrapperOpen 0.82s ease forwards;
}

.participation-section.is-unwrapping .participation-copy::after {
  animation: ribbonOpen 0.72s ease forwards;
}

.participation-section.is-unwrapping .participation-copy > :not(.participation-gift-unlock) {
  animation: participationReveal 0.82s ease forwards;
}

.participation-copy h2,
.participation-copy h3,
.participation-copy p {
  margin: 0;
}

.participation-copy h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.participation-copy h3 {
  max-width: 520px;
  color: var(--blue);
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.12;
}

.participation-copy p {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
}

.participation-toggle {
  width: fit-content;
  margin-top: 8px;
}

.participation-form {
  align-self: start;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: max-height 0.55s ease, opacity 0.35s ease, transform 0.45s ease;
}

.participation-section.is-open .participation-form {
  max-height: 620px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.participation-gift-unlock {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.participation-gift-unlock::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 42px;
  background: #ff2626;
  box-shadow: inset 0 0 0 1px rgba(132, 0, 0, 0.08);
  transform: translateX(-50%);
}

.participation-gift-unlock:hover {
  filter: drop-shadow(0 18px 28px rgba(7, 20, 33, 0.2));
  transform: translate(-50%, -50%) scale(1.015);
}

.participation-section.is-unwrapping .participation-gift-unlock {
  pointer-events: none;
  animation: giftUnlockExit 0.72s ease forwards;
}

.participation-section.is-unwrapping .participation-gift-unlock .present-lid {
  animation: presentLidOpen 0.64s ease forwards;
}

.participation-section.is-unwrapping .participation-gift-unlock .present-bow {
  animation: presentBowOpen 0.64s ease forwards;
}

.participation-section.is-unwrapping .wrapped-gift-label {
  animation: giftLabelExit 0.42s ease forwards;
}

.participation-section:not(.is-wrapped) .participation-gift-unlock {
  display: none;
}

.gift-gif,
.present-icon {
  position: relative;
  width: 62px;
  height: 58px;
  display: block;
}

.gift-gif {
  object-fit: contain;
}

.gift-gif-large,
.present-icon-large {
  width: 132px;
  height: 112px;
  filter: drop-shadow(0 18px 28px rgba(7, 20, 33, 0.22));
}

.wrapped-gift-label {
  position: absolute;
  left: calc(50% + 58px);
  top: calc(50% - 74px);
  z-index: 2;
  width: max-content;
  max-width: 178px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 38, 38, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8cf, #ffbd3d);
  color: #9f0808;
  box-shadow: 0 14px 30px rgba(148, 45, 0, 0.22);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
  text-align: left;
  text-transform: uppercase;
  transform-origin: left center;
  animation: wrappedGiftLabelFloat 2.6s ease-in-out infinite;
}

.wrapped-gift-label::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(255, 38, 38, 0.22);
  border-bottom: 1px solid rgba(255, 38, 38, 0.22);
  background: #ffbd3d;
  transform: translateY(-50%) rotate(45deg);
}

.present-box,
.present-lid,
.present-ribbon,
.present-ribbon::before,
.present-bow {
  position: absolute;
  display: block;
}

.present-box {
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 56%;
  border-radius: 7px;
  background: transparent;
  box-shadow: inset 0 -10px 0 rgba(7, 20, 33, 0.1);
}

.present-lid {
  left: 8%;
  right: 8%;
  top: 38%;
  height: 18%;
  border-radius: 7px;
  background: var(--yellow);
  transform-origin: 12% 100%;
}

.present-ribbon {
  left: 50%;
  top: 36%;
  bottom: 0;
  width: 28%;
  background: var(--yellow);
  transform: translateX(-50%);
}

.present-ribbon::before {
  content: "";
  display: none;
  left: -245%;
  top: 27%;
  width: 590%;
  height: 23%;
  border-radius: 3px;
  background: var(--yellow);
}

.present-bow {
  top: 0;
  width: 36%;
  height: 34%;
  border: 7px solid var(--yellow);
  background: #fff;
}

.present-bow-left {
  right: 50%;
  border-radius: 60% 32% 50% 42%;
  transform: rotate(-28deg);
  transform-origin: right bottom;
}

.present-bow-right {
  left: 50%;
  border-radius: 32% 60% 42% 50%;
  transform: rotate(28deg);
  transform-origin: left bottom;
}

.floating-participation-gift {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 42;
  display: inline-flex;
  align-items: center;
  min-width: 128px;
  min-height: 76px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.floating-participation-gift > .gift-gif,
.floating-participation-gift > .present-icon {
  width: 72px;
  height: 68px;
  filter: drop-shadow(0 14px 18px rgba(7, 20, 33, 0.22));
  transform-origin: 50% 78%;
  animation: giftShake 0.72s linear infinite !important;
  will-change: transform;
}

.floating-participation-gift > .present-icon .present-bow,
.floating-participation-gift > .present-icon .present-lid,
.floating-participation-gift > .present-icon .present-ribbon {
  animation: giftInnerShake 0.72s linear infinite !important;
  will-change: transform;
}

.floating-participation-gift.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.floating-gift-label {
  position: absolute;
  left: 58px;
  bottom: 46px;
  display: inline-block;
  width: max-content;
  max-width: 106px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 38, 38, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8cf, #ffbd3d);
  color: #9f0808;
  box-shadow: 0 12px 28px rgba(148, 45, 0, 0.2);
  line-height: 1.05;
  text-transform: uppercase;
  transform-origin: left bottom;
  animation: giftLabelFloat 2.9s ease-in-out infinite;
}

.floating-gift-label::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 10px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(255, 38, 38, 0.22);
  border-bottom: 1px solid rgba(255, 38, 38, 0.22);
  background: #ffbd3d;
  transform: rotate(45deg);
}

.gift-celebration {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 24px;
  background: rgba(7, 20, 33, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gift-celebration.is-visible {
  opacity: 1;
}

.gift-celebration p {
  max-width: 360px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  animation: giftMessage 0.65s ease 0.55s both;
}

.gift-box {
  position: relative;
  width: 150px;
  height: 142px;
  animation: giftBounce 0.8s ease both;
}

.gift-body,
.gift-lid {
  position: absolute;
  left: 50%;
  width: 126px;
  border-radius: 8px;
  background: #f5a625;
  box-shadow: 0 16px 38px rgba(148, 45, 0, 0.28);
  transform: translateX(-50%);
}

.gift-body {
  bottom: 0;
  height: 92px;
}

.gift-lid {
  top: 18px;
  height: 36px;
  transform-origin: 8% 100%;
}

.gift-ribbon,
.gift-ribbon::before {
  content: "";
  position: absolute;
  z-index: 2;
  background: #ff2626;
}

.gift-ribbon {
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 128px;
  transform: translateX(-50%);
}

.gift-ribbon::before {
  left: -52px;
  top: 45px;
  width: 126px;
  height: 18px;
}

.gift-celebration.is-visible .gift-lid {
  animation: openGiftLid 0.8s ease 0.35s forwards;
}

@keyframes giftBounce {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.82);
  }

  55% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes openGiftLid {
  0% {
    transform: translateX(-50%) rotate(0);
  }

  100% {
    transform: translate(-78%, -34px) rotate(-18deg);
  }
}

@keyframes giftMessage {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes participationReveal {
  0% {
    filter: blur(5px);
    opacity: 0.22;
    transform: scale(0.99);
  }

  58% {
    filter: blur(2px);
    opacity: 0.78;
    transform: scale(1.006);
  }

  100% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes giftUnlockExit {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 24px)) scale(1.08);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 44px)) scale(0.94);
  }
}

@keyframes wrapperOpen {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  45% {
    opacity: 1;
    transform: scale(1.018);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes ribbonOpen {
  0% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.18);
  }
}

@keyframes giftShake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(-5px, 1px) rotate(-10deg);
  }

  20% {
    transform: translate(5px, -1px) rotate(9deg);
  }

  30% {
    transform: translate(-4px, 0) rotate(-8deg);
  }

  40% {
    transform: translate(4px, 1px) rotate(7deg);
  }

  50% {
    transform: translate(-3px, -1px) rotate(-5deg);
  }

  60% {
    transform: translate(3px, 0) rotate(4deg);
  }

  70% {
    transform: translate(-2px, 1px) rotate(-3deg);
  }

  80% {
    transform: translate(2px, 0) rotate(2deg);
  }

  90% {
    transform: translate(-1px, 0) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes giftInnerShake {
  0%,
  100% {
    translate: 0 0;
  }

  20% {
    translate: 1px -1px;
  }

  40% {
    translate: -1px 1px;
  }

  60% {
    translate: 1px 0;
  }

  80% {
    translate: -1px 0;
  }
}

@keyframes giftLabelFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(4px, -3px) scale(1.02);
  }
}

@keyframes wrappedGiftLabelFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5px, -3px);
  }
}

@keyframes giftLabelExit {
  to {
    opacity: 0;
    transform: translate(12px, -8px) scale(0.94);
  }
}

@keyframes presentLidOpen {
  to {
    transform: translate(-16%, -58%) rotate(-18deg);
  }
}

@keyframes presentBowOpen {
  to {
    opacity: 0;
    transform: translateY(-34px) scale(0.82);
  }
}

.city-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.city-showcase article {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background-position: center;
  background-size: cover;
}

.city-showcase article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0.12), rgba(7, 20, 33, 0.74));
}

.city-showcase h3,
.city-showcase p,
.city-showcase span,
.city-showcase .stars {
  position: relative;
  margin: 0;
}

.city-showcase h3 {
  font-size: 28px;
}

.city-showcase p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.city-review {
  gap: 10px;
}

.city-review .stars {
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 2px;
}

.city-review p {
  font-size: 16px;
  font-weight: 700;
}

.city-review span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.city-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  gap: 18px;
}

.city-grid-compact .city-card {
  padding: 9px 9px 12px;
  background: var(--soft);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(12, 33, 66, 0.06);
}

.city-grid-compact .city-antofagasta {
  grid-column: 2;
}

.city-grid-compact .city-card img {
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.city-grid-compact .city-arica img {
  object-position: center 48%;
}

.city-grid-compact .city-iquique img {
  object-position: center 52%;
}

.city-grid-compact .city-alto-hospicio img {
  object-position: center 58%;
}

.city-grid-compact .city-antofagasta img {
  object-position: center 50%;
}

.city-grid-compact .city-card h2 {
  margin: 12px 0 5px;
  font-size: 16px;
}

.city-grid-compact .city-card p {
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.5;
}

.team-grid-horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  gap: 26px 28px;
}

.member-card-horizontal {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  min-height: 204px;
  padding: 24px;
  border: 1px solid rgba(183, 201, 216, 0.72);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(12, 33, 66, 0.08);
}

.member-card-horizontal img {
  width: 170px;
  height: 170px;
  aspect-ratio: auto;
  border-radius: 8px;
  object-fit: cover;
}

.member-card-horizontal h2 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.member-card-horizontal span {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}

.member-card-horizontal p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.member-card-horizontal small {
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 7px;
}

.assist-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  isolation: isolate;
}

.assist-toggle {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}

.assist-toggle::before,
.assist-toggle::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 2px solid rgba(37, 211, 102, 0.38);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: whatsappEdgePulse 3.4s ease-out infinite;
}

.assist-toggle::before {
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.2);
}

.assist-toggle::after {
  inset: -12px;
  border-color: rgba(37, 211, 102, 0.24);
  animation-delay: 1.35s;
}

.assist-toggle img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 12px 18px rgba(15, 177, 80, 0.32));
}

@keyframes whatsappEdgePulse {
  0% {
    opacity: 0;
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.18);
  }

  16% {
    opacity: 0.65;
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.58;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.26);
  }

  100% {
    transform: scale(1.28);
    opacity: 0;
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .participation-section.is-unwrapping .participation-card,
  .participation-section.is-unwrapping .participation-gift-unlock,
  .participation-section.is-unwrapping .participation-gift-unlock .present-lid,
  .participation-section.is-unwrapping .participation-gift-unlock .present-bow {
    animation: none;
  }

  .participation-section.is-wrapped .participation-card {
    transition: none;
  }
}

.assist-panel {
  position: absolute;
  right: 0;
  bottom: 112px;
  width: 240px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.assist-panel[hidden] {
  display: none;
}

.assist-panel a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.assist-panel a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .app-split,
  .app-download-card {
    grid-template-columns: 1fr;
  }

  .content-note-grid,
  .testimonial-grid,
  .region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .solutions-grid.location-only {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-card {
    grid-column: auto;
  }

  .portfolio-pair-grid,
  .city-showcase,
  .maintenance-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maintenance-track,
  .maintenance-photo {
    min-height: 460px;
  }

  .team-grid-horizontal,
  .city-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-grid-compact .city-antofagasta {
    grid-column: 1 / -1;
    max-width: calc(50% - 9px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .portfolio-pair-grid,
  .city-showcase,
  .maintenance-slide,
  .maintenance-list,
  .team-grid-horizontal,
  .city-grid-compact {
    grid-template-columns: 1fr;
  }

  .maintenance-track {
    min-height: 680px;
  }

  .maintenance-slide {
    grid-template-rows: 280px 1fr;
  }

  .maintenance-photo {
    min-height: 280px;
  }

  .maintenance-logo {
    width: 58px;
    height: 58px;
    right: 12px;
    top: 12px;
  }

  .maintenance-logo.logo-top-left {
    left: 12px;
  }

  .maintenance-logo.logo-bottom-right {
    right: 12px;
    bottom: 12px;
  }

  .maintenance-logo.logo-bottom-left {
    bottom: 12px;
    left: 12px;
  }

  .maintenance-controls {
    grid-template-columns: 1fr 1fr;
  }

  .maintenance-dots {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .solutions-heading {
    margin-bottom: 26px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-note-grid,
  .testimonial-grid,
  .region-list {
    grid-template-columns: 1fr;
  }

  .solutions-grid.location-only {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
    padding: 22px;
  }

  .solution-icon {
    margin-bottom: 18px;
  }

  .location-card {
    grid-column: auto;
  }

  .location-card,
  .location-photo-card {
    min-height: 300px;
  }

  .location-copy {
    margin: 16px;
    padding: 18px;
  }

  .location-card h3 {
    font-size: 20px;
  }

  .location-card p {
    font-size: 13px;
  }

  .city-grid-compact .city-antofagasta {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .member-card-horizontal {
    grid-template-columns: 116px 1fr;
    min-height: 156px;
    gap: 16px;
    padding: 16px;
  }

  .member-card-horizontal img {
    width: 116px;
    height: 116px;
  }

  .member-card.member-card-horizontal {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 156px;
    gap: 16px;
    padding: 16px;
  }

  .member-card.member-card-horizontal img {
    width: 116px;
    height: 116px;
  }

  .member-card-horizontal h2 {
    font-size: 22px;
  }

  .member-card.member-card-horizontal h2 {
    font-size: 22px;
  }

  .member-card-horizontal p {
    max-width: none;
    font-size: 13px;
  }

  .member-card.member-card-horizontal p {
    max-width: none;
    font-size: 13px;
  }

  .assist-widget {
    right: 16px;
    bottom: 16px;
  }

  .assist-panel {
    width: calc(100vw - 32px);
    max-width: 300px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 280px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.socials a {
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--cyan);
}

.socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero,
.page-hero,
.section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 110px);
}

main > .hero:first-child::before,
main > .page-hero:first-child::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url("img/hero-section-bg.png?v=20260531-0016");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

main > .hero:first-child h1,
main > .page-hero:first-child h1 {
  color: #ffffff;
}

main > .hero:first-child p,
main > .page-hero:first-child p {
  color: rgba(255, 255, 255, 0.82);
}

main > .hero:first-child .eyebrow,
main > .page-hero:first-child .eyebrow {
  color: #8fe9ff;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split h2,
.contact-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.split p,
.contact-cta p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.actions.center {
  justify-content: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(124px, 1fr));
  gap: 14px;
  max-width: 580px;
  margin-top: 30px;
}

.hero-metric {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 138px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(7, 20, 33, 0.16);
  backdrop-filter: blur(12px);
}

.hero-metric strong {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 800;
}

.hero-metric > span {
  color: rgba(255, 255, 255, 0.84);
  max-width: 170px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.proof-section {
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.compact-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 960px);
  margin: 30px auto 0;
}

.proof-metric {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 178px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 67, 122, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 49, 90, 0.1);
}

.proof-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--yellow);
}

.proof-metric strong {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--blue);
  font-size: clamp(62px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 800;
}

.proof-metric strong span {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.proof-metric > span {
  max-width: 260px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(7, 63, 130, 0.22);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(84px, 1fr));
  gap: 10px;
  align-items: center;
  max-width: 520px;
  margin-top: 38px;
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.trust-strip img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  display: block;
}

.quote-form {
  scroll-margin-top: 120px;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quote-form.embedded {
  box-shadow: none;
}

.quote-form h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.quote-form p {
  margin: -4px 0 6px;
  color: var(--muted);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #213249;
  font-size: 14px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-field:focus-within {
  border-color: #0f4d91;
  box-shadow: 0 0 0 3px rgba(15, 77, 145, 0.12);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  padding: 0 13px 0 11px;
  border-right: 1px solid var(--line);
  background: #f6f9fc;
  color: #071b33;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-prefix img {
  display: block;
  width: 28px;
  height: 19px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(7, 27, 51, 0.12);
}

.quote-form .phone-field input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.quote-form .phone-field input:focus {
  outline: none;
}

.quote-form textarea {
  resize: none;
}

.form-note {
  min-height: 18px;
  color: var(--cyan);
  font-weight: 700;
}

.success-notice {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 80;
  width: min(92vw, 560px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.success-notice.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

.success-notice__panel {
  position: relative;
  padding: 18px 48px 18px 20px;
  border: 1px solid rgba(11, 79, 153, 0.18);
  border-left: 5px solid var(--yellow);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(7, 20, 33, 0.16);
}

.success-notice--contact .success-notice__panel {
  border-color: rgba(11, 79, 153, 0.22);
  border-left-color: var(--blue);
  background:
    linear-gradient(135deg, rgba(255, 237, 0, 0.18), rgba(255, 255, 255, 0) 42%),
    rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 56px rgba(7, 20, 33, 0.2);
}

.success-notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.success-notice--contact strong {
  color: var(--ink);
  font-size: 18px;
}

.success-notice p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.success-notice__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.success-notice__close:hover {
  color: var(--blue);
  background: var(--soft);
}

.text-bridge {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.section {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.soft,
.service-highlight,
.clients-section {
  background: var(--soft);
}

.clients-section {
  background: #fff;
}

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

.section-heading p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.split h2,
.contact-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.content-note-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto 34px;
}

.portfolio-intro .content-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.content-note-grid article,
.testimonial-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 20, 33, 0.04);
}

.content-note-grid strong,
.testimonial-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.content-note-grid p,
.testimonial-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.comunylink-word {
  font-weight: 800;
  letter-spacing: 0;
}

.comunylink-comuny {
  color: var(--blue);
}

.comunylink-link {
  color: #d6b900;
}

.testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.testimonial-grid article {
  display: grid;
  align-content: space-between;
  min-height: 170px;
}

.testimonial-grid span {
  display: block;
  margin-top: 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.supporting-copy,
.region-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.split .supporting-copy {
  gap: 8px;
}

.supporting-copy p,
.region-list p {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.split .supporting-copy p {
  padding: 12px 14px;
  font-size: 13px;
}

.supporting-copy.compact p {
  padding: 12px 13px;
  font-size: 13px;
}

.region-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 840px;
  margin: 22px auto 0;
}

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

.portfolio-intro {
  padding-top: clamp(30px, 4vw, 44px);
  padding-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.split > img,
.contact-info img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-list article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff;
}

.feature-list span {
  color: var(--muted);
}

.service-grid,
.portfolio-grid,
.city-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.service-card,
.city-card,
.member-card,
.faq-list article,
.faq-aside,
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card,
.city-card,
.member-card {
  overflow: hidden;
}

.service-card img,
.city-card img,
.member-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.service-card h2,
.service-card h3,
.city-card h2,
.member-card h2 {
  margin: 18px 18px 8px;
  font-size: 21px;
  line-height: 1.18;
}

.service-card p,
.city-card p,
.member-card p {
  margin: 0 18px 20px;
  color: var(--muted);
  font-size: 14px;
}

.member-card span {
  display: block;
  margin: 0 18px 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.team-grid.team-grid-horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  gap: 26px 28px;
}

.member-card.member-card-horizontal {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  min-height: 204px;
  padding: 24px;
  border: 1px solid rgba(183, 201, 216, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(12, 33, 66, 0.08);
}

.member-card.member-card-horizontal img {
  width: 170px;
  height: 170px;
  aspect-ratio: auto;
  border-radius: 8px;
  object-fit: cover;
}

.member-card.member-card-horizontal h2 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.member-card.member-card-horizontal span {
  display: block;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}

.member-card.member-card-horizontal p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.member-card.member-card-horizontal small {
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 7px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.logo-grid img {
  width: 100%;
  height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--soft), rgba(246, 248, 252, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--soft), rgba(246, 248, 252, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 42px;
  animation: logo-scroll 42s linear infinite;
  will-change: transform;
}

.logo-track img {
  flex: 0 0 220px;
  width: 220px;
  height: 118px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 21px));
  }
}


.contact-cta {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.contact-cta p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contact-cta .contact-details {
  display: grid;
  gap: 6px;
}

.contact-cta .contact-details span {
  display: block;
}

.page-hero .contact-details {
  display: grid;
  gap: 6px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-hero .contact-details span {
  display: block;
}

.page-hero {
  position: relative;
  isolation: isolate;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: clamp(58px, 8vw, 110px);
  padding-bottom: clamp(42px, 6vw, 74px);
  text-align: center;
}

.page-hero.compact h1 {
  font-size: clamp(32px, 5vw, 56px);
}

.page-hero p {
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-hero.image-hero {
  max-width: none;
  padding: 0;
  background: #ffffff;
}

main > .page-hero.image-hero:first-child::before {
  display: none;
}

.page-hero.image-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.wide-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.wide-gallery img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.faq-list article {
  padding: 22px;
}

.faq-list h2,
.faq-aside h2,
.contact-info h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.18;
}

.faq-list p,
.faq-aside p,
.contact-info p {
  margin: 0;
  color: var(--muted);
}

.faq-aside,
.contact-info {
  padding: 22px;
}

.faq-aside img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  margin-bottom: 20px;
  border-radius: var(--radius);
  object-fit: cover;
}

.faq-aside .button {
  margin-top: 20px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
}

.contact-info {
  display: grid;
  gap: 13px;
}

.contact-info img {
  margin-top: 10px;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 42px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
  color: var(--muted);
}

.footer img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.footer a {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.footer a:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.footer p {
  margin: 0;
  max-width: 780px;
  font-size: 14px;
}

.footer-brand-text {
  font-weight: 800;
  text-transform: uppercase;
}

.footer-brand-text span {
  color: #0b4f99;
}

.footer-brand-text strong {
  color: #f2c400;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18c85f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .socials {
    display: none;
  }

  .hero,
  .split,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid,
  .city-grid,
  .team-grid,
  .wide-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .proof-metrics {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .proof-metric {
    min-height: 142px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand span {
    font-size: 12px;
  }

  .hero,
  .page-hero,
  .section {
    padding-inline: 16px;
  }

  .proof-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .proof-metrics {
    gap: 12px;
    margin-top: 26px;
  }

  .proof-metric {
    min-height: 128px;
    padding: 22px 22px 22px 24px;
  }

  .proof-metric strong {
    font-size: 54px;
  }

  .proof-metric > span {
    font-size: 14px;
  }

  .service-grid,
  .portfolio-grid,
  .city-grid,
  .team-grid,
  .wide-gallery,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid img {
    height: 112px;
  }

  .actions,
  .actions.center {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .participation-card {
    grid-template-columns: 1fr;
  }

  .participation-gift-unlock {
    top: 50%;
    width: 100%;
    height: 100%;
  }

  .participation-gift-unlock .gift-gif-large,
  .participation-gift-unlock .present-icon-large {
    width: 110px;
    height: 96px;
  }

  .wrapped-gift-label {
    left: calc(50% + 36px);
    top: calc(50% - 70px);
    max-width: 132px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .participation-toggle {
    width: 100%;
  }

  .participation-form {
    transform: translateY(22px);
  }

  .button,
  .quote-form button {
    width: 100%;
  }

  .floating-participation-gift {
    left: 14px;
    bottom: 14px;
    min-width: 112px;
    min-height: 64px;
  }

  .floating-participation-gift .gift-gif,
  .floating-participation-gift .present-icon {
    width: 58px;
    height: 55px;
  }

  .floating-gift-label {
    left: 46px;
    bottom: 38px;
    max-width: 86px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .trust-strip img {
    max-width: 100%;
  }

  .logo-carousel {
    max-width: 360px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 54px;
  }

  .logo-track {
    gap: 26px;
    animation-duration: 38s;
  }

  .logo-track img {
    flex-basis: 168px;
    width: 168px;
    height: 92px;
  }
}

@media (max-width: 980px) {
  .team-grid.team-grid-horizontal {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .content-note-grid,
  .testimonial-grid,
  .region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .team-grid.team-grid-horizontal {
    grid-template-columns: 1fr;
  }

  .content-note-grid,
  .testimonial-grid,
  .region-list {
    grid-template-columns: 1fr;
  }

  .content-note-grid,
  .testimonial-grid {
    margin-bottom: 28px;
  }

  .member-card.member-card-horizontal {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 156px;
    gap: 16px;
    padding: 16px;
  }

  .member-card.member-card-horizontal img {
    width: 116px;
    height: 116px;
  }

  .member-card.member-card-horizontal h2 {
    font-size: 22px;
  }

  .member-card.member-card-horizontal p {
    max-width: none;
    font-size: 13px;
  }
}

/* Content layout polish based on the original page text */
.app-screen {
  width: min(100%, 360px);
  aspect-ratio: 0.72 / 1;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.app-video {
  display: block;
  pointer-events: none;
  user-select: none;
}

.home-services .content-note-grid article {
  display: grid;
  align-content: start;
  min-height: 152px;
  padding: 22px;
}

.home-services .content-note-grid article:first-child,
.home-services .content-note-grid article:nth-child(4) {
  grid-column: auto;
}

.home-services .content-note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.clients-section .testimonial-grid article {
  min-height: 210px;
  padding: 24px;
  border: 0;
  color: #fff;
  background: linear-gradient(145deg, rgba(7, 20, 33, 0.94), rgba(8, 127, 164, 0.88));
}

.clients-section .testimonial-grid p,
.clients-section .testimonial-grid strong,
.clients-section .testimonial-grid span {
  color: #fff;
}

.clients-section .testimonial-grid p {
  font-size: 16px;
  font-weight: 800;
}

.clients-section .testimonial-grid span {
  opacity: 0.84;
}

.client-copy-card {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 22px auto 0;
  padding: 22px 26px;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  box-shadow: 0 12px 30px rgba(7, 20, 33, 0.055);
}

.section-heading .client-copy-card p {
  max-width: none;
  margin: 0;
  color: #2b3e54;
  font-size: 15px;
  line-height: 1.62;
}

.section-heading .client-copy-card p:first-child {
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.faq-aside .supporting-copy.compact {
  gap: 0;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.faq-aside .supporting-copy.compact p {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.faq-aside .supporting-copy.compact p:nth-child(odd) {
  padding-bottom: 4px;
  color: var(--ink);
  font-weight: 800;
}

.faq-aside .supporting-copy.compact p:nth-child(even) {
  padding-top: 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.faq-aside .supporting-copy.compact p:last-child {
  border-bottom: 0;
}

.text-bridge {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-regions-section {
  background: #f7f4f5;
}

.contact-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.contact-region-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 33, 66, 0.04);
}

.contact-region-grid img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
}

.contact-region-grid p {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
}

.contact-region-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.portfolio-pair-grid .service-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.portfolio-pair-grid .service-card p {
  line-height: 1.58;
}

@media (max-width: 980px) {
  .home-services .content-note-grid article:first-child,
  .home-services .content-note-grid article:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .contact-region-grid {
    grid-template-columns: 1fr;
  }
}

/* Service detail section organization */
.service-detail-section {
  background: linear-gradient(180deg, #f4f8fb 0%, #eef5f9 100%);
}

.service-detail-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  max-width: 1160px;
}

.service-detail-layout .quote-form {
  width: min(100%, 360px);
  justify-self: center;
}

.service-detail-content {
  max-width: 710px;
}

.service-detail-content > p {
  max-width: 610px;
}

.maintenance-mini-section {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(219, 229, 238, 0.95);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  box-shadow: 0 12px 30px rgba(7, 20, 33, 0.045);
}

.maintenance-mini-section h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.08;
}

.service-detail-content .maintenance-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.service-detail-content .maintenance-list span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(7, 20, 33, 0.035);
}

.service-detail-content .supporting-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-detail-content .supporting-copy p {
  min-height: 104px;
  padding: 16px 17px;
  border-left-color: var(--cyan);
  box-shadow: 0 8px 20px rgba(7, 20, 33, 0.035);
}

.service-detail-content .inline-action {
  margin-top: 26px;
}

@media (max-width: 980px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-layout .quote-form {
    width: min(100%, 520px);
  }

  .service-detail-content {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .service-detail-content .maintenance-list,
  .service-detail-content .supporting-copy {
    grid-template-columns: 1fr;
  }

  .maintenance-mini-section {
    padding: 18px;
  }

  .service-detail-content .supporting-copy p {
    min-height: auto;
  }
}

/* Main menu polish */
.topbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(219, 229, 238, 0.82);
  box-shadow: 0 10px 30px rgba(7, 20, 33, 0.045);
}

.brand {
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  box-shadow: 0 8px 18px rgba(7, 20, 33, 0.08);
}

.brand span {
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
}

.nav {
  justify-self: center;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: 999px;
  background: rgba(244, 248, 251, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #213249;
  font-size: 13px;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 20, 33, 0.07);
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(7, 63, 130, 0.2);
}

.socials {
  gap: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.socials a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 20, 33, 0.08);
}

@media (max-width: 980px) {
  .topbar {
    justify-items: center;
    padding-block: 16px;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    width: 100%;
    max-width: 680px;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 12px;
    min-height: auto;
    padding: 14px 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 11px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .nav a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Mobile layout hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
    top: 0;
    align-items: stretch;
    justify-items: stretch;
  }

  .brand {
    max-width: 100%;
    justify-content: flex-start;
  }

  .brand span {
    min-width: 0;
    white-space: normal;
  }

  .nav {
    max-width: none;
    width: 100%;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .hero {
    gap: 24px;
  }

  .hero-copy,
  .page-hero,
  .section-heading {
    text-align: left;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-heading h2,
  .split h2,
  .contact-cta h2 {
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-copy p,
  .page-hero p,
  .section-heading p,
  .split p,
  .contact-cta p {
    font-size: 16px;
    line-height: 1.58;
  }

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

  .hero-metric {
    min-height: 92px;
    grid-template-columns: minmax(72px, auto) 1fr;
    align-items: center;
    padding: 16px 18px;
    text-align: left;
  }

  .hero-metric strong {
    font-size: 30px;
  }

  .hero-metric > span {
    max-width: none;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .quote-form,
  .compact-form,
  .mini-form {
    width: 100%;
    max-width: none;
    padding: 22px;
  }

  .quote-form h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .quote-form input,
  .quote-form textarea {
    min-width: 0;
  }

  .app-mockup,
  .app-screen {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .home-services .content-note-grid,
  .content-note-grid,
  .testimonial-grid,
  .region-list,
  .contact-region-grid,
  .solutions-grid,
  .solutions-grid.location-only,
  .service-grid,
  .portfolio-grid,
  .city-grid,
  .team-grid,
  .wide-gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .client-copy-card,
  .contact-info,
  .app-download-card,
  .maintenance-mini-section {
    padding: 18px;
  }

  .contact-layout,
  .participation-card {
    gap: 18px;
  }

  .participation-copy {
    padding: 24px 18px;
  }

  .participation-copy h2 {
    font-size: 34px;
    line-height: 1.06;
  }

  .participation-copy h3 {
    font-size: 22px;
  }

  .page-hero .contact-details {
    align-items: stretch;
  }

  .page-hero .contact-details span {
    width: 100%;
  }

  .assist-widget {
    right: 12px;
    bottom: 12px;
  }

  .assist-toggle {
    width: 70px;
    height: 70px;
  }

  .assist-toggle img {
    width: 66px;
    height: 66px;
  }

  .assist-panel {
    right: 0;
    bottom: 84px;
    width: min(290px, calc(100vw - 24px));
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-inline: 12px;
  }

  .nav {
    gap: 6px;
    padding: 7px;
  }

  .nav a {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .hero,
  .page-hero,
  .section {
    padding-inline: 14px;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-heading h2,
  .split h2,
  .contact-cta h2 {
    font-size: 30px;
  }

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

  .hero-metric {
    min-height: 76px;
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
  }

  .hero-metric > span {
    max-width: none;
  }

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

  .trust-strip span {
    min-height: 52px;
    padding: 7px;
  }

  .trust-strip img {
    height: 36px;
  }

  .quote-form,
  .compact-form,
  .mini-form {
    padding: 18px;
  }

  .floating-participation-gift {
    left: 10px;
    bottom: 10px;
  }
}

/* Mobile refinement pass */
@media (max-width: 760px) {
  body {
    padding-bottom: 96px;
  }

  .topbar {
    position: relative;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 18px 18px;
  }

  .brand {
    justify-content: flex-start;
    gap: 12px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    font-size: 14px;
    line-height: 1.15;
    white-space: normal;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 20px;
  }

  .nav a {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
    text-align: center;
    white-space: normal;
  }

  .nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .socials a {
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  .hero,
  .page-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 18px 50px;
  }

  main > .hero:first-child h1,
  .hero-copy h1,
  .page-hero h1 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.04;
    text-wrap: balance;
  }

  main > .hero:first-child p,
  .hero-copy p,
  .page-hero p {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.55;
  }

  .eyebrow {
    gap: 10px;
    font-size: 12px;
    line-height: 1.25;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
  }

  .trust-strip span {
    min-height: 76px;
    padding: 10px;
    border-radius: 8px;
  }

  .trust-strip img {
    height: 48px;
    max-width: 86%;
  }

  .quote-form,
  .compact-form,
  .mini-form {
    padding: 24px 20px;
    border-radius: 8px;
  }

  .quote-form h2 {
    font-size: 36px;
  }

  .quote-form label {
    font-size: 15px;
  }

  .quote-form input,
  .quote-form textarea,
  .phone-field {
    min-height: 52px;
  }

  .phone-prefix {
    min-height: 52px;
    padding-inline: 12px;
  }

  .phone-prefix img {
    width: 30px;
    height: 20px;
  }

  .proof-section {
    padding: 52px 18px 58px;
  }

  .compact-heading {
    text-align: left;
  }

  .section-heading h2,
  .split h2,
  .contact-cta h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.06;
    text-wrap: balance;
  }

  .proof-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .proof-metric {
    min-height: 144px;
    padding: 24px 24px 24px 28px;
  }

  .proof-metric strong {
    font-size: clamp(64px, 17vw, 78px);
  }

  .section {
    padding-inline: 18px;
  }

  .assist-widget {
    right: 16px;
    bottom: 16px;
  }

  .assist-toggle {
    width: 62px;
    height: 62px;
  }

  .assist-toggle img {
    width: 58px;
    height: 58px;
  }

  .assist-panel {
    bottom: 78px;
    width: min(300px, calc(100vw - 32px));
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-inline: 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 12px;
  }

  main > .hero:first-child h1,
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 44px);
  }

  main > .hero:first-child p,
  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .quote-form h2 {
    font-size: 32px;
  }

  .trust-strip img {
    height: 42px;
  }
}

/* Compact professional mobile navigation */
@media (max-width: 760px) {
  .topbar .nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(219, 229, 238, 0.95);
    border-radius: 14px;
    background: #f7fafc;
    box-shadow: none;
  }

  .topbar .nav a {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(219, 229, 238, 0.95);
    border-radius: 10px;
    background: #ffffff;
    color: #213249;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(7, 20, 33, 0.035);
  }

  .topbar .nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .topbar .nav a[aria-current="page"] {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
  }
}

@media (max-width: 420px) {
  .topbar .nav {
    gap: 7px;
    padding: 7px;
  }

  .topbar .nav a {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 11px;
  }
}

