@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --blue: #075ea7;
  --blue-dark: #043f73;
  --navy: #061a33;
  --gold: #e5a51d;
  --green: #0f8b6f;
  --ink: #122033;
  --muted: #66758a;
  --soft: #f4f7fb;
  --line: #dfe6ef;
  --card: #ffffff;
  --shadow: 0 22px 60px rgba(8, 26, 51, .12);
  --shadow-strong: 0 30px 90px rgba(3, 12, 27, .34);
}

[data-theme="dark"] {
  --ink: #f4f8ff;
  --muted: #a8b6ca;
  --soft: #0b1422;
  --line: rgba(255,255,255,.14);
  --card: #101b2d;
  --shadow: 0 24px 70px rgba(0,0,0,.36);
  --shadow-strong: 0 30px 90px rgba(0,0,0,.52);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, Inter, Segoe UI, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(244,247,251,.88), rgba(255,255,255,.98) 36%),
    #fff;
  transition: background-color .25s ease, color .25s ease;
}

[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(5,13,26,.96), rgba(9,18,32,.98) 44%),
    #07111f;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.page-halo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(7,94,167,.08), transparent 28%),
    linear-gradient(290deg, rgba(229,165,29,.12), transparent 32%);
}

[data-theme="dark"] .page-halo {
  background:
    linear-gradient(110deg, rgba(7,94,167,.18), transparent 32%),
    linear-gradient(290deg, rgba(229,165,29,.12), transparent 34%);
}

.glass,
.card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.nav {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1240px, calc(100% - 24px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(7, 94, 167, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(8, 26, 51, .13);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .nav {
  border-color: rgba(255,255,255,.13);
  background: rgba(8, 17, 31, .9);
  box-shadow: 0 18px 52px rgba(0,0,0,.34);
}

.nav::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 52px;
  border: 1px solid rgba(7, 94, 167, .14);
  border-radius: 8px;
  background: #fff;
}

[data-theme="dark"] .brand-mark {
  border-color: rgba(255,255,255,.12);
  background: #fff;
}

.brand img { width: 46px; height: auto; display: block; }
.brand-copy { display: grid; gap: 2px; line-height: 1.1; }
.brand-copy strong {
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  font-size: 13px;
  color: var(--navy);
  font-weight: 800;
}
.brand-copy small { color: var(--muted); font-size: 12px; }

[data-theme="dark"] .brand-copy strong { color: #fff; }

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(7, 94, 167, .1);
  border-radius: 8px;
  background: #f8fafc;
}

[data-theme="dark"] .nav-links {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.nav-links a {
  padding: 11px 11px;
  border-radius: 6px;
  color: #324258;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover { background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(8, 26, 51, .08); }
[data-theme="dark"] .nav-links a { color: rgba(255,255,255,.76); }
[data-theme="dark"] .nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.pill { background: var(--gold) !important; color: #081a33 !important; }
.ghost { border: 1px solid var(--line); }
.menu-btn { display: none; }
[data-theme="dark"] .menu-btn {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(7, 94, 167, .14);
  background: #fff;
  color: var(--navy);
}

.theme-toggle span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0;
  font-weight: 900;
}

.theme-toggle span::before {
  content: "D";
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.theme-toggle small {
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
  color: #fff;
}

[data-theme="dark"] .theme-toggle span {
  background: var(--gold);
  color: #07111f;
}

[data-theme="dark"] .theme-toggle span::before {
  content: "L";
  color: #07111f;
}

.nav-links .theme-toggle {
  display: none;
}

.nav-theme {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 8px;
  justify-self: start;
}

.nav-theme small {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(7, 94, 167, .14);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  justify-self: start;
}

.language-switch span {
  color: var(--muted);
}

.language-switch select {
  width: 48px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  outline: 0;
  cursor: pointer;
}

[data-theme="dark"] .language-switch {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
  color: #fff;
}

[data-theme="dark"] .language-switch select {
  color: #fff;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  align-items: center;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 136px 0 68px;
}

.hero-premium {
  width: 100%;
  min-height: 100vh;
  padding: 150px max(18px, calc((100vw - 1240px) / 2)) 42px;
  overflow: hidden;
  color: #fff;
  background: #061a33;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 12, 27, .92), rgba(3, 12, 27, .64) 48%, rgba(3, 12, 27, .3)),
    linear-gradient(180deg, rgba(3, 12, 27, .2), rgba(3, 12, 27, .9));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-premium .eyebrow { color: var(--gold); }
.hero-premium h1 {
  color: #fff;
  font-size: clamp(48px, 7.5vw, 92px);
  max-width: 900px;
}

.hero-premium .lead {
  color: rgba(255,255,255,.78);
  max-width: 720px;
}

.btn.light,
.hero-premium .btn.secondary {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.26);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 900;
}

.hero-stats {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  align-self: end;
}

.stat.dark {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.09);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.stat.dark strong { color: #fff; }
.stat.dark span { color: rgba(255,255,255,.7); }

.hero.compact {
  min-height: auto;
  padding-top: 150px;
  padding-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 18px 0 0;
  max-width: 850px;
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  font-size: clamp(42px, 6.8vw, 78px);
  line-height: .98;
  letter-spacing: 0;
  color: var(--navy);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  color: var(--navy);
  font-weight: 800;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  font-weight: 700;
}
p { color: var(--muted); line-height: 1.72; }
.lead { font-size: 18px; max-width: 680px; }

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
  color: #fff;
}

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

.btn,
button {
  border: 0;
  border-radius: 6px;
  padding: 13px 18px;
  background: var(--gold);
  color: #07111f;
  font-weight: 900;
  cursor: pointer;
  font-family: Sora, Manrope, Inter, Segoe UI, Arial, sans-serif;
  font-size: 15px;
}

.btn.secondary,
button.secondary {
  border: 1px solid rgba(7, 94, 167, .18);
  background: #fff;
  color: var(--blue);
}

[data-theme="dark"] .btn.secondary,
[data-theme="dark"] button.secondary {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,26,51,.62));
}

.hero-visual > img,
.service-card > img,
.product-card > img,
.feature-card > img,
.form-intro > img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual > img { height: 100%; min-height: 560px; }

.visual-card {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 84px repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
}

[data-theme="dark"] .visual-card {
  background: rgba(10, 20, 34, .88);
  border: 1px solid rgba(255,255,255,.14);
}

.visual-card img { width: 64px; }
.visual-card span {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 12px 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

[data-theme="dark"] .visual-card span { color: #fff; }

.section {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 76px 0;
}

.reveal {
  animation: revealUp .8s ease both;
}

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

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 24px;
  min-height: 230px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(7,94,167,.28);
  box-shadow: 0 28px 72px rgba(8, 26, 51, .16);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -48px;
  padding-top: 0;
  z-index: 3;
}

.trust-item,
.proof-card,
.team-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(8, 26, 51, .09);
}

.trust-item {
  padding: 20px;
}

.trust-item strong,
.proof-card h3,
.team-card h3 {
  color: var(--navy);
}

[data-theme="dark"] .trust-item,
[data-theme="dark"] .proof-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .stat,
[data-theme="dark"] .tag,
[data-theme="dark"] .service-deep-card,
[data-theme="dark"] .form-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .feature-card {
  background: var(--card);
  border-color: var(--line);
}

[data-theme="dark"] .trust-item strong,
[data-theme="dark"] .proof-card h3,
[data-theme="dark"] .team-card h3,
[data-theme="dark"] .service-columns strong {
  color: #fff;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.compact-grid {
  gap: 14px;
}

.proof-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.proof-card span {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.proof-card p { margin-bottom: 0; }

.service-card,
.product-card,
.feature-card {
  overflow: hidden;
  padding: 0;
}

.premium-card {
  min-height: 470px;
}

.mini-list {
  margin: 12px 24px 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: #40516a;
  line-height: 1.45;
}

[data-theme="dark"] .mini-list li,
[data-theme="dark"] .tag {
  color: #c8d4e6;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.dark-section {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1200px) / 2));
  padding-right: max(18px, calc((100vw - 1200px) / 2));
  background:
    linear-gradient(135deg, rgba(6,26,51,.98), rgba(5,19,36,.96)),
    #061a33;
  color: #fff;
}

.dark-section h2,
.dark-section h3 {
  color: #fff;
}

.dark-section p {
  color: rgba(255,255,255,.72);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: #07111f;
  box-shadow: var(--shadow-strong);
}

.project-card:first-child {
  grid-row: span 2;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .35s ease, opacity .35s ease;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: .86;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(3,12,27,.88));
}

.project-card div {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.project-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-card strong {
  display: block;
  color: #fff;
}

.project-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.project-map div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.project-map strong {
  color: var(--gold);
  font-size: 24px;
}

.project-map span {
  color: rgba(255,255,255,.72);
}

.team-section {
  background: linear-gradient(180deg, #fff, #f6f8fb);
}

[data-theme="dark"] .team-section,
[data-theme="dark"] .service-hero {
  background:
    linear-gradient(180deg, rgba(9,18,32,.98), rgba(7,17,31,.98)),
    #07111f;
}

.team-card {
  padding: 26px;
  text-align: center;
}

.avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.testimonial-card {
  margin: 0;
  padding: 24px;
}

.testimonial-card p {
  color: #26374d;
  font-size: 17px;
}

[data-theme="dark"] .testimonial-card p { color: #d6dfec; }

.testimonial-card cite {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.service-hero {
  background:
    linear-gradient(180deg, rgba(244,247,251,.92), #fff),
    #fff;
}

.service-strategy {
  display: grid;
  gap: 22px;
}

.service-deep-card {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-deep-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.service-deep-body {
  padding: 34px;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}

.service-columns .mini-list {
  margin: 12px 0 0;
}

.service-columns strong {
  color: var(--navy);
}

.capacity-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 14px;
  border: 1px solid rgba(7,94,167,.14);
  border-radius: 8px;
  background: #f8fafc;
}

[data-theme="dark"] .capacity-line {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.capacity-line span {
  color: var(--muted);
}

.capacity-line strong {
  color: var(--blue);
}

.service-card > img,
.product-card > img,
.feature-card > img {
  height: 190px;
}

.service-card > :not(img),
.product-card > :not(img),
.feature-card > :not(img) {
  margin-left: 24px;
  margin-right: 24px;
}

.service-card .icon,
.product-card .eyebrow,
.feature-card .eyebrow {
  margin-top: 22px;
}

.service-card .btn,
.product-card .btn {
  display: block;
  margin: auto 24px 24px;
  text-align: center;
}

.service-card.horizontal {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  min-height: 260px;
}

.service-card.horizontal > img {
  height: 100%;
  min-height: 260px;
}

.service-card.horizontal > :not(img) {
  grid-column: 2;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(229,165,29,.16);
  color: var(--blue);
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 26, 51, .08);
}

.stat strong {
  font-size: 34px;
  color: var(--blue);
  display: block;
}

[data-theme="dark"] .stat strong,
[data-theme="dark"] .capacity-line strong {
  color: var(--gold);
}

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

.scope {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tag {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  color: #40516a;
  box-shadow: 0 10px 28px rgba(8, 26, 51, .06);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.contact-layout {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
}

.form-intro {
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.form-intro > img {
  height: 310px;
  opacity: .86;
}

.form-intro > div { padding: 26px; }
.form-intro h2 { color: #fff; }
.form-intro p { color: rgba(255,255,255,.76); }

.form-card { padding: 28px; }
.form { display: grid; gap: 14px; }

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  border-color: rgba(255,255,255,.14);
  background: #0d1728;
  color: #fff;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #8796aa;
}

[data-theme="dark"] select option {
  background: #0d1728;
  color: #fff;
}

input::placeholder,
textarea::placeholder { color: #7a8798; }

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7,94,167,.12);
}

select {
  color: var(--ink);
  appearance: auto;
}

select option {
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

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

.notice {
  border: 1px solid rgba(229,165,29,.34);
  background: rgba(229,165,29,.12);
  color: #765006;
  padding: 12px;
  border-radius: 6px;
}

[data-theme="dark"] .notice {
  color: #ffe3a3;
  background: rgba(229,165,29,.14);
}

.install-card {
  max-width: 620px;
  margin: auto;
  padding: 28px;
}

.catalogue-tools {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin-bottom: 22px;
}

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.product-card p { flex: 1; }

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr .7fr;
  gap: 24px;
  padding: 52px max(18px, calc((100vw - 1200px) / 2));
  background: #061a33;
  color: #fff;
}

.footer img { height: 64px; width: auto; }
.footer p { color: rgba(255,255,255,.68); }
.footer a,
.footer-col span { color: rgba(255,255,255,.72); }
.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-col strong,
.footer-brand strong {
  color: #fff;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-badges span {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 10px;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
}

.whatsapp,
.chat-fab {
  position: fixed;
  z-index: 30;
  bottom: 18px;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.whatsapp {
  left: 18px;
  background: #eafaf3;
  border: 1px solid rgba(15,139,111,.24);
  color: #0f6a56;
  padding: 14px 16px;
  font-weight: 900;
}

.chat-fab {
  right: 18px;
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
}

.chat-widget {
  display: none;
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 72px;
  width: min(340px, calc(100vw - 28px));
  border: 1px solid rgba(7,94,167,.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8,26,51,.24);
  overflow: hidden;
}

[data-theme="dark"] .chat-widget {
  border-color: rgba(255,255,255,.14);
  background: #0d1728;
}

.chat-widget.open { display: block; }

.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.chat-head span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.chat-actions {
  display: flex;
  gap: 6px;
}

.chat-actions button {
  width: 30px;
  height: 30px;
  padding: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.chat-log {
  height: 180px;
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: #f6f8fb;
}

[data-theme="dark"] .chat-log {
  background: #091120;
}

.message {
  padding: 9px 11px;
  font-size: 14px;
  border-radius: 8px;
  background: #fff;
  color: #40516a;
  box-shadow: 0 6px 18px rgba(8,26,51,.07);
}

[data-theme="dark"] .message {
  background: #152238;
  color: #d6dfec;
}

.message.visitor {
  background: var(--gold);
  color: #07111f;
  margin-left: 36px;
}

.chat-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input { min-height: 42px; padding: 10px 12px; }
.chat-form textarea { min-height: 78px; padding: 10px 12px; }
.chat-form button { padding: 11px 14px; }

.chat-widget.minimized .chat-log,
.chat-widget.minimized .chat-form {
  display: none;
}

.admin-body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #f5f8fc, #fff 42%),
    #fff;
}

[data-theme="dark"] .admin-body {
  background:
    linear-gradient(180deg, #07111f, #0a1322 42%),
    #07111f;
}

.admin-body .glass,
.admin-body .card {
  border-color: var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
}

.admin-side {
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 18px;
  height: calc(100vh - 48px);
  border-top: 4px solid var(--gold);
}

.admin-side img {
  width: 174px;
  margin: 18px auto 22px;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-side a,
.admin-logout {
  padding: 12px 14px;
  border-radius: 8px;
  color: #41536b;
  font-weight: 800;
}

.admin-side a:hover,
.admin-logout:hover {
  background: rgba(7,94,167,.08);
  color: var(--blue);
}

.admin-theme {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}

.admin-logout {
  align-self: end;
  margin-top: 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.admin-main {
  min-width: 0;
  padding: 8px 0 42px;
}

.admin-main > .eyebrow {
  margin-top: 4px;
}

.admin-main h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.admin-main h2 {
  font-size: clamp(26px, 3vw, 42px);
}

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

.admin-cards .stat {
  min-height: 142px;
  display: grid;
  align-content: center;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  color: #44566f;
  vertical-align: top;
}

.table th {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: #f8fafc;
}

.table tr:hover td {
  background: rgba(7,94,167,.04);
}

[data-theme="dark"] .admin-side a,
[data-theme="dark"] .admin-logout,
[data-theme="dark"] .table td {
  color: #c8d4e6;
}

[data-theme="dark"] .admin-side a:hover,
[data-theme="dark"] .admin-logout:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

[data-theme="dark"] .table th {
  background: rgba(255,255,255,.06);
  color: var(--gold);
}

[data-theme="dark"] .table tr:hover td {
  background: rgba(255,255,255,.04);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.admin-login-card {
  width: min(520px, 100%);
  padding: 34px;
  text-align: center;
}

.admin-login-card h1 {
  font-size: clamp(34px, 7vw, 58px);
}

.admin-login-theme {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 5;
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-flex;
    justify-self: end;
    align-items: center;
  }

  .nav {
    grid-template-columns: 1fr auto auto auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  [data-theme="dark"] .nav-links {
    background: #0d1728;
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .scope,
  .split-section,
  .grid.two,
  .grid.three,
  .stats,
  .trust-band,
  .footer,
  .admin-layout,
  .admin-cards,
  .catalogue-tools,
  .form-row,
  .form-layout,
  .contact-layout,
  .project-gallery,
  .project-map,
  .service-deep-card,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 122px; }
  .hero-premium { padding-top: 138px; }
  .hero.compact { padding-top: 132px; }
  .hero-visual,
  .hero-visual > img { min-height: 420px; }
  .service-card.horizontal { grid-template-columns: 1fr; }
  .service-card.horizontal > img { min-height: 0; height: 190px; }
  .service-card.horizontal > :not(img) { grid-column: auto; }
  .trust-band { margin-top: 0; padding-top: 54px; }
  .project-card:first-child { grid-row: auto; }
  .service-deep-card img { min-height: 280px; }
}

@media (max-width: 620px) {
  .brand-copy small { display: none; }
  .language-switch {
    width: 42px;
    padding: 0;
  }
  .language-switch span { display: none; }
  .language-switch select { width: 34px; text-align: center; }
  .brand-mark { width: 52px; height: 48px; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .hero { width: min(100% - 22px, 1200px); }
  .hero-premium {
    width: 100%;
    min-height: 100svh;
    padding-left: 14px;
    padding-right: 14px;
  }
  .visual-card {
    grid-template-columns: 70px 1fr;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .visual-card span { border-left: 0; border-top: 1px solid var(--line); }
  .section { width: min(100% - 22px, 1200px); padding: 54px 0; }
  .card,
  .form-card { padding: 20px; }
  .service-card,
  .product-card,
  .feature-card { padding: 0; }
  .chat-widget { right: 10px; bottom: 70px; width: calc(100vw - 20px); max-height: calc(100svh - 92px); }
  .chat-log { height: 150px; }
  .whatsapp { left: 10px; }
  .chat-fab { right: 10px; }
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
