/* ══════════════════════════════════════════════════
   MEDVANCE — styles.css
   Brand: Montserrat (headings) + Open Sans (body)
   Colors: #004C91 blue / #77C043 green
══════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:       #004C91;
  --green:      #77C043;
  --soft:       #3A8DDE;
  --teal:       #2CB7A5;
  --steel:      #8A959E;
  --lgray:      #E5E5E5;
  --mgray:      #555555;
  --offwhite:   #EBF4FF;
  --dark:       #002d5a;
  --white:      #ffffff;
  --shadow:     0 2px 16px rgba(0,76,145,0.10);
  --radius:     4px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.15;
}

/* ── LAYOUT ── */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 64px 0; }
.section-alt { background: var(--offwhite); }

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 13.5px;
  color: var(--mgray);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: #68ad39; transform: translateY(-1px); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: #003d78; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

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

/* ── COLOR UTILITIES ── */
.text-green { color: var(--green); }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  height: 80px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-bubble {
  background: white;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: 52px;
  display: block;
  object-fit: contain;
}

.mv-box {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.mv-m { color: var(--green); }
.mv-v { color: var(--blue); }

.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}

.nav-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.brand-med { color: var(--green); }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green); }

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: 32px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-cta {
  display: inline-block;
  margin-top: 8px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  padding: 140px 0 120px;
  overflow: hidden;
  background: var(--blue);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,29,61,0.92) 0%,
    rgba(0,44,90,0.80) 50%,
    rgba(0,76,145,0.65) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-content { max-width: 680px; }

.hero-diagonal {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}


.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title .text-green { color: var(--green); }

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 30px;
  color: var(--white);
  line-height: 1;
}

/* "República Dominicana" fits in the same stat box */
.hero-stats .stat:last-child .stat-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding-top: 5px;
  line-height: 1.2;
}

.stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

.stat-flag {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 3px;
}

/* Hero Showcase */
.hero-showcase {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 18px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 10px;
  margin-bottom: 14px;
}

.showcase-main {
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  aspect-ratio: 1;
}

.showcase-main img {
  max-height: 150px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
  transition: transform var(--transition);
}
.showcase-main:hover img { transform: scale(1.05); }

.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-side-item {
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  flex: 1;
  transition: transform var(--transition);
}
.showcase-side-item:hover { transform: scale(1.04); }

.showcase-side-item img {
  max-height: 72px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.showcase-footer { text-align: center; }

.mosaic-label {
  font-size: 9px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.certs-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.cert {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hide old hero panel/showcase elements */
.hero-right,
.hero-showcase,
.showcase-grid,
.showcase-main,
.showcase-side,
.showcase-side-item,
.showcase-footer,
.hero-panel,
.hero-pill { display: none !important; }

/* ── CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--white);
  border: 1.5px solid var(--lgray);
  padding: 22px 18px;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  border-radius: var(--radius);
}
.cat-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cat-accent-blue  { background: var(--blue); }
.cat-accent-green { background: var(--green); }
.cat-accent-teal  { background: var(--teal); }
.cat-accent-soft  { background: var(--soft); }

.cat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 30px;
  color: rgba(0, 76, 145, 0.30);
  line-height: 1;
  margin-bottom: 10px;
}

.cat-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 7px;
  line-height: 1.3;
}

.cat-desc {
  font-size: 11.5px;
  color: var(--steel);
  line-height: 1.55;
  margin-bottom: 14px;
}

.cat-count {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── PRODUCTS ── */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--lgray);
  color: var(--mgray);
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border-radius: var(--radius);
  letter-spacing: 0.3px;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prod-card {
  background: var(--white);
  border: 1.5px solid var(--lgray);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  border-radius: var(--radius);
}
.prod-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.prod-card.hidden { display: none; }

.prod-img-area {
  background: var(--offwhite);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.prod-img-area img {
  max-height: 100px;
  max-width: 80%;
  object-fit: contain;
  margin: 0 auto;
}

.prod-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-blue-solid  { background: var(--blue);  color: white; }
.badge-green-solid { background: var(--green); color: white; }
.badge-teal-solid  { background: var(--teal);  color: white; }

.prod-info { padding: 14px 16px; }

.prod-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--blue);
  margin-bottom: 5px;
}

.prod-detail {
  font-size: 11px;
  color: var(--steel);
  line-height: 1.55;
}

/* ── WHY MEDVANCE ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--offwhite);
  padding: 28px 22px;
  border-bottom: 3px solid transparent;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-2px); }

.why-card-green { border-bottom-color: var(--green); }
.why-card-blue  { border-bottom-color: var(--blue); }
.why-card-teal  { border-bottom-color: var(--teal); }

.why-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 34px;
  color: rgba(0, 76, 145, 0.30);
  line-height: 1;
  margin-bottom: 12px;
}

.why-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--blue);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 12px;
  color: var(--mgray);
  line-height: 1.65;
}

/* ── SERVICES ── */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  background: var(--white);
  border: 1.5px solid var(--lgray);
  border-radius: var(--radius);
}

.step {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
  border-right: 1.5px solid var(--lgray);
}
.step:last-child { border-right: none; }

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--lgray);
  font-size: 20px;
  padding-top: 28px;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 11.5px;
  color: var(--mgray);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-item {
  background: var(--white);
  padding: 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1.5px solid var(--lgray);
  border-radius: var(--radius);
}

.service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--blue);
  margin-bottom: 5px;
}

.service-desc {
  font-size: 11.5px;
  color: var(--mgray);
  line-height: 1.55;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--blue);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: var(--offwhite);
  border: 1.5px solid var(--lgray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.contact-label {
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-val {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.social-row { margin-top: 4px; }

.social-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.contact-form-wrap {
  background: var(--offwhite);
  border: 1.5px solid var(--lgray);
  padding: 32px;
  border-radius: var(--radius);
}

.form-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 20px;
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--lgray);
  padding: 10px 13px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  border-radius: var(--radius);
  color: #333;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 90px; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 28px 0;
  position: relative;
}

.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--white);
}

.footer-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-tooltip {
  display: none;
  position: absolute;
  right: 60px;
  background: var(--dark);
  color: white;
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-tooltip { display: block; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 768px)
══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 80px 0 100px; }
  .hero-title { font-size: clamp(36px, 8vw, 48px); }
  .hero-stats { gap: 24px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid  { grid-template-columns: 1fr; gap: 14px; }

  .steps-row {
    flex-direction: column;
    gap: 0;
  }
  .step { border-right: none; border-bottom: 1.5px solid var(--lgray); }
  .step:last-child { border-bottom: none; }
  .step-arrow { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 480px)
══════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .container { padding: 0 20px; }
  .section { padding: 48px 0; }

  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }

  .cat-grid  { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 22px; }
  .cta-headline  { font-size: 20px; }
}

/* ══════════════════════════════════════════════════
   SECTION DIAGONAL SEPARATORS
══════════════════════════════════════════════════ */

/* Compensate for the hero clip-path — pull next section up */
#categorias {
  margin-top: -48px;
  padding-top: 96px;
  position: relative;
  z-index: 1;
}

/* Diagonal wedge before the blue CTA band */
.cta-band {
  position: relative;
  margin-top: 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--blue);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ══════════════════════════════════════════════════
   PRODUCT CARD HOVER — COTIZAR OVERLAY
══════════════════════════════════════════════════ */
.prod-img-area {
  position: relative;
}

.prod-img-area::after {
  content: 'Cotizar →';
  position: absolute;
  inset: 0;
  background: rgba(0, 76, 145, 0.88);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}

.prod-card:hover .prod-img-area::after {
  opacity: 1;
}

/* ══════════════════════════════════════════════════
   SCROLL ANIMATIONS
   js-loaded body class prevents FOUC if JS is blocked
══════════════════════════════════════════════════ */
.js-loaded .anim-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-loaded .anim-group.animated > * { opacity: 1; transform: none; }

.js-loaded .anim-group.animated > *:nth-child(1)  { transition-delay: 0.00s; }
.js-loaded .anim-group.animated > *:nth-child(2)  { transition-delay: 0.08s; }
.js-loaded .anim-group.animated > *:nth-child(3)  { transition-delay: 0.16s; }
.js-loaded .anim-group.animated > *:nth-child(4)  { transition-delay: 0.24s; }
.js-loaded .anim-group.animated > *:nth-child(5)  { transition-delay: 0.32s; }
.js-loaded .anim-group.animated > *:nth-child(6)  { transition-delay: 0.40s; }
.js-loaded .anim-group.animated > *:nth-child(7)  { transition-delay: 0.48s; }
.js-loaded .anim-group.animated > *:nth-child(8)  { transition-delay: 0.56s; }
.js-loaded .anim-group.animated > *:nth-child(9)  { transition-delay: 0.64s; }
.js-loaded .anim-group.animated > *:nth-child(10) { transition-delay: 0.72s; }
.js-loaded .anim-group.animated > *:nth-child(11) { transition-delay: 0.80s; }
.js-loaded .anim-group.animated > *:nth-child(12) { transition-delay: 0.88s; }
.js-loaded .anim-group.animated > *:nth-child(13) { transition-delay: 0.96s; }
.js-loaded .anim-group.animated > *:nth-child(14) { transition-delay: 1.04s; }

/* ══════════════════════════════════════════════════
   HERO MOSAIC — RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mosaic-item img { max-height: 48px; }
  .hero-right { order: 1; } /* mosaic below text on mobile */
}

@media (max-width: 480px) {
  .mosaic-grid { gap: 7px; }
  .mosaic-item { padding: 8px; }
  .mosaic-item img { max-height: 38px; }
}
