/* ============================================
   TRASTEOS Y MUDANZAS SAN MIGUEL - styles.css
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A1F44;
  --navy-md: #1E3A6E;
  --navy-lt: #0F2D5C;
  --orange:  #F97316;
  --orange-d:#EA6A0A;
  --white:   #FFFFFF;
  --gray-bg: #F8FAFC;
  --gray:    #64748B;
  --gray-lt: #E2E8F0;
  --wa:      #25D366;
  --wa-d:    #1DA851;
  --call:    #2563EB;
  --call-d:  #1D4ED8;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(10,31,68,.10);
  --shadow-lg: 0 12px 40px rgba(10,31,68,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1E293B;
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.orange { color: var(--orange); }
.white  { color: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block;
}
.eyebrow--center { text-align: center; }
.eyebrow--light  { color: rgba(249,115,22,.85); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }

.section-sub { font-size: 1.05rem; color: var(--gray); max-width: 600px; margin: 0 auto 40px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px; font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); white-space: nowrap;
}
.btn--lg    { padding: 16px 32px; font-size: 1rem; }
.btn--sm    { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 16px rgba(249,115,22,.35); }
.btn--primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.45); }

.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.btn--wa:hover { background: var(--wa-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.45); }

.btn--call { background: var(--call); color: var(--white); box-shadow: 0 4px 16px rgba(37,99,235,.30); }
.btn--call:hover { background: var(--call-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.40); }

.btn--call-light { background: var(--white); color: var(--call); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn--call-light:hover { background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.btn--nav { background: var(--orange); color: var(--white); padding: 10px 22px; border-radius: 50px; font-size: .88rem; }
.btn--nav:hover { background: var(--orange-d); }

.section { padding: 90px 0; }

[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition); }
.navbar.scrolled { background: rgba(10,31,68,.97); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,.2); }
.navbar.menu-open { background: rgba(10,31,68,.99); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo-img { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; background: rgba(255,255,255,.1); }
.navbar__logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--white); letter-spacing: .05em; }
.navbar__links { display: flex; align-items: center; gap: 32px; }
.navbar__links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; transition: color var(--transition); }
.navbar__links a:hover { color: var(--orange); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,31,68,.88) 0%, rgba(10,31,68,.75) 50%, rgba(10,31,68,.65) 100%); }

.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.hero__content { flex: 1; max-width: 620px; }
.hero__title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; margin-bottom: 20px; letter-spacing: .02em; }
.hero__sub { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 24px; max-width: 500px; line-height: 1.65; }
.hero__checks { margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero__checks li { color: rgba(255,255,255,.88); font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.check-icon { background: var(--orange); color: white; width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero__badge-standalone { flex-shrink: 0; background: var(--orange); color: white; border-radius: 20px; padding: 28px 32px;
  text-align: center; box-shadow: var(--shadow-lg); backdrop-filter: blur(4px); }
.hero__badge-standalone strong { display: block; font-size: 3.5rem; font-family: 'Bebas Neue', sans-serif; line-height: 1; }
.hero__badge-standalone span { font-size: .9rem; opacity: .9; line-height: 1.4; }

.hero__stats { position: relative; z-index: 2; background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12); padding: 28px 0; margin-top: auto; }
.hero__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--orange); line-height: 1; }
.stat span { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 4px; display: block; }

/* SERVICES */
.services { background: var(--gray-bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.svc-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow);
  transition: var(--transition); border-bottom: 3px solid transparent; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--orange); }
.svc-card__icon { font-size: 2rem; margin-bottom: 14px; }
.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.svc-card p { font-size: .88rem; color: var(--gray); line-height: 1.55; }

/* WHY */
.why { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-md) 100%); position: relative; overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(249,115,22,.08) 0%, transparent 60%); pointer-events: none; }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.why__desc { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }
.why__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start; transition: var(--transition); }
.why-card:hover { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.3); transform: translateY(-3px); }
.why-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.why-card h4 { color: var(--white); font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.why-card p  { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.4; }

/* ABOUT */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__images { position: relative; height: 460px; }
.about__img-main { position: absolute; top: 0; left: 0; width: 75%; height: 85%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img-main img { width: 100%; height: 100%; background: var(--gray-lt); min-height: 300px; }
.about__img-sec { position: absolute; bottom: 0; right: 0; width: 55%; height: 55%; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white); }
.about__img-sec img { width: 100%; height: 100%; background: var(--gray-lt); }
.about__badge { position: absolute; bottom: -16px; left: 20px; background: var(--orange); color: white; padding: 14px 20px;
  border-radius: 12px; text-align: center; box-shadow: 0 8px 24px rgba(249,115,22,.4); z-index: 2; }
.about__badge strong { display: block; font-size: 2rem; font-family: 'Bebas Neue', sans-serif; line-height: 1; }
.about__badge span   { font-size: .72rem; }
.about__text p { color: var(--gray); margin-bottom: 14px; line-height: 1.75; }
.about__list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.about__list li { color: var(--navy); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 10px; }

/* GALLERY */
.gallery { background: var(--gray-bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 14px; margin-top: 40px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--gray-lt); min-height: 180px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item--tall { grid-row: span 2; min-height: 380px; }
.gallery-item--wide { grid-column: span 2; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(10,31,68,.85) 0%, transparent 100%);
  color: white; padding: 28px 16px 14px; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* VIDEO SECTION */
.video-section { background: var(--white); }
.video-wrapper {
  max-width: 880px;
  margin: 40px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  position: relative;
  aspect-ratio: 16 / 9;
}
.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--navy);
  object-fit: cover;
}

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card { background: var(--gray-bg); border-radius: var(--radius); padding: 30px 26px; transition: var(--transition); border: 2px solid transparent; }
.testi-card:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: var(--shadow-lg); }
.testi-card--featured { background: var(--navy); color: white; }
.testi-card--featured p { color: rgba(255,255,255,.85); }
.testi-stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 14px; }
.testi-card p { font-size: .92rem; color: #475569; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: white; font-weight: 700;
  font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-author strong { display: block; font-size: .9rem; color: var(--navy); }
.testi-card--featured .testi-author strong { color: white; }
.testi-author span { font-size: .78rem; color: var(--gray); }
.testi-card--featured .testi-author span { color: rgba(255,255,255,.55); }

/* FAQ */
.faq { background: var(--gray-bg); }
.faq__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(10,31,68,.06); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; background: none; border: none;
  cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--navy); text-align: left; gap: 16px; transition: color var(--transition); font-family: 'Inter', sans-serif; }
.faq-q:hover { color: var(--orange); }
.faq-q[aria-expanded="true"] { color: var(--orange); }
.faq-icon { font-size: 1.3rem; font-weight: 300; flex-shrink: 0; color: var(--orange); transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-a.open { max-height: 220px; }
.faq-a p { padding: 0 22px 20px; font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* FORM */
.form-section { background: var(--white); }
.form-wrapper { max-width: 820px; margin: 0 auto; background: var(--gray-bg); border-radius: 20px; padding: 48px 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-lt); box-sizing: border-box; width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.fg { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fg--full { grid-column: 1 / -1; }
.fg label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-lt); border-radius: 10px;
  font-size: .92rem; font-family: 'Inter', sans-serif; color: #1E293B; background: var(--white);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition); resize: vertical;
  -webkit-appearance: none; appearance: none; box-sizing: border-box; max-width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.fg input.error, .fg select.error, .fg textarea.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.fg input.error-locked { border-color: #EF4444; background: #FEF2F2; }
.form-submit { text-align: center; margin-top: 8px; }
.form-note { margin-top: 12px; font-size: .8rem; color: var(--gray); }
.form-alert { padding: 14px 18px; border-radius: 10px; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.form-alert.error   { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.form-alert.success { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.form-alert.warning  { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; display: block; margin-bottom: 0; }

/* CTA FINAL */
.cta-final { background: linear-gradient(135deg, var(--orange) 0%, #EA6A0A 100%); padding: 80px 0; text-align: center; }
.cta-final__inner h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 16px; line-height: 1.1; }
.cta-final__inner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-final__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-final .btn--wa { background: var(--white); color: var(--wa-d); }
.cta-final .btn--wa:hover { background: #f0fdf4; transform: translateY(-2px); }

/* FOOTER */
.footer { background: var(--navy); padding: 70px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { width: 56px; height: 56px; border-radius: 10px; background: rgba(255,255,255,.1); object-fit: contain; margin-bottom: 16px; }
.footer__slogan { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.6; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex;
  align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer__social a:hover { background: var(--orange); color: white; transform: translateY(-2px); }
.footer__nav h4, .footer__contact h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color var(--transition); }
.footer__nav a:hover { color: var(--orange); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a, .footer__contact p { color: rgba(255,255,255,.6); font-size: .88rem; transition: color var(--transition); }
.footer__contact a:hover { color: var(--orange); }
.footer__contact-btns { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.footer__bottom { padding: 20px 0; text-align: center; }
.footer__bottom p { color: rgba(255,255,255,.35); font-size: .8rem; }

/* FLOATING BUTTONS */
.float-btns { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 999; max-width: calc(100vw - 40px); }
.wa-float { position: relative; width: 58px; height: 58px; background: var(--wa); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: white; box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: transform var(--transition), box-shadow var(--transition); }
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.6); }
.call-float { width: 52px; height: 52px; background: var(--call); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 4px 16px rgba(37,99,235,.4); transition: transform var(--transition), box-shadow var(--transition); }
.call-float:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,99,235,.5); }
.wa-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: var(--wa); animation: pulse 2.5s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

/* FORM EXTRAS */
.form-block-title { margin-top: 10px; padding: 10px 16px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy-md) 100%);
  border-radius: 8px; color: var(--white); font-weight: 700; font-size: .9rem; letter-spacing: .03em; display: flex; align-items: center; gap: 8px; }
.form-block-title:first-child { margin-top: 0; }

.inv-subtitle { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange);
  padding: 6px 0 2px; border-bottom: 1px solid var(--gray-lt); margin-bottom: 4px; }

.btn-agregar { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 2px dashed var(--orange);
  border-radius: 10px; background: rgba(249,115,22,.05); color: var(--orange); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif; }
.btn-agregar:hover { background: rgba(249,115,22,.12); transform: translateY(-1px); }
.btn-agregar:disabled { opacity: .4; cursor: not-allowed; transform: none; }

.radio-group { display: flex; flex-wrap: wrap; gap: 14px; }
.radio-opt { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .92rem; color: var(--navy); font-weight: 500;
  padding: 10px 18px; border: 2px solid var(--gray-lt); border-radius: 50px; transition: var(--transition); }
.radio-opt:hover { border-color: var(--orange); }
.radio-opt input[type="radio"] { accent-color: var(--orange); width: 16px; height: 16px; }
.radio-opt:has(input:checked) { border-color: var(--orange); background: rgba(249,115,22,.07); color: var(--orange); }

.extra-obj, .parada-item { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end;
  background: rgba(249,115,22,.05); border: 1px solid rgba(249,115,22,.2); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.parada-item { grid-template-columns: 1fr 1fr 1fr auto; }

.btn-remove { width: 36px; height: 36px; border: none; border-radius: 8px; background: #FEE2E2; color: #B91C1C; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.btn-remove:hover { background: #EF4444; color: white; }

/* Contador de inventario para servicio exprés */
.inv-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  background: var(--gray-lt);
  color: var(--navy);
}
.inv-counter.warn { background: #FEF3C7; color: #92400E; }
.inv-counter.danger { background: #FEE2E2; color: #B91C1C; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner    { grid-template-columns: 1fr; gap: 40px; }
  .why__cards    { grid-template-columns: repeat(3, 1fr); }
  .about__inner  { grid-template-columns: 1fr; gap: 40px; }
  .about__images { height: 320px; }
  .faq__inner    { grid-template-columns: 1fr; }
  .faq__head     { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__badge-standalone { padding: 20px 24px; }
  .hero__badge-standalone strong { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .navbar__links { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,31,68,.98);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px; opacity: 0; pointer-events: none;
    transition: opacity var(--transition); z-index: 999; }
  .navbar__links.open { opacity: 1; pointer-events: auto; }
  .navbar__links a { font-size: 1.3rem; }
  .burger { display: flex; z-index: 1000; }

  .hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
  .hero__title { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .hero__sub { font-size: 1rem; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__badge-standalone { display: none; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .why__cards { grid-template-columns: 1fr; }
  .why__ctas { flex-direction: column; }
  .why__ctas .btn { width: 100%; justify-content: center; }
  .about__images { height: 260px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; min-height: 160px; }
  .gallery-item--wide { grid-column: span 2; }

  .video-wrapper { border-radius: 12px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; gap: 30px; }

  /* FORM: 1 columna completa, sin desbordes */
  .form-wrapper { padding: 24px 16px; width: 100%; box-sizing: border-box; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; width: 100%; }
  .fg, .fg--full { grid-column: 1 / -1; width: 100%; }
  .fg input, .fg select, .fg textarea { font-size: 16px; } /* evita zoom automático en iOS */

  /* Objetos extra y paradas: apilados en columna en vez de grid horizontal */
  .extra-obj, .parada-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .extra-obj .btn-remove, .parada-item .btn-remove {
    width: 100%;
    height: 40px;
    border-radius: 8px;
  }

  .radio-group { flex-direction: column; gap: 10px; width: 100%; }
  .radio-opt { width: 100%; box-sizing: border-box; justify-content: flex-start; }

  .btn-agregar { width: 100%; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }

  .cta-final__btns { flex-direction: column; align-items: center; width: 100%; }
  .cta-final__btns .btn { width: 100%; max-width: 100%; justify-content: center; }

  /* Botones flotantes: siempre visibles, dentro del viewport */
  .float-btns { bottom: 16px; right: 16px; gap: 10px; }
  .wa-float { width: 54px; height: 54px; }
  .call-float { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding-top: 80px; }
  .hero__title { font-size: clamp(2.2rem, 12vw, 3rem); }
  .hero__checks { gap: 8px; }
  .hero__checks li { font-size: .9rem; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat strong { font-size: 1.6rem; }
  .stat span { font-size: .72rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: auto; }
  .gallery-item--tall { min-height: 200px; }
  .faq-q { font-size: .88rem; padding: 16px 18px; }
  .hero__ctas .btn--lg { padding: 14px 24px; font-size: .92rem; }
  .why-card { padding: 16px; }
  .why-card__icon { font-size: 1.3rem; }

  /* FORM aún más compacto */
  .form-wrapper { padding: 18px 12px; border-radius: 14px; }
  .form-block-title { font-size: .82rem; padding: 9px 12px; }
  .inv-subtitle { font-size: .72rem; }
  .fg label { font-size: .8rem; }
  .fg input, .fg select, .fg textarea { padding: 11px 12px; }

  /* Botones flotantes un poco más pequeños y pegados a la esquina, sin salirse */
  .float-btns { bottom: 14px; right: 14px; gap: 8px; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
  .call-float { width: 44px; height: 44px; }
  .call-float svg { width: 22px; height: 22px; }
}

/* Pantallas extra angostas (320px y similares) */
@media (max-width: 360px) {
  .form-wrapper { padding: 14px 10px; }
  .btn--lg { padding: 13px 18px; font-size: .88rem; }
  .float-btns { right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .wa-pulse { animation: none; }
}
/* ====================================================
   CORRECCIONES DE COMPATIBILIDAD Y MENÚ MÓVIL
   ==================================================== */
html.menu-open,
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.navbar__logo,
.burger {
  position: relative;
}

.radio-opt.is-selected {
  border-color: var(--orange);
  background: rgba(249,115,22,.07);
  color: var(--orange);
}

.btn:disabled,
#submitBtn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 900px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar.menu-open,
  .navbar.scrolled.menu-open {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .navbar__inner {
    position: relative;
    z-index: 1002;
  }

  .navbar__logo {
    z-index: 1003;
  }

  .navbar__links {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    padding: calc(92px + env(safe-area-inset-top)) 24px calc(34px + env(safe-area-inset-bottom));
    background: #0A1F44;
    background: linear-gradient(160deg, rgba(10,31,68,.995) 0%, rgba(15,45,92,.995) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    z-index: 1001;
  }

  .navbar__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }

  .navbar__links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 340px);
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 12px;
    color: rgba(255,255,255,.92);
    font-size: 1.08rem;
    text-align: center;
  }

  .navbar__links a:hover,
  .navbar__links a:focus-visible {
    color: var(--white);
    background: rgba(255,255,255,.08);
  }

  .navbar__links .btn--nav {
    margin-top: 8px;
    color: var(--white);
    background: var(--orange);
    border-radius: 50px;
  }

  .burger {
    display: flex;
    z-index: 1004;
    flex-shrink: 0;
  }
}
