:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --ink: #142235;
  --muted: #5f7085;
  --primary: #0f4fa8;
  --primary-dark: #0a2d63;
  --accent: #c89a4b;
  --line: rgba(20, 34, 53, 0.1);
  --shadow-lg: 0 24px 80px rgba(15, 37, 70, 0.12);
  --shadow-md: 0 18px 48px rgba(15, 37, 70, 0.09);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15,79,168,0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(200,154,75,0.12), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin: 0 auto; }
.card-frame {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.topbar {
  background: #0c1830;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.topbar-inner,
.topbar-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-inner {
  justify-content: space-between;
  padding: 10px 0;
}
.topbar a {
  font-weight: 700;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,34,53,.08);
}
.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand > span:last-child {
  display: grid;
  gap: 2px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #133f80 0%, #0b1f46 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15,79,168,.2);
}
.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #2b3d55;
}
.nav-links a:not(.nav-cta):hover { color: var(--primary); }
.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 38px rgba(15,79,168,.18);
}
.menu-toggle {
  display: none;
  width: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  border-radius: 10px;
  background: #20344f;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 56px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}
.orb-1 {
  width: 320px;
  height: 320px;
  top: 40px;
  left: -80px;
  background: radial-gradient(circle, rgba(15,79,168,.16), transparent 65%);
}
.orb-2 {
  width: 340px;
  height: 340px;
  right: -70px;
  top: 70px;
  background: radial-gradient(circle, rgba(200,154,75,.18), transparent 65%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: 48px;
}
.eyebrow,
.section-kicker,
.service-tag,
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow,
.section-kicker,
.info-chip {
  color: var(--primary);
}
.eyebrow::before,
.section-kicker::before,
.info-chip::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}
.hero-copy h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  max-width: 12ch;
}
.hero-lead {
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-badges span,
.quality-list span,
.service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: 0 12px 30px rgba(15,37,70,.06);
  font-size: 14px;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 20px 40px rgba(15,79,168,.22);
}
.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(20,34,53,.08);
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-dark-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.hero-mini-card {
  margin-top: 24px;
  max-width: 320px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-md);
}
.hero-mini-card strong {
  display: block;
  font-weight: 700;
}
.hero-mini-card p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  padding: 0 0 24px 40px;
}
.hero-visual-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-floating-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(350px, 72%);
}
.hero-floating-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}
.floating-content {
  padding: 16px 18px 18px;
  background: rgba(255,255,255,.92);
}
.floating-content strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.floating-content span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -8px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-card {
  padding: 26px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}
.trust-card strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.trust-card span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.section {
  padding: 100px 0;
}
.split-layout,
.contact-grid,
.all-services-wrap {
  display: grid;
  gap: 36px;
  align-items: center;
}
.split-layout {
  grid-template-columns: 1.08fr .92fr;
}
.contact-grid,
.all-services-wrap {
  grid-template-columns: .95fr 1.05fr;
}
.section-copy h2,
.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
}
.section-copy p,
.section-heading p,
.info-panel p,
.process-card p,
.service-content p,
.contact-card span,
.cta-box p,
.all-services-side p {
  color: var(--muted);
}
.section-copy p,
.all-services-side p { font-size: 17px; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}
.quality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.info-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #ffffff 0%, #eff4fb 100%);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-lg);
}
.info-top { display: grid; gap: 16px; }
.info-panel h3 {
  font-size: 30px;
  font-weight: 800;
}
.info-meta {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.info-meta div {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.info-meta strong,
.contact-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.info-meta span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.services-showcase { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.featured-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.featured-service {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-md);
}
.service-image {
  align-self: stretch;
}
.service-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-tag {
  color: var(--primary);
  font-size: 11px;
}
.service-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.service-content h3 {
  margin-top: 14px;
  font-size: 26px;
  font-weight: 800;
}
.service-content p {
  margin: 14px 0 0;
  font-size: 15px;
}

.services-all { background: transparent; }
.wordwall-mini img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: grayscale(1);
}
.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-lg);
}
.service-pill {
  min-height: 48px;
  padding-inline: 18px;
  color: #223851;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  padding: 30px 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-md);
}
.process-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
}
.process-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.cta-section { padding-top: 20px; }
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0e376f 0%, #08172e 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.section-kicker-light { color: rgba(255,255,255,.9); }
.section-kicker-light::before { background: var(--accent); }
.cta-box h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 16px;
}
.contact-card a {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(20,34,53,.08);
  box-shadow: var(--shadow-md);
}
.contact-card span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
}

.footer {
  padding: 30px 0;
  background: #08172e;
  color: rgba(255,255,255,.72);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { margin: 0; font-size: 14px; }

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 70;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  cursor: pointer;
}
.whatsapp-float {
  left: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #fff;
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}
.back-to-top {
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .all-services-wrap,
  .contact-grid,
  .featured-service {
    grid-template-columns: 1fr;
  }
  .featured-services,
  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual { padding-left: 0; }
  .hero-floating-card {
    left: 20px;
    right: 20px;
    width: auto;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(20,34,53,.08);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .navbar { min-height: 74px; }

  .hero {
    padding-top: 46px;
    padding-bottom: 32px;
  }
  .hero-copy h1 { font-size: 42px; }
  .hero-grid { gap: 24px; }
  .hero-floating-card {
    position: static;
    margin-top: 16px;
  }
  .hero-floating-card img { height: 140px; }

  .trust-grid,
  .featured-services,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 72px 0; }
  .cta-box,
  .footer-inner,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-cloud { padding: 22px; }
  .whatsapp-float { width: 58px; height: 58px; }
  .back-to-top { width: 50px; height: 50px; }
}


/* V3 refinements */
body { font-weight: 500; }
.hero-copy h1 { font-size: clamp(38px, 4.5vw, 60px); }
.section-copy h2, .section-heading h2 { font-size: clamp(28px, 3.3vw, 42px); }
.info-panel h3 { font-size: 26px; }
.service-content h3 { font-size: 23px; }
.cta-box h2 { font-size: clamp(26px, 2.8vw, 38px); }
.process-card h3 { font-size: 20px; }
.hero-lead, .section-copy p, .all-services-side p, .section-heading p, .service-content p, .process-card p, .contact-card span, .cta-box p, .info-panel p, .hero-mini-card p, .floating-content span { font-weight: 500; color: #52657d; }
.brand small, .trust-card span { color: #61748d; }
.footer {
  padding: 68px 0 26px;
  background: linear-gradient(180deg, #071325 0%, #08172e 100%);
  color: rgba(255,255,255,.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr 1.1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand-col p {
  margin: 0;
  max-width: 360px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.68);
}
.footer-links, .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-links a, .footer-contact li, .footer-contact a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact strong { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 14px; }
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}
.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-copy h1 { font-size: 36px; }
  .section-copy h2, .section-heading h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* V4 footer icon placement */
.footer-social {
  margin-top: 22px;
  justify-content: flex-start;
}
.footer-bottom {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .footer-social { margin-top: 18px; }
}
