/* ============================================
   Trejos Restrepo & Asociados — Style Sheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================
   1. RESET & BASE
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  background: #00355C;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #3b4d5e;
  line-height: 1.5;
}

img, svg, video {
  max-width: 100%;
}

a {
  color: inherit;
}

/* ============================================
   2. UTILITIES
   ============================================ */

.anton {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.hide-mobile {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.img-placeholder {
  width: 100%;
  display: block;
  background: #b8c9d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6b7c;
  font-size: 15px;
  text-align: center;
  padding: 20px;
}

/* ============================================
   3. TOP BAR
   ============================================ */

.top-bar {
  background: #00355C;
  color: #dfe7ee;
  font-size: 13px;
  font-weight: 500;
}

.top-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar__left {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar__icon {
  color: #5aa9e6;
}

.top-bar__right {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar__link {
  color: #dfe7ee;
  text-decoration: none;
}

.top-bar__link--whatsapp {
  color: #7ee0a3;
  text-decoration: none;
  font-weight: 600;
}

/* ============================================
   4. NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8eaee;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav__logo {
  height: 75px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  padding: 4px 0;
  overflow-x: auto;
}

.nav__link {
  color: #3b4d5e;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover {
  color: #00355C;
}

.nav__link--cta {
  background: #00355C;
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav__link--cta:hover {
  background: #004a7c;
}

/* ============================================
   5. HERO
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(115deg, #00355C 0%, #0a456f 55%, #004a7c 100%);
  color: #fff;
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #007BC6 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 28px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ee0a3;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  margin-bottom: 22px;
}

.hero__title-accent {
  color: #5aa9e6;
}

.hero__desc {
  font-size: 19px;
  line-height: 1.65;
  color: #cdd9e4;
  max-width: 520px;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero__desc strong {
  color: #fff;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero__btn {
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__btn:hover {
  transform: translateY(-1px);
}

.hero__btn--primary {
  background: #fff;
  color: #00355C;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero__btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.hero__stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero__stat-num {
  font-size: 40px;
  color: #fff;
  line-height: 1;
}

.hero__stat-label {
  font-size: 13px;
  color: #aebfcf;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__image-col {
  position: relative;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
}

.hero__floating-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: #fff;
  color: #00355C;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 260px;
}

.hero__floating-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #e9f3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.hero__floating-title {
  font-weight: 800;
  font-size: 15px;
}

.hero__floating-sub {
  font-size: 12.5px;
  color: #5a6b7c;
  font-weight: 500;
}

/* ============================================
   6. CLIENTS MARQUEE
   ============================================ */

.clients {
  background: #F3F3F3;
  border-bottom: 1px solid #e8eaee;
  padding: 50px 0 40px;
}

.clients__title {
  font-size: clamp(16px, 2.2vw, 24px);
  color: #3b4d5e;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 24px;
  letter-spacing: 2px;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.marquee-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-shrink: 0;
}

.marquee-content img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.marquee-content img.logo-carder {
  max-height: 150px;
}

.marquee-content img.logo-CloudLabs {
  max-height: 50px;
}

.marquee-content img.logo-Cluvi {
  max-height: 50px;
}

.marquee-content img.logo-InnovativeEducation {
  max-height: 100px;
}

.marquee-content img.logo-TorreCentral {
  max-height: 100px;
}

.marquee-content img.logo-el-arriero {
  max-height: 100px;
}

.marquee-content img.logo-CGI {
  max-height: 100px;
}


.marquee-content img:hover {
  transform: scale(1.08);
}

/* ============================================
   7. SERVICES
   ============================================ */

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 92px) clamp(16px, 4vw, 28px);
}

.services__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.services__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #007BC6;
  margin-bottom: 14px;
}

.services__title {
  font-size: clamp(30px, 4vw, 50px);
  color: #00355C;
  line-height: 1.02;
  margin-bottom: 16px;
}

.services__sub {
  font-size: 17px;
  color: #5a6b7c;
  line-height: 1.6;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  padding: 30px 26px;
  transition: all 0.25s;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 22px 44px rgba(0, 53, 92, 0.13);
  border-color: #cfe0ee;
  transform: translateY(-4px);
}

.service-card__number {
  font-size: 26px;
  color: #bcd2e4;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #00355C;
  margin-bottom: 9px;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 14.5px;
  color: #5a6b7c;
  line-height: 1.6;
}

/* ============================================
   8. ABOUT / NOSOTROS
   ============================================ */

.about {
  background: #E5DFD7;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about__image-col {
  position: relative;
}

.about__image {
  width: 100%;
  height: 480px;
  display: block;
  box-shadow: 0 24px 50px rgba(0, 53, 92, 0.22);
  border-radius: 16px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 24px;
  right: -24px;
  background: #00355C;
  color: #fff;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.about__badge-num {
  font-size: 44px;
  line-height: 1;
}

.about__badge-label {
  font-size: 12.5px;
  color: #aebfcf;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #007BC6;
  margin-bottom: 14px;
}

.about__title {
  font-size: clamp(28px, 3.6vw, 46px);
  color: #00355C;
  line-height: 1.04;
  margin-bottom: 24px;
}

.about__diffs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.diff-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.diff-item__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #00355C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-item__title {
  font-size: 17px;
  font-weight: 700;
  color: #00355C;
  margin-bottom: 5px;
}

.diff-item__desc {
  font-size: 14.5px;
  color: #5a6b7c;
  line-height: 1.6;
}

/* ============================================
   9. TEAM
   ============================================ */

.team {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 92px) clamp(16px, 4vw, 28px);
  text-align: center;
}

.team__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #007BC6;
  margin-bottom: 14px;
}

.team__title {
  font-size: clamp(28px, 3.8vw, 48px);
  color: #00355C;
  line-height: 1.02;
  margin-bottom: 16px;
}

.team__sub {
  font-size: 17px;
  color: #5a6b7c;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto clamp(28px, 5vw, 52px);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: clamp(10px, 2vw, 18px);
}

.team-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  padding: 26px 16px;
}

.team-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007BC6, #00355C);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #00355C;
  line-height: 1.25;
}

/* ============================================
   10. CTA BANNER
   ============================================ */

.cta {
  color: #fff;
}

.cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 28px;
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  margin-bottom: 18px;
}

.cta__desc {
  font-size: 18px;
  color: #cdd9e4;
  max-width: 560px;
  margin: 0 auto 34px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__btn {
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.2s;
}

.cta__btn:hover {
  transform: translateY(-1px);
}

.cta__btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.cta__btn--secondary {
  background: #fff;
  color: #00355C;
}

/* ============================================
   11. CONTACT
   ============================================ */

.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.servicio-contact-wrapper {
  width: 100%;
  background: #E9F3FB; /* Azul claro corporativo */
}

.servicio-overlay .contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 28px;
}

.servicio-overlay .contact__title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
}

.servicio-overlay .contact__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: #007BC6;
  border-radius: 2px;
}

.servicio-overlay .contact-info {
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #e8eaee;
  transition: box-shadow 0.25s, transform 0.25s;
}

.servicio-overlay .contact-info:hover {
  box-shadow: 0 4px 16px rgba(0, 53, 92, 0.06);
  transform: translateY(-1px);
}

.servicio-overlay .contact__form {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 12px 36px rgba(0, 53, 92, 0.08);
}

.contact__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #007BC6;
  margin-bottom: 14px;
}

.contact__title {
  font-size: clamp(28px, 3.6vw, 44px);
  color: #00355C;
  line-height: 1.04;
  margin-bottom: 24px;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e9f3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info__icon svg {
  stroke: #00355C;
}

.contact-info__label {
  font-weight: 700;
  color: #00355C;
  font-size: 15px;
}

.contact-info__value {
  font-size: 14.5px;
  color: #5a6b7c;
  line-height: 1.5;
}

.contact__logo {
  height: 360px;
  width: auto;
  display: block;
  margin: -40px auto 0;
}

.contact__form {
  background: #F3F3F3;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  padding: 36px;
}

.contact__form-title {
  font-size: 20px;
  font-weight: 800;
  color: #00355C;
  margin-bottom: 6px;
}

.contact__form-sub {
  font-size: 14px;
  color: #5a6b7c;
  margin-bottom: 24px;
}

.contact__form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__input {
  padding: 14px 16px;
  border: 1px solid #d4dae0;
  border-radius: 9px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #3b4d5e;
  transition: border-color 0.2s;
}

.contact__input:focus {
  outline: none;
  border-color: #007BC6;
}

.contact__textarea {
  padding: 14px 16px;
  border: 1px solid #d4dae0;
  border-radius: 9px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #3b4d5e;
  resize: vertical;
  transition: border-color 0.2s;
}

.contact__textarea:focus {
  outline: none;
  border-color: #007BC6;
}

.contact__submit {
  background: #00355C;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.contact__submit:hover {
  background: #004a7c;
}

.contact__map-link {
  color: #00355C;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  outline: none;
}

.contact__map-link-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: color 0.2s;
}

.contact__map-link:hover .contact__map-link-text,
.contact__map-link:focus-visible .contact__map-link-text {
  color: #007BC6;
  text-decoration: underline;
}

.contact__map-link-text svg {
  opacity: 0.4;
  flex-shrink: 0;
  align-self: center;
  transition: opacity 0.2s;
}

.contact__map-link:hover .contact__map-link-text svg,
.contact__map-link:focus-visible .contact__map-link-text svg {
  opacity: 1;
}

/* ---- Tooltip mapa ---- */

.contact__map-link::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 24px;
  z-index: 101;
}

.contact__map-tooltip {
  position: absolute;
  bottom: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  pointer-events: none;
  width: 280px;
  filter: drop-shadow(0 4px 12px rgba(0, 53, 92, 0.12));
}

.contact__map-link:hover .contact__map-tooltip,
.contact__map-link:focus-visible .contact__map-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.contact__map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

.contact__map-tooltip iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 180px;
}

.contact__map-tooltip-label {
  display: block;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #5a6b7c;
  font-weight: 500;
  line-height: 1.4;
  border-top: 1px solid #e8eaee;
}

/* ============================================
   12. FOOTER
   ============================================ */

.footer {
  background: #00264a;
  color: #9fb2c4;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 28px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  margin-bottom: 16px;
}

.footer__logo {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer__heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer__link {
  color: #9fb2c4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   13. FLOATING WHATSAPP
   ============================================ */

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  position: fixed;
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(76px, 10vw, 96px);
  z-index: 60;
  width: clamp(50px, 7vw, 60px);
  height: clamp(50px, 7vw, 60px);
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2.4s infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* ============================================
   14. RESPONSIVE - TABLETS & MOBILE
   ============================================ */

@media (max-width: 768px) {
  .nav__logo {
    height: 46px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 60px 20px 80px;
    gap: 40px;
  }

  .hero__image-col {
    order: 1;
  }

  .hero__image {
    max-height: 300px;
    width: 100%;
  }

  .about__inner {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 40px;
  }

  .about__image-col {
    order: 1;
  }

  .about__image {
    height: 300px;
  }

  .about__badge {
    top: 12px;
    right: -12px;
    padding: 16px 20px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 40px;
  }

  .contact__logo {
    height: 64px;
    display: inline-block;
    margin: 20px 0 0 0;
    opacity: 0.5;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .hero__inner {
    padding: 40px 20px 60px;
    gap: 40px;
  }

  .hero__inner > div:first-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 1;
    margin-bottom: 16px;
  }

  .hero__desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .hero__stats > div {
    flex: 1 1 30%;
  }

  .hero__floating-badge {
    display: none;
  }

  .about__inner {
    display: flex;
    flex-direction: column;
  }

  .about__image-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }

  .about__badge {
    position: relative;
    top: auto;
    right: auto;
    margin-top: -40px;
    margin-bottom: 20px;
    z-index: 10;
    text-align: center;
    max-width: 90%;
  }

  .about__inner h2 {
    font-size: clamp(32px, 10vw, 42px);
    text-align: left;
  }

  .contact {
    display: flex;
    flex-direction: column;
    padding: 50px 20px;
    gap: 50px;
  }

  .contact > div {
    width: 100%;
  }

  .contact__form {
    width: 100%;
    padding: 24px 20px;
  }

  .services {
    padding: 50px 20px;
  }

  .team {
    padding: 50px 20px;
  }

  .cta__inner {
    padding: 60px 20px;
  }

  .footer__inner {
    padding: 40px 20px 24px;
  }
}

@media (max-width: 480px) {
  .hero__image,
  .about__image {
    object-fit: contain;
  }

  .hero__stats {
    gap: 6px;
  }

  .hero__stat-num {
    font-size: 30px;
  }

  .nav__links {
    gap: 16px;
    font-size: 13px;
  }

  .nav__link--cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hide-mobile {
    display: none;
  }
}

/* ============================================
   15. EMPRESAS OVERLAY
   ============================================ */

.empresas-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}

.empresas-overlay--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.empresas-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.empresas-nav {
  position: sticky;
  top: 0;
  z-index: 110;
}

.empresas-hero {
  background: linear-gradient(115deg, #00355C 0%, #0a456f 55%, #004a7c 100%);
  color: #fff;
  padding: 70px 28px 80px;
  position: relative;
  overflow: hidden;
}

.empresas-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.empresas-hero .hero__badge {
  display: inline-flex;
}

.empresas-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 18px;
}

.empresas-hero__desc {
  font-size: 18px;
  color: #cdd9e4;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Back Button ---- */

.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #3b4d5e;
  border: 2px solid #d4dae0;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-volver svg {
  transition: transform 0.25s ease;
}

.btn-volver:hover {
  background: #00355C;
  color: #fff;
  border-color: #00355C;
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(0, 53, 92, 0.2);
}

.btn-volver:hover svg {
  transform: translateX(-3px);
}

.btn-volver:active {
  transform: translateX(0) scale(0.97);
}

/* ---- Empresas Grid ---- */

.empresas-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 20px;
  flex: 1;
}

.empresa-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.empresa-card:hover {
  box-shadow: 0 16px 36px rgba(0, 53, 92, 0.12);
  border-color: #cfe0ee;
  transform: translateY(-5px) scale(1.02);
}

.empresa-card img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.empresa-card:hover img {
  transform: scale(1.08);
}

.empresa-card__name {
  font-size: 12px;
  font-weight: 600;
  color: #5a6b7c;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

/* ---- Overlay Responsive ---- */

@media (max-width: 768px) {
  .empresas-hero {
    padding: 50px 20px 60px;
  }

  .empresas-grid {
    padding: 40px 20px 60px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    gap: 14px;
  }

  .empresa-card {
    padding: 18px 12px 14px;
  }

  .empresa-card img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .empresas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 30px 16px 50px;
  }

  .empresa-card {
    padding: 14px 10px 12px;
  }

  .empresa-card img {
    max-height: 44px;
  }

  .btn-volver {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ============================================
   16. EQUIPO OVERLAY
   ============================================ */

.equipo-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}

.equipo-overlay--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.equipo-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.equipo-nav {
  position: sticky;
  top: 0;
  z-index: 95;
}

.equipo-hero {
  background: linear-gradient(115deg, #00355C 0%, #0a456f 55%, #004a7c 100%);
  color: #fff;
  padding: 70px 28px 80px;
  position: relative;
  overflow: hidden;
}

.equipo-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.equipo-hero .hero__badge {
  display: inline-flex;
}

.equipo-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 18px;
}

.equipo-hero__desc {
  font-size: 18px;
  color: #cdd9e4;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Equipo Grid ---- */

.equipo-grid {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  flex: 1;
}

.miembro-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  padding: 40px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.miembro-card:hover {
  box-shadow: 0 20px 44px rgba(0, 53, 92, 0.14);
  border-color: #cfe0ee;
  transform: translateY(-6px) scale(1.02);
}

.miembro-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.miembro-card:hover .miembro-card__avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 123, 198, 0.3);
}

.miembro-card__initials {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: #fff;
  line-height: 1;
  letter-spacing: 1px;
}

.miembro-card__name {
  font-size: 22px;
  color: #00355C;
  line-height: 1.1;
  margin: 0;
}

.miembro-card__role {
  font-size: 14px;
  font-weight: 700;
  color: #007BC6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

.miembro-card__desc {
  font-size: 14px;
  color: #5a6b7c;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* ---- Overlay Responsive ---- */

@media (max-width: 768px) {
  .equipo-hero {
    padding: 50px 20px 60px;
  }

  .equipo-grid {
    padding: 40px 20px 60px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .miembro-card {
    padding: 32px 20px 24px;
  }

  .miembro-card__avatar {
    width: 72px;
    height: 72px;
  }

  .miembro-card__initials {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .equipo-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 18px;
    padding: 30px 16px 50px;
  }

  .miembro-card {
    padding: 28px 20px 22px;
  }

  .miembro-card__avatar {
    width: 68px;
    height: 68px;
  }
}

/* ============================================
   17. TALENTO OVERLAY — Trabaja con nosotros
   ============================================ */

.talento-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}

.talento-overlay--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.talento-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.talento-nav {
  position: sticky;
  top: 0;
  z-index: 85;
}

.talento-hero {
  background: linear-gradient(115deg, #00355C 0%, #0a456f 55%, #004a7c 100%);
  color: #fff;
  padding: 70px 28px 80px;
  position: relative;
  overflow: hidden;
}

.talento-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.talento-hero .hero__badge {
  display: inline-flex;
}

.talento-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 18px;
}

.talento-hero__desc {
  font-size: 18px;
  color: #cdd9e4;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Talento Grid (form + CV side by side) ---- */

.talento-grid {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  flex: 1;
  align-items: start;
}

/* ---- Formulario ---- */

.talento-form-wrap {
  background: #F3F3F3;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  padding: 36px;
}

.talento-form__title {
  font-size: 22px;
  font-weight: 800;
  color: #00355C;
  margin-bottom: 6px;
}

.talento-form__sub {
  font-size: 14px;
  color: #5a6b7c;
  margin-bottom: 24px;
}

.talento-form__fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.talento-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6b7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.talento-select:invalid {
  color: #9aa5b0;
}

.talento-select option {
  color: #3b4d5e;
}



/* ---- Talento Responsive ---- */

@media (max-width: 768px) {
  .talento-hero {
    padding: 50px 20px 60px;
  }

  .talento-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
    gap: 30px;
  }

  .talento-form-wrap {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .talento-grid {
    padding: 30px 16px 50px;
    gap: 24px;
  }

  .talento-form-wrap {
    padding: 20px 16px;
  }
}

/* ============================================
   18. SERVICIO DETALLE OVERLAY
   ============================================ */

.servicio-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}

.servicio-overlay--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.servicio-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.servicio-nav {
  position: sticky;
  top: 0;
  z-index: 75;
}

.servicio-hero {
  background: linear-gradient(115deg, #00355C 0%, #0a456f 55%, #004a7c 100%);
  color: #fff;
  padding: 70px 28px 80px;
  position: relative;
  overflow: hidden;
}

.servicio-hero .hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.servicio-hero .hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, #007BC6 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.servicio-hero .hero__glow--warm {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4A84B 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.servicio-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.servicio-hero .hero__badge {
  display: inline-flex;
}

.servicio-hero .hero__badge-dot {
  background: #D4A84B;
}

.servicio-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 18px;
}

.servicio-hero__desc {
  font-size: 18px;
  color: #cdd9e4;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Descripción del servicio ---- */

.servicio-desc {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 28px 48px;
  flex: 1;
}

.servicio-desc__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.servicio-desc__text {
  font-size: 17px;
  color: #3b4d5e;
  line-height: 1.75;
  margin: 0;
}

.servicio-desc__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.servicio-desc__features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #3b4d5e;
  line-height: 1.5;
}

.servicio-desc__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #007BC6;
  opacity: 0.15;
}

.servicio-desc__features li::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 9px;
  width: 5px;
  height: 9px;
  border: solid #007BC6;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.servicio-desc__features li:nth-child(even)::before {
  background: #D4A84B;
  opacity: 0.2;
}

.servicio-desc__features li:nth-child(even)::after {
  border-color: #D4A84B;
}

.servicio-desc__detail {
  font-size: 15px;
  color: #5a6b7c;
  line-height: 1.7;
  margin: 0;
  padding: 22px 28px;
  background: #e9f3fb;
  border-radius: 14px;
  border-left: 4px solid #D4A84B;
  position: relative;
}

/* ---- Servicio Responsive ---- */

@media (max-width: 768px) {
  .servicio-hero {
    padding: 50px 20px 60px;
  }

  .servicio-desc {
    padding: 44px 20px 32px;
  }

  .servicio-desc__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .servicio-desc__detail {
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .servicio-overlay .contact {
    padding: 60px 20px;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .servicio-overlay .contact {
    padding: 50px 16px;
    gap: 40px;
  }
}
