/* ===== WebD — shared stylesheet ===== */

:root {
  --navy: #0b1d33;
  --navy-light: #10263f;
  --blue: #2f6fed;
  --blue-dark: #1f4fc4;
  --teal: #17b8a6;
  --ink: #1a2333;
  --muted: #5c6b7a;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 29, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 29, 51, 0.14);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(47, 111, 237, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(47, 111, 237, .3);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn-ghost:hover { border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}

.brand-logo {
  height: 53px;
  width: auto;
  display: block;
}

.brand-icon-mark {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}

.footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
  font-size: .96rem;
  transition: background .15s ease, color .15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(47, 111, 237, .1);
  color: var(--blue);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, #123055 0%, var(--navy) 55%, #081527 100%);
  color: #fff;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  padding: 100px 24px 110px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}

.hero h1 span { color: #6fd6c8; }

.hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: #6fd6c8;
}

.hero-stats div span {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 380px;
}

.hero-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.hero-card .row:last-child { border-bottom: none; }

.hero-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card .icon svg { width: 20px; height: 20px; stroke: #fff; }

.hero-card strong { display: block; font-size: .95rem; }
.hero-card span { color: rgba(255,255,255,.6); font-size: .82rem; }

/* ---------- Service cards ---------- */

.grid {
  display: grid;
  gap: 28px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,111,237,.12), rgba(23,184,166,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.card h3 { font-size: 1.15rem; }

.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

.card a.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--blue);
  font-size: .92rem;
}

/* ---------- Feature list ---------- */

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink);
  font-size: .98rem;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Service detail sections ---------- */

.service-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child { border-bottom: none; }

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #16324f);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.service-visual svg {
  width: 40%;
  height: 40%;
  stroke: #6fd6c8;
}

.service-num {
  font-weight: 800;
  color: var(--blue);
  font-size: .95rem;
  letter-spacing: .06em;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--blue), var(--teal));
  border-radius: 20px;
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 { font-size: 1.7rem; margin-bottom: 6px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.9); }

.cta-banner .btn-primary {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
}
.cta-banner .btn-primary:hover { background: #eef3ff; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 { color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.7); }

.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row .icon svg { width: 20px; height: 20px; stroke: #6fd6c8; }

.contact-row strong { display: block; font-size: .95rem; }
.contact-row span { color: rgba(255,255,255,.65); font-size: .88rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  background: rgba(23,184,166,.1);
  border: 1px solid rgba(23,184,166,.3);
  color: #0d7f72;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .92rem;
  margin-bottom: 18px;
}

.form-success.visible { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .brand { color: #fff; }
.footer-grid p { font-size: .92rem; color: rgba(255,255,255,.6); margin-top: 12px; }

.footer-grid h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
}

.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  transition: color .15s ease;
}
.footer-grid ul li a:hover { color: #6fd6c8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.social-row { display: flex; gap: 10px; }

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.social-row a:hover { background: var(--blue); }
.social-row a svg { width: 16px; height: 16px; stroke: #fff; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(120deg, var(--navy), #14304f);
  color: #fff;
  padding: 72px 0 84px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; }

.breadcrumb {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-bottom: 16px;
}
.breadcrumb a { color: #6fd6c8; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .service-visual { max-width: 360px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
