/* IBERFIT WEB V6.36 — evidence, semantic consistency, breadcrumbs and differentiated local layouts */

/* Home: merge brand philosophy and promise into one less modular editorial composition */
.authenticity-editorial{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#f2e9d9 0%,#faf6ef 58%,#f7f4ee 100%);
  border-block:1px solid rgba(184,151,58,.10);
}
.authenticity-editorial:after{
  content:"IBERFIT";
  position:absolute;
  right:-.04em;
  bottom:-.2em;
  color:rgba(31,61,43,.035);
  font-family:Iowan Old Style,Baskerville,Georgia,serif;
  font-size:clamp(8rem,22vw,22rem);
  font-weight:700;
  line-height:.8;
  letter-spacing:-.06em;
  pointer-events:none;
}
.authenticity-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:clamp(2.5rem,6vw,6rem);
  align-items:start;
}
.authenticity-copy{max-width:38rem}
.authenticity-copy h2{max-width:11ch}
.authenticity-copy .lead{max-width:34rem}
.authenticity-ledger{
  border-top:1px solid rgba(31,61,43,.18);
}
.authenticity-line{
  display:grid;
  grid-template-columns:minmax(8.5rem,.42fr) 1fr;
  gap:1.25rem;
  padding:1.25rem 0;
  border-bottom:1px solid rgba(31,61,43,.13);
}
.authenticity-line strong{
  color:var(--green);
  font-family:Iowan Old Style,Baskerville,Georgia,serif;
  font-size:1.22rem;
  line-height:1.15;
}
.authenticity-line p{margin:0;color:var(--muted);line-height:1.65}
.authenticity-signoff{
  margin-top:1.5rem;
  padding-top:1.3rem;
  border-top:1px solid rgba(184,151,58,.32);
  color:var(--green);
  font-size:.92rem;
  line-height:1.65;
}
.authenticity-signoff strong{font-weight:850}

/* Evidence: make the source explicit instead of adding another card module */
.review-source-link{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-top:.85rem;
  color:var(--gold-light);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.03em;
  text-decoration:underline;
  text-decoration-color:rgba(217,181,104,.45);
  text-underline-offset:.22rem;
}
.review-source-link:after{content:"↗";font-size:.85rem}

/* Online semantics: visible but restrained */
.online-semantic{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  color:#80671b;
  font-size:.7rem;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.online-semantic:before{content:"";width:18px;height:1px;background:currentColor}

/* Local pages: remove the repeated SaaS-card look and turn decisions into an editorial ledger */
body[data-page="local"] .local-service-strip{
  gap:0;
  margin-top:2rem;
  overflow:hidden;
  border:1px solid rgba(31,61,43,.13);
  border-radius:22px;
  background:rgba(255,255,255,.48);
}
body[data-page="local"] .local-service-chip{
  min-height:108px;
  padding:1.05rem 1rem;
  border:0;
  border-right:1px solid rgba(31,61,43,.11);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body[data-page="local"] .local-service-chip:last-child{border-right:0}
body[data-page="local"] .local-service-chip b{
  color:#8b6f1d;
  font-size:.62rem;
  letter-spacing:.12em;
}
body[data-page="local"] .cards-4{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  margin-top:1.6rem;
  border-top:1px solid rgba(31,61,43,.16);
}
body[data-page="local"] .cards-4 .card{
  min-height:0;
  padding:1.55rem 1.4rem 1.55rem 0;
  border:0;
  border-bottom:1px solid rgba(31,61,43,.13);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:none;
}
body[data-page="local"] .cards-4 .card:nth-child(even){
  padding-left:1.4rem;
  padding-right:0;
  border-left:1px solid rgba(31,61,43,.10);
}
body[data-page="local"] .cards-4 .card:hover{transform:none;box-shadow:none}
body[data-page="local"] .card-index{
  margin-bottom:.65rem;
  color:#8a701f;
  font-size:.64rem;
  font-weight:850;
  letter-spacing:.13em;
}
.local-context-note{
  display:grid;
  grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);
  gap:clamp(1.5rem,4vw,4rem);
  align-items:start;
  margin-top:clamp(1.7rem,3vw,2.5rem);
  padding-top:clamp(1.5rem,3vw,2rem);
  border-top:1px solid rgba(184,151,58,.26);
}
.local-context-note strong{
  color:var(--green);
  font-family:Iowan Old Style,Baskerville,Georgia,serif;
  font-size:1.25rem;
  line-height:1.2;
}
.local-context-note p{margin:0;color:var(--muted);line-height:1.7}

@media (max-width:900px){
  .authenticity-grid{grid-template-columns:1fr}
  body[data-page="local"] .local-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="local"] .local-service-chip:nth-child(2){border-right:0}
  body[data-page="local"] .local-service-chip:nth-child(-n+2){border-bottom:1px solid rgba(31,61,43,.11)}
}
@media (max-width:640px){
  .authenticity-line{grid-template-columns:1fr;gap:.35rem}
  body[data-page="local"] .local-service-strip{grid-template-columns:1fr}
  body[data-page="local"] .local-service-chip,
  body[data-page="local"] .local-service-chip:nth-child(2){
    border-right:0;
    border-bottom:1px solid rgba(31,61,43,.11);
  }
  body[data-page="local"] .local-service-chip:last-child{border-bottom:0}
  body[data-page="local"] .cards-4{grid-template-columns:1fr}
  body[data-page="local"] .cards-4 .card,
  body[data-page="local"] .cards-4 .card:nth-child(even){
    padding:1.25rem 0;
    border-left:0;
  }
  .local-context-note{grid-template-columns:1fr;gap:.55rem}
}
@media (prefers-reduced-motion:reduce){
  .review-source-link{scroll-behavior:auto}
}


/* V6.36 — semantic consistency, breadcrumbs, evidence-first home and less templated local pages */
.page-breadcrumbs{
  padding:.78rem 0 0;
  background:transparent;
}
.page-breadcrumbs ol{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.45rem;
  margin:0;
  padding:0;
  list-style:none;
  color:rgba(31,61,43,.62);
  font-size:.72rem;
  line-height:1.4;
}
.page-breadcrumbs li{display:flex;align-items:center;gap:.45rem}
.page-breadcrumbs li+li:before{content:"/";color:rgba(31,61,43,.28)}
.page-breadcrumbs a{
  color:inherit;
  text-decoration:none;
  text-underline-offset:.16rem;
}
.page-breadcrumbs a:hover{text-decoration:underline}
.page-breadcrumbs [aria-current="page"]{color:var(--green);font-weight:750}

/* Home: replace repeated conceptual blocks with visible evidence from the service */
.evidence-process-section{
  background:linear-gradient(145deg,#0e2d1f 0%,#173f2c 100%);
  color:#fff;
  overflow:hidden;
}
.evidence-process{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:clamp(2rem,5vw,5rem);
  align-items:center;
}
.evidence-process-copy .kicker{color:var(--gold-light)}
.evidence-process-copy h2{
  max-width:12ch;
  margin-bottom:1rem;
  color:#fff;
}
.evidence-process-copy .lead{
  max-width:36rem;
  color:rgba(255,255,255,.78);
}
.evidence-process-steps{
  margin-top:1.7rem;
  border-top:1px solid rgba(217,181,104,.28);
}
.evidence-process-step{
  display:grid;
  grid-template-columns:2.2rem minmax(0,1fr);
  gap:.8rem;
  padding:1rem 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.evidence-process-step b{
  color:var(--gold-light);
  font-size:.67rem;
  letter-spacing:.14em;
}
.evidence-process-step strong{
  display:block;
  margin-bottom:.18rem;
  color:#fff;
  font-size:.94rem;
}
.evidence-process-step span{
  display:block;
  color:rgba(255,255,255,.66);
  font-size:.84rem;
  line-height:1.55;
}
.evidence-process-media{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
  gap:1rem;
  align-items:end;
}
.evidence-shot{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(217,181,104,.18);
  border-radius:26px;
  background:#102d20;
  box-shadow:0 24px 70px rgba(0,0,0,.24);
}
.evidence-shot--secondary{transform:translateY(2.2rem)}
.evidence-shot img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
}
.evidence-shot--secondary img{aspect-ratio:4/4.6}
.evidence-shot figcaption{
  padding:.78rem 1rem .9rem;
  color:rgba(255,255,255,.68);
  font-size:.68rem;
  letter-spacing:.04em;
}

/* Contact: direct conversation is primary; the guide is optional support */
.contact-direct-note{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top:1rem;
  color:rgba(31,61,43,.72);
  font-size:.78rem;
  font-weight:720;
}
.contact-direct-note:before{
  content:"";
  width:20px;
  height:1px;
  background:rgba(184,151,58,.72);
}

/* Local pages: three editorial families to avoid a single programmatic visual template */
body[data-page="local"] main.local--logistics .local-service-strip{
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-radius:16px;
}
body[data-page="local"] main.local--logistics .local-service-chip{
  min-height:96px;
}
body[data-page="local"] main.local--logistics .local-service-chip:nth-child(2){
  border-right:0;
}
body[data-page="local"] main.local--logistics .local-service-chip:nth-child(-n+2){
  border-bottom:1px solid rgba(31,61,43,.11);
}

body[data-page="local"] main.local--environment .local-service-strip{
  gap:.85rem;
  border:0;
  background:transparent;
  overflow:visible;
}
body[data-page="local"] main.local--environment .local-service-chip{
  min-height:124px;
  border:1px solid rgba(31,61,43,.12);
  border-radius:18px;
  background:rgba(255,255,255,.58);
}
body[data-page="local"] main.local--environment .local-context-note{
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  padding:1.4rem;
  border:1px solid rgba(184,151,58,.20);
  border-radius:22px;
  background:#f6efe3;
}

body[data-page="local"] main.local--rhythm .local-service-strip{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  border:0;
  background:transparent;
  overflow:visible;
}
body[data-page="local"] main.local--rhythm .local-service-chip{
  flex:1 1 220px;
  min-height:0;
  border:1px solid rgba(31,61,43,.12);
  border-radius:999px;
  background:rgba(255,255,255,.55);
}
body[data-page="local"] main.local--rhythm .local-service-chip br{display:none}
body[data-page="local"] main.local--rhythm .local-service-chip span{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.35rem;
}
body[data-page="local"] main.local--rhythm .local-context-note{
  grid-template-columns:1fr;
  gap:.45rem;
  max-width:58rem;
}

/* Local decision sections are deliberately lighter than generic four-card grids */
body[data-page="local"] .cards-4 .card p{max-width:34rem}
body[data-page="local"] .cards-4 .card h3{max-width:24ch}

/* Visual language: no image should imply that a visible individual is the identity of IBERFIT */
.anonymous-visual-note{
  color:var(--muted);
  font-size:.72rem;
  line-height:1.5;
}

@media (max-width:900px){
  .evidence-process{grid-template-columns:1fr}
  .evidence-process-media{max-width:760px}
  .evidence-shot--secondary{transform:none}
  body[data-page="local"] main.local--environment .local-context-note{grid-template-columns:1fr}
}
@media (max-width:640px){
  .page-breadcrumbs{padding-top:.55rem}
  .page-breadcrumbs ol{font-size:.68rem}
  .evidence-process-media{grid-template-columns:1fr}
  .evidence-shot--secondary{display:none}
  .evidence-shot img{aspect-ratio:16/11}
  body[data-page="local"] main.local--logistics .local-service-strip{grid-template-columns:1fr}
  body[data-page="local"] main.local--environment .local-service-strip{display:grid;grid-template-columns:1fr}
  body[data-page="local"] main.local--rhythm .local-service-strip{display:grid;grid-template-columns:1fr}
  body[data-page="local"] main.local--rhythm .local-service-chip{border-radius:18px}
}
