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

:root {
  --ink:           #0e0e0e;
  --ink-mid:       #161616;
  --ink-light:     #202020;
  --ink-surface:   #2a2a2a;
  --chrome:        #b8b8b8;
  --chrome-hi:     #d4d4d4;
  --chrome-pale:   #eeeeee;
  --ivory:         #f0ede8;
  --ivory-mid:     #dedad4;
  --gold:          #a97c3f;
  --gold-hi:       #c49a56;
  --gold-pale:     rgba(169, 124, 63, 0.12);
  --gold-glow:     rgba(169, 124, 63, 0.06);
  --petro:         #1c4a35;
  --petro-mid:     #256045;
  --petro-bg:      rgba(28, 74, 53, 0.12);
  --steel:         #6a6a6a;
  --steel-hi:      #909090;
  --section-alt:   #141414;
  --display:       'Inter', sans-serif;
  --body:          'Inter', sans-serif;
  --mono:          'Inter', sans-serif;
  --r0: 0px; --r1: 2px; --r2: 4px; --r3: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: all 0.26s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--ivory);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  line-height: 1.65;
  -webkit-user-select: none;
  user-select: none;
  font-size: 16px;
}
body::-webkit-scrollbar { display: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }


#lang-bar { display: none; }
.lang-inner { display: none; }

#header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transition: var(--t); }
#header.scrolled {
  background: rgba(12,12,12,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(169,124,63,0.15); box-shadow: 0 2px 32px rgba(0,0,0,0.6);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative;
}

.lang-dropdown-wrapper { position: relative; display: flex; align-items: center; }

.lang-dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--steel);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.lang-dropdown-toggle:hover {
  background: rgba(255,255,255,0.06);
  color: var(--chrome-hi);
}
.lang-dropdown-toggle .lang-current-flag,
.lang-dropdown-toggle .lang-current-code,
.lang-chevron { display: none; }
.lang-translate-icon { width: 18px; height: 18px; opacity: 0.55; flex-shrink: 0; transition: opacity 0.2s ease; }
.lang-dropdown-toggle:hover .lang-translate-icon { opacity: 0.9; }
.lang-dropdown-wrapper.open .lang-translate-icon { opacity: 1; color: var(--gold); }

.lang-dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #111; border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r3); padding: 6px; display: none; flex-direction: column; gap: 1px;
  min-width: 148px; box-shadow: 0 20px 60px rgba(0,0,0,0.8); z-index: 9999;
  animation: dropIn 0.16s var(--ease);
}
.lang-dropdown-wrapper.open .lang-dropdown-menu { display: flex; }
.lang-dropdown-item {
  background: transparent; border: none; color: var(--steel-hi); padding: 7px 10px;
  border-radius: var(--r2); cursor: pointer; font-family: var(--mono); font-size: 10px;
  font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 9px; transition: background 0.15s ease, color 0.15s ease;
  width: 100%; text-align: left;
}
.lang-dropdown-item:hover { background: rgba(255,255,255,0.06); color: var(--ivory-mid); }
.lang-dropdown-item.active { background: rgba(169,124,63,0.12); color: var(--gold); }
.lang-dropdown-item .flag-svg { width: 18px; height: 12px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); flex-shrink: 0; }
.logo-link { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1; border-left: 2px solid var(--gold); padding-left: 14px; }
.logo-eos { font-family: var(--display); font-size: 26px; letter-spacing: 7px; color: var(--chrome-hi); line-height: 1; font-weight: 800; }
.logo-sub { font-family: var(--mono); font-size: 7.5px; letter-spacing: 3.5px; color: var(--gold); text-transform: uppercase; margin-top: 4px; font-weight: 500; }

#main-nav { display: flex; gap: 36px; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
#main-nav a {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: var(--steel-hi);
  transition: color 0.22s ease; position: relative; padding-bottom: 4px; white-space: nowrap;
}
#main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
#main-nav a:hover, #main-nav a.active { color: var(--ivory); }
#main-nav a:hover::after, #main-nav a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 4px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 100000; position: relative; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ivory); transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; background: #0b0b0b; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=1800&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center 40%; opacity: 0.2; filter: saturate(0.35) contrast(1.1);
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(112deg, rgba(11,11,11,0.96) 0%, rgba(11,11,11,0.78) 55%, rgba(11,11,11,0.48) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(169,124,63,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(169,124,63,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 100%);
}
.hero-glow { position: absolute; top: 15%; right: 5%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(169,124,63,0.05) 0%, transparent 65%); border-radius: 50%; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 60px; width: 100%; }
.hero-text-col { flex: 1; min-width: 0; z-index: 2; }

.hero-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: none; }

.hero-title { display: flex; flex-direction: column; line-height: 0.88; margin-bottom: 32px; }
.hero-line1, .hero-line2, .hero-line3 { font-family: var(--display); display: block; opacity: 0; }
.hero-line1 { font-size: clamp(56px,10vw,130px); letter-spacing: 4px; font-weight: 900; color: var(--ivory); line-height: 0.9; animation: fadeUp 0.8s var(--ease) 0.4s forwards; }
.hero-line2 { font-size: clamp(36px,6.5vw,86px); letter-spacing: 6px; font-weight: 900; color: var(--chrome); line-height: 1.0; animation: fadeUp 0.8s var(--ease) 0.55s forwards; }
.hero-line3 { font-size: clamp(14px,2.2vw,28px); letter-spacing: 6px; font-weight: 700; color: var(--gold); line-height: 1.55; animation: fadeUp 0.8s var(--ease) 0.7s forwards; }
.hero-sub { font-size: 16px; font-weight: 300; color: var(--steel-hi); max-width: 420px; margin-bottom: 44px; line-height: 1.8; opacity: 0; animation: fadeUp 0.8s var(--ease) 0.85s forwards; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s var(--ease) 1s forwards; }

.hero-logo-col { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; opacity: 0; animation: fadeUp 0.8s var(--ease) 1.1s forwards; width: 340px; }
.hero-logo-ring { width: 320px; height: 320px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: transparent; position: relative; }
.hero-logo-img { width: 300px; height: 300px; object-fit: contain; }

.hero-scroll-hint { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: scrollPulse 2.2s ease-in-out infinite; }
.hero-scroll-hint span { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--steel); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: var(--ink);
  padding: 13px 30px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; border-radius: var(--r1);
  transition: background 0.22s ease, transform 0.22s var(--ease-spring), box-shadow 0.22s ease;
  border: 1px solid var(--gold); will-change: transform;
}
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(169,124,63,0.32); }
.btn-primary:active { transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px; background: transparent; color: var(--chrome);
  padding: 13px 30px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; border-radius: var(--r1);
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease-spring);
  border: 1px solid rgba(184,184,184,0.28); will-change: transform;
}
.btn-outline:hover { border-color: var(--chrome); color: var(--ivory); background: rgba(255,255,255,0.04); transform: translateY(-3px); }
.btn-outline:active { transform: translateY(-1px); }

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-section.visible { opacity: 1; transform: translateY(0); }

.reveal-section.visible .stagger-child {
  animation: fadeUp 0.55s var(--ease) both;
}

.section-tag { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.section-tag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.section-tag.light { color: var(--gold); }
.section-tag.light::before { background: var(--gold); }

.section-title { font-family: var(--display); font-size: clamp(40px,6vw,72px); letter-spacing: 3px; line-height: 0.95; margin-bottom: 20px; color: var(--ivory); font-weight: 800; }
.section-title.light { color: var(--ivory); }
.section-sub { font-size: 15px; font-weight: 300; color: var(--steel-hi); max-width: 540px; margin-bottom: 56px; line-height: 1.85; }
.section-sub.light { color: var(--steel-hi); }

#about, #sobre { background: var(--section-alt); color: var(--ivory); padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: start; }
.about-text h2 { font-family: var(--display); font-size: 56px; letter-spacing: 4px; color: var(--ivory); margin-bottom: 22px; line-height: 0.95; font-weight: 800; }
.about-text > p { font-size: 15px; font-weight: 300; color: var(--steel-hi); margin-bottom: 44px; max-width: 520px; line-height: 1.85; }
.values-list { display: flex; flex-direction: column; gap: 30px; }
.value-item { display: flex; gap: 18px; align-items: flex-start; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.value-item.visible { opacity: 1; transform: translateY(0); }
.value-icon {
  flex-shrink: 0; width: 42px; height: 42px; background: rgba(169,124,63,0.08); border-radius: var(--r1);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background 0.26s ease, color 0.26s ease, transform 0.26s var(--ease-spring);
}
.value-icon svg { width: 18px; height: 18px; }
.value-item:hover .value-icon { background: rgba(169,124,63,0.2); color: var(--gold-hi); transform: scale(1.08); }
.value-item strong { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--chrome-hi); margin-bottom: 5px; }
.value-item p { font-size: 14px; font-weight: 300; color: var(--steel-hi); line-height: 1.75; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--r2);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom: 2px solid rgba(169,124,63,0.25);
  transition: border-color 0.28s ease, transform 0.3s var(--ease-spring), box-shadow 0.28s ease, border-bottom-color 0.28s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card::after {
  display: none;
}

.stat-card:hover {
  border-color: rgba(169,124,63,0.28);
  border-bottom-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.55);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card--full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border-bottom: 2px solid rgba(169,124,63,0.18);
}

.stat-card--full .stat-num {
  font-size: clamp(40px, 5vw, 56px);
  margin-bottom: 0;
}

.stat-card--full .stat-label {
  text-align: right;
  max-width: 180px;
  margin-top: 0;
  font-size: 11px;
  letter-spacing: 3px;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--chrome-hi);
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--steel-hi);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
  padding: 0;
}

#services, #servicos { background: var(--ink); padding: 120px 0; }

.services-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.tab-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r2);
  color: var(--steel);
  font-family: var(--mono);
  cursor: pointer;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.26s var(--ease-spring), box-shadow 0.22s ease;
  will-change: transform;
}

.tab-btn::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.tab-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: var(--ivory);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: rgba(169,124,63,0.08);
  border-color: rgba(169,124,63,0.35);
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(169,124,63,0.1);
}

.tab-btn.active::before {
  transform: scaleX(1);
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r1);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.28s var(--ease-spring);
}

.tab-btn.active .tab-icon {
  background: rgba(169,124,63,0.15);
}

.tab-btn:hover .tab-icon {
  transform: scale(1.08);
}

.tab-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: tabReveal 0.38s var(--ease); }

.service-panel { background: var(--ink-light); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r2); padding: 52px; }
.service-panel-header { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.service-icon-lg {
  flex-shrink: 0; width: 60px; height: 60px; background: var(--gold-pale); border-radius: var(--r1);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background 0.24s ease, transform 0.28s var(--ease-spring);
}
.service-panel-header:hover .service-icon-lg { background: rgba(169,124,63,0.2); transform: scale(1.06); }
.service-panel-header h3 { font-family: var(--display); font-size: 40px; letter-spacing: 4px; color: var(--ivory); margin-bottom: 10px; font-weight: 800; }
.service-panel-header p { font-size: 15px; font-weight: 300; color: var(--steel-hi); max-width: 520px; line-height: 1.8; }

.catu-badge { margin-left: auto; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(28,74,53,0.08); border: 1px solid rgba(37,96,69,0.22); border-radius: var(--r3); min-width: 110px; }
.catu-badge-label { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--petro-mid); white-space: nowrap; }
.catu-logo { max-width: 90px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.catu-logo-fallback { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px; color: var(--chrome); text-align: center; }

.service-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 10px; margin-bottom: 32px; }
.sitem {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid var(--gold); border-radius: 0; padding: 12px 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.3px; color: var(--chrome);
  transition: background 0.2s ease, color 0.2s ease, transform 0.22s var(--ease-spring), border-left-color 0.2s ease;
  opacity: 0; transform: translateX(-8px);
}
.sitem.visible { opacity: 1; transform: translateX(0); }
.sitem:hover { background: rgba(169,124,63,0.06); color: var(--ivory); transform: translateX(5px); border-left-color: var(--gold-hi); }
.service-extra { font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--steel); }

.service-cards-comex { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }
.comex-card {
  background: var(--ink-mid); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r2);
  padding: 32px 24px;
  transition: border-color 0.26s ease, transform 0.3s var(--ease-spring), box-shadow 0.26s ease;
  opacity: 0; transform: translateY(14px); will-change: transform;
}
.comex-card.visible { opacity: 1; transform: translateY(0); }
.comex-card:hover { border-color: rgba(169,124,63,0.38); transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.comex-icon { margin-bottom: 16px; color: var(--gold); display: flex; transition: transform 0.28s var(--ease-spring); }
.comex-card:hover .comex-icon { transform: scale(1.1); }
.comex-card h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--chrome); margin-bottom: 10px; }
.comex-card p { font-size: 14px; font-weight: 300; color: var(--steel-hi); line-height: 1.75; }

.diff-merged-block {
  margin-top: 64px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r2);
  margin-left: 0; margin-right: 0;
  overflow: hidden;
}
.diff-merged-inner { padding: 48px 52px; }

.diff-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.diff-header-row .section-title { margin-bottom: 0; font-size: clamp(28px,3.5vw,46px); }
.diff-header-row .section-tag { margin-bottom: 12px; }
.diff-sub-inline {
  font-size: 13px; font-weight: 300; color: var(--steel-hi);
  max-width: 340px; line-height: 1.8; text-align: right; flex-shrink: 0;
}

.diff-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.diff-divider {
  width: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 32px;
  align-self: stretch;
}
.diff-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  cursor: default;
  position: relative;
  transition: transform 0.28s var(--ease-spring);
}
.diff-item:hover { transform: translateY(-3px); }

.diff-item-icon {
  width: 36px; height: 36px;
  border-radius: var(--r1);
  background: rgba(169,124,63,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 16px;
  transition: background 0.24s ease, transform 0.28s var(--ease-spring);
}
.diff-item-icon svg { width: 16px; height: 16px; }
.diff-item:hover .diff-item-icon { background: rgba(169,124,63,0.18); transform: scale(1.1); }

.diff-item-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--chrome-hi);
  line-height: 1;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.diff-item:hover .diff-item-num { color: var(--gold-hi); }

.diff-item-title {
  display: block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--steel-hi);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.diff-item:hover .diff-item-title { color: var(--chrome); }

.diff-item-desc {
  font-size: 12.5px; font-weight: 300;
  color: var(--steel);
  line-height: 1.75;
  max-width: 220px;
  transition: color 0.2s ease;
}
.diff-item:hover .diff-item-desc { color: var(--steel-hi); }

.diff-grid { display: none; }
.diff-card { display: none; }


#clients, #clientes { background: var(--section-alt); color: var(--ivory); padding: 120px 0; }
#clients .section-title, #clientes .section-title { color: var(--ivory); }
#clients .section-sub, #clientes .section-sub { color: var(--steel-hi); }
.clients-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.client-card {
  background: #fff; border: none; border-radius: var(--r2);
  padding: 32px 24px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; transition: box-shadow 0.22s ease, transform 0.28s var(--ease-spring);
  cursor: default; min-height: 120px; opacity: 0; transform: translateY(14px); will-change: transform;
}
.client-card.visible { opacity: 1; transform: translateY(0); }
.client-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.4); transform: translateY(-4px); }
.client-card.highlight { background: #fff; }
.client-card.highlight:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.client-card.highlight .client-logo-wrap { background: transparent; border-radius: var(--r2); padding: 0; display: flex; align-items: center; justify-content: center; }
.client-card.highlight .client-name { color: var(--steel); }
.client-logo-wrap { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.client-logo { max-width: 120px; max-height: 44px; width: auto; height: auto; object-fit: contain; transition: transform 0.28s var(--ease-spring); filter: none; }
.client-card:hover .client-logo { transform: scale(1.05); filter: none; }
.client-name { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--steel); text-align: center; }

#partners, #parceiros { background: var(--section-alt); color: var(--ivory); padding: 0 0 120px; }
#partners .section-title, #parceiros .section-title { color: var(--ivory); }
#partners .section-sub, #parceiros .section-sub { color: var(--steel-hi); }
.partners-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.partner-card {
  background: #fff; border: none; border-radius: var(--r2);
  padding: 32px 24px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; transition: box-shadow 0.22s ease, transform 0.28s var(--ease-spring);
  cursor: default; min-height: 120px; opacity: 0; transform: translateY(14px); will-change: transform;
}
.partner-card.visible { opacity: 1; transform: translateY(0); }
.partner-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.4); transform: translateY(-4px); }
.partner-logo { max-width: 120px; max-height: 44px; width: auto; height: auto; object-fit: contain; transition: transform 0.28s var(--ease-spring); filter: none; }
.partner-card:hover .partner-logo { transform: scale(1.05); filter: none; }
.partner-name { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--steel); text-align: center; }

#contact, #contato { position: relative; background: var(--ink); padding: 120px 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; }
.contact-glow {
  position: absolute; top: 0; right: -10%; width: 60vw; height: 100%;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(169,124,63,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.contact-rule-h {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(169,124,63,0.3) 30%, rgba(169,124,63,0.3) 70%, transparent 100%);
}
#contact .container { position: relative; z-index: 1; }

.contact-eyebrow { margin-bottom: 36px; }

.contact-card {
  display: grid;
  grid-template-columns: 340px 1px 1fr;
  gap: 0;
  background: var(--ink-mid);
  border: 1px solid rgba(169,124,63,0.18);
  border-radius: var(--r3);
  overflow: hidden;
}

.contact-card-left {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.015);
}

.contact-card-divider {
  width: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.contact-card-right {
  padding: 0 0;
}

.contact-card-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  margin-top: 4px;
}

.exec-photo-frame {
  position: relative;
  width: 120px; height: 120px;
  flex-shrink: 0;
}
.exec-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r2);
  filter: grayscale(20%) contrast(1.05);
  display: block;
}
.exec-photo-border {
  position: absolute; inset: -1px;
  border: 1px solid rgba(169,124,63,0.35);
  border-radius: var(--r2);
  pointer-events: none;
}
.exec-mono-initials {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(169,124,63,0.3);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 28px; font-weight: 700;
  letter-spacing: 3px; color: var(--gold);
}
.exec-meta { display: flex; flex-direction: column; gap: 6px; }
.exec-meta-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ivory);
  line-height: 1.15;
}
.exec-meta-role {
  font-family: var(--mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--steel-hi);
  line-height: 1.6;
}

.contact-channel-list { display: flex; flex-direction: column; height: 100%; }

.cch {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, padding-left 0.22s var(--ease);
  flex: 1;
}
.cch:hover { background: rgba(169,124,63,0.045); padding-left: 42px; }

.cch-sep {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 0 36px;
}

.cch-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--r1);
  background: rgba(169,124,63,0.08);
  border: 1px solid rgba(169,124,63,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.24s var(--ease-spring);
}
.cch:hover .cch-icon { background: rgba(169,124,63,0.16); border-color: rgba(169,124,63,0.35); transform: scale(1.08); }

.cch-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.cch-label {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--steel);
  transition: color 0.2s ease;
}
.cch:hover .cch-label { color: var(--gold); }

.cch-value {
  font-size: 14px; font-weight: 400;
  color: var(--chrome-hi);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.cch:hover .cch-value { color: var(--ivory); }

.cch-arrow {
  font-size: 15px;
  color: var(--steel);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-spring), color 0.2s ease;
  flex-shrink: 0;
}
.cch:hover .cch-arrow { opacity: 1; transform: translateX(0); color: var(--gold); }

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-card-divider {
    width: auto;
    height: 1px;
  }
  .contact-card-left { padding: 36px 32px; }
  .cch { padding: 18px 24px; }
  .cch:hover { padding-left: 30px; }
  .cch-sep { margin: 0 24px; }
}

@media (max-width: 600px) {
  .contact-card-left { padding: 28px 20px; }
  .exec-photo-frame { width: 96px; height: 96px; }
  .exec-meta-name { font-size: 18px; }
  .cch { padding: 16px 20px; gap: 14px; }
  .cch:hover { padding-left: 24px; }
  .cch-sep { margin: 0 20px; }
  .cch-value { font-size: 13px; }
}

#back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-light); border: 1px solid rgba(169,124,63,0.3);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), background 0.22s ease, border-color 0.22s ease;
  z-index: 8000; transform: translateY(12px);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-pale); border-color: var(--gold); transform: translateY(-3px); }
#back-to-top svg { width: 18px; height: 18px; }

#footer { background: #080808; border-top: 1px solid rgba(169,124,63,0.14); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.footer-logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-logo-text { font-family: var(--display); font-size: 22px; letter-spacing: 5px; color: var(--chrome); margin-bottom: 16px; font-weight: 800; }
.footer-brand p { font-size: 13px; font-weight: 300; color: var(--steel); max-width: 280px; line-height: 1.8; }
.footer-links h4, .footer-contact h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--steel-hi); margin-bottom: 20px; }
.footer-links a, .footer-contact a { display: block; font-size: 13px; font-weight: 300; color: var(--steel); margin-bottom: 10px; transition: color 0.22s ease, padding-left 0.22s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom { text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.5px; color: var(--steel); }

.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--ink-light); border: 1px solid var(--gold); color: var(--ivory);
  padding: 12px 28px; border-radius: var(--r1); font-family: var(--mono); font-size: 12px;
  letter-spacing: 1px; z-index: 99990;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  pointer-events: none; white-space: nowrap; opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tabReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.75); }
  50%       { opacity: 1;    transform: scaleY(1); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169,124,63,0); }
  50%       { box-shadow: 0 0 0 6px rgba(169,124,63,0.08); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

body.font-size-1 { font-size: 11.2px; }
body.font-size-2 { font-size: 13.6px; }
body.font-size-3 { font-size: 16px; }
body.font-size-4 { font-size: 19.2px; }
body.font-size-5 { font-size: 23.2px; }
body.font-size-6 { font-size: 28px; }
body.font-size-7 { font-size: 33.6px; }
body.font-size-8 { font-size: 40px; }

p, .sitem, .service-extra, .value-item p, .diff-card p, .section-sub,
.comex-card p, .contact-item-value, .footer-brand p, .about-text > p,
.service-panel-header p, .hero-sub, .contact-person-role, .contact-person span,
.footer-links a, .footer-contact a, .footer-bottom, .tab-btn,
.stat-label, .lang-dropdown-item span { font-size: 1em; }

body.font-size-4 h2, body.font-size-5 h2,
body.font-size-6 h2, body.font-size-7 h2, body.font-size-8 h2 { font-size: clamp(1.8em,4vw,2.8em); }
body.font-size-4 h3, body.font-size-5 h3,
body.font-size-6 h3, body.font-size-7 h3, body.font-size-8 h3 { font-size: clamp(1.2em,2.5vw,1.8em); }
body.font-size-4 .section-title, body.font-size-5 .section-title,
body.font-size-6 .section-title, body.font-size-7 .section-title,
body.font-size-8 .section-title { font-size: clamp(1.6em,4vw,2.8em); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .diff-divider { margin: 0 20px; }
  .diff-item-desc { font-size: 12px; }
}
@media (max-width: 900px) {
  .hero-layout { flex-direction: column-reverse; gap: 32px; }
  .hero-logo-col { width: 100%; justify-content: center; }
  .hero-logo-ring { width: 240px; height: 240px; }
  .hero-logo-img  { width: 220px; height: 220px; }
}

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

  #main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10,10,10,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center; justify-content: center;
    padding: 40px 32px;
    gap: 8px;
    border: none;
    z-index: 99999;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    visibility: hidden;
  }
  #main-nav.open { transform: translateX(0); visibility: visible; }

  #main-nav a {
    font-size: 14px; letter-spacing: 3px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%; text-align: center;
    opacity: 0; transform: translateY(10px);
    transition: color 0.22s ease, opacity 0.35s ease, transform 0.35s var(--ease);
  }
  #main-nav.open a {
    opacity: 1; transform: translateY(0);
  }
  #main-nav.open a:nth-child(1) { transition-delay: 0.08s; }
  #main-nav.open a:nth-child(2) { transition-delay: 0.14s; }
  #main-nav.open a:nth-child(3) { transition-delay: 0.20s; }
  #main-nav.open a:nth-child(4) { transition-delay: 0.26s; }
  #main-nav.open a:nth-child(5) { transition-delay: 0.32s; }
  #main-nav a:last-child { border-bottom: none; }

  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 996;
    opacity: 0; transition: opacity 0.32s ease;
  }
  .nav-overlay.open { display: block; opacity: 1; }

  #back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

  .service-panel { padding: 28px 20px; }
  .service-panel-header { flex-direction: column; gap: 16px; }
  .service-items-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .services-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tab-btn { padding: 14px 10px 12px; gap: 8px; }
  .tab-icon { width: 36px; height: 36px; }
  .tab-icon svg { width: 20px; height: 20px; }
  .tab-label { font-size: 9px; letter-spacing: 1px; }
  .contact-form-wrap { padding: 24px 20px; }

  .diff-merged-inner { padding: 32px 24px; }
  .diff-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .diff-sub-inline { text-align: left; max-width: 100%; }
  .diff-strip { grid-template-columns: 1fr 1px 1fr; grid-template-rows: auto auto; row-gap: 28px; }
  .diff-divider:nth-child(4) { display: none; }
  .diff-divider:nth-child(6) { display: none; }
  .diff-item:nth-child(5) { grid-column: 1; }
  .diff-item:nth-child(7) { grid-column: 3; }

  .stat-card--full {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .stat-card--full .stat-num {
    margin-bottom: 8px;
  }
  .stat-card--full .stat-label {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .services-tabs { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { flex-direction: column; gap: 24px; }
  .hero-logo-col { width: 100%; justify-content: center; }
  .hero-logo-ring { width: 200px; height: 200px; }
  .hero-logo-img { width: 180px; height: 180px; }
  .contact-item::after { display: none; }
}
@media (max-width: 600px) {
  .font-size-controls { gap: 2px; }
  .font-size-icon { display: none; }
  .font-btn { min-width: 20px; height: 18px; padding: 0 3px; }
  .font-size-pct { min-width: 28px; font-size: 9px; }
  .lang-bar-divider { margin: 0 4px; }
}

.prod-chart-wrap {
  margin-top: 40px;
  padding: 24px 28px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r2);
}
.prod-chart-label {
  font-family: var(--mono);
  font-size: 9px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--steel); margin-bottom: 16px;
}
.prod-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-line-primary {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2s var(--ease) 0.3s forwards;
}
.chart-line-rev {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.8s var(--ease) 1.2s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

body[dir="rtl"] .lang-inner {
  justify-content: flex-start;
}

body[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

body[dir="rtl"] #main-nav {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

body[dir="rtl"] #main-nav a::after {
  left: auto;
  right: 0;
}

body[dir="rtl"] .logo-text {
  border-left: none;
  border-right: 2px solid var(--gold);
  padding-left: 0;
  padding-right: 14px;
}

body[dir="rtl"] .section-tag {
  flex-direction: row-reverse;
}

body[dir="rtl"] .section-tag::before {
  content: none;
}

body[dir="rtl"] .section-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--petro-mid);
}

body[dir="rtl"] .section-tag.light::after {
  background: var(--gold);
}

body[dir="rtl"] .about-grid {
  direction: rtl;
}

body[dir="rtl"] .value-item {
  flex-direction: row-reverse;
}

body[dir="rtl"] .diff-card::after {
  right: auto;
  left: 14px;
}

body[dir="rtl"] .diff-card::before {
  transform-origin: right;
}

body[dir="rtl"] .stat-card::after {
  transform-origin: right;
}

body[dir="rtl"] .stat-card::before {
  left: auto;
  right: 0;
}

body[dir="rtl"] .stat-card--full .stat-label {
  text-align: left;
}

body[dir="rtl"] .sitem {
  border-left: none;
  border-right: 2px solid var(--gold);
  transform: translateX(8px);
}

body[dir="rtl"] .sitem.visible {
  transform: translateX(0);
}

body[dir="rtl"] .sitem:hover {
  transform: translateX(-5px);
  border-right-color: var(--gold-hi);
  border-left: none;
}

body[dir="rtl"] .service-panel-header {
  flex-direction: row-reverse;
}

body[dir="rtl"] .catu-badge {
  margin-left: 0;
  margin-right: auto;
}

body[dir="rtl"] .hero-text-col {
  text-align: right;
}

body[dir="rtl"] .hero-eyebrow {
  flex-direction: row-reverse;
}

body[dir="rtl"] .hero-cta {
  justify-content: flex-start;
}

body[dir="rtl"] .hero-layout {
  flex-direction: row-reverse;
}

body[dir="rtl"] .contact-card-left {
  text-align: right;
}

body[dir="rtl"] .contact-card {
  direction: rtl;
}

body[dir="rtl"] .cch {
  flex-direction: row-reverse;
  padding: 22px 36px;
}

body[dir="rtl"] .cch:hover {
  padding-left: 36px;
  padding-right: 42px;
}

body[dir="rtl"] .cch-arrow {
  transform: translateX(4px) scaleX(-1);
}

body[dir="rtl"] .cch:hover .cch-arrow {
  transform: translateX(0) scaleX(-1);
}

body[dir="rtl"] .cch-body {
  text-align: right;
}

body[dir="rtl"] .footer-top {
  direction: rtl;
}

body[dir="rtl"] .footer-links a:hover,
body[dir="rtl"] .footer-contact a:hover {
  padding-left: 0;
  padding-right: 4px;
}

body[dir="rtl"] .prod-chart-wrap {
  direction: ltr;
}

body[dir="rtl"] .prod-chart-wrap * {
  direction: ltr;
}

body[dir="rtl"] .prod-chart-label {
  direction: rtl;
  text-align: right;
}

body[dir="rtl"] #back-to-top {
  right: auto;
  left: 32px;
}

body[dir="rtl"] .tab-btn {
  direction: rtl;
}

body[dir="rtl"] .tab-btn::before {
  left: 0;
  right: 0;
}

body[dir="rtl"] .about-text > p {
  max-width: 100%;
}

body[dir="rtl"] .hero-sub {
  text-align: right;
}

body[dir="rtl"] .font-size-controls {
  flex-direction: row-reverse;
}

body[dir="rtl"] .font-size-icon {
  margin-right: 0;
  margin-left: 4px;
}

body[dir="rtl"] #main-nav.open {
  transform: translateX(-100%);
}

body[dir="rtl"] #main-nav {
  transform: translateX(-100%);
}

body[dir="rtl"] #main-nav.open {
  transform: translateX(0);
}

@media (max-width: 860px) {
  body[dir="rtl"] .contact-card-left {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

@media (max-width: 768px) {
  body[dir="rtl"] #main-nav {
    transform: translateX(-100%);
    right: auto;
    left: 0;
  }
  body[dir="rtl"] #main-nav.open {
    transform: translateX(0);
  }
  body[dir="rtl"] #back-to-top {
    left: 20px;
    right: auto;
  }
}
