﻿/* ============================================================
   Corpshore Uganda — Main Stylesheet
   corpshore.ug | Uganda's #1 BPO Company
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colours */
  --yellow:  #FCDC04;
  --red:     #CC0000;
  --black:   #050505;
  --green:   #1A5C1A;
  --ivory:   #F9F6ED;
  --grey:    #5E6472;
  --white:   #FFFFFF;
  --border:  #E6E0D2;

  /* Radii */
  --radius-card: 8px;
  --radius-btn:  4px;

  /* Layout */
  --max-width:   1280px;
  --gutter:      28px;
  --section-pad: 140px;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  /* Motion */
  --transition: 0.25s ease;

  /* Shadows */
  --shadow-card:     0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.14);
}

/* ============================================================
   2. BASE RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-serif);
  font-size: 66px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

h6 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

small {
  font-size: 13px;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section-alt {
  background-color: var(--ivory);
}

.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.75);
}

.section-green {
  background-color: var(--green);
  color: var(--white);
}

.section-green p,
.section-green li {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   5. GRID UTILITIES
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

/* ============================================================
   6. FLAG STRIPE
   ============================================================ */
.flag-stripe {
  height: 12px;
  background: linear-gradient(
    to bottom,
    var(--black)  0%      33.33%,
    var(--yellow) 33.33%  66.66%,
    var(--red)    66.66%  100%
  );
  flex-shrink: 0;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background-color: #164e16;
  border-color: #164e16;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background-color: var(--green);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--ivory);
  border-color: var(--ivory);
  color: var(--green);
}

.btn-yellow {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background-color: #e8c900;
  border-color: #e8c900;
  color: var(--black);
}

.btn-sm {
  font-size: 13px;
  padding: 10px 20px;
}

.btn-lg {
  font-size: 15px;
  padding: 18px 36px;
}

/* ============================================================
   8. SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  background-color: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* ============================================================
   9. NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

.nav-container {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  border-radius: var(--radius-btn);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
  background-color: var(--ivory);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   10. HERO
   ============================================================ */
.hero {
  padding: 120px 0;
  background-color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--yellow);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 66px;
  font-weight: 700;
  line-height: 1.02;
  max-width: 820px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.65;
  color: var(--grey);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ranking {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
}

.hero-ranking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 3px;
}

/* ============================================================
   11. TRUST BAR
   ============================================================ */
.trust-bar {
  background-color: var(--black);
  padding: 28px 0;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.trust-item-icon {
  font-size: 20px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* ============================================================
   12. STATS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.stat-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  line-height: 1.4;
}

/* ============================================================
   13. CARDS
   ============================================================ */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.card-body {
  padding: 28px;
}

.card-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--ivory);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   14. BLOG CARDS
   ============================================================ */
.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-meta time {
  display: inline;
}

.blog-meta .separator {
  opacity: 0.4;
}

/* ============================================================
   15. JOB CARDS
   ============================================================ */
.job-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.job-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-meta span {
  font-size: 13px;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-salary {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}

.job-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ============================================================
   16. CASE STUDY CARDS
   ============================================================ */
.cs-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.cs-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.cs-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cs-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-metric {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.cs-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  background-color: var(--yellow);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* ============================================================
   17. TABS
   ============================================================ */
.tabs {
  width: 100%;
}

.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--grey);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn[aria-selected="true"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* ============================================================
   18. CALCULATOR
   ============================================================ */
#calculator {
  background-color: var(--black);
  color: var(--white);
  padding: 56px;
  border-radius: 12px;
}

#calculator h2,
#calculator h3 {
  color: var(--white);
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.calc-input,
.calc-select {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.calc-input:focus,
.calc-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(252, 220, 4, 0.2);
}

.calc-select option {
  background-color: #1a1a1a;
  color: var(--white);
}

.calc-results {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
}

.calc-result-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.saving-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.calc-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   19. CAROUSEL / TESTIMONIALS
   ============================================================ */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-item {
  flex: 0 0 100%;
  padding: 48px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.carousel-quote {
  font-size: 20px;
  line-height: 1.7;
  font-style: italic;
  color: var(--black);
  margin-bottom: 28px;
  position: relative;
  padding-left: 24px;
}

.carousel-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--yellow);
  line-height: 1;
}

.carousel-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-author-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

.carousel-author-role {
  font-size: 13px;
  color: var(--grey);
  display: block;
}

.carousel-controls {
  margin-top: 28px;
}

.carousel-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--black);
  font-size: 18px;
  cursor: pointer;
  transition: background-color var(--transition),
              border-color var(--transition),
              color var(--transition);
}

.carousel-arrow:hover {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition), border-color var(--transition);
}

.carousel-dot.active,
.carousel-dot:hover {
  background-color: var(--green);
  border-color: var(--green);
}

/* ============================================================
   20. FAQ / ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--green);
  border-left: 4px solid var(--yellow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green);
  transition: transform var(--transition);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding var(--transition);
}

.faq-answer p {
  font-size: 15px;
  color: var(--grey);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

/* ============================================================
   21. FORMS
   ============================================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--black);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-control::placeholder {
  color: var(--grey);
  opacity: 0.6;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 92, 26, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--ivory);
  border-radius: var(--radius-btn);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
  margin-top: 2px;
}

.form-check label {
  font-size: 14px;
  color: var(--grey);
  cursor: pointer;
  line-height: 1.6;
}

.form-error {
  display: block;
  font-size: 13px;
  color: var(--red);
  margin-top: 6px;
}

.form-hint {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-top: 6px;
}

/* ============================================================
   22. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
  z-index: 1;
}

.timeline-year {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 6px;
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 0;
}

/* ============================================================
   23. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header p {
  color: var(--grey);
  font-size: 17px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}

/* ============================================================
   24. COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border);
  text-align: left;
  background-color: var(--ivory);
}

.compare-table th.highlight {
  background-color: var(--green);
  color: var(--white);
  border-radius: 8px 8px 0 0;
  border-bottom-color: var(--green);
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: middle;
}

.compare-table td.highlight {
  background-color: rgba(26, 92, 26, 0.06);
  font-weight: 600;
  color: var(--green);
}

.compare-table tbody tr:hover td {
  background-color: var(--ivory);
}

.compare-table tbody tr:hover td.highlight {
  background-color: rgba(26, 92, 26, 0.10);
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

.cross {
  color: var(--grey);
  opacity: 0.4;
  font-size: 16px;
}

/* ============================================================
   25. INDUSTRY SELECTOR
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.industry-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
  text-align: center;
}

.industry-btn:hover,
.industry-btn.active {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: var(--shadow-card);
}

.industry-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.industry-content {
  display: none;
}

.industry-content.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  animation: fadeIn 0.25s ease;
}

/* ============================================================
   26. COOKIE CONSENT
   ============================================================ */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--black);
  color: var(--white);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

#cookie-consent.visible {
  transform: translateY(0);
}

#cookie-consent p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   27. PAGE HEADER (INNER PAGES)
   ============================================================ */
.page-header {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 72px;
}

.page-header .hero-eyebrow {
  color: var(--yellow);
}

.page-header .hero-eyebrow::before {
  background-color: var(--yellow);
}

.page-header h1 {
  font-size: 52px;
  margin-bottom: 16px;
  color: var(--white);
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 0;
}

/* ============================================================
   28. FOOTER
   ============================================================ */
.site-footer {
  background-color: #0D0D0D;
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 2.2;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: 0;
}

.footer-heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: background-color var(--transition), color var(--transition);
  line-height: 1;
}

.footer-social a:hover {
  background-color: var(--green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ============================================================
   29. VALUES GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  background-color: var(--ivory);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.value-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
  display: block;
}

.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 0;
}

/* ============================================================
   30. COMPLIANCE
   ============================================================ */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compliance-card {
  padding: 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.compliance-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.compliance-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background-color: var(--green);
  color: var(--white);
  border-radius: 3px;
  margin-bottom: 12px;
}

.compliance-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.compliance-card p {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 0;
}

/* ============================================================
   31. LEGAL CONTENT
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.legal-content h3 {
  font-size: 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--green);
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
}

/* ============================================================
   32. LANGUAGE HERO
   ============================================================ */
.lang-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--black) 0%, #0D2B0D 100%);
  position: relative;
  overflow: hidden;
}

.lang-hero .hero-eyebrow {
  color: var(--yellow);
}

.lang-hero .hero-eyebrow::before {
  background-color: var(--yellow);
}

.lang-hero .hero-title {
  color: var(--white);
}

.lang-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   33. MAP
   ============================================================ */
.map-wrapper {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
}

.map-wrapper img {
  width: 100%;
  height: auto;
}

.map-popup {
  position: absolute;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  min-width: 180px;
  font-size: 14px;
  box-shadow: var(--shadow-elevated);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateY(4px);
  z-index: 10;
}

.map-popup.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-popup strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.map-popup p {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 0;
}

/* ============================================================
   34. CONTACT PANEL
   ============================================================ */
.contact-panel {
  padding: 40px;
  background-color: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}

.contact-panel h3 {
  color: var(--green);
  margin-bottom: 12px;
}

.contact-panel p {
  font-size: 15px;
  color: var(--grey);
}

.contact-panel .btn {
  margin-top: 16px;
}

/* ============================================================
   35. CRANE MOTIF (DECORATIVE)
   ============================================================ */
.crane-motif {
  text-align: center;
  padding: 48px 0;
}

.crane-motif svg {
  opacity: 0.12;
  fill: var(--grey);
  max-width: 120px;
  height: auto;
  margin-inline: auto;
}

/* ============================================================
   36. ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   37. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--grey);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  opacity: 0.4;
  font-size: 12px;
}

.breadcrumb span[aria-current="page"] {
  color: var(--black);
  font-weight: 600;
}

/* ============================================================
   38. SERVICE ICON HERO
   ============================================================ */
.service-icon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--green);
  border-radius: 12px;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* ============================================================
   39. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-green  { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-grey   { color: var(--grey); }
.text-white  { color: var(--white); }
.text-red    { color: var(--red); }

.bg-green    { background-color: var(--green); }
.bg-yellow   { background-color: var(--yellow); }
.bg-black    { background-color: var(--black); }
.bg-ivory    { background-color: var(--ivory); }
.bg-white    { background-color: var(--white); }

.font-serif  { font-family: var(--font-serif); }
.font-mono   { font-family: var(--font-mono); }

.fw-400      { font-weight: 400; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }

.d-flex      { display: flex; }
.d-grid      { display: grid; }
.d-block     { display: block; }
.d-none      { display: none; }

.align-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.flex-wrap      { flex-wrap: wrap; }
.flex-col       { flex-direction: column; }

.gap-8    { gap: 8px; }
.gap-12   { gap: 12px; }
.gap-16   { gap: 16px; }
.gap-24   { gap: 24px; }
.gap-32   { gap: 32px; }
.gap-48   { gap: 48px; }

.mt-auto  { margin-top: auto; }
.mb-0     { margin-bottom: 0; }
.mb-8     { margin-bottom: 8px; }
.mb-12    { margin-bottom: 12px; }
.mb-16    { margin-bottom: 16px; }
.mb-24    { margin-bottom: 24px; }
.mb-32    { margin-bottom: 32px; }
.mb-40    { margin-bottom: 40px; }
.mb-48    { margin-bottom: 48px; }
.mb-56    { margin-bottom: 56px; }

.mt-8     { margin-top: 8px; }
.mt-12    { margin-top: 12px; }
.mt-16    { margin-top: 16px; }
.mt-24    { margin-top: 24px; }
.mt-32    { margin-top: 32px; }
.mt-40    { margin-top: 40px; }
.mt-48    { margin-top: 48px; }

.w-100    { width: 100%; }
.mw-640   { max-width: 640px; }
.mw-820   { max-width: 820px; }

.rounded  { border-radius: var(--radius-card); }
.border   { border: 1px solid var(--border); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   40. DIVIDER
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 48px;
}

.divider-yellow {
  border-top-color: var(--yellow);
  border-top-width: 3px;
  width: 48px;
  margin-inline: 0;
  margin-block: 24px;
}

/* ============================================================
   41. BADGE / PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  line-height: 1;
}

.badge-green  { background-color: rgba(26, 92, 26, 0.1); color: var(--green); }
.badge-yellow { background-color: rgba(252, 220, 4, 0.2); color: #8a7000; }
.badge-red    { background-color: rgba(204, 0, 0, 0.1);   color: var(--red); }
.badge-grey   { background-color: var(--ivory); color: var(--grey); }

/* ============================================================
   42. ALERT / NOTICE
   ============================================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  border-left: 4px solid;
  margin-bottom: 16px;
}

.alert-info    { background-color: rgba(26, 92, 26, 0.06);  border-color: var(--green); color: var(--green); }
.alert-warning { background-color: rgba(252, 220, 4, 0.12); border-color: var(--yellow); color: #7a6600; }
.alert-error   { background-color: rgba(204, 0, 0, 0.06);   border-color: var(--red); color: var(--red); }

/* ============================================================
   43. LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--ivory) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-btn);
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   44. PRINT
   ============================================================ */
@media print {
  .site-nav,
  .site-footer,
  #cookie-consent,
  .btn,
  .nav-actions {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; }

  .container {
    max-width: 100%;
    padding-inline: 0;
  }

  .section {
    padding-block: 24pt;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    color: #444;
  }
}

/* ============================================================
   SVG ICON HELPERS
   ============================================================ */

/* --- Tab nav button icons --- */
.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tab-icon svg {
  width: 18px;
  height: 18px;
  color: inherit;
}

/* --- Large icon in tab panel header --- */
.tab-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.tab-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--green);
  border-radius: 12px;
  color: var(--white);
}

.tab-panel-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

.tab-panel-lead {
  font-size: 17px;
  color: var(--grey);
  margin-top: 6px;
  line-height: 1.6;
}

/* --- Industry button icons (SVG replaces emoji) --- */
.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  color: var(--green);
}

.industry-btn[aria-selected="true"] .industry-icon,
.industry-btn:hover .industry-icon {
  color: var(--white);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

/* --- Large icon in industry panel header --- */
.industry-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  grid-column: 1 / -1;
}

.industry-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--green);
  border-radius: 12px;
  color: var(--white);
}

.industry-panel-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}
