/* =========================================================
   Dispoamérica — Andamios para Colombia
   Paleta: navy industrial + naranja de seguridad
   ========================================================= */

:root {
  --navy: #0b1f33;
  --navy-2: #122a44;
  --navy-3: #1a3a5c;
  --orange: #ff6b00;
  --orange-dark: #e05d00;
  --orange-soft: #fff1e6;
  --steel: #5c6b7a;
  --fog: #f3f5f7;
  --line: #e2e8ee;
  --white: #ffffff;
  --ink: #121a22;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(11, 31, 51, 0.12);
  --header-h: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4,
.navbar-brand,
.btn,
.eyebrow,
.stat-number,
.stat-static,
.step-num,
.footer-brand {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  letter-spacing: 0.02em;
}

h1, h2 { font-weight: 800; line-height: 1.08; color: var(--navy); overflow-wrap: break-word; }
h3 { font-weight: 700; color: var(--navy); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }

.section {
  padding: 96px 0;
}

.section-alt { background: var(--fog); }

.section-head { margin-bottom: 48px; }

.section-lead {
  max-width: 560px;
  color: var(--steel);
  margin-top: 12px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 8px;
}

.eyebrow.light { color: #ffb077; }

/* ---------- Botones ---------- */
.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
}

.btn-accent {
  background: var(--orange);
  color: var(--navy) !important;
  border-color: var(--orange);
}

.btn-accent:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white) !important;
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.link-arrow {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow:hover { gap: 10px; color: var(--orange); }

/* ---------- Topbar / Nav ---------- */
.topbar {
  background: #071525;
  color: #c5d0db;
  font-size: 0.85rem;
  padding: 7px 0;
}

.topbar a { color: #c5d0db; }
.topbar a:hover { color: var(--orange); }
.topbar i { color: var(--orange); margin-right: 6px; }
.topbar-note {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fa0b0;
}

#mainNav {
  background: var(--navy);
  padding-block: 0;
  min-height: 76px;
  transition: box-shadow 0.25s ease;
}

#mainNav .container {
  min-height: 76px;
}

#mainNav.is-scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.navbar-brand {
  padding: 0;
  margin-right: 1.5rem;
}

.navbar-brand img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

#navMenu {
  flex-grow: 1;
}

.navbar-nav {
  gap: 0.15rem;
}

.nav-link {
  color: rgba(255,255,255,0.78) !important;
  font-weight: 600;
  padding: 0.45rem 0.7rem !important;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { color: var(--white) !important; }

.navbar-toggler {
  border-color: rgba(255,255,255,0.25);
  margin-left: auto;
}

.btn-nav {
  margin-left: 0.6rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  background: var(--navy);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  display: grid;
  min-height: 88vh;
  min-height: 88dvh;
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  width: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 1.15s ease, visibility 1.15s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide.is-active::before {
  animation: heroReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    transform: translateY(16px);
    filter: blur(8px);
  }
  to {
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,21,37,0.88) 0%, rgba(7,21,37,0.55) 55%, rgba(7,21,37,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
  max-width: 820px;
  color: var(--white);
}

.hero-kicker,
.hero-content h1,
.hero-content h2,
.hero-lead,
.hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active .hero-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.hero-slide.is-active .hero-content h1,
.hero-slide.is-active .hero-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.hero-slide.is-active .hero-lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.56s;
}

.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero-slide:not(.is-active) .hero-kicker,
.hero-slide:not(.is-active) .hero-content h1,
.hero-slide:not(.is-active) .hero-content h2,
.hero-slide:not(.is-active) .hero-lead,
.hero-slide:not(.is-active) .hero-actions {
  transition-delay: 0s;
  transition-duration: 0.4s;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.hero h1,
.hero h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 560px;
  color: #d7dee6;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--orange);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 40px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: var(--white);
  display: grid;
  place-items: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Stats ---------- */
.stats-bar {
  background: var(--navy-2);
  color: var(--white);
  padding: 48px 0;
  margin-top: -1px;
}

.stat-item { border-left: 3px solid var(--orange); padding-left: 16px; text-align: left; }

.stat-number,
.stat-plus,
.stat-static {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-static {
  display: block;
  letter-spacing: 0.04em;
}

.stat-plus { color: var(--orange); margin-left: 2px; }

.stat-item p {
  margin: 8px 0 0;
  color: #b8c4d0;
  font-size: 0.95rem;
}

/* ---------- Servicios ---------- */
.service-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: var(--steel); flex: 1; }

.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 6px;
  flex: 0;
}

/* ---------- Productos / Owl ---------- */
.carousel-nav { display: flex; gap: 8px; }

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.08);
  margin: 8px;
  height: calc(100% - 16px);
  display: flex;
  flex-direction: column;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 { font-size: 1.3rem; }
.product-body p {
  color: var(--steel);
  font-size: 0.95rem;
  flex: 1;
}

.product-body .btn { margin-top: auto; }

.product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #e8eef2;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: scale(1.06); }

.badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 1;
}

.badge-tag.accent { background: var(--orange); color: var(--navy); }

.product-specs {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.product-specs li::before {
  content: "▸ ";
  color: var(--orange);
}

/* ---------- About ---------- */
.about-media {
  position: relative;
}

.about-media img {
  border-radius: 18px;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--orange);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-badge strong { display: block; font-size: 1.2rem; }
.about-badge span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
  max-width: 16rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.check-list i {
  color: var(--orange);
  font-size: 1.4rem;
  margin-top: 2px;
}

.check-list strong { display: block; color: var(--navy); }
.check-list span { color: var(--steel); font-size: 0.95rem; }

/* ---------- Proceso ---------- */
.process-section {
  background:
    linear-gradient(110deg, rgba(11,31,51,0.92), rgba(11,31,51,0.78)),
    url("../assets/img/hero-2.jpg") center/cover;
  color: var(--white);
}

.process-section h2 { color: var(--white); }

.process-lead {
  color: #c9d3dd;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 22px;
  height: 100%;
  backdrop-filter: blur(4px);
}

.step-num {
  display: block;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.process-step h3 { color: var(--white); font-size: 1.3rem; }
.process-step p { color: #c9d3dd; margin: 0; }

/* ---------- Galería ---------- */
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  background: linear-gradient(transparent, rgba(7,21,37,0.85));
  color: var(--white);
}

.gallery-cap span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- Testimonios ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 10px;
  box-shadow: 0 10px 28px rgba(11,31,51,0.08);
}

.testimonial-card p {
  font-size: 1.12rem;
  color: var(--navy);
  margin: 12px 0 20px;
}

.stars { color: var(--orange); letter-spacing: 2px; }

.testimonial-card footer strong { display: block; color: var(--navy); }
.testimonial-card footer span { color: var(--steel); font-size: 0.92rem; }

/* ---------- Logos ---------- */
.logos-section {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.logos-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 20px;
}

.logo-item {
  height: 88px;
  margin: 0 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--white);
}

.logo-item img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-item--dark {
  background: var(--navy);
  border-color: var(--navy);
}

.logo-item--dark img {
  filter: none;
  opacity: 0.95;
}

/* ---------- Contacto (teléfono + WhatsApp) ---------- */
.contact-section .section-lead { max-width: 540px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white) !important;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  color: var(--white) !important;
  box-shadow: 0 22px 44px rgba(11, 31, 51, 0.22);
}

.contact-card.whatsapp { background: #128c4a; }

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.contact-card-icon.phone {
  background: var(--orange);
  color: var(--navy);
}

.contact-card-icon.wa {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

.contact-card.mail { background: var(--navy-3); }

.contact-card-icon.mail {
  background: var(--orange);
  color: var(--navy);
}

.contact-card.mail strong {
  font-size: 1.15rem;
  word-break: break-all;
}

.contact-card-icon.pin {
  background: var(--orange-soft);
  color: var(--orange);
}

.contact-card.address strong {
  font-size: 1.35rem;
}

.contact-card-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 4px;
}

.contact-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
}

.contact-card p {
  margin: 6px 0 0;
  font-size: 0.92rem;
  opacity: 0.8;
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--line);
  margin-bottom: 10px;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--orange-soft);
  color: var(--navy);
}

.accordion-button::after { filter: none; }

.accordion-body { color: var(--steel); }
.accordion-body a { color: var(--orange); font-weight: 600; }
.accordion-body a:hover { color: var(--orange-dark); }

/* ---------- CTA / Footer ---------- */
.cta-band {
  background: var(--orange);
  color: var(--navy);
  padding: 48px 0;
}

.cta-band h2 { color: var(--navy); margin-bottom: 6px; }
.cta-band .btn-accent {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white) !important;
}

.cta-band .btn-accent:hover { background: var(--navy-2); }

.site-footer {
  background: #071525;
  color: #b8c4d0;
  padding: 64px 0 24px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 88px;
  width: auto;
  display: block;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c4d0; }
.site-footer a:hover { color: var(--orange); }

.footer-social { display: flex; gap: 12px; font-size: 1.2rem; }
.footer-social a { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}

/* ---------- Floats ---------- */
.whatsapp-fab,
.to-top {
  position: fixed;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.whatsapp-fab {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  background: #25d366;
}

.whatsapp-fab:hover { color: var(--white); filter: brightness(1.08); }

.to-top {
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Page loader ---------- */
#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pageLoader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  padding: 24px;
}

.loader-scaffold {
  width: min(220px, 56vw);
  height: auto;
  overflow: visible;
  animation: scaffoldIdle 1.8s ease-in-out 2.2s infinite;
}

.scaffold-part {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: scaffoldRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.scaffold-part.brace { stroke: rgba(232, 238, 242, 0.45); stroke-width: 3; }
.scaffold-part.rail { stroke: var(--orange); }

.scaffold-part[data-i="1"] { animation-delay: 0.08s; }
.scaffold-part[data-i="2"] { animation-delay: 0.22s; }
.scaffold-part[data-i="3"] { animation-delay: 0.38s; }
.scaffold-part[data-i="4"] { animation-delay: 0.52s; }
.scaffold-part[data-i="5"] { animation-delay: 0.66s; }
.scaffold-part[data-i="6"] { animation-delay: 0.82s; }
.scaffold-part[data-i="7"] { animation-delay: 0.98s; }
.scaffold-part[data-i="8"] { animation-delay: 1.12s; }
.scaffold-part[data-i="9"] { animation-delay: 1.26s; }
.scaffold-part[data-i="10"] { animation-delay: 1.42s; }
.scaffold-part[data-i="11"] { animation-delay: 1.58s; }
.scaffold-part[data-i="12"] { animation-delay: 1.74s; }
.scaffold-part[data-i="13"] { animation-delay: 1.88s; }

@keyframes scaffoldRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaffoldIdle {
  0%, 100% { filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.18)); }
  50% { filter: drop-shadow(0 8px 16px rgba(255, 107, 0, 0.28)); }
}

.loader-brand {
  margin: 18px 0 0;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  animation: scaffoldRise 0.5s ease 2s forwards;
}

.loader-caption {
  margin: 4px 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: #9aa8b5;
  opacity: 0;
  animation: scaffoldRise 0.5s ease 2.15s forwards;
}

body.is-loading .whatsapp-fab,
body.is-loading .to-top {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .scaffold-part,
  .loader-brand,
  .loader-caption,
  .loader-scaffold {
    animation: none !important;
    opacity: 1;
    filter: none;
  }
}

/* Owl overrides */
.owl-theme .owl-nav { display: none; }
.owl-carousel { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 64px 0; }
  .hero-content { padding-top: 40px; padding-bottom: 88px; }
  .hero-scroll { display: none; }
  #mainNav,
  #mainNav .container { min-height: 64px; }
  .navbar-brand img { height: 48px; max-width: 168px; }
  .navbar-nav { padding: 12px 0 16px; gap: 2px; }
  .nav-link { padding: 0.7rem 0 !important; }
  .btn-nav {
    margin: 10px 0 0;
    width: 100%;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(7,21,37,0.78) 0%, rgba(7,21,37,0.88) 100%);
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero,
  .hero-slider,
  .hero-slide { min-height: 0; }
  .hero-content { padding-top: 20px; padding-bottom: 48px; }
  .hero h1,
  .hero h2 { font-size: 1.65rem; }
  .hero-lead { font-size: 0.92rem; margin-bottom: 14px; }
  .section { padding: 48px 0; }
}

/* iPhone Pro Max (430) y el resto de iPhone en portrait */
@media (max-width: 430px) {
  body { font-size: 16px; }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .row.g-5 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
  }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
  .section-lead { margin-top: 8px; }

  h2 { font-size: clamp(1.7rem, 7.2vw, 2.15rem); }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: calc(100svh - 64px);
    min-height: calc(100dvh - 64px);
  }

  .hero-slide {
    align-items: center;
  }

  .hero-content {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-dots { bottom: 14px; }

  .stats-bar { padding: 32px 0; }
  .stat-item { text-align: center; border-left: 0; padding-left: 0; }
  .stat-item p { font-size: 0.82rem; line-height: 1.35; }
  .stat-number,
  .stat-plus,
  .stat-static {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .service-card { padding: 22px 18px; }
  .service-card h3 { font-size: 1.2rem; }

  .product-img { height: 200px; }
  .product-card { margin: 4px; }
  .product-body { padding: 16px; }

  .about-media img { height: 260px; }
  .about-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
    max-width: calc(100% - 24px);
  }

  .process-step { padding: 22px 18px; }

  .contact-card {
    padding: 20px 16px;
    gap: 14px;
  }

  .contact-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .contact-card strong { font-size: 1.25rem; }
  .contact-card.mail strong { font-size: 1.05rem; }
  .contact-card.address strong { font-size: 1.2rem; }

  .accordion-button {
    font-size: 1.02rem;
    padding: 0.9rem 1rem;
  }

  .cta-band {
    padding: 36px 0;
    text-align: center;
  }

  .cta-band .btn { width: 100%; }

  .site-footer { padding: 48px 0 calc(32px + 56px + env(safe-area-inset-bottom)); }
  .footer-brand img { height: 64px; }
  .footer-bottom { flex-direction: column; }

  .whatsapp-fab,
  .to-top {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .navbar-brand img {
    height: 44px;
    max-width: min(58vw, 170px);
  }
}

/* iPhone SE / 13 mini (375) */
@media (max-width: 375px) {
  .hero-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(1.55rem, 7.6vw, 1.95rem);
  }

  .hero-lead { font-size: 0.92rem; }

  .btn {
    padding: 0.7rem 1.1rem;
    font-size: 0.92rem;
  }

  .contact-card strong { font-size: 1.12rem; }
  .contact-card.mail strong { font-size: 0.98rem; }
}

@media (max-width: 575px) {
  .stat-item { text-align: center; border-left: 0; padding-left: 0; }
  .footer-bottom { flex-direction: column; }
}
