/*
Theme Name: Agexau Conseils
Author: Rizi Communications
Version: 1.0
*/
/* ══════════════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red:       #C0272D;
  --red-dark:  #8B1A1F;
  --red-light: #D94F54;
  --red-pale:  #FAEAEA;
  --gray-dark: #1E1E1E;
  --gray-mid:  #4A4A4A;
  --gray-soft: #7A7A7A;
  --gray-light:#CECECE;
  --gray-bg:   #F5F5F5;
  --white:     #FFFFFF;
  --border:    #E2E2E2;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  height: 78px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { flex-shrink: 0; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--gray-dark); letter-spacing: 0.04em; line-height: 1.1;
}
.brand-name span { color: var(--red); }
.brand-sub {
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gray-soft); font-weight: 400; margin-top: 3px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12.5px; letter-spacing: 0.09em; color: var(--gray-mid);
  font-weight: 400; position: relative; padding-bottom: 3px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-socials { display: flex; align-items: center; gap: 10px; }
.nav-social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-soft); border: 1px solid var(--border);
  border-radius: 50%; transition: all 0.25s;
}
.nav-social-link:hover { color: var(--red); border-color: var(--red); background: var(--red-pale); }
.nav-cta {
  background: var(--red); color: var(--white);
  padding: 10px 26px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.25s;
  display: inline-block;
}
.nav-cta:hover { background: var(--red-dark); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: stretch;
  padding-top: 78px;
}
.hero-left {
  flex: 1; background: var(--gray-dark);
  padding: 90px 6% 90px 7%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-left::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 5px; background: var(--red);
}
.hero-circles {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.hero-circle {
  border-radius: 50%; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.04);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 34px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow-line { width: 36px; height: 1.5px; background: var(--red); }
.hero-eyebrow-text {
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 400;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600; color: var(--white);
  line-height: 1.15; margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title em { font-style: italic; color: #E06060; }
.hero-desc {
  font-size: 15.5px; color: rgba(255,255,255,0.5);
  line-height: 1.88; max-width: 500px;
  font-weight: 300; margin-bottom: 48px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 14px 32px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  border: 2px solid var(--red); cursor: pointer;
  transition: all 0.25s; display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost {
  background: transparent; color: var(--white);
  padding: 14px 32px; font-size: 12.5px; font-weight: 400;
  letter-spacing: 0.13em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer;
  transition: all 0.25s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); }

.hero-right {
  width: 360px; background: var(--gray-bg);
  display: flex; flex-direction: column;
  justify-content: center; padding: 60px 36px; gap: 20px;
  animation: fadeIn 1s 0.4s ease both;
}
.hero-cert {
  background: var(--white);
  border-left: 3px solid var(--red);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  transition: box-shadow 0.25s;
}
.hero-cert:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.hero-cert-label {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray-soft); margin-bottom: 5px;
}
.hero-cert-value {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 600; color: var(--gray-dark);
}
.hero-separator { width: 100%; height: 1px; background: var(--border); }
.hero-oecci {
  text-align: center; font-size: 11px;
  color: var(--gray-soft); line-height: 1.6; padding: 4px 0;
}
.hero-oecci strong { color: var(--red); display: block; font-size: 13px; margin-bottom: 2px; }

/* ══════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════ */
.stats-band {
  background: var(--red); padding: 30px 6%;
  display: flex; justify-content: center; gap: 0;
}
.stat-item {
  flex: 1; max-width: 220px; text-align: center;
  padding: 0 36px; position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 15%;
  height: 70%; width: 1px; background: rgba(255,255,255,0.22);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; color: var(--white); line-height: 1;
}
.stat-label {
  font-size: 10.5px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.2em; text-transform: uppercase; margin-top: 7px;
}

/* ══════════════════════════════════════════
   SHARED SECTION COMPONENTS
══════════════════════════════════════════ */
section { padding: 100px 6%; }
.container { max-width: 1180px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.section-eyebrow-line { width: 28px; height: 1.5px; background: var(--red); }
.section-eyebrow-text {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600; line-height: 1.2; margin-bottom: 14px;
}
.red-rule { width: 48px; height: 3px; background: var(--red); margin: 20px 0; }
.section-desc {
  font-size: 15.5px; color: var(--gray-mid);
  line-height: 1.88; font-weight: 300;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about { background: var(--white); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 80px; align-items: center;
}
.about-card {
  background: var(--gray-dark); padding: 48px 40px;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--red);
}
.about-card-accent {
  position: absolute; bottom: -30px; right: -30px;
  width: 110px; height: 110px;
  border: 2px solid rgba(192,39,45,0.2);
}
.about-card-logo { margin-bottom: 30px; }
.about-card-quote {
  font-family: 'Playfair Display', serif;
  font-size: 17.5px; font-style: italic;
  color: rgba(255,255,255,0.72); line-height: 1.7;
  margin-bottom: 24px;
}
.about-card-sig {
  font-size: 11px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.values {
  margin-top: 36px; display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border);
}
.value-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: var(--red);
  line-height: 1; width: 36px; flex-shrink: 0;
}
.value-body h4 {
  font-size: 14.5px; font-weight: 600; margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.value-body p { font-size: 13.5px; color: var(--gray-soft); line-height: 1.68; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services { background: var(--gray-bg); }
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 56px; gap: 40px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--border);
}
.svc {
  background: var(--white); padding: 38px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}
.svc:nth-child(3n) { border-right: none; }
.svc:nth-child(4), .svc:nth-child(5), .svc:nth-child(6) { border-bottom: none; }
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s;
}
.svc:hover::before { transform: scaleX(1); }
.svc:hover { background: #FAFAFA; }
.svc-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; color: var(--border);
  line-height: 1; margin-bottom: 16px;
  transition: color 0.3s;
}
.svc:hover .svc-num { color: var(--red-pale); }
.svc-name {
  font-family: 'Playfair Display', serif;
  font-size: 17.5px; font-weight: 600; color: var(--gray-dark);
  margin-bottom: 12px; line-height: 1.25;
}
.svc-desc { font-size: 13.5px; color: var(--gray-soft); line-height: 1.78; }
.svc-link {
  display: inline-block; margin-top: 18px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
  border-bottom: 1px solid var(--red); padding-bottom: 1px;
}

/* ══════════════════════════════════════════
   LBCFT / CONFORMITÉ
══════════════════════════════════════════ */
.lbcft { background: var(--gray-dark); }
.lbcft-inner {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 80px; align-items: start;
}
.lbcft-badge {
  display: inline-flex; align-items: center;
  background: var(--red); padding: 10px 20px; margin-bottom: 28px;
}
.lbcft-badge-text {
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white); font-weight: 600;
}
.lbcft .section-title { color: var(--white); }
.lbcft .section-desc { color: rgba(255,255,255,0.48); }
.lbcft-list {
  margin-top: 34px; display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.lbcft-item {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.lbcft-dot {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--red);
}
.lbcft-text { font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 300; }
.lbcft-cards { display: flex; flex-direction: column; gap: 14px; }
.lbcft-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px; transition: border-color 0.3s;
}
.lbcft-card:hover { border-color: rgba(192,39,45,0.45); }
.lbcft-card-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.lbcft-card-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(192,39,45,0.14);
  border: 1px solid rgba(192,39,45,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.lbcft-card-name {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.82); letter-spacing: 0.04em;
}
.lbcft-card-desc {
  font-size: 12.5px; color: rgba(255,255,255,0.38); line-height: 1.68;
}

/* ══════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════ */
.why { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--border); margin-top: 60px;
}
.why-card {
  padding: 40px 28px; border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: var(--red-pale); }
.why-icon {
  width: 46px; height: 46px;
  background: var(--red-pale);
  border: 1.5px solid rgba(192,39,45,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 18px;
  transition: background 0.3s, border-color 0.3s;
}
.why-card:hover .why-icon { background: var(--red); border-color: var(--red); }
.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.why-desc { font-size: 13px; color: var(--gray-soft); line-height: 1.72; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section { background: var(--gray-bg); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px;
}
.contact-info-list { margin-top: 36px; }
.contact-info-item {
  display: flex; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.contact-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 4px; font-weight: 600;
}
.contact-value {
  font-size: 14.5px; color: var(--gray-dark); line-height: 1.55;
}
.contact-promise {
  background: var(--white);
  border-left: 3px solid var(--red);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px; margin-top: 28px;
}
.contact-promise-text {
  font-size: 13.5px; color: var(--gray-mid); line-height: 1.72;
}
.contact-promise-text strong { color: var(--red); font-weight: 600; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray-mid); font-weight: 600;
}
.form-input {
  background: var(--white); border: 1px solid var(--border);
  padding: 12px 16px; font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px; color: var(--gray-dark);
  outline: none; transition: border-color 0.25s; border-radius: 0;
  width: 100%;
}
.form-input:focus { border-color: var(--red); }
.form-input::placeholder { color: var(--gray-light); }
textarea.form-input { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 11.5px; color: var(--gray-soft);
  margin-top: 12px; line-height: 1.6;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--gray-dark);
  border-top: 4px solid var(--red);
  padding: 52px 6% 30px;
}
.footer-top {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--white);
  letter-spacing: 0.05em; margin-bottom: 6px;
}
.footer-brand-name span { color: var(--red-light); }
.footer-brand-sub {
  font-size: 10px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-brand-desc {
  font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7;
}
.footer-col-title {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-light); font-weight: 600; margin-bottom: 20px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  font-size: 13px; color: rgba(255,255,255,0.45);
  transition: color 0.25s;
}
.footer-col-links a:hover { color: var(--white); }
.footer-contact-line {
  font-size: 13px; color: rgba(255,255,255,0.45);
  margin-bottom: 8px; line-height: 1.5;
}
.footer-contact-line strong { color: rgba(255,255,255,0.7); }
.footer-bottom {
  max-width: 1180px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.footer-legal {
  font-size: 11px; color: rgba(255,255,255,0.2); line-height: 1.7;
}
.footer-legal strong { color: rgba(255,255,255,0.35); }
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.18);
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .hero-right { width: 100%; padding: 48px 6%; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .hero-cert { flex: 1; min-width: 200px; }
  .hero-separator, .hero-oecci { display: none; }
  .about-inner, .lbcft-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2n) { border-right: none; }
  .svc:nth-child(3n) { border-right: 1px solid var(--border); }
  .svc:nth-child(5), .svc:nth-child(6) { border-bottom: none; }
  .svc:nth-child(4) { border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card:nth-child(2) { border-right: none; }
  .why-card:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .why-card:nth-child(4) { border-top: 1px solid var(--border); }
  .stats-band { flex-wrap: wrap; }
  .stat-item { min-width: 140px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  section { padding: 72px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 1px solid var(--border); }
  .svc:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid var(--border); }
  .why-card:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  /* Masquer la barre sociale sur mobile (trop petit écran) */
  div[style*="position:fixed;right:0;top:50%"] { display: none !important; }
}

/* ══════════════════════════════════════════
   MOBILE NAV BUTTON
══════════════════════════════════════════ */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px; background: var(--gray-dark); display: block;
  transition: all 0.3s;
}
@media (max-width: 900px) { .nav-hamburger { display: flex; } }

/* ══════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════ */
.mobile-menu {
  display: none; position: fixed; top: 78px; left: 0; right: 0;
  background: var(--white); border-top: 3px solid var(--red);
  z-index: 999; padding: 24px 6%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--gray-dark);
  letter-spacing: 0.06em;
}
.mobile-menu a:last-child { border: none; }
.mobile-menu-cta {
  margin-top: 16px; background: var(--red); color: var(--white) !important;
  text-align: center; padding: 14px 0 !important;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 12.5px !important;
}

@media (max-width: 900px) {
  div[style*="grid-template-columns:340px 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(5,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  div[style*="grid-template-columns:repeat(5,1fr)"] > div:nth-child(2) { border-right: none !important; }
  div[style*="grid-template-columns:repeat(5,1fr)"] > div:nth-child(4) { border-right: none !important; }
}

@media (max-width: 900px) {
  .cabinet-grid-2 { grid-template-columns: 1fr !important; }
  .cabinet-values-grid { grid-template-columns: 1fr 1fr !important; }
  .cabinet-values-grid > div:nth-child(2) { border-right: none !important; }
  .cabinet-values-grid > div:nth-child(3) { border-top: 1px solid var(--border); }
  .cabinet-values-grid > div:nth-child(4) { border-right: none !important; border-top: 1px solid var(--border); }
  .cabinet-values-grid > div:nth-child(5) { border-top: 1px solid var(--border); grid-column: 1 / -1; border-right: none !important; }
}
@media (max-width: 600px) {
  .cabinet-values-grid { grid-template-columns: 1fr !important; }
  .cabinet-values-grid > div { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .cabinet-values-grid > div:first-child { border-top: none !important; }
}
