/* =========================================================
   M2A GROUP — ABOUT RELEASE SYSTEM V3
   STRICT RULE: homepage is the spacing/type/layout reference.
   About may vary only in content, imagery and page palette.
   ========================================================= */

body.m2a-master-template.about-page{
  --about-section-y:105px;
  --about-head-gap:48px;
  --about-grid-gap:22px;
  --about-glass-top:rgba(30,41,59,.64);
  --about-glass-bottom:rgba(17,29,44,.52);
  --about-glass-line:rgba(255,255,255,.12);
  --about-shadow:0 24px 70px rgba(2,8,23,.28),inset 0 1px 0 rgba(255,255,255,.055);
  --about-shadow-hover:0 32px 84px rgba(2,8,23,.35),0 0 32px color-mix(in srgb,var(--interactive-color,var(--m2a-sky)) 12%,transparent);
}

/* ---------- Homepage vertical rhythm ---------- */
body.m2a-master-template.about-page .about-section{
  --section-accent:var(--m2a-sky);
  --section-spot-x:50%;
  --section-spot-y:50%;
  position:relative;
  min-height:0 !important;
  padding:var(--about-section-y) 0 !important;
  isolation:isolate;
}

body.m2a-master-template.about-page .about-section::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(620px circle at var(--section-spot-x) var(--section-spot-y),color-mix(in srgb,var(--section-accent) 9%,transparent),transparent 62%);
}

body.m2a-master-template.about-page .about-section:nth-of-type(1){--section-accent:var(--m2a-gold)}
body.m2a-master-template.about-page .about-section:nth-of-type(2){--section-accent:var(--m2a-sky)}
body.m2a-master-template.about-page .about-section:nth-of-type(3){--section-accent:var(--m2a-sector-agriculture)}
body.m2a-master-template.about-page .about-section:nth-of-type(4){--section-accent:var(--m2a-sector-supplies)}
body.m2a-master-template.about-page .about-section:nth-of-type(5){--section-accent:var(--m2a-sector-development)}
body.m2a-master-template.about-page .about-section:nth-of-type(6){--section-accent:var(--m2a-gold)}

body.m2a-master-template.about-page .about-section > .container{
  position:relative;
  z-index:1;
}

body.m2a-master-template.about-page .about-section-head{
  max-width:830px !important;
  margin:0 auto var(--about-head-gap) !important;
}

body.m2a-master-template.about-page .about-section-head h2,
body.m2a-master-template.about-page .about-copy h2,
body.m2a-master-template.about-page .about-os-copy h2,
body.m2a-master-template.about-page .about-governance-copy h2,
body.m2a-master-template.about-page .about-cta h2{
  font-size:clamp(30px,3.7vw,50px) !important;
  line-height:1.22 !important;
  font-weight:900 !important;
}

body.m2a-master-template.about-page .about-section-head p,
body.m2a-master-template.about-page .about-copy p,
body.m2a-master-template.about-page .about-os-copy p,
body.m2a-master-template.about-page .about-governance-copy p,
body.m2a-master-template.about-page .about-cta p{
  font-size:17px !important;
  line-height:1.82 !important;
}

/* ---------- Hero: homepage geometry + approved panoramic image ---------- */
body.m2a-master-template.about-page .about-hero{
  min-height:100vh !important;
  display:flex !important;
  align-items:center !important;
  padding-top:110px !important;
  padding-bottom:72px !important;
}

body.m2a-master-template.about-page .about-hero-grid{
  display:grid !important;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr) !important;
  align-items:center !important;
  gap:58px !important;
}

body.m2a-master-template.about-page .about-title{
  max-width:680px !important;
  font-size:clamp(34px,3.6vw,56px) !important;
  line-height:1.16 !important;
}

body.m2a-master-template.about-page .about-lead{
  max-width:650px !important;
  margin-top:22px !important;
  font-size:18px !important;
  line-height:1.82 !important;
}

body.m2a-master-template.about-page .about-hero-actions{
  gap:14px !important;
  margin-top:32px !important;
}

body.m2a-master-template.about-page .about-hero-facts{
  gap:14px !important;
  margin-top:34px !important;
}

body.m2a-master-template.about-page .about-fact{
  padding:17px !important;
  border-radius:22px !important;
}

body.m2a-master-template.about-page .about-hero-frame{
  width:100% !important;
  min-height:0 !important;
  aspect-ratio:1536/658 !important;
  overflow:hidden !important;
  border-radius:30px !important;
  border:1px solid color-mix(in srgb,var(--m2a-sky) 32%,rgba(255,255,255,.11)) !important;
  background:rgba(15,23,42,.72) !important;
  box-shadow:0 30px 84px rgba(2,8,23,.34),0 0 42px rgba(56,189,248,.08) !important;
}

body.m2a-master-template.about-page .about-hero-frame img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  aspect-ratio:1536/658 !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:saturate(1.03) contrast(1.02) brightness(.96) !important;
}

body.m2a-master-template.about-page .about-hero-caption{
  inset-inline:18px !important;
  bottom:16px !important;
  padding:12px 15px !important;
  border-radius:16px !important;
  background:rgba(15,23,42,.66) !important;
  backdrop-filter:blur(16px) saturate(125%) !important;
}

/* ---------- Shared luminous glass ---------- */
body.m2a-master-template.about-page :is(
  .about-fact,.about-glass,.about-sector-card,.about-tech-item,
  .about-os-screen,.about-governance-card,.about-operating-step,.about-cta
){
  border:1px solid var(--about-glass-line) !important;
  background:linear-gradient(145deg,var(--about-glass-top),var(--about-glass-bottom)) !important;
  backdrop-filter:blur(16px) saturate(132%) !important;
  box-shadow:var(--about-shadow) !important;
}

body.m2a-master-template.about-page .m2a-about-interactive{
  --spot-x:50%;
  --spot-y:50%;
  --tilt-x:0deg;
  --tilt-y:0deg;
  --interactive-color:var(--m2a-sky);
  transform-style:preserve-3d;
  will-change:transform;
  background:
    radial-gradient(330px circle at var(--spot-x) var(--spot-y),color-mix(in srgb,var(--interactive-color) 15%,transparent),transparent 58%),
    linear-gradient(145deg,var(--about-glass-top),var(--about-glass-bottom)) !important;
  transition:transform 280ms var(--m2a-ease),border-color 180ms var(--m2a-ease),box-shadow 280ms var(--m2a-ease) !important;
}

/* ---------- Identity: compact, content-fitted ---------- */
body.m2a-master-template.about-page .about-identity-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:22px !important;
  align-items:start !important;
}

body.m2a-master-template.about-page .about-copy-card{
  min-height:0 !important;
  padding:28px !important;
  border-radius:26px !important;
  --interactive-color:var(--m2a-sky);
}

body.m2a-master-template.about-page .about-copy-card .about-copy h2{
  font-size:clamp(28px,3vw,42px) !important;
}

body.m2a-master-template.about-page .about-copy-card .about-copy p{
  margin-top:14px !important;
  font-size:15px !important;
  line-height:1.76 !important;
}

body.m2a-master-template.about-page .about-principles{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  align-content:start !important;
}

body.m2a-master-template.about-page .about-principle{
  min-height:0 !important;
  padding:20px !important;
  border-radius:20px !important;
}

body.m2a-master-template.about-page .about-principle b{
  margin-bottom:7px !important;
  font-size:17px !important;
}

body.m2a-master-template.about-page .about-principle p{
  font-size:13.5px !important;
  line-height:1.68 !important;
}

/* ---------- Nine sectors ---------- */
body.m2a-master-template.about-page .about-sector-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
}

body.m2a-master-template.about-page .about-sector-card:nth-child(1){--sector-color:var(--m2a-sector-real-estate)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(2){--sector-color:var(--m2a-sector-development)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(3){--sector-color:var(--m2a-sector-contracting)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(4){--sector-color:var(--m2a-sector-supplies)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(5){--sector-color:var(--m2a-sector-trade)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(6){--sector-color:var(--m2a-sector-agriculture)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(7){--sector-color:var(--m2a-sector-commercial)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(8){--sector-color:var(--m2a-sector-incubators)!important}
body.m2a-master-template.about-page .about-sector-card:nth-child(9){--sector-color:var(--m2a-sector-irrigation)!important}

body.m2a-master-template.about-page .about-sector-card{
  min-height:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:28px !important;
  --interactive-color:var(--sector-color);
}

body.m2a-master-template.about-page .about-sector-card::before{
  display:block !important;
  width:100% !important;
  aspect-ratio:3/2 !important;
  background:
    linear-gradient(180deg,rgba(9,15,24,.02) 42%,rgba(9,15,24,.20) 72%,rgba(9,15,24,.72) 100%),
    var(--sector-image) center/cover no-repeat !important;
}

body.m2a-master-template.about-page .about-sector-icon{
  width:56px !important;
  height:56px !important;
  margin:-28px 24px 16px !important;
  border-radius:18px !important;
  background:rgba(15,23,42,.86) !important;
}

body.m2a-master-template.about-page .about-sector-card small,
body.m2a-master-template.about-page .about-sector-card h3,
body.m2a-master-template.about-page .about-sector-card p{
  margin-inline:24px !important;
}

body.m2a-master-template.about-page .about-sector-card h3{
  font-size:22px !important;
  margin-bottom:8px !important;
}

body.m2a-master-template.about-page .about-sector-card p{
  margin-bottom:24px !important;
  font-size:15px !important;
  line-height:1.72 !important;
}

/* ---------- M2A DIGITAL OS: strongest section on the page ---------- */
body.m2a-master-template.about-page .about-os{
  background:
    radial-gradient(circle at 76% 34%,rgba(0,242,254,.10),transparent 31%),
    radial-gradient(circle at 18% 72%,rgba(212,175,55,.075),transparent 30%) !important;
}

body.m2a-master-template.about-page .about-os-grid{
  display:grid !important;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr) !important;
  gap:40px !important;
  align-items:stretch !important;
}

body.m2a-master-template.about-page .about-os-copy{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
}

body.m2a-master-template.about-page .about-os-copy h2{
  font-size:clamp(32px,3.7vw,50px) !important;
  line-height:1.2 !important;
}

body.m2a-master-template.about-page .about-os-copy p{
  margin-top:14px !important;
  font-size:15px !important;
  line-height:1.76 !important;
}

body.m2a-master-template.about-page .about-tech-list{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px !important;
  margin-top:24px !important;
}

body.m2a-master-template.about-page .about-tech-item{
  grid-template-columns:52px minmax(0,1fr) !important;
  gap:14px !important;
  min-height:0 !important;
  padding:14px 16px !important;
  border-radius:18px !important;
  --interactive-color:var(--m2a-sky);
}

body.m2a-master-template.about-page .about-tech-item i{
  display:grid !important;
  width:46px !important;
  height:46px !important;
  place-items:center !important;
  border-radius:14px !important;
  color:var(--m2a-sky-soft) !important;
  background:rgba(56,189,248,.09) !important;
  border:1px solid rgba(56,189,248,.22) !important;
  box-shadow:0 0 20px rgba(56,189,248,.10) !important;
}

body.m2a-master-template.about-page .about-tech-item i svg{
  width:24px !important;
  height:24px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

body.m2a-master-template.about-page .about-tech-item b{font-size:15px !important}
body.m2a-master-template.about-page .about-tech-item span{font-size:12.5px !important;line-height:1.55 !important}

body.m2a-master-template.about-page .about-os-screen{
  width:100% !important;
  max-width:none !important;
  min-height:100% !important;
  margin:0 !important;
  padding:14px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  border-radius:30px !important;
  border-color:rgba(0,242,254,.25) !important;
  background:
    radial-gradient(circle at 50% 32%,rgba(0,242,254,.08),transparent 42%),
    linear-gradient(145deg,rgba(30,41,59,.72),rgba(10,18,28,.84)) !important;
  box-shadow:0 34px 100px rgba(2,8,23,.40),0 0 54px rgba(0,242,254,.08) !important;
  --interactive-color:var(--m2a-sector-supplies);
}

body.m2a-master-template.about-page .about-os-screen img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:20px !important;
  background:#0D131A !important;
}

body.m2a-master-template.about-page .about-os-status{
  margin-top:12px !important;
  padding:10px 13px !important;
  font-size:12px !important;
}

/* ---------- Governance + operating cycle ---------- */
body.m2a-master-template.about-page .about-governance-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap:22px !important;
  align-items:start !important;
}

body.m2a-master-template.about-page .about-governance-copy{
  position:relative !important;
  top:auto !important;
  min-height:0 !important;
  padding:28px !important;
  border-radius:26px !important;
  --interactive-color:var(--m2a-sector-development);
}

body.m2a-master-template.about-page .about-governance-cards{
  gap:14px !important;
}

body.m2a-master-template.about-page .about-governance-card{
  min-height:0 !important;
  padding:20px !important;
  border-radius:20px !important;
  --interactive-color:var(--m2a-gold);
}

body.m2a-master-template.about-page .about-operating-line{
  gap:14px !important;
  margin-top:32px !important;
}

body.m2a-master-template.about-page .about-operating-step{
  min-height:0 !important;
  padding:16px 14px !important;
  border-radius:18px !important;
}

body.m2a-master-template.about-page .about-cta{
  padding:34px !important;
  border-radius:28px !important;
  --interactive-color:var(--m2a-gold);
}

/* ---------- Micro interactions ---------- */
@media (hover:hover) and (pointer:fine){
  body.m2a-master-template.about-page .m2a-about-interactive:hover{
    transform:perspective(1000px) translate3d(0,-5px,0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    border-color:color-mix(in srgb,var(--interactive-color) 52%,rgba(255,255,255,.20)) !important;
    box-shadow:var(--about-shadow-hover) !important;
  }

  body.m2a-master-template.about-page .about-sector-card:hover::before{
    transform:scale(1.025) !important;
    filter:saturate(1.07) brightness(1.035) !important;
  }
}

/* ---------- Responsive: same breakpoints/rhythm as homepage ---------- */
@media(max-width:1100px){
  body.m2a-master-template.about-page .about-hero-grid,
  body.m2a-master-template.about-page .about-identity-grid,
  body.m2a-master-template.about-page .about-os-grid,
  body.m2a-master-template.about-page .about-governance-grid{
    grid-template-columns:1fr !important;
  }

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

  body.m2a-master-template.about-page .about-hero-visual,
  body.m2a-master-template.about-page .about-os-screen{
    width:100% !important;
    max-width:900px !important;
    margin-inline:auto !important;
  }
}

@media(max-width:720px){
  body.m2a-master-template.about-page .about-section{
    padding:78px 0 !important;
  }

  body.m2a-master-template.about-page .about-hero{
    min-height:0 !important;
    padding-top:96px !important;
    padding-bottom:64px !important;
  }

  body.m2a-master-template.about-page .about-section-head{
    margin-bottom:36px !important;
  }

  body.m2a-master-template.about-page .about-title{
    font-size:33px !important;
  }

  body.m2a-master-template.about-page .about-lead{
    font-size:16px !important;
  }

  body.m2a-master-template.about-page .about-hero-grid{
    gap:32px !important;
  }

  body.m2a-master-template.about-page .about-hero-facts,
  body.m2a-master-template.about-page .about-principles,
  body.m2a-master-template.about-page .about-governance-cards,
  body.m2a-master-template.about-page .about-sector-grid{
    grid-template-columns:1fr !important;
  }

  body.m2a-master-template.about-page .about-operating-line{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  body.m2a-master-template.about-page .about-os-grid{
    gap:28px !important;
  }
}

@media(max-width:480px){
  body.m2a-master-template.about-page .about-section{
    padding:64px 0 !important;
  }

  body.m2a-master-template.about-page .about-hero{
    padding-top:92px !important;
    padding-bottom:56px !important;
  }

  body.m2a-master-template.about-page .about-section:last-of-type{
    padding-bottom:40px !important;
  }

  body.m2a-master-template.about-page .about-section-head{
    margin-bottom:32px !important;
  }

  body.m2a-master-template.about-page .about-copy-card,
  body.m2a-master-template.about-page .about-governance-copy,
  body.m2a-master-template.about-page .about-cta{
    padding:20px !important;
  }

  body.m2a-master-template.about-page .about-operating-line{
    grid-template-columns:1fr !important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.m2a-master-template.about-page .m2a-about-interactive,
  body.m2a-master-template.about-page .about-sector-card::before{
    transition:none !important;
    transform:none !important;
    animation:none !important;
  }
}
