/*
Theme Name: Montis Silva
Theme URI: https://www.montissilva.com
Author: Montis Silva by Richard L.A. Marohn
Author URI: https://www.montissilva.com
Description: Premium WordPress theme for Montis Silva - The Trusted Bridge between European Capital and LATAM South Real Assets. Swiss minimalist design with responsive layouts for advisory services across Mining, Renewables, Infrastructure, and Agriculture in Peru, Chile, Colombia, and Argentina.
Version: 4.5.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: montis-silva
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, blog
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Brand Tokens)
   ============================================================ */
:root {
  /* Primary Brand */
  --ms-green:        #015712;
  --ms-green-dark:   #013d0d;
  --ms-green-light:  #027a1a;
  --ms-red:          #E64244;
  --ms-gold:         #F4D850;
  --ms-blue:         #01ABDF;
  --ms-text:         #273727;

  /* Design System Colors */
  --ms-forest:       #2C5F2D;
  --ms-mountain-red: #C1403D;
  --ms-sky-blue:     #4A9ECA;
  --ms-earth-yellow: #E8B627;

  /* Neutrals */
  --ms-charcoal:     #333333;
  --ms-gray:         #666666;
  --ms-gray-light:   #999999;
  --ms-bg-light:     #F5F5F5;
  --ms-bg-cream:     #FAFAF8;
  --ms-border:       #E0E0E0;
  --ms-white:        #FFFFFF;

  /* Accents */
  --ms-success:      #4CAF50;
  --ms-warning:      #FF9800;
  --ms-info:         #2196F3;

  /* Typography */
  --font-heading:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:       'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 48px;
  --sp-xl: 72px;

  /* Layout */
  --max-width:       1200px;
  --header-height:   100px;
  --border-radius:   8px;
  --shadow:          0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover:    0 4px 20px rgba(0,0,0,0.12);
  --transition:      all 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ms-charcoal);
  background-color: var(--ms-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--ms-green);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--ms-green-light); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--ms-charcoal);
  font-weight: 700;
}

h1 { font-size: 2.75rem; margin-bottom: var(--sp-md); }
h2 { font-size: 2.25rem; margin-bottom: var(--sp-md); font-weight: 600; }
h3 { font-size: 1.75rem; margin-bottom: var(--sp-sm); font-weight: 600; color: var(--ms-green); }
h4 { font-size: 1.375rem; margin-bottom: var(--sp-sm); font-weight: 500; }
h5 { font-size: 1.125rem; margin-bottom: var(--sp-xs); font-weight: 600; }
h6 { font-size: 1rem;     margin-bottom: var(--sp-xs); font-weight: 600; }

p { margin-bottom: var(--sp-sm); }

.lead { font-size: 1.25rem; line-height: 1.7; color: var(--ms-gray); }

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ms-sky-blue);
  border-left: 4px solid var(--ms-green);
  padding: var(--sp-sm) var(--sp-md);
  margin: var(--sp-md) 0;
  background: var(--ms-bg-light);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-xl) 0;
}

.section--gray  { background-color: var(--ms-bg-light); }
.section--cream { background-color: var(--ms-bg-cream); }
.section--green { background-color: var(--ms-green); color: var(--ms-white); }
.section--green h2, .section--green h3, .section--green h4 { color: var(--ms-white); }
.section--green p { color: rgba(255,255,255,0.9); }

.text-center { text-align: center; }
.text-white  { color: var(--ms-white); }

.grid { display: grid; gap: var(--sp-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background: var(--ms-green);
  color: var(--ms-white);
  border-color: var(--ms-green);
}
.btn--primary:hover {
  background: var(--ms-green-dark);
  border-color: var(--ms-green-dark);
  color: var(--ms-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

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

.btn--white {
  background: var(--ms-white);
  color: var(--ms-green);
  border-color: var(--ms-white);
}
.btn--white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--ms-green-dark);
}

.btn--sm { padding: 10px 24px; font-size: 0.875rem; }
.btn--lg { padding: 18px 40px; font-size: 1.125rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ms-white);
  height: var(--header-height);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom-color: var(--ms-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.site-logo img {
  width: 240px;
  height: auto;
  padding: 20px;
}

.main-nav { display: flex; align-items: center; gap: var(--sp-md); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ms-charcoal);
  padding: 8px 14px;
  border-radius: 4px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--ms-green);
  background: rgba(1,87,18,0.06);
}

.header-cta .btn { padding: 10px 24px; font-size: 0.875rem; }

.lang-switch {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ms-gray);
  margin-left: var(--sp-sm);
}
.lang-switch .active { color: var(--ms-green); }
.lang-switch span { padding: 0 4px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ms-charcoal);
  margin: 5px auto;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ms-white);
  z-index: 999;
  padding-top: calc(var(--header-height) + var(--sp-lg));
  overflow-y: auto;
}

.mobile-menu-overlay.active { display: block; }

.mobile-menu-overlay ul {
  padding: 0 var(--sp-md);
}

.mobile-menu-overlay li {
  border-bottom: 1px solid var(--ms-border);
}

.mobile-menu-overlay a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ms-charcoal);
  padding: var(--sp-sm) 0;
}

.mobile-menu-overlay .btn {
  display: block;
  margin: var(--sp-md);
  text-align: center;
}

/* ============================================================
   HERO SECTIONS v4.3 — Image-based Heroes
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-height) + var(--sp-xl)) 0 var(--sp-xl);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(1,87,18,0.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 var(--sp-md);
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-sm);
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.45);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto;
}

.hero--home {
  min-height: 80vh;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  justify-content: center;
}

.hero__actions .btn--primary {
  background: var(--ms-green);
  border-color: var(--ms-green);
}
.hero__actions .btn--primary:hover {
  background: var(--ms-green-light);
  border-color: var(--ms-green-light);
}
.hero__actions .btn--secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.hero__actions .btn--secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* Legacy hero class compat */
.hero--green {
  background: linear-gradient(135deg, var(--ms-green) 0%, var(--ms-green-dark) 100%);
  color: var(--ms-white);
}
.hero--green h1, .hero--green h2, .hero--green p { color: var(--ms-white); }
.hero--green .lead { color: rgba(255,255,255,0.85); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: var(--sp-sm);
}

.hero__content .lead {
  margin-bottom: var(--sp-md);
}

.hero--split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--border-radius);
  padding: var(--sp-md);
  transition: var(--transition);
}

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

.card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-sm);
  display: block;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ms-charcoal);
  margin-bottom: var(--sp-xs);
}

.card__text {
  color: var(--ms-gray);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-sm);
}

.card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ms-green);
}
.card__link:hover { color: var(--ms-green-dark); }

/* Sector Card — Image-backed v4.3 */
.card--sector {
  position: relative;
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  overflow: hidden;
  border: none;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card--sector::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(1,87,18,0.78) 100%);
  transition: background 0.35s ease;
  z-index: 1;
}
.card--sector:hover::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(1,87,18,0.65) 100%);
}
.card--sector:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.card--sector > * {
  position: relative;
  z-index: 2;
}
.card--sector .card__icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.card--sector .card__title {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  font-size: 1.35rem;
}
.card--sector .card__text {
  color: rgba(255,255,255,0.92);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  font-size: 0.9rem;
}
.card--sector .card__link {
  color: var(--ms-gold);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  font-weight: 700;
}
.card--sector .card__link:hover { color: #fff; }

/* Country Card */
.card--country {
  position: relative;
  overflow: hidden;
}
.card--country .card__flag {
  font-size: 2rem;
  margin-bottom: var(--sp-xs);
}
.card--country .card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: var(--sp-sm);
}
.card--country .badge--oecd {
  background: rgba(76,175,80,0.12);
  color: var(--ms-success);
}
.card--country .badge--emerging {
  background: rgba(232,182,39,0.15);
  color: var(--ms-earth-yellow);
}

/* Service Card */
.card--service {
  border-left: 4px solid var(--ms-green);
  padding: var(--sp-lg);
}
.card--service .service-meta {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-sm);
  font-size: 0.875rem;
  color: var(--ms-gray);
}
.card--service .service-meta strong {
  color: var(--ms-green);
}

/* Insight Card */
.card--insight {
  display: flex;
  flex-direction: column;
}
.card--insight .card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-sm);
  font-size: 0.8125rem;
}
.card--insight .card__date { color: var(--ms-gray); }
.card--insight .card__tag {
  display: inline-block;
  background: rgba(1,87,18,0.08);
  color: var(--ms-green);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   SECTION: THE GAP
   ============================================================ */
.gap-section { position: relative; }

.gap-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-md);
  align-items: start;
}

.gap-column ul li {
  padding: 8px 0;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg) var(--sp-md);
}

.gap-divider__content {
  text-align: center;
  background: var(--ms-green);
  color: var(--ms-white);
  padding: var(--sp-md);
  border-radius: var(--border-radius);
  min-width: 160px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-md);
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ms-green);
  display: block;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--ms-gray);
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  max-width: 700px;
  margin: 0 auto var(--sp-lg);
  text-align: center;
}

.section-header p { color: var(--ms-gray); }

/* ============================================================
   TWO COLUMNS (Mission/Vision, What We Do/Don't)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.two-col--center { align-items: center; }

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.founder__photo {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.founder__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.founder__name {
  font-size: 1.75rem;
  color: var(--ms-charcoal);
  margin-bottom: 4px;
}

.founder__title {
  font-size: 1.125rem;
  color: var(--ms-green);
  font-weight: 500;
  margin-bottom: var(--sp-md);
}

.founder__credentials {
  margin-bottom: var(--sp-md);
}

.founder__credentials li {
  padding: 4px 0;
  font-size: 0.9375rem;
  color: var(--ms-gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

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

.value-card {
  padding: var(--sp-md);
  border-radius: var(--border-radius);
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  text-align: center;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-sm);
  display: block;
}

.value-card h4 { margin-bottom: var(--sp-xs); }
.value-card p { font-size: 0.9375rem; color: var(--ms-gray); margin-bottom: 0; }

/* ============================================================
   USPS LIST
   ============================================================ */
.usps-list { counter-reset: usp; }
.usps-list li {
  display: flex;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--ms-border);
  align-items: flex-start;
}
.usps-list li:last-child { border-bottom: none; }
.usps-list .usp-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ms-green);
  color: var(--ms-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   TIMELINE / APPROACH STEPS
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-md);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--ms-border);
}

.timeline__step {
  text-align: center;
  position: relative;
}

.timeline__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ms-green);
  color: var(--ms-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-sm);
  position: relative;
  z-index: 1;
}

.timeline__step h5 { font-size: 0.9375rem; margin-bottom: 4px; }
.timeline__step p  { font-size: 0.8125rem; color: var(--ms-gray); }

/* ============================================================
   SERVICE LADDER
   ============================================================ */
.service-ladder .card--service + .card--service {
  margin-top: var(--sp-md);
}

.service-ladder .service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ms-green);
  color: var(--ms-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  margin-right: var(--sp-xs);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table thead th {
  background: var(--ms-green);
  color: var(--ms-white);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.comparison-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ms-border);
  vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) { background: var(--ms-bg-light); }
.comparison-table tbody tr:hover { background: rgba(1,87,18,0.04); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-xl);
  align-items: start;
}

.form-group {
  margin-bottom: var(--sp-sm);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--ms-charcoal);
}

.form-group .required { color: var(--ms-red); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ms-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ms-charcoal);
  transition: var(--transition);
  background: var(--ms-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--ms-sky-blue);
  box-shadow: 0 0 0 3px rgba(74,158,202,0.15);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: var(--sp-sm);
}

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

.form-check label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ms-gray);
}

.form-message {
  padding: var(--sp-sm);
  border-radius: 4px;
  margin-bottom: var(--sp-sm);
  display: none;
}
.form-message--success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-message--error   { background: #fce4ec; color: #c62828; display: block; }

/* Contact Info Card */
.contact-card {
  background: var(--ms-bg-light);
  border-radius: var(--border-radius);
  padding: var(--sp-lg);
}

.contact-card h4 { margin-top: var(--sp-md); }
.contact-card h4:first-child { margin-top: 0; }

.contact-card p { color: var(--ms-gray); font-size: 0.9375rem; }

.contact-card a {
  font-weight: 600;
}

/* Consultation Steps */
.consultation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  text-align: center;
}

.consultation-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ms-green);
  color: var(--ms-white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-sm);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: var(--sp-xl) 0;
}

.cta-section h2 { margin-bottom: var(--sp-sm); }
.cta-section p  { max-width: 600px; margin: 0 auto var(--sp-md); color: var(--ms-gray); }

/* ============================================================
   COUNTRY DEEP DIVE (WHY LATAM)
   ============================================================ */
.country-section {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--ms-border);
}
.country-section:last-child { border-bottom: none; }

.country-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.country-header .flag { font-size: 2.5rem; }

.country-header .country-meta {
  font-size: 0.875rem;
  color: var(--ms-gray);
}

.country-sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.country-sector h5 {
  color: var(--ms-green);
  margin-bottom: var(--sp-xs);
}

.country-sector ul li {
  padding: 3px 0;
  font-size: 0.9375rem;
  color: var(--ms-gray);
}

/* ============================================================
   MARKET DRIVERS GRID
   ============================================================ */
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}

.driver-item {
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
  padding: var(--sp-sm);
  border-radius: var(--border-radius);
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
}

.driver-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.driver-item strong { display: block; margin-bottom: 2px; }
.driver-item span  { font-size: 0.875rem; color: var(--ms-gray); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ms-charcoal);
  color: var(--ms-white);
  padding: var(--sp-md);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.active { display: block; }

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9375rem;
  min-width: 300px;
}

.cookie-banner__text a { color: var(--ms-gold); }

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

.cookie-banner .btn--cookie {
  padding: 8px 20px;
  font-size: 0.8125rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
}

.cookie-banner .btn--accept {
  background: var(--ms-green);
  color: var(--ms-white);
}

.cookie-banner .btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--ms-white);
}

.cookie-banner .btn--settings-legacy {
  background: transparent;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ms-green);
  color: var(--ms-white);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-top: var(--sp-sm);
}

.footer-brand img {
  height: 56px;
  filter: brightness(0) invert(1);
}

.footer-col h5 {
  color: var(--ms-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-sm);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--ms-white); }

.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.footer-contact a {
  color: rgba(255,255,255,0.85);
}
.footer-contact a:hover { color: var(--ms-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  margin-left: var(--sp-sm);
}
.footer-legal a:hover { color: var(--ms-white); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--sp-lg)) var(--sp-md) var(--sp-xl);
}

.legal-content h1 { margin-bottom: var(--sp-md); }
.legal-content h2 { font-size: 1.5rem; margin-top: var(--sp-lg); margin-bottom: var(--sp-sm); }
.legal-content h3 { font-size: 1.25rem; margin-top: var(--sp-md); margin-bottom: var(--sp-xs); }
.legal-content ul, .legal-content ol {
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.legal-content ul li, .legal-content ol li {
  padding: 4px 0;
  list-style: disc;
  color: var(--ms-gray);
}
.legal-content ol li { list-style: decimal; }

/* ============================================================
   BLOG / INSIGHTS LIST
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

/* ============================================================
   HONEYPOT (anti-spam)
   ============================================================ */
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }

  .hero-content h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero__content h1 { font-size: 2.5rem; }
  .hero--split .container { grid-template-columns: 1fr; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .consultation-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gap-columns { grid-template-columns: 1fr; }
  .gap-divider { padding: var(--sp-sm); }
}

@media (max-width: 768px) {
  :root {
    --sp-xl: 48px;
    --sp-lg: 32px;
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .hero { min-height: 40vh; padding-top: calc(var(--header-height) + var(--sp-lg)); }
  .hero-content h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero__content h1 { font-size: 2rem; }
  .sector-hero { min-height: 40vh; }
  .sector-hero h1 { font-size: 2rem; }
  .card--sector { min-height: 240px; }

  /* Mobile nav */
  .main-nav { display: none; }
  .header-cta { display: none; }
  .lang-switch { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 280px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .consultation-steps { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-xs); text-align: center; }
  .country-sectors { grid-template-columns: 1fr; }
  .drivers-grid { grid-template-columns: 1fr; }

  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.625rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero__content h1 { font-size: 1.625rem; }
  .btn { padding: 12px 24px; font-size: 0.9375rem; }
  .stat-item__number { font-size: 1.5rem; }
  .card--sector { min-height: 200px; }
  .sector-hero h1 { font-size: 1.6rem; }
}

/* ============================================================
   PRINT
   ============================================================ */


/* ============================================================
   INSIGHTS PAGE - InvestInvent Style v4.0
   ============================================================ */
.insights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: var(--sp-xl) 0;
}

.insight-card {
  width: calc(33.333% - 27px);
  position: relative;
  overflow: hidden;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 20px;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-link:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.card-link:hover .card-overlay {
  opacity: 1;
}

.card-overlay-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.card-date {
  color: var(--ms-green);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ms-text);
  margin-bottom: 12px;
}

.card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ms-gray);
  margin-bottom: 12px;
}

.card-read-more {
  color: var(--ms-green);
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s ease;
}

.card-link:hover .card-read-more {
  color: var(--ms-red);
}

.insights-no-posts {
  text-align: center;
  padding: var(--sp-xl);
  color: var(--ms-gray);
}

.insights-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-lg);
}

.insights-pagination .page-numbers {
  padding: 8px 16px;
  border: 1px solid var(--ms-border);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--ms-text);
  transition: all 0.3s ease;
}

.insights-pagination .page-numbers.current,
.insights-pagination .page-numbers:hover {
  background: var(--ms-green);
  color: #fff;
  border-color: var(--ms-green);
}

/* ============================================================
   SECTOR PAGES v4.3 — Image-based Sector Heroes
   ============================================================ */
.sector-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: calc(var(--header-height) + var(--sp-xl)) 0 var(--sp-xl);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sector-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(1,87,18,0.75) 100%);
  z-index: 1;
}
.sector-hero .container {
  position: relative;
  z-index: 2;
}

.sector-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: var(--sp-xs);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.45);
}

.sector-hero .lead {
  color: rgba(255,255,255,0.95);
  font-size: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.35);
  max-width: 800px;
}

.sector-overview {
  padding: var(--sp-xl) 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.country-sector-section {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--ms-border);
}

.country-sector-section:last-of-type {
  border-bottom: none;
}

.country-sector-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: var(--sp-sm);
}

.country-flag {
  font-size: 1.8rem;
}

.sector-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: var(--sp-sm) 0;
}

.sector-stat {
  background: rgba(1,87,18,0.04);
  border-left: 3px solid var(--ms-green);
  padding: 12px 16px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 0.9rem;
  flex: 1 1 200px;
}

.sector-stat strong {
  display: block;
  color: var(--ms-green);
  font-size: 1.1rem;
}

.investment-opportunities {
  background: var(--ms-bg-alt);
  padding: var(--sp-lg) 0;
}

.external-resources {
  padding: var(--sp-lg) 0;
}

.external-resources ul {
  list-style: none;
  padding: 0;
}

.external-resources li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ms-border);
}

.external-resources li:last-child {
  border-bottom: none;
}

.external-resources a {
  color: var(--ms-green);
  font-weight: 500;
}

.external-resources a:hover {
  color: var(--ms-red);
}

.source-note {
  font-size: 0.85rem;
  color: var(--ms-gray);
  font-style: italic;
}

/* Responsive Insights */
@media (max-width: 1199px) {
  .insight-card {
    width: calc(50% - 20px);
  }
  .insights-grid {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .insight-card {
    width: 100%;
  }
  .insights-grid {
    gap: 24px;
  }
  .card-title {
    font-size: 20px;
  }
  .sector-hero h1 {
    font-size: 1.8rem;
  }
  .sector-stats {
    flex-direction: column;
  }
}

/* ============================================================
   BILATERAL FRAMEWORKS TABLES v4.1
   ============================================================ */
.bilateral-table-wrap {
  overflow-x: auto;
  margin: var(--sp-md) 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.bilateral-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.6;
  background: var(--ms-white);
}

.bilateral-table thead th {
  background: var(--ms-green-dark);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bilateral-table thead th:first-child { border-radius: var(--border-radius) 0 0 0; }
.bilateral-table thead th:last-child { border-radius: 0 var(--border-radius) 0 0; }

.bilateral-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ms-border);
  vertical-align: top;
}

.bilateral-table tbody tr:last-child td { border-bottom: none; }
.bilateral-table tbody tr:nth-child(even) { background: #f8faf8; }
.bilateral-table tbody tr:hover { background: rgba(1,87,18,0.04); }

.bilateral-table td:first-child {
  white-space: nowrap;
  min-width: 180px;
  font-weight: 600;
}

.bilateral-table td:nth-child(2) { min-width: 220px; }
.bilateral-table td:last-child { min-width: 280px; }

.status-active {
  color: var(--ms-green);
  font-weight: 700;
}

.status-pending {
  color: var(--ms-gold-dark, #c9a800);
  font-weight: 700;
}

.bilateral-source {
  font-size: 0.8125rem;
  color: var(--ms-gray);
  margin-top: var(--sp-sm);
}

.bilateral-source a {
  color: var(--ms-green);
  text-decoration: underline;
}

.bilateral-note {
  background: #f8faf8;
  border-left: 4px solid var(--ms-green);
  padding: 12px 18px;
  margin-top: var(--sp-sm);
  font-size: 0.9375rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

@media (max-width: 768px) {
  .bilateral-table td:first-child { white-space: normal; min-width: 120px; }
  .bilateral-table thead th,
  .bilateral-table tbody td { padding: 10px 12px; font-size: 0.8125rem; }
}

/* ============================================================
   SECTOR ICON IMAGE (replaces emoji icons) — v4.3
   ============================================================ */
.card__icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto var(--sp-sm);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: transform 0.3s ease;
}
.card--sector:hover .card__icon-img {
  transform: scale(1.1);
}

/* Make sector cards clickable as links */
a.card--sector {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* ============================================================
   SWISS-LATAM INTRO LAYOUT — v4.3
   ============================================================ */
.swiss-latam-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.swiss-latam-intro--reverse {
  direction: ltr;
}
.swiss-latam-intro--reverse .swiss-latam-intro__graphic {
  order: -1;
}
.swiss-latam-intro__text {
  font-size: 1.05rem;
  line-height: 1.75;
}
.swiss-latam-intro__text p:last-child {
  margin-bottom: 0;
}
.swiss-latam-intro__graphic {
  text-align: center;
}
.swiss-latam-intro__graphic img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  transition: transform 0.4s ease;
}
.swiss-latam-intro__graphic img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .swiss-latam-intro {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  .swiss-latam-intro--reverse .swiss-latam-intro__graphic {
    order: 0;
  }
  .swiss-latam-intro__graphic img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ============================================================
   COUNTRY-SECTOR CARDS — v4.3
   ============================================================ */
.card--country-sector {
  border-left: 4px solid var(--ms-green);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.card--country-sector:hover {
  border-left-color: var(--ms-green-light);
  box-shadow: var(--shadow-hover);
}
.card--country-sector__header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.card--country-sector__header h4 {
  margin-bottom: 0;
  color: var(--ms-green);
}
.sector-icon-sm {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   HOMEPAGE SECTOR CARDS — v4.4 (no icons, flexbox aligned)
   ============================================================ */
.sector-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

.sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

.sector-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(1,87,18,0.80) 100%);
  transition: background 0.35s ease;
  z-index: 1;
}

.sector-card:hover .sector-card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(1,87,18,0.65) 100%);
}

.sector-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  justify-content: flex-end;
}

.sector-card h3 {
  min-height: 60px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.35rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sector-card-description {
  flex-grow: 1;
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.btn--sector-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--ms-gold);
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s ease;
}

.sector-card:hover .btn--sector-link {
  color: #fff;
}

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

@media (max-width: 768px) {
  .sector-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sector-card {
    min-height: 260px;
  }
  .sector-card h3 {
    min-height: auto;
  }
}

/* ============================================================
   INSIGHTS PAGE SPACING — v4.4 (reduced gap)
   ============================================================ */
.page-template-page-insights .hero {
  margin-bottom: 0;
}

.insights-grid-container {
  padding-top: 40px;
  padding-bottom: 80px;
}

.insights-grid-container .insights-grid {
  margin-top: 0;
}

/* ============================================================
   COUNTRY PAGE ICON SIZING — v4.4
   ============================================================ */
.sector-icon-sm {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

@media print {
  .site-header, .site-footer, .cookie-banner, .menu-toggle { display: none; }
  .hero { min-height: auto; padding-top: var(--sp-md); }
  body { font-size: 12pt; }
}


/* v2 footer visual bug fix: hide third-party floating badges/widgets in footer viewport */
.grecaptcha-badge,
iframe[src*="recaptcha"],
#launcher,
.intercom-lightweight-app,
[class*="floating"],
[class*="widget"] iframe[title*="chat"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.cookie-banner .btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--ms-white);
}
.cookie-banner .btn--outline:hover { background: rgba(255,255,255,0.1); }
