:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #edf3f6;
  --ink: #10151f;
  --muted: #5f6b7a;
  --line: rgba(16, 21, 31, 0.1);
  --accent: #0d9f73;
  --accent-ink: #062e23;
  --blue: #326df6;
  --shadow-sm: 0 8px 24px rgba(16, 21, 31, 0.08);
  --shadow-md: 0 18px 48px rgba(16, 21, 31, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(13, 159, 115, 0.18);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-120%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  transition: transform 180ms var(--ease);
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 12px 12px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(16, 21, 31, 0.1);
  padding: 10px;
  backdrop-filter: blur(18px);
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #e7f6ef);
  color: var(--accent);
}

.brand-mark svg,
.button svg,
.service-card svg,
.trust-item svg,
.contact-list svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 0 14px;
  font-weight: 650;
  font-size: 14px;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.header-cta svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  overflow: hidden;
  padding: 112px 0 48px;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.86) 44%, rgba(247, 249, 251, 0.34) 100%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.32) 0%, rgba(247, 249, 251, 0.95) 100%);
}

.hero-content {
  align-self: end;
  padding-top: 12dvh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 12vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: #2f3847;
  font-size: clamp(18px, 4.6vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 720;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
  touch-action: manipulation;
}

.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button.glass {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 28px 0 0;
}

.hero-proof div {
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  padding: 12px;
  backdrop-filter: blur(12px);
}

.hero-proof dt {
  font-size: 24px;
  font-weight: 780;
  line-height: 1;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 7vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.contact-panel p,
.app-copy p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.trust-grid,
.review-grid {
  display: grid;
  gap: 12px;
}

.service-card,
.trust-item,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 22px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.service-card svg,
.trust-item svg {
  margin-bottom: 18px;
  color: var(--accent);
}

.service-card h3,
.trust-item h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.service-card p,
.trust-item p,
.review-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust {
  background: linear-gradient(180deg, rgba(237, 243, 246, 0.55), rgba(247, 249, 251, 0));
}

.app-block {
  padding-block: 64px;
}

.app-shell {
  display: grid;
  gap: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 21, 31, 0.98), rgba(20, 56, 53, 0.94)),
    #10151f;
  color: white;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.app-shell .eyebrow {
  color: #75e2bc;
}

.app-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.app-copy p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
}

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

.phone-frame {
  width: min(100%, 330px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fbff, #eaf2ff);
  color: var(--ink);
  padding: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.phone-top {
  width: 78px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(16, 21, 31, 0.2);
}

.balance-card {
  display: grid;
  place-items: center;
  min-height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #37a0ff, #3151df);
  color: white;
  text-align: center;
}

.balance-card span,
.balance-card small {
  font-weight: 680;
}

.balance-card strong {
  font-size: 58px;
  line-height: 1;
}

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

.mini-grid span,
.mini-list {
  border: 1px solid rgba(16, 21, 31, 0.08);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 18px rgba(16, 21, 31, 0.06);
}

.mini-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  color: #2f3847;
  font-weight: 720;
}

.mini-list {
  padding: 12px;
}

.mini-list p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.mini-list p:last-child {
  margin-bottom: 0;
}

.mini-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.gallery-item:nth-child(3) img {
  object-position: center;
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(16, 21, 31, 0.62);
  color: white;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 720;
  backdrop-filter: blur(10px);
}

.review-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.review-head .section-heading {
  margin-bottom: 0;
}

.map-review-link {
  position: relative;
  display: grid;
  min-height: 118px;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(50, 109, 246, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(50, 109, 246, 0.08), rgba(13, 159, 115, 0.08)),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  padding: 20px 54px 20px 20px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.map-review-link strong {
  font-size: 26px;
  line-height: 1.05;
}

.map-review-link small {
  color: var(--muted);
  font-weight: 650;
}

.map-review-link svg {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.stars {
  color: #f2b01e;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.review-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.review-card footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.faq-layout {
  display: grid;
  gap: 24px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.faq-item.is-open {
  border-color: rgba(13, 159, 115, 0.24);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  font: inherit;
  font-weight: 720;
  text-align: left;
}

.faq-question::after {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 3 3 3-3'/%3E%3Cpath d='m6 6 3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.55;
  transition: transform 180ms var(--ease);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms var(--ease), opacity 220ms var(--ease);
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: -2px 18px 18px;
  color: var(--muted);
  transform: translateY(-4px);
  transition: transform 300ms var(--ease);
}

.faq-item.is-open .faq-answer p {
  transform: translateY(0);
}

.contacts {
  padding-bottom: 48px;
}

.contact-panel {
  display: grid;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

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

.contact-list a,
.contact-list div {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  padding: 12px;
  color: #2f3847;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.contact-list svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #edf3f6;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  background: #edf3f6;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.map-caption strong,
.map-caption span {
  display: block;
}

.map-caption strong {
  line-height: 1.2;
}

.map-caption div span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.map-caption .map-hint {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  border: 1px solid rgba(47, 100, 235, 0.16);
  border-radius: 999px;
  background: rgba(47, 100, 235, 0.08);
  color: #2148a7;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 720;
}

.map-caption .map-hint svg {
  width: 14px;
  height: 14px;
}

.map-caption a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 0 14px;
  font-weight: 720;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.map-caption svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

a:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(50, 109, 246, 0.35);
  outline-offset: 3px;
}

@media (hover: hover) {
  .button:hover,
  .header-cta:hover,
  .service-card:hover,
  .trust-item:hover,
  .review-card:hover,
  .map-review-link:hover,
  .map-caption a:hover,
  .contact-list a:hover {
    transform: translateY(-2px);
  }

  .button.primary:hover,
  .service-card:hover,
  .trust-item:hover,
  .review-card:hover,
  .map-review-link:hover,
  .map-caption a:hover,
  .contact-list a:hover {
    box-shadow: var(--shadow-sm);
  }

  .map-review-link:hover {
    border-color: rgba(50, 109, 246, 0.28);
  }

  .button.secondary:hover,
  .button.glass:hover,
  .contact-list a:hover {
    border-color: rgba(13, 159, 115, 0.28);
    background: white;
  }

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

@media (min-width: 640px) {
  .hero-actions,
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
  }

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

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

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .site-header {
    inset: 18px auto auto 50%;
    width: min(1120px, calc(100vw - 48px));
    transform: translateX(-50%);
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
    padding: 4px;
  }

  .nav-links a {
    min-height: 36px;
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    transition: background 180ms var(--ease), color 180ms var(--ease);
  }

  .nav-links a:hover {
    background: white;
    color: var(--ink);
  }

  .hero {
    padding-top: 132px;
  }

  .hero-content {
    padding-top: 18dvh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.9) 43%, rgba(247, 249, 251, 0.1) 100%),
      linear-gradient(180deg, rgba(247, 249, 251, 0.08) 0%, rgba(247, 249, 251, 0.92) 100%);
  }

  .section {
    padding: 108px 0;
  }

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

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

  .review-head {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
  }

  .trust-grid .trust-item:last-child {
    grid-column: span 3;
  }

  .app-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    align-items: center;
    padding: 48px;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: span 2;
    min-height: 500px;
  }

  .gallery-item.tall {
    grid-row: auto;
    min-height: 244px;
  }

  .gallery-item.wide {
    grid-column: auto;
    min-height: 244px;
  }

  .faq-layout {
    grid-template-columns: 0.72fr 1fr;
    align-items: start;
  }

  .contact-panel {
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    padding: 42px;
  }

  .contact-actions {
    grid-column: 1 / -1;
  }

  .contact-map {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1180px) {
  .hero-media img {
    object-position: center 43%;
  }

  .contact-panel {
    grid-template-columns: 0.85fr 1fr;
  }

  .contact-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  .site-header {
    inset: 8px 8px auto;
  }

  .brand small {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    min-height: 92dvh;
  }

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

  .contact-map iframe {
    height: 260px;
  }

  .map-caption {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .service-card,
  .trust-item,
  .review-card,
  .contact-panel,
  .app-shell {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
