@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --green: #5fa83b;
  --green-2: #7cb342;
  --emerald: #059669;
  --emerald-dark: #065f46;
  --teal: #007a7a;
  --teal-2: #0d9488;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --offwhite: #f7faf5;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: #fcfdfd;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Icons */
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-inline {
  width: 18px;
  height: 18px;
}

.icon-check {
  width: 18px;
  height: 18px;
  color: var(--emerald);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #eef2f7;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: transparent;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-style: normal;
}

.brand-title span {
  color: var(--teal);
  font-style: normal;
}

.brand-subtitle {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #526174;
  position: relative;
  padding: 8px 0;
  transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
  background: #10a774;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(167, 243, 208, 0.42);
  color: #d1fae5;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #334155;
  border-radius: 3px;
  transition: 0.2s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  padding: 8px 24px 20px;
}

.mobile-nav .nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
}

.mobile-nav .nav-link.active {
  background: #ecfdf5;
}

.mobile-nav .nav-link.active::after {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #082f2e 0%, #064e3b 52%, #065f46 100%);
  color: #ffffff;
  padding: 90px 0 105px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.18), transparent 38%),
    radial-gradient(circle at 90% 85%, rgba(20, 184, 166, 0.16), transparent 36%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  right: -170px;
  bottom: -190px;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.08;
  z-index: 1;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 115px 0 125px;
  background: #064e3b;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../media/agriculture.jpg") center/cover no-repeat;
  opacity: 0.28;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 78, 59, 0.97) 0%, rgba(6, 78, 59, 0.86) 48%, rgba(7, 89, 83, 0.78) 100%),
    radial-gradient(circle at 78% 35%, rgba(20, 184, 166, 0.22), transparent 36%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(46px, 6.5vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #a7f3d0, #99f6e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(209, 250, 229, 0.88);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Hero collage */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.media-card {
  position: relative;
  display: block;
  min-height: 205px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  background: #064e3b;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.media-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 5px;
}

.media-card.large {
  grid-row: span 2;
  min-height: 430px;
}

.media-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 78, 59, 0.88) 100%);
}

.media-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.media-card span {
  display: inline-flex;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a7f3d0;
}

.media-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.media-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

/* Sections */
.section {
  padding: 88px 0;
  background: #ffffff;
}

.section-muted {
  background: #f8fafc;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.section-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
  color: #0f172a;
  border-left: 4px solid var(--emerald);
  padding-left: 16px;
}

.section-title span:not(.eyebrow) {
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.section-title.compact {
  margin-bottom: 24px;
}

/* Cards */
.card-grid,
.principle-grid,
.value-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sector-card,
.principle,
.value-card,
.mission-card,
.project-card,
.form-card,
.contact-panel,
.info-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.02);
  transition: 0.25s ease;
}

.sector-card:hover,
.project-card:hover,
.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.sector-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.sector-card p {
  flex-grow: 1;
}

/* Sector cards with images */
.sector-card-media {
  padding: 0;
  overflow: hidden;
}

.sector-card-media .sector-image {
  height: 190px;
  overflow: hidden;
  background: #ecfdf5;
}

.sector-card-media .sector-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sector-card-media:hover .sector-image img {
  transform: scale(1.05);
}

.sector-card-media .icon-wrap {
  margin: -30px 0 20px 28px;
  position: relative;
  z-index: 2;
}

.sector-card-media h3,
.sector-card-media p,
.sector-card-media .text-link {
  margin-left: 28px;
  margin-right: 28px;
}

.sector-card-media .text-link {
  margin-bottom: 28px;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid;
}

.icon-wrap.small {
  width: 43px;
  height: 43px;
  margin-bottom: 14px;
}

.icon-wrap.green,
.mini-icon.green {
  background: #ecfdf5;
  color: var(--emerald);
  border-color: #d1fae5;
}

.icon-wrap.teal,
.mini-icon.teal {
  background: #f0fdfa;
  color: var(--teal-2);
  border-color: #ccfbf1;
}

.icon-wrap.slate {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

/* Custom sector logos */
.custom-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.custom-sector-icon {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.trading-custom-icon {
  width: 70px;
  height: 70px;
}

.sector-card h3,
.principle h3,
.value-card h3,
.mission-card h3,
.project-card h3,
.form-card h3,
.contact-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.sector-card p,
.principle p,
.value-card p,
.mission-card p,
.project-card p,
.form-card p,
.contact-panel p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-dark);
  font-weight: 800;
  font-size: 14px;
}

.teal-link {
  color: var(--teal);
}

/* Principles */
.principle {
  padding: 26px;
  background: #f8fafc;
}

.principle p,
.value-card p {
  font-size: 13px;
}

/* Visual strip */
.visual-strip-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #ffffff;
}

.visual-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.visual-strip-copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 10px 0 18px;
}

.visual-strip-copy p {
  color: #64748b;
  margin: 0 0 26px;
  max-width: 560px;
}

.visual-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visual-strip-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.visual-strip-grid img:first-child {
  grid-row: span 2;
  height: 436px;
}

/* CTA */
.cta-section,
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #082f2e 0%, #064e3b 55%, #065f46 100%);
  color: #ffffff;
}

.cta-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.14), transparent 35%);
}

.cta-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.cta-section {
  padding: 70px 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
  letter-spacing: -0.035em;
}

.cta-section p {
  max-width: 660px;
  margin: 0;
  color: rgba(209, 250, 229, 0.88);
  font-size: 15px;
}

/* Page hero */
.page-hero {
  padding: 70px 0;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin: 10px 0 16px;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 750px;
  margin: 0;
  color: rgba(209, 250, 229, 0.88);
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a7f3d0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--emerald-dark);
}

/* About page */
.two-col {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.two-col p {
  font-size: 15px;
  color: #64748b;
}

.info-panel {
  padding: 32px;
  background: #f8fafc;
}

.number-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: item;
}

.number-list li {
  position: relative;
  padding-left: 42px;
  font-size: 13px;
  color: #64748b;
}

.number-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #dcfce7;
  color: #065f46;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

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

.mission-card {
  padding: 34px;
  background: rgba(248, 250, 252, 0.68);
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  padding: 26px;
}

/* Sectors page */
.sectors-list {
  display: grid;
  gap: 36px;
}

.sector-detail {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 44px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
  scroll-margin-top: 110px;
}

.sector-detail.reverse {
  grid-template-columns: 1fr 310px;
}

.sector-detail.reverse .sector-detail-icon {
  order: 2;
}

.sector-detail-icon {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid;
}

.sector-detail-icon .icon {
  width: 64px;
  height: 64px;
}

.sector-detail-icon.green {
  background: #ecfdf5;
  color: var(--emerald);
  border-color: #d1fae5;
}

.sector-detail-icon.teal {
  background: #f0fdfa;
  color: var(--teal);
  border-color: #ccfbf1;
}

.sector-detail-icon.slate {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

.sector-detail h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  margin: 6px 0 14px;
  color: #0f172a;
  border-left: 4px solid var(--emerald);
  padding-left: 16px;
}

.sector-detail p {
  color: #64748b;
  font-size: 15px;
}

.detail-list-wrap {
  border-top: 1px solid #edf2f7;
  margin-top: 24px;
  padding-top: 22px;
}

.detail-list-wrap h4 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.check-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #64748b;
}

.check-grid .icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Projects page */
.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  padding: 32px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.project-tag .icon {
  width: 14px;
  height: 14px;
}

.project-tag.green {
  background: #ecfdf5;
  color: #065f46;
}

.project-tag.teal {
  background: #f0fdfa;
  color: #0f766e;
}

.project-tag.slate {
  background: #f1f5f9;
  color: #334155;
}

.placeholder-note {
  font-style: italic;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 14px;
  color: #64748b !important;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  margin-top: 24px;
  padding-top: 18px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.project-meta i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  margin-right: 6px;
}

.editor-note {
  margin-top: 30px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  color: #64748b;
  font-size: 13px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.contact-panel,
.form-card {
  padding: 34px;
}

.contact-panel {
  background: #f8fafc;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #d1fae5;
}

.contact-list strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
}

.contact-list em {
  font-style: normal;
  color: #64748b;
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.08);
}

.btn.full {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  color: var(--emerald-dark);
  font-size: 13px;
  font-weight: 700;
  min-height: 20px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 50px;
  padding: 56px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.footer-logo em {
  font-style: normal;
  color: #34d399;
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.footer-logo-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
}

.footer-brand p {
  max-width: 330px;
  color: #94a3b8;
  font-size: 14px;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 10px;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 13px;
}

.footer-col a,
.footer-col p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #34d399;
}

.footer-note {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 12px;
  margin-top: 6px !important;
  color: #64748b !important;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}

/* Responsive */
@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .hero-media {
    min-height: auto;
    padding: 82px 0 90px;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .media-card.large {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .card-grid,
  .principle-grid,
  .value-grid,
  .project-grid,
  .split-cards {
    grid-template-columns: 1fr 1fr;
  }

  .visual-strip {
    grid-template-columns: 1fr;
  }

  .sector-detail,
  .sector-detail.reverse {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .sector-detail.reverse .sector-detail-icon {
    order: 0;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    height: 72px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-mark,
  .brand-mark img {
    width: 46px;
    height: 46px;
  }

  .hero-media {
    padding: 70px 0 78px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-collage {
    grid-template-columns: 1fr;
  }

  .media-card,
  .media-card.large {
    min-height: 230px;
  }

  .section,
  .page-hero {
    padding: 56px 0;
  }

  .cta-section {
    padding: 58px 0;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 32px;
  }

  .section-title span:not(.eyebrow) {
    white-space: normal;
  }

  .card-grid,
  .principle-grid,
  .value-grid,
  .project-grid,
  .split-cards,
  .form-row {
    grid-template-columns: 1fr;
  }

  .sector-card,
  .principle,
  .value-card,
  .mission-card,
  .project-card,
  .form-card,
  .contact-panel {
    padding: 24px;
  }

  .sector-card-media {
    padding: 0;
  }

  .sector-card-media h3,
  .sector-card-media p,
  .sector-card-media .text-link {
    margin-left: 24px;
    margin-right: 24px;
  }

  .sector-card-media .text-link {
    margin-bottom: 24px;
  }

  .sector-card-media .icon-wrap {
    margin-left: 24px;
  }

  .visual-strip-grid {
    grid-template-columns: 1fr;
  }

  .visual-strip-grid img,
  .visual-strip-grid img:first-child {
    height: 230px;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .sector-detail-icon {
    width: 120px;
    height: 120px;
  }

  .sector-detail-icon .icon {
    width: 54px;
    height: 54px;
  }
}

/* ==================================================
   IFZK ENTERPRISES FINAL CONSOLIDATED STYLES
   Covers: Home, About, Sectors, Projects, Team, Contact
   Updated for 5 sectors + 5 team members
================================================== */

/* ---------- GLOBAL POLISH ---------- */
.site-header {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.desktop-nav {
  gap: 22px;
}

.nav-link {
  white-space: nowrap;
}

.header-cta {
  padding: 12px 18px;
}

.page-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(52, 211, 153, 0.18), transparent 34%),
    radial-gradient(circle at 86% 74%, rgba(45, 212, 191, 0.13), transparent 34%),
    linear-gradient(135deg, #082f2e 0%, #064e3b 56%, #065f46 100%);
}

.page-hero::after,
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  pointer-events: none;
}

.page-hero-inner,
.cta-inner {
  position: relative;
  z-index: 2;
}

.about-page main,
.projects-page main,
.contact-page main,
.team-page main,
.sectors-page main {
  background: #f6fbf7;
}

.contact-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: 0.2s;
}

.contact-form select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.08);
}

.form-note {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

/* ==================================================
   HOME PAGE FINAL
================================================== */
.home-page main {
  background: #f4fbf6 !important;
}

.home-page .hero-media {
  min-height: calc(100vh - 80px) !important;
  height: auto !important;
  padding: 48px 0 54px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(540px, 1.16fr) !important;
  gap: 58px !important;
  align-items: center !important;
}

.home-page .hero-copy {
  max-width: 690px !important;
}

.home-page .hero h1 {
  font-size: clamp(40px, 4.25vw, 58px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  margin-bottom: 18px !important;
}

.home-page .hero p {
  max-width: 650px !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  color: rgba(209, 250, 229, 0.88) !important;
}

.home-page .button-row {
  margin-top: 24px !important;
}

.home-page .button-row .btn {
  min-height: 48px !important;
  padding: 12px 22px !important;
}

.home-page .hero-collage {
  max-width: 690px !important;
  width: 100% !important;
  justify-self: end !important;
  gap: 20px !important;
}

.home-page .hero-collage::before {
  inset: -30px !important;
  border-radius: 38px !important;
}

.home-page .media-card {
  min-height: 215px !important;
  border-radius: 24px !important;
}

.home-page .media-card.large {
  min-height: 450px !important;
  border-radius: 26px !important;
}

.home-page .media-card div {
  padding: 24px !important;
}

.home-page .media-card strong {
  font-size: 21px !important;
  line-height: 1.18 !important;
}

.home-page .media-card span {
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

.home-page .section-muted {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(16, 185, 129, 0.13), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(20, 184, 166, 0.10), transparent 30%),
    linear-gradient(180deg, #f7fcf9 0%, #eef8f2 100%) !important;
}

.home-page .section-muted::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 95, 70, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 95, 70, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  pointer-events: none;
}

.home-page .section-muted .container {
  position: relative;
  z-index: 1;
}

.home-page .section-title {
  background: rgba(255, 255, 255, 0.76) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 24px !important;
  padding: 24px 28px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.055) !important;
}

.home-page .section-title h2 {
  border-left: 0 !important;
  padding-left: 0 !important;
  position: relative !important;
}

.home-page .section-title h2::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 4px;
  margin-right: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
  transform: translateY(-6px);
}

.home-page .home-sector-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: stretch !important;
}

.home-page .home-sector-grid .sector-card {
  grid-column: span 2 !important;
}

.home-page .home-sector-grid .sector-card:nth-child(4) {
  grid-column: 2 / span 2 !important;
}

.home-page .home-sector-grid .sector-card:nth-child(5) {
  grid-column: 4 / span 2 !important;
}

.home-page .sector-card-media {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffc 100%) !important;
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.home-page .sector-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-page .sector-card-media:hover::after {
  opacity: 1;
}

.home-page .sector-card-media:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 28px 76px rgba(15, 23, 42, 0.12) !important;
}

.home-page .sector-card-media .icon-wrap {
  display: none !important;
}

.home-page .sector-card-media .sector-image {
  height: 220px !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  background: #ecfdf5 !important;
}

.home-page .sector-card-media .sector-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

.home-page .sector-card-media:hover .sector-image img {
  transform: scale(1.055) !important;
  filter: saturate(1.05) !important;
}

.home-page .sector-card-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  padding: 32px 34px 34px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.54)) !important;
}

.home-page .sector-card-body h3,
.home-page .sector-card-body p,
.home-page .sector-card-body .text-link {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.home-page .sector-card-body h3 {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.035em !important;
}

.home-page .sector-card-body p {
  flex-grow: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 26px !important;
  color: #526174 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.home-page .sector-card-body .text-link {
  margin-top: auto !important;
  padding-top: 4px !important;
}

.home-page main > section:nth-of-type(3) {
  position: relative !important;
  overflow: hidden !important;
  padding: 96px 0 !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 211, 153, 0.16), transparent 34%),
    radial-gradient(circle at 90% 70%, rgba(45, 212, 191, 0.14), transparent 34%),
    linear-gradient(135deg, #082f2e 0%, #064e3b 52%, #065f46 100%) !important;
}

.home-page main > section:nth-of-type(3)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
}

.home-page main > section:nth-of-type(3) .container {
  position: relative;
  z-index: 1;
}

.home-page main > section:nth-of-type(3) .section-title {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.home-page main > section:nth-of-type(3) .section-title h2,
.home-page main > section:nth-of-type(3) .principle h3 {
  color: #ffffff !important;
}

.home-page main > section:nth-of-type(3) .section-title span:not(.eyebrow) {
  color: rgba(209, 250, 229, 0.75) !important;
}

.home-page main > section:nth-of-type(3) .eyebrow.dark {
  color: #a7f3d0 !important;
}

.home-page .principle {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  padding: 32px !important;
  background: rgba(255, 255, 255, 0.085) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.15) !important;
}

.home-page .principle p {
  color: rgba(209, 250, 229, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.home-page .visual-strip-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.10), transparent 34%),
    linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%) !important;
  padding: 104px 0 !important;
}

.home-page .visual-strip {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 36px !important;
  padding: 54px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.09) !important;
}

.home-page .visual-strip::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  pointer-events: none;
}

.home-page .visual-strip-copy,
.home-page .visual-strip-grid {
  position: relative;
  z-index: 1;
}

.home-page .visual-strip-grid img {
  border-radius: 26px !important;
  border: 5px solid #ffffff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14) !important;
}

.home-page .home-team-preview-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
}

.home-page .home-team-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 46px;
  align-items: center;
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.home-page .home-team-preview::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -140px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  pointer-events: none;
}

.home-page .home-team-preview-copy,
.home-page .home-team-preview-points {
  position: relative;
  z-index: 1;
}

.home-page .home-team-preview h2 {
  margin: 10px 0 18px;
  color: #0f172a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.home-page .home-team-preview p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #526174;
  font-size: 15px;
  line-height: 1.8;
}

.home-page .home-team-preview-points {
  display: grid;
  gap: 18px;
}

.home-page .home-team-preview-points div {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(209, 250, 229, 0.95);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
}

.home-page .home-team-preview-points strong {
  display: block;
  margin-bottom: 6px;
  color: #065f46;
  font-size: 16px;
}

.home-page .home-team-preview-points span {
  display: block;
  color: #526174;
  font-size: 13px;
  line-height: 1.6;
}

.home-page .cta-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(52, 211, 153, 0.16), transparent 32%),
    radial-gradient(circle at 82% 80%, rgba(45, 212, 191, 0.13), transparent 32%),
    linear-gradient(135deg, #063b32 0%, #065f46 58%, #047857 100%) !important;
}

/* Low-height desktop screens: keep hero inside viewport */
@media (min-width: 981px) and (max-height: 740px) {
  .home-page .hero-media {
    padding: 34px 0 40px !important;
  }

  .home-page .hero h1 {
    font-size: clamp(36px, 3.9vw, 50px) !important;
  }

  .home-page .hero p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .home-page .media-card.large {
    min-height: 390px !important;
  }

  .home-page .media-card {
    min-height: 185px !important;
  }
}

/* ==================================================
   SECTORS PAGE FINAL
================================================== */
.sectors-page main {
  background: #f6fbf7;
}

.sectors-hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 14% 16%, rgba(52, 211, 153, 0.18), transparent 34%),
    radial-gradient(circle at 86% 72%, rgba(45, 212, 191, 0.15), transparent 34%),
    linear-gradient(135deg, #082f2e 0%, #064e3b 54%, #065f46 100%);
}

.sectors-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
}

.sectors-hero-inner {
  position: relative;
  z-index: 2;
}

.sectors-hero h1 {
  max-width: 1080px;
}

.sectors-hero p {
  max-width: 900px;
}

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sector-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #d1fae5;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: 0.22s ease;
}

.sector-pills a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(167, 243, 208, 0.48);
  color: #ffffff;
  transform: translateY(-2px);
}

.sectors-showcase {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(16, 185, 129, 0.11), transparent 30%),
    radial-gradient(circle at 92% 42%, rgba(20, 184, 166, 0.10), transparent 32%),
    linear-gradient(180deg, #f7fcf9 0%, #eef8f2 48%, #ffffff 100%);
}

.sectors-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 95, 70, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 95, 70, 0.042) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  pointer-events: none;
}

.sectors-showcase .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
}

.sector-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.82) 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.085), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  scroll-margin-top: 112px;
}

.sector-feature::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  pointer-events: none;
}

.sector-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
  opacity: 0.9;
}

.sector-feature.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.sector-feature.reverse .sector-feature-media {
  order: 2;
}

.sector-feature.reverse .sector-feature-content {
  order: 1;
}

.sector-feature-media {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  background: #d1fae5;
}

.sector-feature-media > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.sector-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 78, 59, 0.28) 100%);
  pointer-events: none;
}

.sector-feature:hover .sector-feature-media > img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.sector-feature-badge {
  display: none !important;
}

.sector-feature-content {
  position: relative;
  z-index: 1;
  padding: 14px 10px;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--emerald-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.feature-kicker::before {
  content: "";
  width: 32px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
}

.sector-feature h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #0f172a;
  margin: 0 0 18px;
}

.sector-feature p {
  max-width: 680px;
  color: #526174;
  font-size: 15px;
  line-height: 1.82;
  margin: 0 0 18px;
}

.commodity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 24px;
}

.commodity-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
}

.feature-list-wrap {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.72);
  margin: 24px 0 24px;
}

.feature-list-wrap h4 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #526174;
  font-size: 13px;
  line-height: 1.5;
}

.feature-list .icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

.feature-note {
  position: relative;
  padding: 18px 20px;
  margin: 0 0 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(209, 250, 229, 0.95);
}

.feature-note strong {
  display: block;
  margin-bottom: 6px;
  color: #065f46;
  font-size: 13px;
  font-weight: 900;
}

.feature-note p {
  margin: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.65;
}

.sectors-cta,
.team-cta {
  background:
    radial-gradient(circle at 20% 10%, rgba(52, 211, 153, 0.16), transparent 32%),
    radial-gradient(circle at 82% 80%, rgba(45, 212, 191, 0.13), transparent 32%),
    linear-gradient(135deg, #063b32 0%, #065f46 58%, #047857 100%);
}

.sectors-cta .cta-inner {
  max-width: 850px;
}

/* ==================================================
   PROJECTS PAGE FINAL - 5 CARD LAYOUT
================================================== */
.projects-page .section-muted {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(16, 185, 129, 0.10), transparent 32%),
    radial-gradient(circle at 90% 40%, rgba(20, 184, 166, 0.08), transparent 30%),
    linear-gradient(180deg, #f7fcf9 0%, #eef8f2 100%);
}

.projects-page .project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
}

.projects-page .project-card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffb 100%);
  border: 1px solid rgba(203, 213, 225, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.055);
}

.projects-page .project-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.projects-page .project-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.projects-page .project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.projects-page .project-card:hover::after {
  opacity: 1;
}

/* ==================================================
   TEAM PAGE FINAL - 5 MEMBERS
================================================== */
.team-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 88px;
  background:
    radial-gradient(circle at 15% 18%, rgba(52, 211, 153, 0.18), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(45, 212, 191, 0.14), transparent 34%),
    linear-gradient(135deg, #082f2e 0%, #064e3b 56%, #065f46 100%);
  color: #ffffff;
}

.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.48;
  pointer-events: none;
}

.team-hero::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.team-hero-inner {
  position: relative;
  z-index: 1;
}

.team-hero h1 {
  max-width: 900px;
  margin: 14px 0 20px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.team-hero p {
  max-width: 900px;
  margin: 0;
  color: rgba(209, 250, 229, 0.86);
  font-size: 17px;
  line-height: 1.72;
}

.team-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.team-hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #d1fae5;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(167, 243, 208, 0.26);
  backdrop-filter: blur(10px);
}

.team-intro-section {
  padding: 56px 0 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(16, 185, 129, 0.10), transparent 32%),
    linear-gradient(180deg, #f7fcf9 0%, #f6fbf7 100%);
}

.team-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.78));
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.075);
}

.team-intro-card h2 {
  margin: 8px 0 0;
  color: #0f172a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.team-intro-card p {
  margin: 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.78;
}

.team-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
  background:
    radial-gradient(circle at 12% 8%, rgba(16, 185, 129, 0.10), transparent 32%),
    radial-gradient(circle at 90% 30%, rgba(20, 184, 166, 0.09), transparent 30%),
    linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 95, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 95, 70, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  pointer-events: none;
}

.team-section .container {
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.team-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: stretch;
  padding: 24px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-grid .team-card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 760px;
  justify-self: center;
  width: 100%;
}

.team-card::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  pointer-events: none;
}

.team-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-2));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.13);
}

.team-card:hover::after {
  opacity: 1;
}

.team-photo {
  position: relative;
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5 0%, #ccfbf1 100%);
  border: 5px solid #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.team-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 0;
}

.team-role {
  display: inline-flex;
  margin-bottom: 10px;
  color: #047857;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.team-card h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.team-card p {
  margin: 0 0 18px;
  color: #526174;
  font-size: 14px;
  line-height: 1.72;
}

.team-meta {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 18px;
  border-radius: 18px;
  background: rgba(236, 253, 245, 0.82);
  border: 1px solid rgba(209, 250, 229, 0.95);
}

.team-meta strong {
  display: block;
  margin-bottom: 5px;
  color: #065f46;
  font-size: 12px;
  font-weight: 900;
}

.team-meta span {
  display: block;
  color: #526174;
  font-size: 12px;
  line-height: 1.55;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.team-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 850;
}

/* ==================================================
   RESPONSIVE FINAL
================================================== */
@media (max-width: 1366px) and (min-width: 981px) {
  .home-page .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(510px, 1.12fr) !important;
    gap: 46px !important;
  }

  .home-page .hero-collage {
    max-width: 620px !important;
  }

  .home-page .media-card.large {
    min-height: 410px !important;
  }

  .home-page .media-card {
    min-height: 195px !important;
  }

  .home-page .media-card strong {
    font-size: 20px !important;
  }
}

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

  .team-grid .team-card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }

  .team-card {
    grid-template-columns: 210px 1fr;
  }
}

@media (max-width: 980px) {
  .home-page .hero-media {
    height: auto !important;
    min-height: auto !important;
    padding: 78px 0 88px !important;
    overflow: visible !important;
  }

  .home-page .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .home-page .hero h1 {
    font-size: clamp(38px, 7vw, 56px) !important;
  }

  .home-page .hero-collage {
    max-width: 100% !important;
  }

  .home-page .home-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .home-sector-grid .sector-card,
  .home-page .home-sector-grid .sector-card:nth-child(4),
  .home-page .home-sector-grid .sector-card:nth-child(5) {
    grid-column: auto !important;
  }

  .home-page .home-sector-grid .sector-card:nth-child(5) {
    grid-column: 1 / -1 !important;
  }

  .home-page .sector-card-body {
    padding: 30px !important;
  }

  .home-page .visual-strip {
    padding: 38px !important;
    border-radius: 30px !important;
  }

  .home-page .home-team-preview {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .sector-feature,
  .sector-feature.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px;
  }

  .sector-feature.reverse .sector-feature-media,
  .sector-feature.reverse .sector-feature-content {
    order: initial;
  }

  .sector-feature-media,
  .sector-feature-media > img {
    min-height: 340px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .projects-page .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-page .project-card,
  .projects-page .project-card:nth-child(4),
  .projects-page .project-card:nth-child(5) {
    grid-column: auto;
  }

  .projects-page .project-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .team-hero {
    padding: 78px 0 70px;
  }

  .team-intro-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .team-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .team-photo {
    min-height: 320px;
  }

  .team-section {
    padding: 68px 0 76px;
  }
}

@media (max-width: 640px) {
  .desktop-nav {
    gap: 0;
  }

  .home-page .hero-media {
    padding: 64px 0 72px !important;
  }

  .home-page .hero h1 {
    font-size: 38px !important;
  }

  .home-page .hero p {
    font-size: 14.5px !important;
  }

  .home-page .home-sector-grid,
  .projects-page .project-grid {
    grid-template-columns: 1fr !important;
  }

  .home-page .home-sector-grid .sector-card:nth-child(5),
  .projects-page .project-card:nth-child(5) {
    grid-column: auto !important;
  }

  .home-page .section-title {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .home-page .section-title h2::before {
    display: block;
    margin: 0 0 12px;
    transform: none;
  }

  .home-page .sector-card-media .sector-image {
    height: 210px !important;
  }

  .home-page .sector-card-body {
    padding: 26px 24px 28px !important;
  }

  .home-page .sector-card-body h3 {
    font-size: 21px !important;
  }

  .home-page main > section:nth-of-type(3) {
    padding: 72px 0 !important;
  }

  .home-page .visual-strip-section,
  .home-page .home-team-preview-section {
    padding: 72px 0 !important;
  }

  .home-page .visual-strip {
    padding: 26px !important;
    border-radius: 24px !important;
  }

  .home-page .home-team-preview {
    padding: 26px;
    border-radius: 26px;
  }

  .sectors-hero {
    padding: 72px 0 66px;
  }

  .sector-pills a {
    width: 100%;
  }

  .sectors-showcase {
    padding: 62px 0;
  }

  .sector-feature {
    padding: 18px;
    border-radius: 26px;
  }

  .sector-feature-media {
    border-width: 4px;
    border-radius: 22px;
  }

  .sector-feature-media,
  .sector-feature-media > img {
    min-height: 260px;
  }

  .sector-feature-content {
    padding: 8px 4px 18px;
  }

  .feature-list-wrap {
    padding: 18px;
    border-radius: 18px;
  }

  .feature-note {
    padding: 16px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .team-hero h1 {
    font-size: 40px;
  }

  .team-hero p {
    font-size: 15px;
  }

  .team-hero-pills span {
    width: 100%;
    justify-content: center;
  }

  .team-photo {
    min-height: 270px;
  }

  .team-card h3 {
    font-size: 23px;
  }
}

/* ==================================================
   TEAM PAGE - HIDE TAGS
================================================== */

.team-page .team-tags {
  display: none !important;
}

.team-page .team-hero-pills {
  display: none !important;
}
/* ==================================================
   TEAM PAGE - 6 MEMBERS LAYOUT FIX
   Paste at the VERY END of styles.css
================================================== */

@media (min-width: 981px) {
  .team-page .team-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px !important;
    align-items: stretch !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  .team-page .team-grid .team-card:nth-child(5),
  .team-page .team-grid .team-card:nth-child(6) {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .team-page .team-photo {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .team-page .team-content {
    padding: 30px !important;
  }
}

@media (max-width: 980px) {
  .team-page .team-grid {
    grid-template-columns: 1fr !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .team-page .team-photo {
    height: 340px !important;
    min-height: auto !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

@media (max-width: 520px) {
  .team-page .team-photo {
    height: 280px !important;
  }

  .team-page .team-content {
    padding: 24px !important;
  }
}
/* ==================================================
   TEAM PAGE - BALANCED 6 MEMBERS CARD FIX
   Paste at the VERY END of styles.css
================================================== */

@media (min-width: 981px) {
  .team-page .team-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px !important;
    align-items: stretch !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: stretch !important;

    padding: 28px !important;
  }

  .team-page .team-photo {
    width: 260px !important;
    height: 360px !important;
    min-height: 360px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .team-page .team-content {
    padding: 0 !important;
  }

  .team-page .team-content p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .team-page .team-meta {
    margin-top: 22px !important;
  }
}

/* Medium laptops */
@media (min-width: 981px) and (max-width: 1280px) {
  .team-page .team-grid .team-card {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .team-page .team-photo {
    width: 220px !important;
    height: 340px !important;
    min-height: 340px !important;
  }
}

/* Tablet and mobile */
@media (max-width: 980px) {
  .team-page .team-grid {
    grid-template-columns: 1fr !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 24px !important;
  }

  .team-page .team-photo {
    width: 100% !important;
    height: 360px !important;
    min-height: auto !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .team-page .team-content {
    padding: 0 !important;
  }
}
/* ==================================================
   TEAM PAGE - REMOVE RESPONSIBILITY BOX + FINAL CARD BALANCE
   Paste at the VERY END of styles.css
================================================== */

/* Hide Area of Responsibility boxes */
.team-page .team-meta {
  display: none !important;
}

/* Keep tags hidden too */
.team-page .team-tags,
.team-page .team-hero-pills {
  display: none !important;
}

/* Final balanced 6-member grid */
@media (min-width: 981px) {
  .team-page .team-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px !important;
    align-items: stretch !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 255px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;

    padding: 28px !important;
    min-height: 0 !important;
  }

  .team-page .team-photo {
    width: 255px !important;
    height: 330px !important;
    min-height: 330px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .team-page .team-content {
    padding: 0 !important;
    align-self: start !important;
  }

  .team-page .team-role {
    margin-bottom: 12px !important;
  }

  .team-page .team-content h3 {
    margin-bottom: 16px !important;
  }

  .team-page .team-content p {
    margin-bottom: 0 !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
  }

  .team-page .team-grid .team-card:nth-child(5),
  .team-page .team-grid .team-card:nth-child(6) {
    grid-column: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* Medium laptops */
@media (min-width: 981px) and (max-width: 1280px) {
  .team-page .team-grid .team-card {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .team-page .team-photo {
    width: 220px !important;
    height: 320px !important;
    min-height: 320px !important;
  }

  .team-page .team-content p {
    font-size: 14.5px !important;
    line-height: 1.68 !important;
  }
}

/* Mobile / tablet */
@media (max-width: 980px) {
  .team-page .team-grid {
    grid-template-columns: 1fr !important;
  }

  .team-page .team-grid .team-card {
    grid-column: auto !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 24px !important;
  }

  .team-page .team-photo {
    width: 100% !important;
    height: 340px !important;
    min-height: auto !important;
  }

  .team-page .team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .team-page .team-content {
    padding: 0 !important;
  }

  .team-page .team-content p {
    margin-bottom: 0 !important;
  }
}

/* Small phones */
@media (max-width: 520px) {
  .team-page .team-photo {
    height: 280px !important;
  }

  .team-page .team-grid .team-card {
    padding: 20px !important;
  }
}

/* Hide anti-spam honeypot field */
.form-honeypot {
  display: none !important;
}