
:root {
  color-scheme: light;
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --surface-soft: #F9FAFB;
  --border: #E5E7EB;
  --primary: #175676;
  --primary-deep: #0B1F32;
  --accent: #3BA99C;
  --text: #0F172A;
  --muted: #6B7280;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --t-fast: 150ms ease-out;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #020617;
  --surface: #02081A;
  --surface-soft: #020617;
  --border: #1E293B;
  --primary: #38BDF8;
  --primary-deep: #0F172A;
  --accent: #22C55E;
  --text: #E5E7EB;
  --muted: #9CA3AF;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background-color: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid var(--border);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
html[data-theme="dark"] .site-header {
  background-color: rgba(15, 23, 42, 0.96);
}
.site-header--hidden { transform: translateY(-100%); }
.header-inner {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo {
  height: 96px; /* larger logo, readable "GLOBAL CONSULTING LLC" */
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
}
.nav-link--active { color: var(--primary-deep); }
html[data-theme="dark"] .nav-link { color: #E5E7EB; }
html[data-theme="dark"] .nav-link--active { color: #FFFFFF; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--t-fast);
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme toggle & menu */

.theme-toggle {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.15rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text);
  margin: 3px 0;
}

/* Hero */

.hero {
  padding: 3.75rem 0 3rem;
}
.hero-shell {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 2.25rem 2.4rem;
  background:
    radial-gradient(circle at top left, rgba(23, 86, 118, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 169, 156, 0.18), transparent 60%),
    #FFFFFF;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}
html[data-theme="dark"] .hero-shell {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.25), transparent 65%),
    #020617;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.15fr);
  gap: 2.2rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: "Merriweather", "Georgia", serif;
  font-size: clamp(2.3rem, 3vw, 3rem);
  margin: 0 0 0.7rem;
}
.hero-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}
.hero-actions {
  margin: 1.6rem 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}
.hero-bullets li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.35rem;
}
.hero-meta {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-visual-main {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  margin-bottom: 0.9rem;
}
.hero-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.metric-card {
  border-radius: 14px;
  padding: 0.75rem;
  background-color: rgba(15, 23, 42, 0.96);
  color: #E5E7EB;
  font-size: 0.78rem;
}
.metric-label {
  display: block;
  opacity: 0.8;
  margin-bottom: 0.15rem;
}
.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Sections & cards */

.section { padding: 3.25rem 0; }
.section--muted {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(243, 244, 246, 0.96));
}
html[data-theme="dark"] .section--muted {
  background: #020617;
}
.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.section-header h2 {
  font-family: "Merriweather","Georgia",serif;
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
}
.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background-color: var(--surface);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
html[data-theme="dark"] .card {
  background-color: #02081A;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
  border-color: var(--primary);
}

.service-card__image,
.case-card__image,
.post-card__image,
.contact-image {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.bullet-list {
  margin: 0.4rem 0 0.8rem 1.2rem;
  padding: 0;
  font-size: 0.9rem;
}
.kv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.kv-list li { margin-bottom: 0.35rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  background-color: var(--surface);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
}
.step-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.step-title {
  margin: 0 0 0.3rem;
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #F9FAFB;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.32);
}
.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-ghost {
  border-color: var(--border);
  color: var(--primary-deep);
}
html[data-theme="dark"] .btn-ghost { color: #E5E7EB; }
.btn-ghost:hover {
  background-color: rgba(148, 163, 184, 0.14);
  text-decoration: none;
}

/* Page hero, split, contact */

.page-hero { padding: 3.5rem 0 2.4rem; }
.page-hero h1 {
  font-family: "Merriweather","Georgia",serif;
  margin: 0 0 0.6rem;
  font-size: 2rem;
}
.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 2.2rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 2.2rem;
}

/* Form */

.form {
  background-color: var(--surface);
  border-radius: 18px;
  padding: 1.8rem 1.7rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.82rem;
  font-weight: 500;
}
.form-label span { color: #DC2626; }
.input,
.select,
.textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  background-color: var(--surface-soft);
  color: var(--text);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(23, 86, 118, 0.6);
}
.textarea {
  resize: vertical;
  min-height: 120px;
}
.form-helper {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.form-footer {
  margin-top: 1.3rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Testimonials */

.testimonials { max-width: 760px; margin: 0 auto; }
.testimonial-slider { position: relative; }
.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 1.6rem 1.7rem;
  border-radius: 18px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}
.testimonial-card--active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.testimonial-quote {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
}
.testimonial-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.testimonial-dot--active {
  background-color: var(--primary);
  border-color: var(--primary);
  width: 16px;
}

/* Legal pages */

.legal {
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-family: "Merriweather","Georgia",serif;
  font-size: 1.9rem;
}
.legal h2 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}
.legal p,
.legal li {
  font-size: 0.94rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0 2.4rem;
  background-color: var(--surface);
}
html[data-theme="dark"] .site-footer { background-color: #02081A; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 1.7rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-logo img {
  height: 72px;
  width: auto;
}
.footer-meta {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}
.footer-meta li { margin-bottom: 0.15rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.footer-copy {
  font-size: 0.78rem;
}
.footer-disclaimer {
  margin-top: 0.6rem;
  font-size: 0.76rem;
}

/* Reveal */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}
.reveal-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loader */

.page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 220ms ease-out, visibility 220ms ease-out;
}
.page-loader-inner {
  background-color: var(--surface);
  padding: 1.2rem 1.6rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.26);
}
.page-loader-logo {
  height: 80px;
  width: auto;
}
.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  display: none;
  z-index: 60;
}
.cookie-banner--visible { display: block; }
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  background-color: rgba(15, 23, 42, 0.97);
  color: #E5E7EB;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.cookie-text {
  flex: 1 1 220px;
  font-size: 0.8rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-btn {
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: transparent;
  color: #E5E7EB;
  cursor: pointer;
}
.cookie-btn--primary {
  background-color: #FACC15;
  color: #111827;
  border-color: #FACC15;
}

/* Responsive */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0,1fr);
    gap: 1.8rem;
  }
  .hero-visual-main { margin-top: 0.5rem; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split,
  .contact-layout,
  .footer-inner { grid-template-columns: minmax(0,1fr); }
  .footer-links { align-items: flex-start; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0.6rem 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: inherit;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1.75rem 1.1rem;
    display: none;
  }
  .nav-links--open { display: flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 3.1rem; }
  .hero-bullets { grid-template-columns: minmax(0,1fr); }
  .grid--3,
  .grid--2 { grid-template-columns: minmax(0,1fr); }
  .steps { grid-template-columns: minmax(0,1fr); }
  .footer-inner { row-gap: 1.4rem; }
  .brand-logo { height: 78px; }
}
@media (max-width: 520px) {
  .container { padding: 0 1.25rem; }
  .hero-shell { padding: 1.8rem 1.7rem; }
  .hero-visual-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cookie-banner-inner { margin-inline: 1rem; }
}
