:root {
  --blue-dark: #1a6fb8;
  --blue-light: #00aeef;
  --blue-navy: #0d3f66;
  --grey-text: #4a5560;
  --grey-muted: #6c7680;
  --grey-bg: #f5f7fa;
  --grey-border: #e4e9f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(13, 63, 102, 0.06);
  --shadow-md: 0 4px 14px rgba(13, 63, 102, 0.08);
  --shadow-lg: 0 12px 32px rgba(13, 63, 102, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --gradient: linear-gradient(135deg, #1a6fb8 0%, #00aeef 100%);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

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

.brand img { height: 44px; width: auto; }

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

.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--grey-text);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: var(--grey-bg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px !important;
  background: var(--gradient);
  color: var(--white) !important;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--gradient);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--grey-border);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.menu-toggle:hover { border-color: var(--blue-dark); }

.menu-toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-navy);
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--blue-navy);
  border-radius: 2px;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 96px 0 112px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.18) 0%, rgba(0, 174, 239, 0) 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(26, 111, 184, 0.16) 0%, rgba(26, 111, 184, 0) 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 174, 239, 0.08);
  color: var(--blue-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  color: var(--blue-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--grey-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--blue-dark);
  border: 1.5px solid var(--grey-border);
}

.btn-ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-border);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--grey-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-border);
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}

.hero-card.card-1 {
  top: 5%;
  left: 0;
  animation-delay: 0s;
}

.hero-card.card-2 {
  top: 50%;
  right: 0;
  animation-delay: 1.5s;
}

.hero-card.card-3 {
  bottom: 5%;
  left: 12%;
  animation-delay: 3s;
}

.hero-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.hero-card .ico svg { width: 22px; height: 22px; }

.hero-card strong {
  display: block;
  color: var(--blue-navy);
  font-size: 14px;
  margin-bottom: 2px;
}

.hero-card span {
  font-size: 12px;
  color: var(--grey-muted);
}

.hero-emblem {
  width: 280px;
  height: 280px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(26, 111, 184, 0.35);
  animation: pulse 4s ease-in-out infinite;
}

.hero-emblem svg {
  width: 56%;
  height: 56%;
}

.hero-emblem svg path:first-child { stroke: rgba(255, 255, 255, 0.85); }
.hero-emblem svg path:last-child { stroke: #ffffff; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 30px 80px rgba(26, 111, 184, 0.35); }
  50% { box-shadow: 0 30px 100px rgba(0, 174, 239, 0.45); }
}

/* ========== SECTIONS ========== */
section { padding: 96px 0; }

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

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--blue-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

/* ========== SERVICES ========== */
.services { background: var(--grey-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 111, 184, 0.1) 0%, rgba(0, 174, 239, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--white);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--blue-navy);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--grey-muted);
  line-height: 1.6;
}

/* ========== WHY ========== */
.why .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background: var(--gradient);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-visual svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: auto;
  opacity: 0.95;
}

.why-visual svg path:first-child { stroke: rgba(255, 255, 255, 0.7); }
.why-visual svg path:last-child { stroke: #ffffff; }

.why-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-list .check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-list .check svg { width: 20px; height: 20px; }

.why-list h4 {
  color: var(--blue-navy);
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.why-list p {
  color: var(--grey-muted);
  font-size: 0.95rem;
}

/* ========== CTA BAND ========== */
.cta-band {
  padding: 80px 0;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 700;
}

.cta-band p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-dark);
}

.cta-band .btn-primary:hover {
  background: var(--white);
  color: var(--blue-navy);
}

/* ========== CONTACT ========== */
.contact { background: var(--grey-bg); }

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

.contact-info {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
}

.contact-info h3 {
  color: var(--blue-navy);
  font-size: 1.4rem;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-border);
}

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

.contact-item .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 174, 239, 0.1);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .ico svg { width: 20px; height: 20px; }

.contact-item .label {
  font-size: 0.85rem;
  color: var(--grey-muted);
  margin-bottom: 2px;
  font-weight: 500;
}

.contact-item .value {
  color: var(--blue-navy);
  font-weight: 600;
  font-size: 1rem;
}

.contact-item a.value { color: var(--blue-dark); }
.contact-item a.value:hover { color: var(--blue-light); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
}

.contact-form h3 {
  color: var(--blue-navy);
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form > p {
  color: var(--grey-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--blue-navy);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

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

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--blue-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 24px;
  font-size: 0.92rem;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.footer-brand .brand-mark svg { width: 36px; height: 36px; }

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--blue-light); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 360px; }
  .why .container { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { aspect-ratio: 16 / 10; max-height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    gap: 4px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; justify-content: flex-start; }
  .menu-toggle { display: inline-flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info, .contact-form { padding: 28px; }
  .brand img { height: 36px; }
}

@media (max-width: 420px) {
  .hero-card.card-1 { left: -8px; }
  .hero-card.card-2 { right: -8px; }
  .hero-emblem { width: 220px; height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  html { scroll-behavior: auto; }
}
