:root {
  --bg: #ffffff;
  --bg-elevated: #f4f8fc;
  --bg-soft: #eaf2fa;
  --ink: #1a5fa8;
  --ink-muted: #4d7eb0;
  --accent: #2b7fd4;
  --accent-strong: #155a9c;
  --accent-soft: rgba(43, 127, 212, 0.12);
  --line: rgba(43, 127, 212, 0.16);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 45;
}

.logo img {
  width: clamp(3.6rem, 10vw, 4.6rem);
  height: clamp(3.6rem, 10vw, 4.6rem);
  object-fit: contain;
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}

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

.nav-mobile-actions {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-shrink: 0;
  z-index: 45;
}

.header-phone,
.header-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
  white-space: nowrap;
}

.header-phone:hover,
.header-cta:hover {
  border-bottom-color: var(--accent);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent-strong);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 640px) {
  .header-cta {
    display: inline;
  }
}

@media (max-width: 979px) {
  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 42;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.35rem;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.35s var(--ease),
      visibility 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 6vw, 2rem);
    font-weight: 700;
    color: var(--accent-strong);
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-mobile-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .nav-mobile-actions .btn {
    width: 100%;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .nav-mobile-actions {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: rgba(43, 127, 212, 0.35);
  color: var(--accent-strong);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg {
  min-height: 3.35rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero — full-bleed background, readable on mobile + desktop */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding:
    calc(var(--header-h) + 1.25rem)
    clamp(1rem, 4vw, 3rem)
    clamp(1.75rem, 5vw, 3.5rem);
  overflow: hidden;
  background: #123a66;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: hero-ken 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 45, 82, 0.45) 0%,
      rgba(12, 45, 82, 0.35) 35%,
      rgba(12, 45, 82, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(12, 45, 82, 0.78) 0%,
      rgba(12, 45, 82, 0.55) 42%,
      rgba(12, 45, 82, 0.28) 100%
    );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 38rem;
  padding: clamp(1.15rem, 3.5vw, 1.75rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(12, 45, 82, 0.22);
  backdrop-filter: blur(10px);
}

.hero-logo {
  width: clamp(4.75rem, 16vw, 6.5rem);
  height: auto;
  margin-bottom: 0.75rem;
}

.brand {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--accent-strong);
}

.hero-lead {
  margin: 0.95rem 0 0;
  max-width: 30rem;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn-call {
  min-height: 3.75rem;
  min-width: 11rem;
  padding: 0.95rem 2rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@keyframes hero-ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1%, -0.8%, 0);
  }
}

@media (min-width: 768px) {
  .hero {
    align-items: center;
    padding-bottom: clamp(2rem, 6vw, 4rem);
  }

  .hero-copy {
    max-width: 40rem;
  }

  .btn-call {
    min-height: 4.1rem;
    min-width: 13rem;
    padding: 1.05rem 2.4rem;
    font-size: 1.25rem;
  }
}

@media (max-width: 479px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .btn-call {
    min-height: 4rem;
    font-size: 1.2rem;
  }
}

/* Sections shared */
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding: 0 clamp(1.15rem, 4vw, 3rem);
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--accent-strong);
}

/* About */
.about {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  gap: 1.75rem;
  padding: 0 clamp(1.15rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 880px) {
  .about-inner {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.about-text {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.about-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.about-points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
}

.about-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
}

.about-panel-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-panel-text {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.about-panel .btn {
  width: 100%;
}

/* Services */
.services {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(43, 127, 212, 0.08), transparent 55%),
    var(--bg);
}

.service-rail {
  display: grid;
  gap: 1.35rem;
  padding: 0 clamp(1.15rem, 4vw, 3rem);
}

@media (min-width: 700px) {
  .service-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .service-rail {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

@media (hover: hover) {
  .service:hover .service-visual img {
    transform: scale(1.06);
  }
}

.service-copy {
  padding: 1rem 0 0.15rem;
}

.service-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--accent-strong);
}

.service-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Approach */
.approach {
  display: grid;
  gap: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .approach {
    grid-template-columns: 1.05fr 1fr;
    min-height: 64vh;
  }
}

.approach-media {
  min-height: 260px;
  overflow: hidden;
}

.approach-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 900px) {
  .approach-media,
  .approach-media img {
    min-height: 100%;
  }
}

.approach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.15rem, 4vw, 3.25rem);
}

.approach-text {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.approach-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.approach-list li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
}

/* FAQ */
.faq {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  padding: 0 clamp(1.15rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-strong);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  padding: clamp(3.75rem, 10vw, 6.5rem) clamp(1.15rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(43, 127, 212, 0.1), transparent 60%),
    var(--bg-elevated);
}

.contact-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.contact-lead {
  margin: 1.1rem auto 1.75rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.contact-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1.15rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-card-value {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--accent-strong);
  word-break: break-word;
}

.contact-whatsapp:hover {
  border-color: #25d366;
}

.contact-whatsapp .contact-card-label {
  color: #1fa855;
}

.contact-viber:hover {
  border-color: #7360f2;
}

.contact-viber .contact-card-label {
  color: #6654d8;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem clamp(1.15rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: #ffffff;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.footer-brand p {
  margin: 0;
  font-weight: 600;
  color: var(--accent-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-credit {
  margin: 0;
  color: var(--ink-muted);
}

.footer-credit a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-credit a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: calc(var(--delay, 0) * 80ms);
}

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

.hero .reveal[data-delay="0"] { --delay: 0; }
.hero .reveal[data-delay="1"] { --delay: 1; }
.hero .reveal[data-delay="2"] { --delay: 2; }
.hero .reveal[data-delay="3"] { --delay: 3; }
.hero .reveal[data-delay="4"] { --delay: 4; }

@media (max-width: 479px) {
  .header-phone {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img,
  .service-visual img {
    animation: none !important;
    transition: none !important;
  }

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