/* ============================================================
   NetSol Onsite IT Support — Style Sheet
   Mirrors rmm.netsol.co.th design language
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0066cc;
  --blue-dark:   #004fa3;
  --blue-deeper: #0a2550;
  --blue-light:  #e8f2ff;
  --accent:      #00aa44;
  --gray-dark:   #333333;
  --gray-mid:    #666666;
  --gray-light:  #f5f7fa;
  --white:       #ffffff;
  --border:      #dde4ee;
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --radius:      8px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--blue-deeper); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--gray-mid); }

/* ---------- Layout helpers ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--blue-deeper); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.80); }

.section-heading { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p  { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn-primary  { background: var(--blue); color: var(--white); }
.btn-primary:hover  { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--blue); transform: translateY(-1px); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }

/* ---------- Header / Nav ---------- */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 40px; width: auto; }
.logo-tagline {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-dark);
  white-space: nowrap;
}

nav { display: flex; align-items: center; gap: 4px; }

nav a.nav-link {
  color: var(--gray-dark);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
nav a.nav-link:hover,
nav a.nav-link.active { background: var(--blue-light); color: var(--blue); }

.lang-switcher {
  display: flex; align-items: center; gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.lang-switcher a {
  font-size: .82rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--gray-mid);
  transition: background .15s;
}
.lang-switcher a.active,
.lang-switcher a:hover { background: var(--blue); color: var(--white); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-dark); margin: 5px 0;
  transition: transform .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex; align-items: center;
  background: var(--blue-deeper);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/onsite-hero-source.webp');
  background-size: cover; background-position: center;
  opacity: .28;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.25);
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 span { color: #5fb3ff; }
.hero p  { color: rgba(255,255,255,.85); font-size: 1.12rem; margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--blue); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat-item {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.stat-lbl { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 4px; display: block; }

/* ---------- Service cards grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 8px; color: var(--blue-deeper); }
.card p   { font-size: .92rem; }

/* ---------- Feature row (image + text) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.feature-img img { width: 100%; height: auto; display: block; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p  { margin-bottom: 20px; }
.feature-text .btn { margin-top: 28px; }
.feature-list { list-style: none; }
.feature-list li {
  padding: 7px 0;
  padding-left: 26px;
  position: relative;
  font-size: .95rem;
  color: var(--gray-mid);
}
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.service-note {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--teal);
  background: rgba(255,255,255,.58);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 12px 28px rgba(16, 38, 54, 0.08);
}

/* ---------- Why backup / data-loss stats ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.risk-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-top: 4px solid #5fb3ff;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}
.risk-pct {
  font-size: 3.5rem;
  font-weight: 800;
  color: #5fb3ff;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.risk-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.risk-card p  { color: rgba(255,255,255,.72) !important; font-size: .92rem; }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
/* continuous connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, rgba(95,179,255,.6), rgba(95,179,255,.2));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 32px 20px 28px;
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.step:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(95,179,255,.4);
}
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #0077ee, #5fb3ff);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(95,179,255,.15), 0 4px 16px rgba(0,119,238,.4);
}
.step h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: .01em;
}
.step p { color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.6; }

/* ---------- Pricing (single scalable price) ---------- */
.pricing-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pricing-single-left {
  background: var(--blue-deeper);
  padding: 52px 48px;
  color: var(--white);
}
.pricing-from-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.pricing-from-amount {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-from-amount span {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
}
.pricing-from-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.pricing-from-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.80) !important;
  line-height: 1.65;
  margin-bottom: 32px;
}
.pricing-single-right {
  padding: 52px 48px;
}
.pricing-single-right h3 {
  font-size: 1.1rem;
  color: var(--blue-deeper);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
}
.pricing-includes {
  list-style: none;
  margin: 24px 0 32px;
}
.pricing-includes li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.pricing-includes li:last-child { border-bottom: none; }
.pricing-includes li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #5fb3ff;
  font-weight: 700;
  font-size: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table tr {
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:last-child { border-bottom: none; }
.pricing-table td {
  padding: 14px 0;
  vertical-align: middle;
}
.pricing-table td strong {
  display: block;
  color: var(--blue-deeper);
  font-size: .95rem;
  margin-bottom: 2px;
}
.pricing-table td span {
  font-size: .82rem;
  color: var(--gray-mid);
}
.pricing-table .price-col {
  text-align: right;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  padding-left: 16px;
}
.pricing-table .price-col em {
  font-style: normal;
  font-size: .75rem;
  font-weight: 400;
  color: var(--gray-mid);
  display: block;
}
.pricing-table-contact .price-col a {
  font-size: .9rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-table-contact .price-col a:hover { background: var(--blue); color: var(--white); }
.pricing-table-note {
  font-size: .8rem;
  color: var(--gray-mid);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .pricing-single { grid-template-columns: 1fr; }
  .pricing-single-left, .pricing-single-right { padding: 36px 28px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none; border: none;
  text-align: left;
  padding: 20px 40px 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deeper);
  cursor: pointer;
  position: relative;
  display: block;
}
.faq-q::after {
  content: '+';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p { font-size: .95rem; }

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.contact-detail-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.contact-detail p { margin: 0; font-size: .92rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--blue-deeper); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .93rem;
  color: var(--gray-dark);
  transition: border-color .2s;
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit-wrap { margin-top: 4px; }
#form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  display: none;
}
#form-message.success { background: #e6f9ee; color: #1a7a3c; border: 1px solid #a3d9b6; display: block; }
#form-message.error   { background: #fde8e8; color: #b01c1c; border: 1px solid #f5b0b0; display: block; }

/* ---------- Footer ---------- */
footer {
  background: oklch(0.15 0.07 260);
  color: rgba(255,255,255,.75);
  padding: 0;
}
.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, oklch(0.52 0.18 256), oklch(0.68 0.17 252));
}
.footer-inner { padding: 24px 32px; }
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer-left img { height: 40px; width: auto; flex-shrink: 0; }
.footer-info .footer-company {
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  display: block;
  margin-bottom: 2px;
}
.footer-info .footer-address {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}
.footer-phone a {
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .15s;
}
.footer-phone a:hover { color: rgba(255,255,255,.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.55); }
.footer-lang { display: flex; gap: 0; }
.footer-lang a {
  padding: 4px 10px;
  border-radius: 0;
  font-size: .8rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  background: transparent;
  transition: background .15s, color .15s;
}
.footer-lang a.active { background: rgba(255,255,255,.15); color: var(--white); font-weight: 600; }
.footer-lang a:hover { color: var(--white); }

/* ---------- Stats source citation ---------- */
.risk-source {
  text-align: center;
  margin-top: 36px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.risk-source a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  transition: color .15s;
}
.risk-source a:hover { color: rgba(255,255,255,.85); }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-phone { align-self: flex-start; }
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .risk-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  nav.open { display: flex; }
  nav a.nav-link { padding: 12px 16px; border-radius: 6px; }
  .lang-switcher { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; margin-left: 0; }
  .menu-toggle { display: block; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:last-child { border-bottom: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .hero-bg { background-image: none; background-color: #061a3a; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
}

/* ============================================================
   NetSol landing theme alignment
   ============================================================ */
:root {
  --navy-900: #020a11;
  --navy-800: #071522;
  --navy-700: #102f42;
  --teal: #36c6d3;
  --teal-light: #8de3ed;
  --gold: #f0a63a;
  --ink: #16212d;
  --muted: #536677;
  --line: #b8cbd6;
  --surface: #f7fafb;
  --grid-line: #c8d7e0;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --blue: #0b6f8f;
  --blue-dark: #102f42;
  --blue-deeper: #102f42;
  --blue-light: #e8f7fa;
  --accent: #36c6d3;
  --gray-dark: #16212d;
  --gray-mid: #536677;
  --gray-light: #e8eef3;
  --border: #b8cbd6;
  --radius: 0.375rem;
  --shadow: 0 18px 45px rgba(16, 38, 54, 0.14);
}

body {
  background: #f5f7f9;
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.08;
  color: var(--ink);
}

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4 {
  font-family: 'Noto Sans Thai', 'Inter', system-ui, sans-serif;
}

h2 {
  font-size: 2.15rem;
}

.container {
  max-width: 80rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(54, 198, 211, 0.08), transparent 44%),
    linear-gradient(#d9e7ee 1px, transparent 1px),
    linear-gradient(90deg, #d9e7ee 1px, transparent 1px),
    #eef4f7;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.section-dark {
  background: linear-gradient(135deg, #071522 0%, #102f42 58%, #164a63 100%);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark p {
  color: #c6d6df !important;
}

.btn {
  border-radius: 0.375rem;
  padding: 0.95rem 1.4rem;
  font-weight: 800;
}

.btn-primary {
  background: var(--teal);
  color: #071522;
  box-shadow: 0 16px 34px rgba(54, 198, 211, 0.24);
}

.btn-primary:hover {
  background: #69dce5;
  color: #071522;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #102f42;
}

#header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-inner {
  height: auto;
  padding: 1.25rem 0;
}

.logo {
  color: #fff;
}

.logo img {
  height: 2.75rem;
  width: 2.75rem;
  object-fit: contain;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.25rem;
}

.logo-text {
  display: grid;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.logo-tagline {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #c4e0ef;
}

nav {
  gap: 1.35rem;
}

nav a.nav-link {
  padding: 0;
  color: #d7e7ee;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 0;
}

nav a.nav-link:hover,
nav a.nav-link.active {
  background: transparent;
  color: #fff;
}

.nav-cta {
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.55rem 1.1rem;
  color: #fff;
  font-weight: 800;
}

.nav-cta:hover {
  background: #fff;
  color: #102f42;
}

.lang-switcher {
  margin-left: 0;
  padding-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  gap: 0;
}

.lang-switcher a {
  border-radius: 0;
  color: #b5c8d2;
  padding: 0.38rem 0.75rem;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.menu-toggle span {
  background: #fff;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  background:
    radial-gradient(circle at 78% 30%, rgba(54, 198, 211, 0.18), transparent 30%),
    linear-gradient(135deg, #071522 0%, #0b2435 52%, #0d465d 100%);
  color: #fff;
}

.hero-bg {
  inset: 0;
  opacity: 1;
  background-image: url('../images/onsite-hero-source.webp');
  background-size: cover;
  background-position: center right;
  filter: saturate(0.95) contrast(1.05);
}

.hero-bg::before,
.hero-bg::after {
  content: none;
}

.hero-bg::before {
  top: 17%;
  right: -5rem;
  width: min(40vw, 32rem);
  height: 26rem;
  background:
    linear-gradient(90deg, rgba(16, 47, 66, 0.95), rgba(255, 255, 255, 0.12)),
    linear-gradient(#8de3ed 0 0) 12% 16% / 42% 0.9rem no-repeat,
    linear-gradient(90deg, #36c6d3 0 12%, transparent 12% 100%) 12% 42% / 70% 0.9rem no-repeat,
    linear-gradient(90deg, #36c6d3 0 12%, transparent 12% 100%) 12% 56% / 62% 0.9rem no-repeat,
    linear-gradient(90deg, #f0a63a 0 12%, transparent 12% 100%) 12% 70% / 76% 0.9rem no-repeat,
    rgba(238, 244, 247, 0.82);
}

.hero-bg::after {
  right: 10%;
  bottom: 12%;
  width: min(24vw, 21rem);
  height: 10rem;
  background:
    linear-gradient(#8de3ed 0 0) 12% 72% / 76% 0.55rem no-repeat,
    linear-gradient(90deg, #36c6d3 0 24%, #f0a63a 24% 48%, #0b6f8f 48% 72%, #9bb1bf 72% 100%) center 38% / 72% 3rem no-repeat,
    rgba(7, 21, 34, 0.92);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.98) 0%, rgba(7, 21, 34, 0.92) 42%, rgba(7, 21, 34, 0.68) 72%, rgba(7, 21, 34, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 21, 34, 0.42), rgba(7, 21, 34, 0.12));
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 7rem;
}

.hero-content {
  max-width: 50rem;
}

.hero-badge {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--teal-light);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 55rem;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.05;
  color: #fff;
  letter-spacing: normal;
}

.hero h1 span {
  color: #fff;
}

.hero p {
  margin: 1.5rem 0 0;
  max-width: 43rem;
  font-size: 1rem;
  line-height: 2rem;
  color: #d9e6ed;
}

.hero-cta {
  margin-top: 2rem;
}

.stats-bar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#c8d7e0 1px, transparent 1px),
    linear-gradient(90deg, #c8d7e0 1px, transparent 1px),
    #e8eef3;
  background-size: 42px 42px;
  padding: 2rem 1.25rem 3rem;
}

.stats-grid {
  position: relative;
  z-index: 3;
  max-width: 80rem;
  margin: 0 auto;
  gap: 0.75rem;
}

.stat-item {
  border: 1px solid #b9cbd6;
  border-radius: 0.375rem;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 18px 45px rgba(16, 38, 54, 0.14);
}

.stat-num {
  color: #0b6f8f;
  font-family: var(--display);
}

.stat-lbl {
  color: #536677;
  font-weight: 700;
}

.card,
.risk-card,
.step,
.pricing-single {
  border-radius: 0.375rem;
}

.card {
  border-color: #c8d7e0;
  box-shadow: 0 14px 32px rgba(16, 38, 54, 0.08);
}

.card-icon {
  background: #e8f7fa;
  border-radius: 0.375rem;
}

#pricing .card-icon {
  background: rgba(54, 198, 211, 0.12);
  border: 1px solid rgba(54, 198, 211, 0.26);
  color: #0b6f8f;
  box-shadow: none;
}

#pricing .card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-img {
  border-radius: 0.375rem;
  box-shadow: 0 18px 45px rgba(16, 38, 54, 0.14);
}

.pricing-single {
  box-shadow: 0 18px 45px rgba(16, 38, 54, 0.14);
}

.pricing-single-left {
  background: #102f42;
}

.pricing-from-amount,
.risk-pct {
  font-family: var(--display);
}

.risk-pct {
  color: var(--teal-light);
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 251, 0.76) 34%, rgba(223, 232, 238, 0) 68%),
    radial-gradient(circle at 78% 36%, rgba(54, 198, 211, 0.16), transparent 28%),
    linear-gradient(rgba(205, 219, 227, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 219, 227, 0.35) 1px, transparent 1px),
    #f7fafb;
  background-size: 100% 100%, 100% 100%, 100% 44px, 44px 44px, auto;
  color: #16212d;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, #e5edf2 0%, rgba(229, 237, 242, 0.72) 72%, transparent 100%);
}

.contact-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid #b8cbd6;
  background:
    linear-gradient(90deg, rgba(16, 47, 66, 0.055), transparent 48%),
    rgba(255, 255, 255, 0.94);
  padding: 1.75rem;
  box-shadow: 0 24px 62px rgba(8, 25, 39, 0.18);
}

.contact-frame::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.4rem;
  background: linear-gradient(180deg, #36c6d3, #f0a63a);
}

.contact-wrap {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
  gap: 2.5rem;
  align-items: center;
}

.contact-info h2 {
  margin: 0.75rem 0 1rem;
  font-size: 2.25rem;
  color: var(--ink);
}

.contact-info p {
  max-width: 42rem;
  color: #536677;
}

.contact-badge {
  color: #0b6f8f;
}

.contact-points {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-points span {
  border-radius: 999px;
  border: 1px solid #b8cbd6;
  background: #fff;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #102f42;
}

.contact-form {
  border-radius: 0.375rem;
  border: 1px solid #b8cbd6;
  background: #fff;
  padding: 1.15rem;
  box-shadow: 0 18px 42px rgba(12, 39, 56, 0.13);
}

.contact-form-title {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1rem;
  color: #16212d;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0b6f8f;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #b8cbd6;
  background: #f8fafb;
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-size: 0.875rem;
  color: #16212d;
}

.form-field textarea {
  min-height: 4.4rem;
  resize: vertical;
}

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

.contact-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0.375rem;
  background: #0b6f8f;
  padding: 0.8rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(11, 111, 143, 0.24);
}

.contact-btn:hover {
  background: #102f42;
}

.form-status {
  margin: 0.65rem 0 0;
  min-height: 1.1rem;
  font-size: 0.8125rem;
  color: #0b6f8f;
}

.form-status-error {
  color: #b8751d;
}

footer {
  background: #020a11;
  border-top: 1px solid rgba(141, 227, 237, 0.16);
  padding: 1.75rem 1.25rem;
  font-size: 0.875rem;
  color: #9bb1bf;
}

.footer-inner {
  margin: 0 auto;
  display: flex;
  max-width: 80rem;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}

.footer-top,
.footer-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img,
.footer-left img {
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-info .company,
.footer-company {
  display: block;
  color: #fff;
  font-weight: 600;
}

.footer-info .address,
.footer-address {
  color: #82a0af;
}

.footer-phone {
  margin-left: auto;
}

.footer-phone,
.footer-phone a {
  color: #fff;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-phone:hover,
.footer-phone a:hover {
  color: #8de3ed;
}

.footer-links {
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  padding-top: 1rem;
}

.footer-links h2 {
  margin: 0 0 0.65rem;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8de3ed;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #9bb1bf;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.75rem;
  color: #71899a;
}

.footer-lang {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  overflow: hidden;
}

.footer-lang a.active {
  background: rgba(141, 227, 237, 0.22);
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  h2,
  .contact-info h2 {
    font-size: 2.25rem;
  }

  .footer-top,
  .footer-main {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-phone {
    margin-left: auto;
  }

  .footer-links {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-bg::before {
    right: -8rem;
    width: 32rem;
    opacity: 0.45;
  }

  .hero-bg::after {
    right: 1rem;
    opacity: 0.45;
  }
}

@media (max-width: 700px) {
  #header {
    position: absolute;
  }

  nav {
    background: rgba(7, 21, 34, 0.98);
    border-bottom: 1px solid rgba(141, 227, 237, 0.16);
  }

  .nav-cta {
    text-align: center;
  }

  .hero .container {
    padding-left: 1.25rem;
  }

  .stats-grid,
  .form-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-phone {
    margin-left: 0;
  }

  .contact-frame {
    padding: 1.25rem;
  }
}
