
:root{
  --ink:#171918;
  --muted:#6e726f;
  --line:#e6e7e3;
  --paper:#ffffff;
  --soft:#f5f5f2;
  --mineral:#ecebe5;
  --deep:#252825;
  --radius:18px;
  --shadow:0 18px 45px rgba(25,28,26,.07);
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%}
.sitebar{
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.96);
}
.sitebar__inner{
  max-width:var(--max);
  min-height:76px;
  margin:auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:left;
  text-decoration:none;
}
.brand img{
  display:block;
  height:36px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  object-position:left center;
  margin:0;
}
.brand small{
  display:block;
  margin-top:6px;
  font-size:10px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--muted);
  text-transform:uppercase;
}
.nav{
  display:flex;
  gap:24px;
  align-items:center;
  font-size:13px;
}
.nav a{
  text-decoration:none;
  color:#4f534f;
}
.nav a:hover{color:var(--ink)}
.hero{
  background:
    radial-gradient(circle at 75% 18%, rgba(255,255,255,.9), transparent 34%),
    linear-gradient(135deg,#f7f7f4 0%,#ecece6 100%);
  border-bottom:1px solid var(--line);
}
.hero__inner{
  max-width:var(--max);
  margin:auto;
  padding:76px 28px 68px;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:64px;
  align-items:end;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;
  font-weight:700;
  color:#666b66;
}
.eyebrow:before{
  content:"";
  width:32px;
  height:1px;
  background:#777b76;
}
.hero h1{
  max-width:820px;
  margin:0;
  font-size:clamp(42px,6vw,74px);
  line-height:.98;
  font-weight:500;
  letter-spacing:-.045em;
}
.hero p{
  max-width:680px;
  margin:26px 0 0;
  color:#626762;
  line-height:1.7;
  font-size:17px;
}
.hero__note{
  border-left:1px solid #cfd1cb;
  padding:6px 0 6px 28px;
  color:#5d625d;
  line-height:1.65;
  font-size:14px;
}
.hero__note strong{
  display:block;
  margin-bottom:8px;
  color:var(--ink);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.wrap{
  max-width:var(--max);
  margin:auto;
  padding:64px 28px 88px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:32px;
  align-items:end;
  margin-bottom:28px;
}
.section-head h2{
  margin:0;
  font-size:32px;
  font-weight:500;
  letter-spacing:-.025em;
}
.section-head p{
  max-width:560px;
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}
.pathways{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:64px;
}
.pathway{
  min-height:270px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--soft);
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pathway:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:#d6d8d2;
}
.pathway:after{
  content:"↗";
  position:absolute;
  top:28px;
  right:28px;
  font-size:22px;
}
.pathway__index{
  color:#868b85;
  font-size:11px;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.pathway h3{
  max-width:400px;
  margin:78px 0 10px;
  font-size:34px;
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.03em;
}
.pathway p{
  max-width:430px;
  margin:0;
  color:#686d68;
  line-height:1.6;
  font-size:14px;
}
.filter-shell{
  margin:0 0 32px;
  padding:18px;
  background:#f7f7f5;
  border:1px solid var(--line);
  border-radius:14px;
}
.filters{
  display:grid;
  grid-template-columns:1fr 1fr 1fr auto;
  gap:10px;
}
.filters--two{
  grid-template-columns:1fr 1fr auto;
}
select,button,input{
  font:inherit;
}
.filters select{
  min-height:48px;
  width:100%;
  padding:0 14px;
  border:1px solid #d9dbd5;
  border-radius:9px;
  background:#fff;
  color:#303330;
  outline:none;
}
.filters button{
  min-height:48px;
  padding:0 22px;
  border:1px solid var(--deep);
  border-radius:9px;
  background:var(--deep);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.filters button:hover{background:#111}
.results-meta{
  margin:0 0 20px;
  color:#7a7f79;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  min-width:0;
  transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.card__visual{
  aspect-ratio:16/10;
  background:linear-gradient(135deg,#ecece7,#f7f7f4);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.card__visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.card__visual--blank{
  color:#8a8f89;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;
}
.card__body{padding:22px}
.card__logo{
  display:flex;
  align-items:center;
  height:42px;
  margin-bottom:18px;
}
.card__logo img{
  max-width:145px;
  max-height:42px;
  object-fit:contain;
}
.card__meta{
  color:#7b807a;
  font-size:12px;
  margin-bottom:9px;
}
.card h3{
  margin:0;
  font-size:23px;
  line-height:1.15;
  font-weight:500;
  letter-spacing:-.02em;
}
.cert{
  display:inline-flex;
  margin-top:12px;
  padding:6px 9px;
  border:1px solid #daddd6;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  background:#f7f8f5;
}
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:14px;
}
.tag{
  padding:6px 9px;
  border-radius:999px;
  background:#efefeb;
  color:#5e635e;
  font-size:11px;
}
.zone{
  min-height:44px;
  margin:17px 0 0;
  color:#666b66;
  line-height:1.55;
  font-size:13px;
}
.card__link{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--line);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.card__link span:last-child{font-size:18px}
.empty{
  padding:38px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--soft);
  color:#686d68;
}
.back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:28px;
  text-decoration:none;
  color:#626762;
  font-size:13px;
}
.profile-shell{
  max-width:1050px;
  margin:auto;
  padding:54px 28px 90px;
}
.profile{
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 22px 60px rgba(30,32,30,.06);
}
.profile__hero{
  max-height:560px;
  width:100%;
  aspect-ratio:16/8;
  object-fit:cover;
  background:var(--soft);
}
.profile__body{padding:38px}
.profile__top{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:30px;
  align-items:start;
}
.profile__logo{
  max-width:180px;
  max-height:72px;
  object-fit:contain;
  margin-bottom:24px;
}
.profile__meta{
  color:#777c76;
  font-size:13px;
  margin-bottom:10px;
}
.profile h1{
  margin:0;
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  font-weight:500;
  letter-spacing:-.04em;
}
.profile__copy{
  max-width:760px;
  margin-top:28px;
  color:#555a55;
  line-height:1.75;
  font-size:15px;
}
.profile__facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:30px;
}
.fact{
  padding:18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fafaf8;
}
.fact small{
  display:block;
  margin-bottom:5px;
  color:#858a84;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:10px;
}
.fact strong{
  font-size:14px;
  font-weight:600;
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.action{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 17px;
  border:1px solid #d6d8d2;
  border-radius:9px;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.action--primary{
  color:#fff;
  background:var(--deep);
  border-color:var(--deep);
}
.gallery-title{
  margin:48px 0 20px;
  padding-top:36px;
  border-top:1px solid var(--line);
  font-size:28px;
  font-weight:500;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.gallery figure{
  margin:0;
  border-radius:13px;
  overflow:hidden;
  background:var(--soft);
}
.gallery img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.gallery figcaption{
  padding:11px 12px 13px;
  color:#686d68;
  font-size:12px;
}
.footer-note{
  max-width:var(--max);
  margin:auto;
  padding:26px 28px 40px;
  color:#8a8f89;
  font-size:11px;
  border-top:1px solid var(--line);
}
@media(max-width:900px){
  .hero__inner{grid-template-columns:1fr;gap:32px}
  .cards{grid-template-columns:1fr 1fr}
  .filters,.filters--two{grid-template-columns:1fr 1fr}
  .filters button{grid-column:1/-1}
}
@media(max-width:640px){
  .sitebar__inner{padding:0 18px;min-height:68px}
  .nav a:not(:last-child){display:none}
  .brand img{height:30px}
  .hero__inner{padding:52px 18px 48px}
  .wrap{padding:46px 18px 70px}
  .pathways,.cards,.profile__facts,.gallery{grid-template-columns:1fr}
  .section-head,.profile__top{display:block}
  .section-head p{margin-top:12px}
  .filters,.filters--two{grid-template-columns:1fr}
  .filters button{grid-column:auto}
  .pathway{min-height:235px}
  .pathway h3{margin-top:60px}
  .profile-shell{padding:30px 14px 70px}
  .profile__body{padding:24px 20px}
}


/* Filtro por capacidades: Aplicador / Distribuidor */
.capability-picker{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px;
  border:1px solid #d9dbd5;
  border-radius:9px;
  background:#fff;
}
.capability-option{
  flex:1;
  position:relative;
  cursor:pointer;
}
.capability-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.capability-option span{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:7px;
  color:#626762;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.capability-option input:checked + span{
  background:#252825;
  border-color:#252825;
  color:#fff;
}
.capability-option span:hover{
  border-color:#d6d8d2;
}
@media(max-width:640px){
  .capability-picker{width:100%}
}


/* Ajuste para filtro con País */
.filters{
  grid-template-columns:minmax(220px,1.15fr) minmax(160px,.8fr) minmax(180px,.9fr) minmax(170px,.85fr) auto;
}
.filters--two{
  grid-template-columns:minmax(220px,1.15fr) minmax(160px,.8fr) minmax(180px,.9fr) auto;
}
@media(max-width:1050px){
  .filters,.filters--two{
    grid-template-columns:1fr 1fr;
  }
  .filters button,.filters--two button{
    grid-column:1/-1;
  }
}
@media(max-width:640px){
  .filters,.filters--two{
    grid-template-columns:1fr;
  }
  .filters button,.filters--two button{
    grid-column:auto;
  }
}
