﻿@import url("../css-home/hero.css");
@import url("../css-home/services.css");
@import url("../css-home/benefits.css");
@import url("../css-home/trust.css");
@import url("../css-home/cta.css");
@import url("../css-home/faq.css");

@import url("../css-services/service-page.css");
@import url("../css-services/services-overview.css");

@import url("../css-pages/about.css");
@import url("../css-pages/contact.css");
@import url("../css-pages/knowledge.css");

@import url("../css-legal/legal.css");

:root {
  --color-electric-050: #ecf6ff;
  --color-electric-200: #99c5ff;
  --color-electric-500: #1e73e8;
  --color-electric-700: #0d3f92;
  --color-accent-500: #18b980;
  --color-accent-700: #0d875c;

  --color-neutral-0: #ffffff;
  --color-neutral-100: #f4f7fb;
  --color-neutral-200: #d9e0ea;
  --color-neutral-500: #5f6f86;
  --color-neutral-800: #232d3d;
  --color-neutral-950: #10151f;

  --font-sans: "Source Sans 3", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Merriweather Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 2px 10px rgba(13, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(13, 23, 42, 0.12);
  --shadow-lg: 0 24px 48px rgba(13, 23, 42, 0.18);

  --transition-fast: 160ms ease;
  --transition-base: 280ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  min-height: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-neutral-800);
  background: var(--color-neutral-100);
  text-rendering: optimizeLegibility;
  animation: page-fade-in 260ms ease both;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-leaving {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-950);
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-heading {
  max-width: 38rem;
  margin-bottom: var(--space-xl);
}

.section-heading h2 {
  text-wrap: balance;
}

#services-title,
#process-title {
  font-size: clamp(1.95rem, 3.4vw, 2.75rem);
}

#framework-title,
#insights-title,
#faq-title {
  font-size: clamp(1.58rem, 2.5vw, 2.1rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.muted {
  color: var(--color-neutral-500);
}

.btn {
  display: inline-flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -135%;
  width: 45%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  transition: left 420ms ease;
}

.btn-primary {
  color: var(--color-neutral-0);
  background: var(--color-accent-500);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--color-accent-700);
}

.btn-secondary {
  color: var(--color-neutral-0);
  background: var(--color-accent-500);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--color-accent-700);
}

.btn-ghost {
  color: var(--color-neutral-950);
  border-color: var(--color-neutral-200);
  background: var(--color-neutral-0);
}

.btn-ghost:hover {
  border-color: var(--color-accent-500);
  color: var(--color-accent-700);
}

.card {
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  background: var(--color-neutral-0);
  box-shadow: var(--shadow-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--color-neutral-0);
  background: var(--color-neutral-950);
}

:focus-visible {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 3px;
}

.utility-bar {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #d8e2de;
  background: #f2f7f5;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: #131a1a;
  font-size: clamp(1.55rem, 1.75vw, 1.95rem);
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(160deg, #ecfff6 0%, #d8f6ea 100%);
  box-shadow: 0 6px 14px rgba(14, 95, 68, 0.16);
}

.brand-mark img {
  width: 1.42rem;
  height: 1.42rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid #ccd8d3;
  border-radius: var(--radius-md);
  color: #1f2c2a;
  background: #f8fbfa;
}

.nav-toggle-icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.7vw, 0.95rem);
}

.nav-list a,
.dropdown-toggle {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 0.15rem;
  color: #1f2c2a;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a svg,
.dropdown-toggle svg {
  width: 0.86rem;
  height: 0.86rem;
  stroke-width: 2.3;
}

.nav-list a[aria-current="page"] {
  color: var(--color-accent-700);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.16rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.dropdown-toggle {
  border: 0;
  background: transparent;
  padding-inline: 0;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: 17rem;
  display: none;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid #d3ddd9;
  border-radius: var(--radius-md);
  background: var(--color-neutral-0);
  box-shadow: var(--shadow-md);
}

.dropdown-menu li a {
  display: block;
  padding: 0.52rem 0.68rem;
  border-radius: var(--radius-sm);
  color: var(--color-neutral-800);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-menu li a:hover {
  background: var(--color-neutral-100);
}

.dropdown-menu.is-open {
  display: grid;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.call-cta {
  min-height: 3rem;
  padding-inline: 1rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
  animation: call-glow 3.3s ease-in-out infinite;
}

.call-cta svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.4;
}

.call-label {
  font-size: 0.9rem;
  letter-spacing: 0.015em;
}

.site-footer {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  color: #ccd5e1;
  background: #111723;
}

.site-footer .brand {
  color: #7ee7bc;
  font-size: 1.35rem;
}

.site-footer .brand-mark {
  background: rgba(126, 231, 188, 0.14);
  box-shadow: none;
}

.site-footer .brand-mark img {
  opacity: 0.95;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-column h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-neutral-0);
  font-size: 1rem;
}

.footer-column ul {
  display: grid;
  gap: 0.45rem;
}

.footer-column a {
  transition: color var(--transition-fast);
}

.footer-note {
  margin-top: 0.7rem;
  color: #9fafc2;
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  color: #9fafc2;
}

.site-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8fa1b8;
}

.card {
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.reveal-item {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.68, 0.2, 1.02);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes call-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(24, 185, 128, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(24, 185, 128, 0.16);
  }
}


@media (min-width: 1100px) {
  body {
    font-size: 18px;
    line-height: 1.7;
  }

  .section-heading {
    max-width: 44rem;
  }

  .eyebrow {
    font-size: 0.9rem;
  }

  h2 {
    font-size: clamp(2.1rem, 2.7vw, 3rem);
  }

  h3 {
    font-size: clamp(1.24rem, 1.45vw, 1.55rem);
  }

  #services-title,
  #process-title {
    font-size: clamp(2.3rem, 3.35vw, 3.25rem);
  }

  #framework-title,
  #insights-title,
  #faq-title {
    font-size: clamp(1.9rem, 2.35vw, 2.45rem);
  }

  .btn {
    min-height: 3.2rem;
    padding: 0.78rem 1.35rem;
    font-size: 1.05rem;
  }

  .nav-list a,
  .dropdown-toggle {
    font-size: 0.9rem;
  }

  .footer-note,
  .footer-bottom {
    font-size: 0.95rem;
  }

  .site-disclaimer {
    font-size: 0.84rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-list a,
  .dropdown-toggle {
    transition: color var(--transition-fast);
  }

  .nav-list a:hover,
  .dropdown-toggle:hover {
    color: var(--color-accent-700);
  }

  .nav-list a:hover::after {
    transform: scaleX(1);
  }

  .btn:hover::after {
    left: 135%;
  }

  .card:hover {
    border-color: #c5d6e8;
    box-shadow: var(--shadow-md);
  }

  .footer-column a:hover {
    color: #8cefc7;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    gap: 0.8rem;
    min-height: 4.4rem;
  }

  .brand {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    display: none;
    justify-content: flex-start;
    padding: 0.8rem 4vw 1rem;
    border-bottom: 1px solid #d8e2de;
    background: #f2f7f5;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    width: 100%;
  }

  .nav-list a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.58rem 0;
    font-size: 0.88rem;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.15rem;
    box-shadow: none;
    background: #ffffff;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.5rem;
  }

  .call-cta {
    min-height: 2.65rem;
    padding-inline: 0.8rem 0.95rem;
  }

  .call-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav-toggle {
    order: 4;
  }

  .header-actions {
    order: 3;
    margin-left: 0;
  }

  .call-cta {
    width: 2.45rem;
    min-height: 2.45rem;
    padding: 0;
    animation: none;
  }

  .call-label {
    display: none;
  }
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

