/* =========================================================
   Estructuras Industriales — Tema público
   Los colores llegan como variables CSS desde el panel
   (Configuración > Apariencia), ver layouts/app.blade.php
   ========================================================= */

:root {
  --brand-primary: #1f242b;
  --brand-secondary: #6b7079;
  --brand-accent: #f2b01e;
  --brand-dark: #121519;
  --brand-light: #f3f4f6;
  --brand-accent-rgb: 242, 176, 30;
  --brand-primary-rgb: 31, 36, 43;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: .75rem;
  --shadow-sm: 0 2px 10px rgba(16, 20, 24, .06);
  --shadow: 0 12px 34px rgba(16, 20, 24, .12);
  --header-h: 78px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  font-family: var(--font-body);
  color: #2c3036;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -.01em;
}
a { color: var(--brand-primary); text-underline-offset: 3px; }
a:hover { color: var(--brand-accent); }
img { max-width: 100%; }
::selection { background: var(--brand-accent); color: var(--brand-dark); }
.text-accent { color: var(--brand-accent) !important; }
.text-steel { color: var(--brand-secondary) !important; }
.bg-light-brand { background: var(--brand-light); }
.bg-dark-brand { background: var(--brand-dark); color: #d6d9de; }
.bg-dark-brand h1, .bg-dark-brand h2, .bg-dark-brand h3, .bg-dark-brand h4 { color: #fff; }

/* ---------- Botones ---------- */
.btn { font-weight: 600; border-radius: .5rem; padding: .7rem 1.4rem; letter-spacing: .01em; transition: all .25s ease; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-accent { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-dark); }
.btn-accent:hover, .btn-accent:focus { background: color-mix(in srgb, var(--brand-accent) 85%, #000); border-color: color-mix(in srgb, var(--brand-accent) 85%, #000); color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--brand-accent-rgb), .35); }
.btn-brand { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-brand { border: 2px solid var(--brand-primary); color: var(--brand-primary); }
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; }
.btn-outline-light-brand { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn-outline-light-brand:hover { background: #fff; color: var(--brand-dark); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--brand-dark); color: #b9bec6; font-size: .84rem; }
.topbar a { color: #d9dde2; text-decoration: none; }
.topbar a:hover { color: var(--brand-accent); }
.topbar .social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; }

/* ---------- Menú ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.site-header .navbar { min-height: var(--header-h); }
.brand-logo { height: 46px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-text .name { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--brand-primary); text-transform: uppercase; letter-spacing: .02em; }
.brand-text .slogan { font-size: .66rem; letter-spacing: .14em; color: var(--brand-secondary); text-transform: uppercase; }
.site-header .nav-link { font-weight: 600; color: var(--brand-primary); padding: .5rem .85rem !important; position: relative; font-size: .95rem; }
.site-header .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 3px; background: var(--brand-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-menu { border: 0; box-shadow: var(--shadow); border-radius: var(--radius); padding: .5rem; min-width: 280px; }
.site-header .dropdown-item { border-radius: .5rem; padding: .55rem .75rem; font-size: .92rem; }
.site-header .dropdown-item:hover { background: var(--brand-light); }
.site-header .dropdown-item i { color: var(--brand-accent); width: 22px; display: inline-block; }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: 1rem 0 1.25rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header .nav-link::after { display: none; }
  .site-header .dropdown-menu { box-shadow: none; padding-left: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background-color: var(--brand-dark); }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.hero .carousel { z-index: 0; } /* contexto propio: la capa oscura (::before) queda siempre encima de las fotos */
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(var(--brand-primary-rgb), .94) 0%, rgba(var(--brand-primary-rgb), .78) 45%, rgba(var(--brand-primary-rgb), .25) 100%); }
.hero.no-image { background: radial-gradient(1200px 600px at 85% 20%, rgba(var(--brand-accent-rgb), .14), transparent 60%), linear-gradient(135deg, var(--brand-dark), var(--brand-primary)); }
.hero.no-image::before { background: url("../images/truss-pattern.svg") repeat; opacity: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-accent); }
.hero-kicker::before { content: ""; width: 42px; height: 3px; background: var(--brand-accent); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.08; margin: 1rem 0 1.25rem; }
.hero .lead { color: #d9dde3; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 640px; }
.hero-mark { position: absolute; right: -2%; bottom: 8%; width: min(46vw, 640px); opacity: .08; z-index: 1; filter: grayscale(1) invert(1); pointer-events: none; }
.hero .carousel-indicators { z-index: 3; margin-bottom: 2rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 2px; background-color: var(--brand-accent); }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.7); font-size: 1.5rem; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-secondary); margin-bottom: .75rem; }
.section-kicker::before { content: ""; width: 32px; height: 3px; background: var(--brand-accent); border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-subtitle { color: #5d636b; font-size: 1.06rem; max-width: 720px; }
.text-center .section-subtitle { margin-inline: auto; }
.bg-dark-brand .section-kicker { color: #aeb4bc; }
.bg-dark-brand .section-subtitle { color: #b9bec6; }

/* Encabezado de página interna */
.page-header { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); color: #fff; background: radial-gradient(900px 400px at 90% 0%, rgba(var(--brand-accent-rgb), .14), transparent 60%), linear-gradient(135deg, var(--brand-dark), var(--brand-primary)); overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; background: url("../images/truss-pattern.svg") repeat; }
.page-header.has-image { background-size: cover; background-position: center; }
.page-header.has-image::before { background: linear-gradient(100deg, rgba(var(--brand-primary-rgb), .93), rgba(var(--brand-primary-rgb), .6)); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: .5rem 0 .75rem; }
.page-header .lead { color: #cdd2d8; max-width: 760px; font-size: 1.06rem; }
.page-header .breadcrumb { margin: 0; font-size: .86rem; }
.page-header .breadcrumb a { color: #cdd2d8; text-decoration: none; }
.page-header .breadcrumb a:hover { color: var(--brand-accent); }
.page-header .breadcrumb-item.active { color: var(--brand-accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #7d838c; }

/* ---------- Tarjetas ---------- */
.card-x { background: #fff; border: 1px solid #e8eaed; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-x .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-light); }
.card-x .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-x:hover .media img { transform: scale(1.06); }
.card-x .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-x h3 { font-size: 1.15rem; margin-bottom: .6rem; line-height: 1.3; }
.card-x h3 a { color: inherit; text-decoration: none; }
.card-x h3 a::after { content: ""; position: absolute; inset: 0; }
.card-x { position: relative; }
.card-x p { color: #5d636b; font-size: .95rem; }
.card-x .more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--brand-primary); display: inline-flex; align-items: center; gap: .4rem; }
.card-x:hover .more { color: var(--brand-accent); }
.card-x .more i { transition: transform .25s; }
.card-x:hover .more i { transform: translateX(4px); }
.card-x .badge-cat { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--brand-accent); color: var(--brand-dark); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .4rem .7rem; border-radius: .4rem; }

.service-card .icon-badge { position: absolute; left: 1.4rem; bottom: -26px; z-index: 2; width: 56px; height: 56px; border-radius: .75rem; background: var(--brand-primary); color: var(--brand-accent); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow-sm); border: 3px solid #fff; transition: background .3s; }
.service-card:hover .icon-badge { background: var(--brand-accent); color: var(--brand-dark); }
.service-card .media { overflow: visible; }
.service-card .media .img-wrap { position: absolute; inset: 0; overflow: hidden; }
.service-card .body { padding-top: 2.4rem; }

/* Imagen de reemplazo cuando aún no se sube una fotografía */
.ph-steel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 3rem; background: url("../images/truss-pattern.svg") center/180px repeat, linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); }
.ph-steel .emoji-icon { font-size: 3rem; }

/* Proyectos */
.project-card .media { aspect-ratio: 4 / 3; }
.project-card .meta { font-size: .82rem; color: var(--brand-secondary); display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-bottom: .5rem; }
.project-card .meta i { color: var(--brand-accent); }

/* Filtros */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-pills a { padding: .5rem 1.1rem; border-radius: 2rem; border: 1px solid #dfe2e6; color: var(--brand-primary); font-weight: 600; font-size: .9rem; text-decoration: none; background: #fff; transition: all .2s; }
.filter-pills a:hover { border-color: var(--brand-primary); }
.filter-pills a.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* ---------- Nosotros / ventajas ---------- */
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); }
.about-media .ph-box { position: relative; border-radius: var(--radius); aspect-ratio: 4/3.4; overflow: hidden; box-shadow: var(--shadow); }
.about-media .exp-badge { position: absolute; right: -10px; bottom: -22px; background: var(--brand-accent); color: var(--brand-dark); padding: 1.1rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.about-media .exp-badge strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; line-height: 1; font-weight: 800; }
.about-media .exp-badge span { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.about-media::before { content: ""; position: absolute; left: -16px; top: -16px; width: 45%; height: 45%; border-left: 4px solid var(--brand-accent); border-top: 4px solid var(--brand-accent); border-radius: var(--radius) 0 0 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; color: var(--brand-accent); font-size: 1.2rem; }

.feature { padding: 1.75rem; border-radius: var(--radius); background: #fff; height: 100%; border: 1px solid #eceef1; transition: all .3s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature .ic { width: 58px; height: 58px; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: rgba(var(--brand-accent-rgb), .15); color: color-mix(in srgb, var(--brand-accent) 70%, #000); margin-bottom: 1rem; }
.feature h3 { font-size: 1.08rem; }
.feature p { color: #5d636b; margin: 0; font-size: .95rem; }
.bg-dark-brand .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.bg-dark-brand .feature p { color: #aab0b8; }

.mv-card { border-radius: var(--radius); padding: 2rem; height: 100%; background: #fff; border-top: 4px solid var(--brand-accent); box-shadow: var(--shadow-sm); }
.mv-card .ic { font-size: 2rem; color: var(--brand-accent); }

/* Cifras */
.stats-band { background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: url("../images/truss-pattern.svg") repeat; }
.stat { text-align: center; position: relative; padding: 1rem; }
.stat .num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--brand-accent); line-height: 1; }
.stat .lbl { color: #cdd2d8; font-weight: 500; margin-top: .5rem; font-size: .95rem; }

/* Línea de tiempo */
.timeline { position: relative; padding-left: 2rem; border-left: 3px solid #e3e6ea; }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ""; position: absolute; left: calc(-2rem - 9px); top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 4px #fff; }
.timeline-item .year { font-family: var(--font-heading); font-weight: 800; color: var(--brand-accent); }

/* CTA */
.cta-band { position: relative; color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); background-size: cover; background-position: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--brand-primary-rgb), .95), rgba(var(--brand-primary-rgb), .7)); }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--brand-accent); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd4da; }

/* ---------- Detalle (servicio/proyecto/publicación) ---------- */
.content-body { font-size: 1.05rem; line-height: 1.75; color: #3a3f46; }
.content-body h2, .content-body h3, .content-body h4 { margin: 2rem 0 1rem; }
.content-body h2 { font-size: 1.6rem; } .content-body h3 { font-size: 1.3rem; }
.content-body img { height: auto; border-radius: .5rem; margin: 1rem 0; }
.content-body ul { padding-left: 0; list-style: none; }
.content-body ul li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; }
.content-body ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand-accent); }
.content-body blockquote { border-left: 4px solid var(--brand-accent); padding: .75rem 1.25rem; background: var(--brand-light); border-radius: 0 .5rem .5rem 0; font-style: italic; }
.content-body table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.content-body th, .content-body td { border: 1px solid #e3e6ea; padding: .6rem .8rem; }
.content-body iframe { max-width: 100%; border-radius: .5rem; }
.detail-cover { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }
.sidebar-box { background: var(--brand-light); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; }
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.sidebar-box.dark { background: var(--brand-primary); color: #d6d9de; }
.sidebar-box.dark h3 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px dashed #d8dce1; }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--brand-accent); font-size: 1.15rem; }
.info-list small { display: block; color: var(--brand-secondary); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.service-nav a { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; background: #fff; border-radius: .5rem; margin-bottom: .5rem; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--brand-primary); transition: all .2s; }
.service-nav a:hover, .service-nav a.active { background: var(--brand-primary); color: #fff; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-grid a { position: relative; display: block; border-radius: .6rem; overflow: hidden; aspect-ratio: 4/3; background: var(--brand-light); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; background: rgba(var(--brand-primary-rgb), .55); opacity: 0; transition: opacity .3s; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a:hover::after { opacity: 1; }

/* Compartir */
.share a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-light); color: var(--brand-primary); text-decoration: none; transition: all .2s; }
.share a:hover { background: var(--brand-accent); color: var(--brand-dark); }

/* Catálogos */
.catalog-card .media { aspect-ratio: 3/4; }
.catalog-card .media .ph-steel { font-size: 4rem; }
.catalog-card .pdf-tag { position: absolute; right: 1rem; top: 1rem; background: #d6342c; color: #fff; font-weight: 700; font-size: .72rem; padding: .3rem .55rem; border-radius: .35rem; z-index: 2; }
.catalog-card .actions { display: flex; gap: .5rem; margin-top: auto; position: relative; z-index: 3; }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--brand-primary); }
.form-control, .form-select { border-radius: .5rem; padding: .7rem .9rem; border-color: #dadde2; }
.form-control:focus, .form-select:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 .2rem rgba(var(--brand-accent-rgb), .25); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dropzone-lite { border: 2px dashed #cfd4da; border-radius: var(--radius); padding: 1.5rem; text-align: center; background: var(--brand-light); cursor: pointer; transition: all .2s; }
.dropzone-lite:hover, .dropzone-lite.drag { border-color: var(--brand-accent); background: rgba(var(--brand-accent-rgb), .07); }
.dropzone-lite i { font-size: 2rem; color: var(--brand-secondary); }
.file-list { list-style: none; padding: 0; margin: .75rem 0 0; font-size: .88rem; }
.file-list li { display: flex; justify-content: space-between; padding: .4rem .75rem; background: #fff; border: 1px solid #e3e6ea; border-radius: .4rem; margin-bottom: .35rem; }

.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic { flex: 0 0 48px; height: 48px; border-radius: .6rem; background: rgba(var(--brand-accent-rgb), .15); color: var(--brand-accent); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-item > div { min-width: 0; overflow-wrap: anywhere; }
.contact-item a { color: inherit; text-decoration: none; }
.site-footer li span, .site-footer li a { overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--brand-accent); }
.contact-item small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: #8d939b; font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--brand-dark); color: #a9afb7; font-size: .93rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand-accent) 0 30%, var(--brand-secondary) 30% 100%); }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.site-footer a { color: #c5cad1; text-decoration: none; }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-logo-plate { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: .6rem; }
.footer-logo-plate img { height: 70px; width: auto; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: .5rem; background: rgba(255,255,255,.07); margin-right: .35rem; font-size: 1.05rem; }
.footer-social a:hover { background: var(--brand-accent); color: var(--brand-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }

/* WhatsApp flotante y volver arriba */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); text-decoration: none; transition: transform .25s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float .tip { position: absolute; right: 72px; white-space: nowrap; background: #fff; color: #1f242b; font-size: .85rem; font-weight: 600; padding: .45rem .8rem; border-radius: .5rem; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 1039; width: 42px; height: 42px; border-radius: .5rem; border: 0; background: var(--brand-primary); color: #fff; opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-accent); color: var(--brand-dark); }

/* Barra móvil de acciones */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: none; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
.mobile-cta a { flex: 1; text-align: center; padding: .7rem .25rem; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--brand-primary); }
.mobile-cta a i { display: block; font-size: 1.25rem; color: var(--brand-accent); }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
  .wa-float { bottom: 80px; width: 54px; height: 54px; font-size: 1.6rem; }
  .to-top { display: none; }
}

/* Paginación */
.pagination { --bs-pagination-color: var(--brand-primary); --bs-pagination-active-bg: var(--brand-primary); --bs-pagination-active-border-color: var(--brand-primary); --bs-pagination-hover-color: var(--brand-primary); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(var(--brand-accent-rgb), .25); justify-content: center; }

/* Estado vacío */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--brand-secondary); }
.empty-state i { font-size: 3rem; color: #c3c8ce; }

/* Animaciones sutiles al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

.alert-success-brand { background: #e9f8ef; border: 1px solid #b7e6c8; color: #14532d; border-radius: var(--radius); }
