/* ============================================================
   Grupo Andamio — sitio de ejemplo (Plan Negocio, YOCOYA)
   Paleta: azul marino corporativo + acero claro. Sin ámbar/naranja.
   ============================================================ */

:root{
  --navy-950:#0a1c30;
  --navy-900:#0f2a4a;
  --navy-800:#16395f;
  --navy-700:#1d4877;
  --accent:#2f6fed;
  --accent-dark:#1f4fb3;
  --steel-50:#f4f7fb;
  --steel-100:#e8edf4;
  --steel-200:#dfe6ee;
  --steel-300:#c6d1de;
  --steel-400:#aebccb;
  --steel-600:#7c8ea3;
  --ink-900:#0f1c2b;
  --ink-700:#334255;
  --ink-500:#5b6b7f;
  --white:#ffffff;
  --ok:#1f8a5e;
  --radius:10px;
  --radius-lg:16px;
  --shadow-sm:0 1px 2px rgba(15,28,45,.06), 0 1px 1px rgba(15,28,45,.04);
  --shadow-md:0 6px 20px rgba(15,28,45,.10);
  --font-sys:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --maxw:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-sys);
  color:var(--ink-900);
  background:var(--steel-50);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--accent);text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3,h4{font-family:var(--font-sys);color:var(--navy-900);line-height:1.2;margin:0 0 .5em;}
p{margin:0 0 1em;}
ul{margin:0;padding:0;}
li{list-style:none;}
button{font-family:inherit;cursor:pointer;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

/* ---------- demo strip ---------- */
.demo-strip{
  background:var(--navy-950);
  color:var(--steel-200);
  font-size:.78rem;
  text-align:center;
  padding:8px 16px;
}
.demo-strip a{color:var(--white);text-decoration:underline;}

/* ---------- utility bar ---------- */
.topbar{
  background:var(--navy-900);
  color:var(--steel-300);
  font-size:.82rem;
}
.topbar .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 20px;
  padding-top:7px;
  padding-bottom:7px;
}
.topbar-info{display:flex;gap:20px;flex-wrap:wrap;}
.topbar-info span{white-space:nowrap;}
.topbar a{color:var(--steel-100);}
.topbar-social{display:flex;gap:10px;align-items:center;}
.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;height:24px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  font-size:.85rem;
  text-decoration:none;
}
.social-icon:hover{background:rgba(255,255,255,.18);text-decoration:none;}

/* ---------- main navbar ---------- */
.navbar{
  background:var(--white);
  border-bottom:1px solid var(--steel-200);
  position:sticky;
  top:0;
  z-index:50;
}
.navbar .wrap{
  display:flex;
  align-items:center;
  gap:24px;
  padding-top:14px;
  padding-bottom:14px;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:1.15rem;
  color:var(--navy-900);
  margin-right:auto;
}
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  border-radius:8px;
  background:linear-gradient(155deg,var(--navy-800),var(--navy-950));
  color:var(--white);
  font-size:1.15rem;
}
.brand small{
  display:block;
  font-weight:500;
  font-size:.68rem;
  color:var(--ink-500);
  letter-spacing:.03em;
}
.nav-links{
  display:flex;
  gap:22px;
  align-items:center;
  flex-wrap:wrap;
}
.nav-links a{
  color:var(--ink-700);
  font-weight:600;
  font-size:.93rem;
}
.nav-links a:hover{color:var(--accent);text-decoration:none;}
.nav-links a.active{color:var(--accent-dark);}

.nav-search{
  display:flex;
  align-items:center;
  background:var(--steel-100);
  border:1px solid var(--steel-300);
  border-radius:999px;
  padding:6px 6px 6px 16px;
  gap:8px;
  min-width:230px;
}
.nav-search input{
  border:none;
  background:transparent;
  outline:none;
  font-size:.88rem;
  font-family:inherit;
  color:var(--ink-900);
  flex:1;
  min-width:0;
}
.nav-search input::placeholder{color:var(--ink-500);}
.nav-search button{
  border:none;
  background:var(--navy-900);
  color:var(--white);
  width:32px;height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.95rem;
  flex-shrink:0;
}
.nav-search button:hover{background:var(--accent);}

.nav-toggle{display:none;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:8px;
  font-weight:700;
  font-size:.93rem;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{background:var(--accent);color:var(--white);}
.btn-primary:hover{background:var(--accent-dark);text-decoration:none;}
.btn-outline{background:var(--white);color:var(--navy-900);border-color:var(--steel-300);}
.btn-outline:hover{border-color:var(--navy-800);text-decoration:none;}
.btn-ghost-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.5);}
.btn-ghost-light:hover{background:rgba(255,255,255,.1);text-decoration:none;}
.btn-wa{background:var(--ok);color:var(--white);}
.btn-wa:hover{background:#166b48;text-decoration:none;}
.btn-block{width:100%;justify-content:center;}

/* ---------- page header (páginas internas) ---------- */
.page-header{
  background:linear-gradient(120deg,var(--navy-950) 0%,var(--navy-800) 100%);
  color:var(--white);
  padding:52px 0 44px;
}
.page-header .eyebrow{
  text-transform:uppercase;
  letter-spacing:.10em;
  font-size:.74rem;
  color:var(--steel-300);
  font-weight:700;
  margin-bottom:10px;
}
.page-header h1{color:var(--white);font-size:2.1rem;margin-bottom:8px;}
.page-header p{color:var(--steel-200);max-width:640px;margin-bottom:0;}
.breadcrumb{font-size:.82rem;color:var(--steel-300);margin-bottom:14px;}
.breadcrumb a{color:var(--steel-100);}

/* ---------- hero (home) ---------- */
.hero{
  background:linear-gradient(120deg,var(--navy-950) 0%,var(--navy-800) 55%,var(--navy-700) 100%);
  color:var(--white);
  padding:64px 0 88px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:38px 38px;
  opacity:.5;
  pointer-events:none;
}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center;position:relative;}
.hero-tag{
  display:inline-block;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.25);
  color:var(--steel-100);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
}
.hero h1{color:var(--white);font-size:2.5rem;margin-bottom:16px;}
.hero p.lead{color:var(--steel-200);font-size:1.05rem;max-width:520px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px;}
.hero-panel{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius-lg);
  padding:22px;
  backdrop-filter:blur(2px);
}
.hero-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--steel-100);
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:14px;
}
.hero-panel-head .dot{width:8px;height:8px;border-radius:50%;background:#38d67a;display:inline-block;margin-right:6px;}
.hero-panel-row{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.88rem;
  color:var(--steel-100);
}
.hero-panel-row:first-of-type{border-top:none;}
.hero-panel-row strong{color:var(--white);}

/* ---------- KPI dashboard row ---------- */
.kpi-section{margin-top:-52px;position:relative;z-index:2;padding-bottom:10px;}
.kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.kpi-card{
  background:var(--white);
  border:1px solid var(--steel-300);
  border-radius:var(--radius);
  padding:22px 20px;
  box-shadow:var(--shadow-md);
}
.kpi-card .kpi-icon{font-size:1.3rem;margin-bottom:10px;display:block;}
.kpi-card .kpi-number{
  font-size:2rem;
  font-weight:800;
  color:var(--navy-900);
  display:block;
  line-height:1;
  margin-bottom:6px;
}
.kpi-card .kpi-label{
  font-size:.82rem;
  color:var(--ink-500);
  font-weight:600;
}
.kpi-card .kpi-note{
  font-size:.68rem;
  color:var(--steel-600);
  margin-top:8px;
  font-style:italic;
}

/* ---------- generic sections ---------- */
section{padding:64px 0;}
.section-head{max-width:640px;margin:0 auto 40px;text-align:center;}
.section-head .eyebrow{
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.74rem;
  font-weight:800;
  color:var(--accent-dark);
  margin-bottom:8px;
}
.section-head h2{font-size:1.7rem;}
.section-head p{color:var(--ink-500);}
.bg-alt{background:var(--steel-100);}

/* ---------- catalog table ---------- */
.cat-table{
  background:var(--white);
  border:1px solid var(--steel-300);
  border-radius:var(--radius);
  overflow:hidden;
}
.cat-row{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:18px;
  padding:20px 24px;
  border-bottom:1px solid var(--steel-200);
}
.cat-row:last-child{border-bottom:none;}
.cat-row:hover{background:var(--steel-50);}
.cat-num{
  font-weight:800;
  color:var(--steel-400);
  font-size:1.1rem;
  width:34px;
}
.cat-name{font-weight:700;color:var(--navy-900);font-size:1rem;}
.cat-name .cat-sub{display:block;font-weight:400;color:var(--ink-500);font-size:.82rem;margin-top:3px;}
.cat-count{
  font-size:.8rem;
  font-weight:700;
  color:var(--navy-800);
  background:var(--steel-150,var(--steel-100));
  border:1px solid var(--steel-300);
  padding:5px 12px;
  border-radius:999px;
  white-space:nowrap;
  justify-self:end;
}
.cat-link{font-weight:700;font-size:.86rem;white-space:nowrap;}
.cat-table-head{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  gap:18px;
  padding:14px 24px;
  background:var(--navy-900);
  color:var(--steel-200);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

/* ---------- branches ---------- */
.branch-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.branch-card{
  background:var(--white);
  border:1px solid var(--steel-300);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow-sm);
}
.branch-card .branch-badge{
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--accent-dark);
  background:var(--steel-100);
  border:1px solid var(--steel-300);
  padding:4px 10px;
  border-radius:999px;
  margin-bottom:12px;
}
.branch-card h3{font-size:1.15rem;margin-bottom:10px;}
.branch-card .branch-line{
  display:flex;
  gap:10px;
  font-size:.88rem;
  color:var(--ink-700);
  margin-bottom:8px;
  align-items:flex-start;
}
.branch-card .branch-line span.ic{flex-shrink:0;}
.branch-card .branch-hours{
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed var(--steel-300);
  font-size:.82rem;
  color:var(--ink-500);
}

/* ---------- feature list / valores ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.feature-card{
  background:var(--white);
  border:1px solid var(--steel-200);
  border-radius:var(--radius);
  padding:24px;
}
.feature-card .fc-icon{
  width:44px;height:44px;
  border-radius:10px;
  background:var(--steel-100);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
  margin-bottom:14px;
}
.feature-card h3{font-size:1.02rem;margin-bottom:6px;}
.feature-card p{font-size:.88rem;color:var(--ink-500);margin-bottom:0;}

/* ---------- timeline (nosotros) ---------- */
.timeline{border-left:3px solid var(--steel-300);margin-left:10px;padding-left:26px;}
.timeline-item{position:relative;padding-bottom:32px;}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:"";
  position:absolute;
  left:-32px;top:2px;
  width:14px;height:14px;
  border-radius:50%;
  background:var(--accent);
  border:3px solid var(--white);
  box-shadow:0 0 0 2px var(--steel-300);
}
.timeline-item .t-year{font-weight:800;color:var(--navy-900);font-size:.95rem;margin-bottom:4px;}
.timeline-item p{color:var(--ink-500);font-size:.9rem;margin-bottom:0;}

/* ---------- valores / stats mini ---------- */
.mini-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:10px;
}
.mini-stat{
  text-align:center;
  padding:18px 10px;
  background:var(--steel-100);
  border-radius:var(--radius);
}
.mini-stat b{display:block;font-size:1.5rem;color:var(--navy-900);}
.mini-stat span{font-size:.78rem;color:var(--ink-500);}

/* ---------- clients strip ---------- */
.clients-strip{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}
.client-chip{
  background:var(--white);
  border:1px solid var(--steel-300);
  border-radius:999px;
  padding:9px 18px;
  font-size:.85rem;
  font-weight:700;
  color:var(--ink-700);
}

/* ---------- CTA de cierre ---------- */
.cta-close{
  background:var(--white);
  border-top:1px solid var(--steel-200);
  border-bottom:1px solid var(--steel-200);
}
.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  background:var(--steel-100);
  border:1px solid var(--steel-300);
  border-radius:var(--radius-lg);
  padding:36px 40px;
}
.cta-box h2{margin-bottom:6px;font-size:1.4rem;}
.cta-box p{margin-bottom:0;color:var(--ink-500);}
.cta-box-actions{display:flex;gap:12px;flex-wrap:wrap;}

/* ---------- formulario cotización ---------- */
.form-card{
  background:var(--white);
  border:1px solid var(--steel-300);
  border-radius:var(--radius-lg);
  padding:32px;
  box-shadow:var(--shadow-sm);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-grid .full{grid-column:1/-1;}
.field label{
  display:block;
  font-size:.82rem;
  font-weight:700;
  color:var(--navy-900);
  margin-bottom:6px;
}
.field input,.field select,.field textarea{
  width:100%;
  padding:11px 13px;
  border:1px solid var(--steel-300);
  border-radius:8px;
  font-family:inherit;
  font-size:.92rem;
  color:var(--ink-900);
  background:var(--steel-50);
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:2px solid var(--accent);
  outline-offset:1px;
  background:var(--white);
}
.field textarea{resize:vertical;min-height:100px;}
.form-note{font-size:.76rem;color:var(--ink-500);margin-top:14px;display:block;}

/* ---------- info cards contacto ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.info-list{display:flex;flex-direction:column;gap:16px;margin-bottom:24px;}
.info-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:var(--white);
  border:1px solid var(--steel-200);
  border-radius:var(--radius);
  padding:16px 18px;
}
.info-item .ic{
  width:36px;height:36px;
  border-radius:8px;
  background:var(--steel-100);
  display:flex;align-items:center;justify-content:center;
  font-size:1.05rem;
  flex-shrink:0;
}
.info-item h4{margin:0 0 3px;font-size:.92rem;color:var(--navy-900);}
.info-item p{margin:0;font-size:.86rem;color:var(--ink-500);}

/* ---------- mapa ilustrado (solo CSS) ---------- */
.map-box{
  position:relative;
  height:340px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--steel-300);
  background:
    linear-gradient(var(--steel-200) 1px,transparent 1px),
    linear-gradient(90deg,var(--steel-200) 1px,transparent 1px),
    var(--steel-100);
  background-size:26px 26px;
}
.map-street-h,.map-street-v{position:absolute;background:var(--white);border:1px solid var(--steel-300);}
.map-street-h{height:22px;left:0;right:0;top:46%;}
.map-street-v{width:22px;top:0;bottom:0;left:38%;}
.map-street-h2{position:absolute;height:14px;left:0;right:0;top:78%;background:var(--white);border:1px solid var(--steel-300);}
.map-block{
  position:absolute;
  background:var(--steel-300);
  opacity:.5;
  border-radius:4px;
}
.map-pin{
  position:absolute;
  left:50%;top:42%;
  transform:translate(-50%,-100%);
  font-size:2.1rem;
  filter:drop-shadow(0 4px 6px rgba(15,28,45,.35));
}
.map-label{
  position:absolute;
  left:50%;top:42%;
  transform:translate(-50%,6px);
  background:var(--navy-900);
  color:var(--white);
  font-size:.76rem;
  font-weight:700;
  padding:6px 12px;
  border-radius:999px;
  white-space:nowrap;
}
.map-caption{font-size:.76rem;color:var(--ink-500);margin-top:10px;font-style:italic;}

/* ---------- footer ---------- */
.site-footer{
  background:var(--navy-950);
  color:var(--steel-300);
  padding-top:56px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:32px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.footer-col h4{
  color:var(--white);
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:16px;
}
.footer-col ul li{margin-bottom:10px;font-size:.88rem;}
.footer-col ul a{color:var(--steel-300);}
.footer-col ul a:hover{color:var(--white);}
.footer-brand{display:flex;align-items:center;gap:10px;color:var(--white);font-weight:800;font-size:1.1rem;margin-bottom:14px;}
.footer-col p{font-size:.86rem;color:var(--steel-400);}
.newsletter-form{display:flex;gap:8px;margin-top:12px;}
.newsletter-form input{
  flex:1;
  min-width:0;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06);
  color:var(--white);
  font-size:.85rem;
  font-family:inherit;
}
.newsletter-form input::placeholder{color:var(--steel-400);}
.newsletter-form button{
  border:none;
  background:var(--accent);
  color:var(--white);
  padding:10px 16px;
  border-radius:8px;
  font-weight:700;
  font-size:.85rem;
  white-space:nowrap;
}
.newsletter-form button:hover{background:var(--accent-dark);}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:20px 0 26px;
  font-size:.8rem;
  color:var(--steel-600);
}
.footer-bottom a{color:var(--steel-300);}
.footer-social{display:flex;gap:10px;}

/* ---------- WhatsApp FAB ---------- */
.wa-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--ok);
  color:var(--white);
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  font-size:.88rem;
  box-shadow:0 8px 22px rgba(15,28,45,.30);
}
.wa-fab:hover{background:#166b48;text-decoration:none;color:var(--white);}
.wa-fab .wa-ic{font-size:1.15rem;}

/* ---------- badges / misc ---------- */
.tag-illust{font-size:.72rem;color:var(--steel-600);font-style:italic;}
.divider-note{
  text-align:center;
  font-size:.78rem;
  color:var(--ink-500);
  margin-top:10px;
}

/* ============ RESPONSIVE ============ */
@media (max-width:880px){
  .hero .wrap{grid-template-columns:1fr;}
  .kpi-grid{grid-template-columns:repeat(2,1fr);}
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .branch-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .contact-grid{grid-template-columns:1fr;}
}

@media (max-width:760px){
  .topbar .wrap{justify-content:center;text-align:center;}
  .navbar .wrap{gap:12px;}
  .brand{margin-right:0;width:100%;}
  .nav-links{
    order:3;
    width:100%;
    justify-content:flex-start;
    gap:14px;
    overflow-x:auto;
    padding-bottom:4px;
  }
  .nav-search{width:100%;order:2;min-width:0;}
  .hero{padding:44px 0 74px;}
  .hero h1{font-size:1.9rem;}
  .kpi-grid{grid-template-columns:1fr 1fr;}
  .feature-grid{grid-template-columns:1fr;}
  .mini-stats{grid-template-columns:1fr 1fr;}
  .form-grid{grid-template-columns:1fr;}
  .cat-table-head{display:none;}
  .cat-row{grid-template-columns:auto 1fr;grid-template-areas:"num name" "count link";}
  .cat-num{grid-area:num;}
  .cat-name{grid-area:name;}
  .cat-count{grid-area:count;justify-self:start;margin-top:8px;}
  .cat-link{grid-area:link;margin-top:8px;justify-self:end;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .cta-box{flex-direction:column;align-items:flex-start;}
  .wa-fab span.wa-txt{display:none;}
  .wa-fab{padding:14px;}
}

/* ============================================================
   FOTOGRAFÍA (v2) — rediseño rico en foto, paleta navy intacta
   ============================================================ */

/* hero del home con foto de almacén + velo navy */
.hero{
  background:
    linear-gradient(115deg,rgba(10,28,48,.93) 0%,rgba(15,42,74,.84) 52%,rgba(29,72,119,.72) 100%),
    url("img/hero-almacen.jpg") center/cover no-repeat;
}

/* encabezados internos con foto por página */
.page-header{background-size:cover;background-position:center;}
.ph-catalogo{
  background-image:
    linear-gradient(120deg,rgba(10,28,48,.93) 0%,rgba(22,57,95,.84) 100%),
    url("img/patio-contenedores.jpg");
}
.ph-nosotros{
  background-image:
    linear-gradient(120deg,rgba(10,28,48,.92) 0%,rgba(22,57,95,.82) 100%),
    url("img/puerto-carga.jpg");
}
.ph-sucursales{
  background-image:
    linear-gradient(120deg,rgba(10,28,48,.92) 0%,rgba(22,57,95,.82) 100%),
    url("img/camion-carretera.jpg");
}
.ph-contacto{
  background-image:
    linear-gradient(120deg,rgba(10,28,48,.92) 0%,rgba(22,57,95,.84) 100%),
    url("img/suc-centro.jpg");
}

/* tarjetas de línea de producto con foto */
.feature-card.has-photo{padding:0;overflow:hidden;display:flex;flex-direction:column;}
.fc-photo{width:100%;height:150px;object-fit:cover;display:block;}
.feature-card.has-photo .fc-body{padding:0 20px 22px;}
.feature-card.has-photo .fc-icon{
  margin-top:-22px;
  position:relative;
  z-index:1;
  border:3px solid var(--white);
  box-shadow:var(--shadow-sm);
  background:var(--steel-100);
}

/* tabla de catálogo con miniatura */
.cat-thumb{width:62px;height:62px;object-fit:cover;border-radius:8px;display:block;}
.cat-row{grid-template-columns:34px 62px 1fr auto auto;}
.cat-table-head{grid-template-columns:34px 62px 1fr auto auto;}

/* tarjetas de sucursal con foto */
.branch-card{padding:0;overflow:hidden;}
.branch-photo{width:100%;height:170px;object-fit:cover;display:block;}
.branch-body{padding:22px 26px 26px;}

/* bloque historia texto + foto (nosotros) */
.split-media{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center;}
.split-media img{
  width:100%;height:340px;object-fit:cover;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
}
.split-caption{font-size:.78rem;color:var(--ink-500);font-style:italic;margin-top:10px;text-align:center;}

/* bandas de estadísticas sobre foto con velo navy */
.stats-photo{
  background:
    linear-gradient(rgba(10,28,48,.90),rgba(15,42,74,.88)),
    url("img/patio-contenedores.jpg") center/cover no-repeat;
}
.stats-photo.bg-atardecer{
  background:
    linear-gradient(rgba(10,28,48,.88),rgba(15,42,74,.84)),
    url("img/camion-atardecer.jpg") center/cover no-repeat;
}
.stats-photo .section-head h2{color:var(--white);}
.stats-photo .section-head p{color:var(--steel-200);}
.stats-photo .section-head .eyebrow{color:var(--steel-300);}
.stats-photo .mini-stat{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);}
.stats-photo .mini-stat b{color:var(--white);}
.stats-photo .mini-stat span{color:var(--steel-300);}
.stats-photo .divider-note{color:var(--steel-400);}

/* cajas CTA con foto de fondo + velo de color */
.cta-box.cta-photo{
  border:none;
  background-size:cover;
  background-position:center;
}
.cta-photo h2{color:var(--white);}
.cta-photo p{color:var(--steel-200);}
.cta-img-camion{
  background-image:linear-gradient(120deg,rgba(10,28,48,.90) 30%,rgba(31,79,179,.60)),url("img/camion-carretera.jpg");
}
.cta-img-almacen{
  background-image:linear-gradient(120deg,rgba(10,28,48,.90) 30%,rgba(31,79,179,.58)),url("img/hero-almacen.jpg");
}
.cta-img-atardecer{
  background-image:linear-gradient(120deg,rgba(10,28,48,.90) 30%,rgba(31,79,179,.55)),url("img/camion-atardecer.jpg");
}
.cta-img-montacargas{
  background-image:linear-gradient(120deg,rgba(10,28,48,.90) 30%,rgba(31,79,179,.58)),url("img/montacargas.jpg");
}
.cta-img-patio{
  background-image:linear-gradient(120deg,rgba(10,28,48,.90) 30%,rgba(31,79,179,.55)),url("img/patio-contenedores.jpg");
}

/* responsive del bloque fotográfico */
@media (max-width:880px){
  .split-media{grid-template-columns:1fr;}
  .split-media img{height:240px;}
}
@media (max-width:760px){
  .cat-row{grid-template-columns:62px 1fr;grid-template-areas:"thumb name" "count link";}
  .cat-num{display:none;}
  .cat-thumb{grid-area:thumb;}
  .fc-photo{height:150px;}
  .branch-photo{height:150px;}
}
