:root {
  --ink: #102028;
  --ink-soft: #41515a;
  --paper: #f5f7f4;
  --white: #ffffff;
  --line: #d7dfdd;
  --teal: #087a78;
  --teal-dark: #075957;
  --amber: #ffbd3e;
  --amber-dark: #be6e00;
  --green: #1e8d5b;
  --blue: #276d9c;
  --shadow: 0 18px 48px rgba(16, 32, 40, 0.12);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

.section-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px max(20px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(16, 32, 40, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: #b7cac8;
  font-size: 0.72rem;
}

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

.main-nav a {
  position: relative;
  color: #dbe5e4;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.language-button {
  min-width: 42px;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  color: #c6d3d2;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--ink);
  background: var(--amber);
}

.header-phone {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(740px, calc(100svh - 76px));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-media img:first-child {
  object-position: center 40%;
}

.hero-media img:last-child {
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 21, 28, 0.96) 0%, rgba(9, 21, 28, 0.82) 43%, rgba(9, 21, 28, 0.4) 72%, rgba(9, 21, 28, 0.62) 100%),
    linear-gradient(0deg, rgba(9, 21, 28, 0.72), transparent 50%);
}

[dir="rtl"] .hero-shade {
  background:
    linear-gradient(-90deg, rgba(9, 21, 28, 0.96) 0%, rgba(9, 21, 28, 0.82) 43%, rgba(9, 21, 28, 0.4) 72%, rgba(9, 21, 28, 0.62) 100%),
    linear-gradient(0deg, rgba(9, 21, 28, 0.72), transparent 50%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.62fr);
  align-items: end;
  gap: clamp(48px, 8vw, 110px);
  min-height: min(740px, calc(100svh - 76px));
  padding-top: 90px;
  padding-bottom: 76px;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy,
.hero-panel,
.site-tab,
.feature-copy,
.contact-panel {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.99;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #e0e8e7;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #142027;
  background: var(--amber);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd067;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(16, 32, 40, 0.36);
}

.button-whatsapp {
  color: var(--white);
  background: var(--green);
}

.hero-panel {
  display: grid;
  align-self: end;
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.site-tab {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 22px;
  border: 0;
  color: #d8e4e2;
  background: rgba(14, 34, 40, 0.8);
  text-align: start;
  cursor: pointer;
}

.site-tab span {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-tab strong {
  font-size: 1.05rem;
}

.site-tab.is-active {
  color: var(--ink);
  background: var(--white);
}

.site-tab.is-active span {
  color: var(--teal-dark);
}

.site-showcase {
  padding: 104px 0;
  scroll-margin-top: 76px;
}

.site-showcase-services {
  background: var(--paper);
}

.site-showcase-it {
  color: var(--white);
  background: #13272f;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.48fr);
  column-gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head .section-kicker,
.section-head h2 {
  grid-column: 1;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.05;
}

.section-head > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.site-showcase-it .section-head > p:last-child {
  color: #b9cacd;
}

.service-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-tab {
  min-height: 46px;
  padding: 9px 18px;
  border: 0;
  border-radius: 5px;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.service-tab.is-active {
  color: var(--white);
  background: var(--teal);
}

.service-panel {
  display: none;
}

.service-panel.is-active {
  display: block;
  animation: panel-in 280ms ease both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
}

.feature-copy .eyebrow {
  color: var(--teal-dark);
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.06;
}

.feature-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--ink-soft);
}

.feature-image {
  min-height: 420px;
  background: #cbd5d3;
}

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

.price-row {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.price-row span {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 800;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid > div {
  min-height: 150px;
  padding: 28px;
  border-inline-end: 1px solid var(--line);
}

.proof-grid > div:last-child {
  border-inline-end: 0;
}

.proof-grid strong {
  font-size: 1.05rem;
}

.proof-grid p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.apps-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.apps-strip a {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #e7efef;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.apps-strip a:hover,
.apps-strip a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.apps-strip img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.apps-strip span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.it-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.it-grid article {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4.5vw, 50px);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.article-number {
  display: block;
  margin-bottom: 32px;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
}

.it-grid h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.it-grid p {
  max-width: 480px;
  margin: 16px 0 26px;
  color: #b9cacd;
}

.it-grid a {
  color: var(--amber);
  font-weight: 850;
  text-underline-offset: 5px;
}

.contact-section {
  padding: 88px 0;
  color: var(--white);
  background: var(--teal-dark);
  scroll-margin-top: 76px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 80px;
}

.contact-layout h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.07;
}

.contact-layout p:not(.section-kicker) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #c4d8d6;
}

.contact-panel {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-line {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: inherit;
  text-decoration: none;
}

.contact-line span {
  color: #b9d1ce;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  overflow-wrap: anywhere;
  font-size: 1.12rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - var(--content)) / 2));
  color: #aebdbc;
  background: #0b181e;
  font-size: 0.78rem;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

@media (max-width: 820px) {
  .section-inner {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    min-height: 68px;
    gap: 12px;
    padding: 8px 14px;
  }

  .brand small,
  .header-phone {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .language-button {
    min-width: 36px;
    padding-inline: 5px;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero {
    padding-bottom: 0;
  }

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

  .hero-media img:first-child {
    display: none;
  }

  .hero-shade,
  [dir="rtl"] .hero-shade {
    background: linear-gradient(0deg, rgba(9, 21, 28, 0.96) 0%, rgba(9, 21, 28, 0.78) 68%, rgba(9, 21, 28, 0.48) 100%);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 88px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.25rem);
  }

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

  .site-tab {
    min-height: 122px;
    padding: 16px;
  }

  .site-showcase {
    padding: 76px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-head > p:last-child {
    margin-top: 18px;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 360px;
    grid-row: 1;
  }

  .feature-copy {
    padding: 34px 26px 38px;
  }

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

  .proof-grid > div {
    min-height: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 0.86rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8.8vw, 3rem);
  }

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

  .site-tab {
    min-height: 92px;
  }

  .service-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .service-tab {
    min-width: 0;
    padding-inline: 10px;
  }

  .feature-layout {
    min-height: 0;
  }

  .feature-image {
    min-height: 270px;
  }

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

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

  .it-grid article {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
