/* ============================================================
   Jasava — Digital Solutions Partner
   Stylesheet (mobile-first, accessible, performance-focused)
   Color proportion: White 75% / Blue 20% / Red 5%
   ============================================================ */

:root {
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9ff;
  --color-text: #1a2030;
  --color-muted: #5b657a;
  --color-border: #e5ecf7;

  --color-blue: #0a4ea3;
  --color-blue-600: #094690;
  --color-blue-700: #073a78;
  --color-blue-50: #eaf2fc;
  --color-blue-grad-1: #0a4ea3;
  --color-blue-grad-2: #1a6dd1;

  --color-red: #d72631;
  --color-red-soft: #ffeceb;

  --shadow-sm: 0 1px 2px rgba(10, 30, 60, 0.05);
  --shadow-md: 0 6px 18px rgba(10, 30, 60, 0.08);
  --shadow-lg: 0 18px 40px rgba(10, 30, 60, 0.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(.2,.7,.2,1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    sans-serif;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-red); }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--color-muted); }

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-blue { color: var(--color-blue); }
.text-white-bold { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-blue); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0;
  z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .75rem; font-weight: 700; color: var(--color-blue);
  background: var(--color-blue-50);
  padding: 6px 12px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-red);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 78, 163, .25);
}
.btn-primary:hover {
  background: var(--color-blue-600);
  border-color: var(--color-red);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-secondary:hover {
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  border-color: var(--color-blue-700);
}
.btn-white {
  background: #fff;
  color: var(--color-blue);
}
.btn-white:hover {
  background: var(--color-red);
  color: #fff;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(10,30,60,.06);
  border-bottom-color: var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 16px;
}
.logo img {
  height: 36px; width: auto;
  object-fit: contain;
}
.nav { display: none; }
.nav-list { display: flex; gap: 6px; align-items: center; }
.nav-list a {
  color: var(--color-text);
  font-weight: 500; font-size: .94rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-list a:hover { color: var(--color-blue); background: var(--color-blue-50); }
.nav-list a::after {
  content: ""; position: absolute;
  left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--color-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
  border-radius: 2px;
}
.nav-list a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }

/* Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--color-border); background: #fff;
  border-radius: var(--radius-sm); padding: 0 10px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--color-blue); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 1023px) {
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 22px rgba(10,30,60,.06);
    display: block;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .nav-list a { padding: 12px 14px; font-size: 1rem; }
  .nav-list a::after { display: none; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
}
.section-alt { background: var(--color-bg-alt); }

.section-head {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 90% -10%, rgba(10,78,163,.08), transparent 70%),
    radial-gradient(900px 380px at -10% 110%, rgba(10,78,163,.06), transparent 70%),
    var(--color-bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 50px;
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero-content h1 { margin-bottom: 18px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 14px;
}
.hero-support { color: var(--color-muted); margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  position: relative; z-index: 2;
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-logo {
  display: block; margin: 0 auto 20px;
  height: 48px; width: auto; object-fit: contain;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 22px;
}
.tile {
  display: flex; align-items: center; gap: 10px;
  background: var(--color-blue-50);
  color: var(--color-blue);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: .95rem;
}
.tile svg { color: var(--color-blue); flex: 0 0 auto; }
.tile-3 { background: #fff5f4; color: var(--color-red); }
.tile-3 svg { color: var(--color-red); }
.hero-bar { padding-top: 4px; }
.bar-line {
  height: 6px; border-radius: var(--radius-pill);
  background: var(--color-blue-50); overflow: hidden;
  margin-bottom: 8px;
}
.bar-line span {
  display: block; width: 64%; height: 100%;
  background: linear-gradient(90deg, var(--color-blue-grad-1), var(--color-blue-grad-2));
  border-radius: inherit;
}
.bar-meta {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--color-muted);
  font-weight: 500; letter-spacing: .04em;
}

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(50px); opacity: .55;
  z-index: 1;
}
.hero-blob-1 {
  width: 280px; height: 280px;
  top: -40px; right: -40px;
  background: radial-gradient(circle, rgba(10,78,163,.45), transparent 70%);
}
.hero-blob-2 {
  width: 220px; height: 220px;
  bottom: -40px; left: -30px;
  background: radial-gradient(circle, rgba(215,38,49,.18), transparent 70%);
}
.hero-accent {
  position: absolute; right: 20px; top: 16px;
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--color-red); z-index: 3;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}

/* ============================================================
   Highlights
   ============================================================ */
.highlights {
  padding: 0 0 clamp(40px, 6vw, 70px);
  margin-top: -30px; position: relative; z-index: 2;
}
.highlight-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.highlight-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-50);
}
.highlight-card h3 { margin-bottom: 6px; }
.highlight-card p  { margin: 0; font-size: .95rem; }
.hl-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-blue-50);
  color: var(--color-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.hl-icon svg { width: 22px; height: 22px; }

@media (min-width: 600px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .highlight-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--color-red);
  transition: height .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-50);
}
.service-card:hover::before { height: 100%; }
.svc-icon {
  width: 52px; height: 52px;
  background: var(--color-blue-50);
  color: var(--color-blue);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p  { margin: 0; font-size: .95rem; }

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Why
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-num {
  font-size: 1.6rem; font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .95rem; }

@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Process
   ============================================================ */
.process-list {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
  padding: 0; margin: 0;
  list-style: none;
}
.process-list li { list-style: none; }
.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--color-blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin-bottom: 14px;
  position: relative;
}
.step-num::after {
  content: ""; position: absolute;
  right: -4px; bottom: -4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  border: 2px solid #fff;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { margin: 0; font-size: .95rem; }

@media (min-width: 700px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-list { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   AI & Cloud
   ============================================================ */
.ai-cloud-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  max-width: 1000px; margin: 0 auto;
}
.ac-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ac-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ac-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
.ac-icon {
  width: 48px; height: 48px;
  background: var(--color-blue-50);
  color: var(--color-blue);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ac-icon svg { width: 24px; height: 24px; }
.ac-head h3 { margin: 0; font-size: 1.25rem; }
.ac-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--color-text);
  border-bottom: 1px dashed var(--color-border);
}
.ac-list li:last-child { border-bottom: none; }
.ac-list li::before {
  content: ""; position: absolute;
  left: 0; top: 16px;
  width: 14px; height: 14px;
  background: var(--color-blue-50);
  border: 2px solid var(--color-blue);
  border-radius: 50%;
}
.ac-list li::after {
  content: ""; position: absolute;
  left: 5px; top: 21px;
  width: 4px; height: 4px;
  background: var(--color-red);
  border-radius: 50%;
}

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

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.about-content h2 { margin-bottom: 16px; }
.about-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  margin-top: 18px;
}
.about-points li {
  padding-left: 22px; position: relative;
  font-size: .95rem; color: var(--color-text);
}
.about-points li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--color-blue);
  border-radius: 2px;
}
.about-points li:nth-child(odd)::before { background: var(--color-blue); }
.about-points li:nth-child(2)::before,
.about-points li:nth-child(5)::before { background: var(--color-red); }

.about-card {
  background: linear-gradient(160deg, #fff, var(--color-blue-50));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute;
  right: -24px; top: -24px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(215,38,49,.12), transparent 70%);
  border-radius: 50%;
}
.about-card img { height: 44px; width: auto; margin-bottom: 18px; }
.about-card h3 { margin-bottom: 8px; }
.about-meta { margin: 18px 0 0; }
.about-meta div {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--color-border);
}
.about-meta dt {
  font-weight: 700; color: var(--color-blue);
  font-size: .85rem; text-transform: uppercase;
  letter-spacing: .06em; min-width: 90px;
}
.about-meta dd { margin: 0; color: var(--color-text); font-size: .95rem; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: grid; gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] {
  border-color: var(--color-blue-50);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-blue-50);
  position: relative;
  flex: 0 0 auto;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--color-blue);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform .2s var(--ease);
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--color-red); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--color-muted);
}
.faq-answer p { margin: 0; }
.faq-item summary:hover { color: var(--color-blue); }
.faq-item summary:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: -2px;
}

/* ============================================================
   CTA Band
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--color-blue-grad-1), var(--color-blue-grad-2));
  color: #fff;
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  width: 320px; height: 320px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  border-radius: 50%;
}
.cta-band::after {
  content: ""; position: absolute;
  width: 14px; height: 14px;
  top: 28px; left: 32px;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15);
}
.cta-inner {
  display: grid; gap: 24px; grid-template-columns: 1fr;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 640px; }

@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1fr auto; gap: 40px; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-meta { margin-top: 24px; display: grid; gap: 14px; }
.contact-meta li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.contact-meta strong { display: block; color: var(--color-text); margin-bottom: 2px; }
.contact-meta span, .contact-meta a { color: var(--color-muted); font-size: .95rem; }
.contact-meta a:hover { color: var(--color-blue); }
.ci-icon {
  width: 38px; height: 38px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-blue);
  flex: 0 0 auto;
}
.ci-icon svg { width: 18px; height: 18px; }

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-size: .9rem; font-weight: 600; color: var(--color-text);
}
.req { color: var(--color-red); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(10,78,163,.15);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-red);
}
.form-submit { width: 100%; margin-top: 6px; position: relative; }
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status {
  margin-top: 14px; font-size: .95rem; min-height: 1.4em;
  padding: 0;
}
.form-status.success {
  color: #0c7a3b; background: #e6f5ec;
  border: 1px solid #b8e3c7; border-radius: 10px;
  padding: 12px 14px;
}
.form-status.error {
  color: #9a1d22; background: var(--color-red-soft);
  border: 1px solid #f5c2c4; border-radius: 10px;
  padding: 12px 14px;
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-submit { width: auto; padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0b1424;
  color: #c8d2e6;
  padding: 60px 0 0;
  margin-top: 0;
}
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: #c8d2e6; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-red); text-underline-offset: 4px; }
.footer-grid {
  display: grid; gap: 36px; grid-template-columns: 1fr;
  padding-bottom: 40px;
}
.footer-brand img {
  height: 38px; width: auto;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-brand p { color: #98a4bd; max-width: 320px; }
.footer-col ul li { padding: 6px 0; font-size: .95rem; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px;
  border-top: 1px solid #1a2540;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; color: #98a4bd; }
.footer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: #c8d2e6 !important;
}
.footer-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-red);
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
