/* ============================================================
   HBE Group — Corporate Website Styles
   ============================================================ */

:root {
  --blue-deep: #2D4487;
  --blue-dark: #1e3268;
  --teal: #2B5057;
  --green: #488E44;
  --green-dark: #226736;
  --green-light: #8DB24B;
  --gold: #E7AF46;
  --gold-hover: #d49a2e;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #dde1e8;
  --gray-400: #8b95a5;
  --gray-600: #4a5568;
  --gray-800: #1a202c;
  --font-heading: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --header-h: 80px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(45, 68, 135, 0.08);
  --shadow-md: 0 8px 32px rgba(45, 68, 135, 0.12);
  --shadow-lg: 0 16px 48px rgba(45, 68, 135, 0.16);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt { background: var(--gray-50); }

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--blue-deep);
  margin-bottom: 16px;
}

.section--dark .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
}

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

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

.section--dark .section-label { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(231, 175, 70, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--outline-dark {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn--outline-dark:hover {
  background: var(--blue-deep);
  color: var(--white);
}

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

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header__logo img {
  height: 52px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }

.nav-link {
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-deep);
  background: var(--gray-50);
}

.nav-link--cta { display: none; }

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

.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 3px;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header__cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30, 50, 104, 0.92) 0%, rgba(45, 68, 135, 0.85) 45%, rgba(34, 103, 54, 0.75) 100%),
    url('../assets/images/bodega.png') center/cover no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(30, 50, 104, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 80px 0;
}

.hero__brand {
  display: inline-block;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.hero__brand img {
  height: 48px;
  width: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-badge__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 1rem;
}

/* ============================================================
   SEGMENTATION
   ============================================================ */
.segmentation { padding-top: 80px; padding-bottom: 80px; }

.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.seg-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.seg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.seg-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.seg-card:hover::before { transform: scaleX(1); }

.seg-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 1.5rem;
}

.seg-card h3 {
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.seg-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.seg-unifier {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--green-dark);
  font-style: italic;
  padding: 0 24px;
}

/* ============================================================
   TRIPOD
   ============================================================ */
.tripod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.tripod-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-light), var(--gold));
  opacity: 0.4;
}

.tripod-node {
  text-align: center;
  position: relative;
}

.tripod-node__marker {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.tripod-node__country {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.tripod-node h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.tripod-node p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   SOURCING
   ============================================================ */
.sourcing-quote {
  max-width: 800px;
  margin: 0 auto 56px;
  padding: 32px 40px;
  border-left: 4px solid var(--green);
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
}

.sourcing-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--blue-deep);
  line-height: 1.5;
}

.sourcing-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.board-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-top: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
}

.board-card:nth-child(2) { border-top-color: var(--blue-deep); }
.board-card:nth-child(3) { border-top-color: var(--gold); }

.board-card h3 {
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.board-card li:last-child { border-bottom: none; }

.board-card li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--green);
}

.board-card:nth-child(3) li::before { content: '◷'; color: var(--gold); }

/* ============================================================
   SUPPLY CHAIN
   ============================================================ */
.chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.chain::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.chain-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.chain-step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  transition: all var(--transition);
}

.chain-step:nth-child(2) .chain-step__num,
.chain-step:hover .chain-step__num {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.chain-step h4 {
  font-size: 0.8125rem;
  color: var(--blue-deep);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chain-step p {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.4;
}

/* ============================================================
   COMPLIANCE + DETAIL SECTIONS
   ============================================================ */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.compliance-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.compliance-list li:last-child { border-bottom: none; }

.compliance-list__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 142, 68, 0.1);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 1.1rem;
}

.compliance-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compliance-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.detail-section--reverse .detail-section__content { order: 2; }
.detail-section--reverse .detail-section__media { order: 1; }

.detail-section__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-section__media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.detail-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--blue-deep);
  margin-bottom: 16px;
}

.detail-section p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.detail-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   FORM
   ============================================================ */
.form-section {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.form-section .section-header h2 { color: var(--white); }
.form-section .section-header p { color: rgba(255,255,255,0.7); }

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(45, 68, 135, 0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-submit .btn { width: 100%; }

.form-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--green-dark);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transition: transform 0.4s ease;
  max-width: 90vw;
  text-align: center;
}

.form-toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}

.footer__top {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.footer__logo img {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
}

.footer__address {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__map {
  margin-top: 32px;
}

.footer__map h3 {
  font-size: 0.875rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-md);
}

.footer__map-frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  filter: grayscale(20%) contrast(1.05);
}

.footer__map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--transition);
}

.footer__map-link:hover { color: var(--white); }

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

.footer__contacts a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.footer__contacts a:hover { color: var(--gold); }

.footer__team h3 {
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 40%);
  overflow: hidden;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}

.about-intro__text p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--green-dark);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 36px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.about-stat__val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.about-gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.about-gallery__item--large {
  grid-row: span 2;
  aspect-ratio: auto;
}

.about-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-gallery__item:hover img {
  transform: scale(1.05);
}

.about-gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(45, 68, 135, 0.92));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-team {
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.about-team__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-team__header h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.about-team__header p {
  color: var(--gray-600);
  font-size: 1rem;
}

.about-team__hint {
  margin-top: 12px;
  font-size: 0.8125rem !important;
  color: var(--gold) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.exec-grid .exec-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
}

.exec-grid .exec-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* Center last row: cards 4 and 5 in a 2-col sub-row */
@media (min-width: 769px) {
  .exec-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .exec-grid .exec-card:nth-child(1) { grid-column: 1 / 3; }
  .exec-grid .exec-card:nth-child(2) { grid-column: 3 / 5; }
  .exec-grid .exec-card:nth-child(3) { grid-column: 5 / 7; }
  .exec-grid .exec-card:nth-child(4) { grid-column: 2 / 4; margin: 0; }
  .exec-grid .exec-card:nth-child(5) { grid-column: 4 / 6; margin: 0; }
}

.exec-card {
  perspective: 1000px;
  height: 380px;
  cursor: pointer;
  outline: none;
}

.exec-card:focus-visible .exec-card__inner {
  box-shadow: 0 0 0 3px var(--gold);
}

.exec-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.exec-card.flipped .exec-card__inner {
  transform: rotateY(180deg);
}

.exec-card__front,
.exec-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.exec-card__front {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.exec-card__photo {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.exec-card__photo::after {
  content: '↻';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 0.875rem;
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

.exec-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.exec-card__info {
  padding: 20px;
  border-top: 3px solid var(--green);
  background: var(--white);
}

.exec-card__info h4,
.exec-card__back h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.exec-card__info p {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.exec-card__back {
  background: var(--blue-deep);
  color: var(--white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  text-align: center;
}

.exec-card__back h4 {
  color: var(--gold);
  margin-bottom: 16px;
}

.exec-card__back p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  flex: 1;
  overflow-y: auto;
}

.exec-card__flip-back {
  display: block;
  margin-top: 16px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.team-card:hover { background: rgba(255,255,255,0.08); }

.team-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-deep);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
}

.team-card__info h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.team-card__info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__flags {
  display: flex;
  gap: 8px;
  font-size: 1.25rem;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1100px) {
  .header__cta { display: inline-flex; }
}

@media (max-width: 1099px) {
  .header__cta {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 0.6875rem;
  }
}

@media (max-width: 1024px) {
  .seg-grid,
  .tripod-grid,
  .board-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .tripod-grid::before,
  .chain::before { display: none; }

  .chain {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .compliance-grid,
  .detail-section,
  .about-intro { grid-template-columns: 1fr; gap: 40px; }

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

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-gallery__item--large,
  .about-gallery__item--wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .exec-grid {
    grid-template-columns: 1fr !important;
    max-width: 360px;
    margin: 0 auto;
  }

  .exec-grid .exec-card:nth-child(n) {
    grid-column: 1 / -1 !important;
    margin: 0;
  }

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

  .detail-section--reverse .detail-section__content,
  .detail-section--reverse .detail-section__media { order: unset; }

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

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex: none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    gap: 4px;
    border-top: 1px solid var(--gray-200);
    z-index: 999;
  }

  .nav.open { transform: translateX(0); }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--blue-deep);
    background: var(--gray-50);
  }

  .header__cta {
    display: none;
  }

  .nav-link--cta {
    display: block;
    margin-top: 20px;
    padding: 14px 20px !important;
    text-align: center;
    background: var(--gold) !important;
    color: var(--blue-dark) !important;
    font-weight: 700;
    font-size: 0.8125rem !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none !important;
    border-radius: var(--radius) !important;
  }

  .nav-link--cta:hover {
    background: var(--gold-hover) !important;
    color: var(--blue-dark) !important;
  }

  .hero__content { padding: 48px 0; }

  .chain { grid-template-columns: repeat(2, 1fr); }

  .form-wrapper { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer__map-frame iframe { height: 220px; }
}

@media (max-width: 480px) {
  .chain { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
