/* ==========================================================================
   Greencons Theme — Main Stylesheet
   ========================================================================== */

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1e4a37;
  --color-secondary: #52b788;
  --color-accent: #95d5b2;
  --color-dark: #273e4e;
  --color-bg: #ffffff;
  --color-bg-alt: #f7faf8;
  --color-bg-dark: #1a2e26;
  --color-text: #1b2b23;
  --color-muted: #5a7a6a;
  --color-border: #d8ede3;

  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;

  --container: 1200px;
  --pad-inline: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);

  --transition: 200ms ease;

  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-dark);
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.section-pad {
  padding-block: var(--space-lg);
}
.text-center {
  text-align: center;
}
.mt-lg {
  margin-top: var(--space-md);
}

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.section-title {
  margin-bottom: var(--space-sm);
}
.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

/* Prose (rich text content) */
.prose {
  max-width: 72ch;
}
.prose p {
  margin-bottom: 1em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose h2,
.prose h3 {
  margin-block: 1.5em 0.5em;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose a {
  color: var(--color-primary);
  text-decoration: underline;
}
.prose strong {
  font-weight: 600;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  padding: 14px 22px;
  background-color: #00a4e7;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.btn:hover {
  color: #fff;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b2233;
  height: var(--header-h);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}
.nav-list a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-block: 0.25rem;
  position: relative;
  transition: color var(--transition);
}
.nav-list a:hover {
  color: #fff;
}
.nav-list a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-self: end;
  grid-column: 3;
}

.lang-switcher {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

/* Polylang outputs a <ul> — reset it */
.lang-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Current language — always visible, styled as the pill button */
.lang-switcher li.current-lang > a {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.9em;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.lang-switcher li.current-lang > a::after {
  content: '▾';
  font-size: 0.75em;
  margin-left: 0.1em;
}
.lang-switcher li.current-lang > a:hover,
.lang-switcher.is-open li.current-lang > a {
  background: #fff;
  color: #0b2233;
  border-color: #fff;
}

/* Flag images */
.lang-switcher img {
  width: 16px;
  height: 11px;
  display: inline-block;
  vertical-align: middle;
}

/* Other languages — dropdown */
.lang-switcher li:not(.current-lang) {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  min-width: max-content;
}
.lang-switcher.is-open li:not(.current-lang) {
  display: block;
}
.lang-switcher li:not(.current-lang) > a {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.9em;
  color: #0b2233;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.lang-switcher li:not(.current-lang) > a:hover {
  background: #f0f0f0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (full-height, video/image bg) ────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background-color: #57636f;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-dark);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 760px;
}
.hero-heading {
  font-size: 70px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  text-align: center;
}
.hero-subtext {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.6;
}

.btn-hero {
  border: 2px solid rgba(255, 255, 255, 0.65);
}

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: #0f172a;
  height: 274px;
  display: flex;
  align-items: center;
  text-align: center;
}

.page-hero-title {
  color: #fff;
  font-size: 80px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 30px;
}

.page-hero-divider {
  width: 60px;
  height: 2px;
  background: #1b9c85;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .page-hero {
    height: 180px;
  }
  .page-hero-title {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 140px;
  }
  .page-hero-title {
    font-size: 36px;
  }
}

/* ── Section header ────────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* ── News preview section ──────────────────────────────────────────────────── */
.news-preview-section {
  padding: 30px 0 40px;
  background: #fff;
}

.news-preview-title {
  text-align: center;
  padding-bottom: 32px;
  margin: 0;
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
}

.news-preview-cta {
  text-align: center;
  margin-top: 30px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.news-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
  border-radius: var(--radius);
  padding: 16px;
}

.post-card-thumb {
  display: block;
  aspect-ratio: 300/196;
  overflow: hidden;
  border-radius: 10px;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}
.post-card:hover .post-card-thumb img {
  transform: scale(1.1);
}

.post-card-body {
  background: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 30px;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  font-size: 14px;
  color: #646464;
  margin-bottom: 15px;
}

.post-card-meta a {
  color: #646464;
}

.post-card-meta i {
  margin-right: 3px;
}

.post-card-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 18px;
}

.post-card-title a {
  color: #1d643f;
  text-decoration: none;
}

.post-card-title a:hover {
  color: #0f3d22;
}

.post-card-excerpt {
  color: #0f172a;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-link {
  font-size: 14px;
  line-height: 1.8;
  color: #646464;
  text-decoration: none;
  border: 1px solid hsla(0, 0%, 80%, 0.4);
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 10px;
}

.post-card-link:hover {
  color: #1d643f;
}

/* ── Services section (home grid) ──────────────────────────────────────────── */
.services-section {
  padding-block: var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.03);
}

.service-card-body {
  padding: 1.25rem 1.5rem;
}
.service-card-title {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.service-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ── Services preview (home) ───────────────────────────────────────────────── */
.services-preview-section {
  padding: 30px 0 40px;
  background: #fff;
}

.services-preview-title.section-title {
  text-align: center;
  padding-bottom: 32px;
  margin: 0;
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-preview-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.service-preview-img {
  aspect-ratio: 300 / 250;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.service-preview-card:hover .service-preview-img img {
  transform: scale(1.05);
}

.service-preview-body {
  text-align: center;
}

.service-preview-title {
  font-size: 22px;
  font-weight: 700;
  color: #1d643f;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-preview-excerpt {
  color: #0f172a;
  margin-bottom: 20px;
  flex: 1;
}

.services-preview-cta {
  text-align: center;
  margin-top: 30px;
}

/* ── Features preview (home) ───────────────────────────────────────────────── */
.features-preview-section {
  padding: 30px 0 40px;
  background: #fff;
}

.features-preview-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-secondary);
  color: #f7da00;
  font-size: 13px;
}

.features-preview-title {
  text-align: center;
  padding-bottom: 32px;
  margin: 0;
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.feature-item {
  text-align: center;
  padding: 32px 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.feature-icon {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1d643f;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-text {
  color: #0f172a;
  margin-bottom: 20px;
  flex: 1;
}

/* ── Services full page ────────────────────────────────────────────────────── */
.services-intro-section {
  background: #edf6ee;
  padding: 60px 0;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.services-intro-item {
  text-align: center;
  padding: 0;
  border: none;
}

.services-intro-item .feature-text {
  color: #1d643f;
}

.services-intro-item .feature-icon {
  color: #1b9c85;
}

.services-intro-section .container {
  padding-inline: 0;
}

@media (max-width: 768px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
  }
}

.services-full {
  padding-block: var(--space-lg);
}
.services-full-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.services-full-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.services-full-item--reverse {
  border-left-color: var(--color-secondary);
}

.services-full-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.services-full-item--reverse .services-full-icon {
  background: var(--color-secondary);
}
.services-full-title {
  font-size: 1.375rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ── Why Choose Us ─────────────────────────────────────────────────────────── */
.why-section {
  padding-block: var(--space-lg);
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.why-item {
  background: var(--color-bg);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.why-item:hover {
  box-shadow: var(--shadow);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}
.why-title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.why-text {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ── About teaser ──────────────────────────────────────────────────────────── */
.about-teaser {
  padding-block: var(--space-lg);
}
.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-teaser-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.about-teaser-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── Stats / Counters ──────────────────────────────────────────────────────── */
.stats-section {
  overflow: hidden;
}

.stats-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stats-left {
  background: #eff6ef;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-left-title {
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.stats-left-text {
  color: #0f172a;
  margin-bottom: 32px;
  flex: 1;
  max-width: 48ch;
}

.stats-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

.stats-cta:hover {
  color: var(--color-primary-dark);
}

.stats-right {
  background: #1b9c85;
  padding: 60px 56px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-eyebrow {
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* ── About page ────────────────────────────────────────────────────────────── */
.about-main {
  background: #edf6ee;
}

.about-intro-section {
  padding: 60px 0;
}

.about-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #06140c;
  align-items: start;
}

.about-intro-title {
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
  line-height: 1.2;
}

.about-intro-text {
  color: #1d643f;
  margin-bottom: 20px;
  flex: 1;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.about-stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1d643f;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f7da00;
  line-height: 1.4;
}

.about-body-section {
  padding: 80px 0;
}

.about-body-title {
  font-size: 48px;
  color: #1d643f;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-body-text {
  color: #1d643f;
  margin-bottom: 20px;
  flex: 1;
}

@media (max-width: 768px) {
  .about-intro-row {
    grid-template-columns: 1fr;
  }
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.about-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.about-body-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ── Virtual Office ────────────────────────────────────────────────────────── */
/* ── Services cards grid ───────────────────────────────────────────────────── */
.svc-cards-section {
  padding: 60px 0;
}

.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.svc-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.svc-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 20px;
}

.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d643f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.svc-card-text {
  color: #1d643f;
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.svc-card-read-more {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1d643f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin-top: auto;
}

.svc-card-read-more:hover {
  color: var(--color-primary-dark);
}

/* ── Services modal ─────────────────────────────────────────────────────────── */
.svc-modal[hidden] {
  display: none;
}

.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.svc-modal-box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  max-width: 620px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.svc-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  color: #1d643f;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.svc-modal-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

.svc-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #1d643f;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.svc-modal-body p {
  color: #1d643f;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .svc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .svc-cards-grid {
    grid-template-columns: 1fr;
  }
}

.virtual-office-section {
  padding: 60px 0;
  background: #fff;
}

.virtual-office-title {
  font-size: 22px;
  color: #1d643f;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.virtual-office-text {
  color: #1d643f;
  margin-bottom: 20px;
}

.vo-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.vo-package {
  border: 1px solid #1d643f;
  border-radius: var(--radius);
  padding: 32px 28px;
}

.vo-package-title {
  font-size: 20px;
  font-weight: 700;
  color: #1d643f;
  margin-bottom: 20px;
}

.vo-package-features {
  list-style: disc;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vo-package-features li {
  color: #1d643f;
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .vo-packages {
    grid-template-columns: 1fr;
  }
}

/* ── Single post ───────────────────────────────────────────────────────────── */
.single-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.single-post-cat {
  background: var(--color-secondary);
  color: #fff;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.single-post-thumb {
  margin-block: var(--space-md);
}
.single-post-thumb img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}
body.single #main {
  background: #edf6ee;
  padding-block: 80px;
}

#primary {
  background: #fff;
  max-width: var(--container);
  margin-inline: auto;
  padding: 40px;
}

#primary .single-post-thumb {
  margin-top: 0;
}

.single-post p {
  margin-bottom: 1em;
}

.single-post-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #1d643f;
}

.single-post-body {
  margin-block: var(--space-md);
}
.single-post-footer {
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.post-nav {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  padding-block: 40px;
}

.post-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-nav-prev,
.post-nav-next {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
}

.post-nav-prev:hover,
.post-nav-next:hover {
  color: var(--color-primary);
}

/* ── Pagination ────────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition:
    background var(--transition),
    color var(--transition);
}
.pagination .page-numbers:hover,
.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.error-404 {
  padding-block: var(--space-xl);
  text-align: center;
}
.error-404 .page-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-accent);
}
.no-posts {
  color: var(--color-muted);
  padding-block: var(--space-lg);
  text-align: center;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0b2233;
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-sm);
}
.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-address {
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: rgb(237, 246, 238);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #edf6ee;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-heading {
    font-size: 48px;
  }
  .about-teaser-inner {
    grid-template-columns: 1fr;
  }
  .about-body-inner {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Nav lang switcher — mobile only */
.nav-lang-switcher {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Hide header lang switcher on mobile */
  .header-actions .lang-switcher {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #0b2233;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-md) var(--pad-inline);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 280ms ease;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }
  .nav-list a {
    font-size: 1.1rem;
    padding-block: 0.6rem;
    width: 100%;
    display: block;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Lang switcher at bottom of mobile nav */
  .nav-lang-switcher {
    display: block;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-lang-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-sm);
  }
  .nav-lang-switcher li a {
    display: flex;
    align-items: center;
    gap: 0.45em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3em 0;
  }
  .nav-lang-switcher li.current-lang a {
    color: #fff;
  }
  .nav-lang-switcher img {
    width: 16px;
    height: 11px;
  }

  .hero-heading {
    font-size: 36px;
  }
  .hero-content {
    padding-block: 60px;
    text-align: left;
    align-items: flex-start;
  }
  .hero-subtext {
    text-align: left;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .services-full-item {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .services-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Scroll to top ───────────────────────────────────────────────────────── */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    background-color 0.2s ease;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background-color: #1e293b;
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-columns {
    grid-template-columns: 1fr;
  }
  .stats-left,
  .stats-right {
    padding: 40px 32px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Contact page ──────────────────────────────────────────────────────────── */
.contact-hero {
  background: #0f172a;
  padding: 80px 0 100px;
}

.contact-hero-title {
  color: #fff;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-hero-divider {
  width: 50px;
  height: 2px;
  background: #1b9c85;
  margin-bottom: 48px;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  color: #eab308;
  font-size: 18px;
  width: 22px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.contact-info-value {
  font-size: 17px;
  color: #fff;
  text-decoration: none;
}

a.contact-info-value:hover {
  color: var(--color-secondary);
}

.contact-social {
  margin-top: 56px;
}

.contact-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-social-links a {
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}

.contact-social-links a:hover {
  color: var(--color-secondary);
}

.contact-map {
  width: 100%;
  height: 480px;
  display: block;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 40px;
  }
  .contact-map {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 60px 0 72px;
  }
  .contact-hero-title {
    font-size: 32px;
  }
  .contact-map {
    height: 280px;
  }
}
