/* Smartjob.cl — Estilos principales */

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Host Grotesk', sans-serif;
  color: #0F0F0F;
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
::selection { background: #F99C08; color: #fff; }

/* ─── Tokens ─── */
:root {
  --orange:   #F99C08;
  --teal:     #1BB9A5;
  --dark:     #0F0F0F;
  --muted:    #646466;
  --offwhite: #F8F8F8;
  --border:   #EEEEEE;
}

/* ─── Utilities ─── */
.c-orange  { color: var(--orange); }
.c-teal    { color: var(--teal); }
.fw-700    { font-weight: 700; }
.fw-800    { font-weight: 800; }
.text-center { text-align: center; }

/* ─── Container ─── */
.container {
  max-width: 1336px;
  margin-inline: auto;
  padding-inline: 52px;
}
@media (max-width: 1024px) {
  .container { padding-inline: 36px; }
}
@media (max-width: 768px) {
  .container { padding-inline: 20px; }
}

/* ─── Section ─── */
.section { padding-block: clamp(40px, 5vw, 72px); }
.section--offwhite { background: var(--offwhite); }
.section--partners { padding-block: clamp(36px, 4vw, 60px); }
.section--conectemos { padding-block: clamp(36px, 4vw, 60px); }

/* ─── Orange rule ─── */
.orange-rule {
  width: 396px;
  max-width: 100%;
  height: 5px;
  background: var(--orange);
  border-radius: 2px;
  margin-block: 20px 24px;
}
.section-header-center {
  text-align: center;
}
.section-header-center .orange-rule {
  margin-inline: auto;
}
.section-header-center .body-text {
  max-width: 680px;
  margin-inline: auto;
}

/* ─── Section title: Host Grotesk ExtraBold 800 48px ─── */
.section-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.33vw, 48px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--orange);
}

/* ─── Body text ─── */
.body-text {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--dark);
  line-height: 1.65;
}

/* BUTTONS */
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-orange:hover {
  background: #D1830A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,156,8,.35);
}
.btn-full { width: 100%; }

.btn-white-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--dark);
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  align-self: flex-start;
}
.btn-white-pill:hover { background: var(--dark); color: #fff; }

.btn-orange-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 100px;
  border: 2px solid #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-orange-outline:hover { background: #fff; color: var(--dark); }

/* NAV — pill flotante, frosted glass */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1201px, calc(100% - 48px));
  height: 70px;
  padding-inline: 28px;
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.50);
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  transition: background .3s, box-shadow .3s;
}
.nav-pill.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 32px rgba(0,0,0,.14);
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 32px; width: auto; display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links .btn-orange {
  font-size: 15px;
  padding: 10px 28px;
}
.nav-a {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  transition: color .2s;
  white-space: nowrap;
}
.nav-a:hover { color: var(--orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  padding: 100px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.mobile-menu[hidden] { display: none; }
.mobile-a {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  transition: color .2s;
}
.mobile-a:hover { color: var(--orange); }

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Waves — PNG transparentes */
.hero-wave {
  position: absolute;
  pointer-events: none;
}
.hero-wave--orange {
  left: -9.3%;
  top: 1.9%;
  width: 114%;
  height: auto;
  opacity: .9;
}
.hero-wave--teal {
  left: -18.7%;
  top: 50%;
  width: 126%;
  height: auto;
  opacity: .85;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-left: 46.9%;
  padding: 80px 52px 48px 48px;
  max-width: 760px;
}

.hero-rule {
  width: 400px;
  max-width: 100%;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* Headline: Host Grotesk ExtraBold 800, 48px, uppercase */
.hero-h1 {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Sub: Host Grotesk Regular 400, 24px */
.hero-sub {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Down-arrow indicator */
.hero-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* PAGE HERO — páginas internas */
.page-hero {
  position: relative;
  min-height: 52vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
}
.page-hero-wave {
  position: absolute;
  pointer-events: none;
  height: 140%;
  width: auto;
}
.page-hero-wave--orange {
  left: -8%;
  top: -20%;
  opacity: .85;
}
.page-hero-wave--teal {
  right: -8%;
  bottom: -20%;
  opacity: .75;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: clamp(24px, 2.8vw, 40px) clamp(24px, 3.6vw, 52px);
}
.page-hero-content .hero-h1 { margin-bottom: 16px; }
.page-hero-content .hero-sub { margin-bottom: 0; }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.stat { text-align: left; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6.25vw, 90px);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 18px);
  color: var(--dark);
  line-height: 1.35;
}

/* SERVICE CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.8vw, 40px);
  margin-top: clamp(28px, 3.3vw, 48px);
}
.svc-card {
  border: 1px solid var(--orange);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(249,156,8,.20);
}

/* White top: ~110px */
.card-top {
  background: #fff;
  min-height: 110px;
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.svc-name {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  color: var(--dark);
}
.card-deco {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-deco--1 { background: rgba(249,156,8,.10); }
.card-deco--2 { background: rgba(27,185,165,.10); }
.card-deco--3 { background: rgba(249,156,8,.10); }

/* Orange bottom with scallop (convex arch of white at top) */
.card-bottom {
  flex: 1;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}
.card-bottom::before {
  content: '';
  display: block;
  height: 70px;
  background: #fff;
  border-radius: 0 0 50% 50% / 0 0 60px 60px;
  margin-bottom: -1px;
  flex-shrink: 0;
}
.card-text {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
  padding: 12px 24px 20px;
  flex: 1;
}
.card-bottom .btn-white-pill { margin-inline: 24px; }

/* SERVICES GRID */
.services-grid {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 48px;
}
.service-card {
  flex: 1 1 calc(33.333% - 24px);
  max-width: 380px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  padding: 28px 28px 28px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(249,156,8,.20);
}
.svc-card-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.svc-card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.service-card-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.service-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.service-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--dark);
  margin: 0 0 14px;
}
.service-desc {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.55;
  margin: 0 0 24px;
  flex: 1;
}
.service-card .btn-orange {
  align-self: flex-start;
}

@media (max-width: 1120px) {
  .service-card { flex: 1 1 calc(50% - 24px); }
}

@media (max-width: 780px) {
  .service-card { flex: 1 1 100%; max-width: 100%; }
}

/* SERVICE DETAIL — two-col layout */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-detail--reverse .svc-detail__text { order: 2; }
.svc-detail--reverse .svc-detail__visual { order: 1; }
.svc-detail__text { display: flex; flex-direction: column; }

/* Service badge */
.svc-badge {
  display: inline-block;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--orange);
  background: rgba(249,156,8,.10);
  border: 1px solid var(--orange);
  border-radius: 100px;
  padding: 4px 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.svc-badge--teal {
  color: var(--teal);
  background: rgba(27,185,165,.10);
  border-color: var(--teal);
}

/* Tech chips grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-chip {
  display: inline-block;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  transition: border-color .2s, background .2s;
}
.tech-chip:hover { border-color: var(--orange); background: rgba(249,156,8,.06); }

/* Bullet list */
.bullet-list { display: flex; flex-direction: column; gap: 10px; }
.bullet-list li {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 15px;
  color: var(--dark);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* PARTNERS BANNER */

/* ── Misión & Visión cards ── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: clamp(28px, 3vw, 44px);
}
.mv-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.11);
}
.mv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(249,156,8,.10);
  color: var(--orange);
  flex-shrink: 0;
}
.mv-card__label {
  font-family: 'Host Grotesk', sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .04em;
}
.mv-card__rule {
  width: 48px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}
.mv-card__text {
  font-family: 'Host Grotesk', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* Variantes de color para section-title */
.section-title--teal   { color: var(--teal); }
.section-title--dark   { color: var(--dark); }
.section-title--normal { text-transform: none; }
.mv-card__icon--teal   { background: rgba(27,185,165,.10); color: var(--teal); }
.mv-card__rule--teal   { background: var(--teal); }

.partners-card {
  display: flex;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.partners-left {
  flex: 0 0 72.5%;
  background: var(--teal);
  padding: 36px 40px;
  display: flex;
  align-items: center;
}
.partners-h2 {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  color: #fff;
  line-height: 1.45;
  max-width: 680px;
}
.partners-right {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px;
}
.partner-logo { max-width: 160px; width: 100%; object-fit: contain; }

/* RED DE IMPACTO — two-col */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.impact-left { display: flex; flex-direction: column; }
.impact-left .section-title { margin-bottom: 0; }
.impact-left .body-text { margin-bottom: 32px; }

.country-list { display: flex; flex-direction: column; gap: 18px; }
.country { display: flex; align-items: flex-start; gap: 14px; }
.flag {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.country-phone {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}
.country-addr {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.impact-right { position: relative; }
.map-wrapper { position: relative; }
.world-map { width: 100%; height: auto; display: block; }
.map-pin {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.20);
}

/* CONECTEMOS CTA */
.conectemos-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--teal);
  border-radius: 30px;
  padding: 48px 56px;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}
.conectemos-icon {
  width: 80px; height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
.conectemos-card > div { flex: 1; }
.conectemos-h2 {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 26px);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.conectemos-sub {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,.85);
}

/* SE SMARTER PAGE */
.smarter-page {
  position: relative;
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: 140px 80px;
}

/* Waves de fondo */
.smarter-wave {
  position: absolute;
  pointer-events: none;
}
.smarter-wave--orange {
  left: -8%;
  top: 0;
  width: 65%;
  height: auto;
  opacity: .85;
}
.smarter-wave--teal {
  right: -8%;
  bottom: 0;
  width: 65%;
  height: auto;
  opacity: .75;
  transform: rotate(180deg);
}

.smarter-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Panel glass detrás del título */
.smarter-header {
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 32px 48px;
  text-align: center;
  margin-bottom: 32px;
  max-width: 720px;
  width: 100%;
}

/* Título: Host Grotesk Bold 700 48px — centrado */
.smarter-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.33vw, 48px);
  color: var(--dark);
  text-align: center;
  line-height: 1.1;
}

/* Orange rule centrada */
.smarter-rule {
  width: 540px;
  max-width: 90%;
  height: 5px;
  background: var(--dark);
  border-radius: 2px;
  margin-block: 16px 20px;
}

/* Subtitle centrado */
.smarter-sub {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.67vw, 24px);
  color: var(--dark);
  text-align: center;
  max-width: 640px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Glass card */
.smarter-card {
  width: 932px;
  max-width: 100%;
  background: rgba(248,248,248,.85);
  border-radius: 30px;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 48px;
}

/* Form layout centrada */
.smarter-card form { display: flex; flex-direction: column; gap: 20px; }

.smarter-field { display: flex; flex-direction: column; gap: 8px; }

.smarter-label {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
}

/* Input — pill con borde naranja */
.smarter-input {
  width: 100%;
  height: 52px;
  border: 1.5px solid rgba(249,156,8,.40);
  border-radius: 50px;
  padding: 0 24px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: rgba(255,255,255,.5);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.smarter-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,156,8,.15);
  background: #fff;
}

/* File input styled */
.smarter-file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  border: 1.5px dashed rgba(249,156,8,.50);
  border-radius: 50px;
  padding: 0 24px;
  cursor: pointer;
  color: var(--muted);
  font-family: 'Host Grotesk', sans-serif;
  font-size: 14px;
  background: rgba(255,255,255,.4);
  transition: border-color .2s, background .2s;
}
.smarter-file-label:hover { border-color: var(--orange); background: rgba(249,156,8,.04); }
.smarter-file-label.has-file { border-style: solid; border-color: var(--orange); color: var(--dark); }
.smarter-file-label.has-file svg { stroke: var(--orange); }
.smarter-file { position: absolute; opacity: 0; width: 0; height: 0; }
.smarter-file-text { flex: 1; }

/* Submit button centrado */
.smarter-submit {
  align-self: center;
  min-width: 200px;
  height: 45px;
  font-size: 16px;
}

/* EMPLEOS SECTION */
.empleos-section {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--offwhite);
}
.empleos-filter {
  margin-top: 28px;
}
.empleos-search-input {
  width: 100%;
  max-width: 480px;
  display: block;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.empleos-search-input::placeholder { color: #aaa; }
.empleos-search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,156,8,.12);
}

.empleos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.empleo-card.hidden { display: none; }
.empleos-loading,
.empleos-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  padding: 2rem 0;
}
.empleo-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.empleo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}
.empleo-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.empleo-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.empleo-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.empleo-card__title {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  flex: 1;
}
.empleo-card__location {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.empleo-card__btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 20px;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  border-radius: 100px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.empleo-card__btn:hover {
  background: var(--dark);
  color: #fff;
}
@media (max-width: 1024px) {
  .empleos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .empleos-grid { grid-template-columns: 1fr; }
}

/* CONTACTO PAGE */
.contacto-page {
  position: relative;
  min-height: 100vh;
  background: var(--offwhite);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: 140px 80px;
}
.contacto-wave {
  position: absolute;
  pointer-events: none;
}
.contacto-wave--right {
  right: -15%;
  bottom: -10%;
  width: 80%;
  opacity: .75;
}
.contacto-wave--left {
  left: -15%;
  top: -10%;
  width: 80%;
  opacity: .75;
  transform: scaleX(-1) rotate(180deg);
}

.contacto-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto 1fr;
  column-gap: 72px;
  row-gap: 32px;
}

.contacto-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}
.contacto-left .section-title { margin-bottom: 0; }
.contacto-left .body-text { margin-bottom: 0; }

.contacto-form-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.contact-info-cards {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: end;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 2.5px solid var(--orange);
  border-radius: 16px;
  padding: 20px 24px;
}
.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.contact-card-text {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.5;
}

.contacto-form-wrap .form-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contacto-form-wrap form {
  flex: 1;
  justify-content: space-between;
}

/* FORMS (shared between pages) */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.06);
}
form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.label {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Host Grotesk', sans-serif;
  color: var(--dark);
  background: var(--offwhite);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,156,8,.12);
  background: #fff;
}
.textarea { min-height: 100px; resize: vertical; }

/* Checkbox chips */
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip span {
  display: block;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  background: var(--offwhite);
  transition: all .2s;
  user-select: none;
}
.chip input:checked + span {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.chip:hover span { border-color: var(--orange); }

/* FOOTER V2 */
.footer-v2 {
  background: #EFEFEF;
  font-family: 'Host Grotesk', sans-serif;
}

/* ── Top bar: logo-block izquierda | acciones derecha ── */
.fv2-top { padding: 24px 0 20px; }
.fv2-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo + tagline */
.fv2-logo-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.fv2-logo-link { display: flex; align-items: center; }
.fv2-logo-img  { height: 34px; width: auto; }

.fv2-tagline1 {
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.fv2-tagline2 {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
}

/* Contáctanos + email form */
.fv2-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fv2-btn-contacta {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  background: var(--orange);
  color: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s;
}
.fv2-btn-contacta:hover { background: #D1830A; }

.fv2-email-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.fv2-email-form input {
  height: 44px;
  border: 1.5px solid #C8C8C8;
  border-radius: 100px;
  padding-inline: 18px;
  background: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  color: var(--dark);
  width: 210px;
  outline: none;
  transition: border-color .2s;
}
.fv2-email-form input:focus { border-color: var(--teal); }
.fv2-email-form input::placeholder { color: #ABABAB; }
.fv2-email-form button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--teal);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.fv2-email-form button:hover { background: #159588; }

/* ── Divider ── */
.fv2-divider {
  height: 1px;
  background: #C8C8C8;
  margin: 0 clamp(20px, 3.6vw, 52px);
}

/* ── Bottom: nav | síguenos | oficinas ── */
.fv2-bottom {
  display: grid;
  grid-template-columns: 200px 140px 1fr;
  gap: clamp(24px, 2.8vw, 40px);
  padding: clamp(24px, 2.5vw, 32px) 0 clamp(28px, 2.5vw, 36px);
  align-items: start;
}

.fv2-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
}
.fv2-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color .2s;
}
.fv2-nav a:hover { color: var(--orange); }

/* Síguenos + iconos */
.fv2-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fv2-siguenos {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.fv2-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.fv2-social-btn:hover { background: #D1830A; transform: scale(1.06); }

/* Oficinas */
.fv2-offices {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: flex-start;
}
.fv2-office {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 140px;
}
.fv2-flag  { width: 50px; height: auto; }
.fv2-phone { font-size: 13px; font-weight: 700; color: var(--dark); }
.fv2-addr  { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.55; }

/* ── Copyright ── */
.fv2-copy { border-top: 1px solid #C8C8C8; padding: 14px 0; }
.fv2-copy p { text-align: center; font-size: 11px; color: #ABABAB; }

/* SERVICE DETAIL PAGES (smart-staffing.html / smart-cloud.html) */

/* Hero section: full-width colored bg */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.svc-hero--teal { background: var(--teal); }
.svc-hero--orange { background: var(--orange); }

.svc-hero-wave {
  position: absolute;
  pointer-events: none;
  opacity: .25;
  left: -10%;
  top: -10%;
  width: 110%;
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.svc-hero-inner--white {
  background: #fff;
  border-radius: 40px;
  padding: 56px;
  box-shadow: 0 32px 80px rgba(0,0,0,.08);
  max-width: 1360px;
  margin: 0 auto;
}

.svc-hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Breadcrumb "← Nuestros Servicios" */
.svc-breadcrumb {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.80);
  transition: color .2s;
  letter-spacing: .02em;
}
.svc-breadcrumb:hover { color: #fff; }
.svc-breadcrumb--dark { color: var(--dark); opacity: .65; }
.svc-breadcrumb--dark:hover { opacity: 1; color: var(--orange); }

/* Service wordmark SVG */
.svc-wordmark {
  height: 56px;
  width: auto;
  max-width: 280px;
  /* SVG trae colores propios — en hero teal forzar blanco si es necesario */
  filter: brightness(0) invert(1);
}
.svc-wordmark--dark { filter: none; }

.svc-hero-sub {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,.90);
  line-height: 1.5;
}
.svc-hero-sub--dark { color: var(--dark); }

/* CTA button in hero: white solid */
.btn-white-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--teal);
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background .2s, transform .2s;
}
.btn-white-solid:hover { background: var(--offwhite); transform: translateY(-2px); }
.btn-white-solid--dark { color: var(--orange); }

.svc-hero-img {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.svc-hero-photo {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.20));
}

/* Description section two-col */
.svc-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-desc-left { display: flex; flex-direction: column; }
.svc-desc-left .section-title { margin-bottom: 0; }

/* Mini stat boxes */
.svc-stats-mini {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-stat-mini {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--offwhite);
  border-radius: 16px;
  border-left: 4px solid var(--orange);
}
.svc-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 36px);
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.svc-stat-label {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* Benefits section backgrounds */
.section--teal-light  { background: #E8FAF8; }
.section--orange-light { background: #FFF7E6; }

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.benefit-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s, box-shadow .3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon--teal   { background: rgba(27,185,165,.12); }
.benefit-icon--orange { background: rgba(249,156,8,.12); }

.benefit-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.35;
}

/* Process steps */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.process-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--orange);
  line-height: 1;
}
.process-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
  text-transform: uppercase;
}
.process-desc {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 180px;
}
.process-arrow {
  font-size: 28px;
  color: var(--border);
  margin-top: 16px;
  flex-shrink: 0;
  padding-inline: 8px;
}

/* Cloud platforms grid */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.cloud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.cloud-badge {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cloud-item p {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ── CTA strip (staffing / cloud) — imagen full-width + botón overlay ── */
.svc-cta-strip {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}
.svc-cta-bg {
  display: block;
  width: 100%;
  height: auto;
}
.svc-cta-btn {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--teal);
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.svc-cta-btn:hover { transform: translateY(calc(-50% - 2px)); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.svc-cta-btn--orange { color: var(--orange); }

/* Benefits section image (reemplaza el grid) */
.svc-benefits-section { padding-block: 72px 80px; }
.svc-benefits-img {
  display: block;
  width: 100%;
  max-width: 1209px;
  height: auto;
  margin-inline: auto;
  border-radius: 24px;
}

/* Benefit image grid (staffing / cloud detail pages) */
.benefit-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.benefit-img-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.benefit-img-item img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}
.benefit-img-title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.4;
  max-width: 200px;
}

/* White CTA card variant (smart-cloud.html) */
.conectemos-card--white {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
.conectemos-card--white .conectemos-h2 { color: var(--dark); }
.conectemos-card--white .conectemos-sub { color: var(--muted); }

/* ── White-bg page hero (staffing / cloud) — white bg, wave separator at bottom ── */
.svc-page-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.svc-page-hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.svc-page-hero-deco--1 {
  left: -15%;
  top: -15%;
  width: 90%;
  height: auto;
  opacity: .85;
}
.svc-page-hero-deco--2 {
  right: -15%;
  bottom: -25%;
  width: 80%;
  height: auto;
  opacity: .75;
  transform: rotate(180deg);
}
/* Convierte las waves teal al naranja de Cloud */
.svc-page-hero-deco--orange {
  filter: hue-rotate(223deg) saturate(1.3);
}
.svc-hero-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(90px, 8.3vw, 120px);
  padding-bottom: clamp(32px, 3.9vw, 56px);
}
.svc-page-wave {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.svc-page-card-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.svc-page-card-shape {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.svc-page-hero-inner {
  position: relative;
  z-index: 2;
}
.svc-page-hero-text {
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 20px 28px;
  max-width: 480px;
}
.svc-page-hero-text .svc-breadcrumb {
  align-self: flex-start;
}
.svc-page-hero-text .btn-teal,
.svc-page-hero-text .btn-orange {
  align-self: center;
}
.svc-page-wordmark {
  width: 100%;
  max-width: clamp(280px, 42vw, 560px);
  height: auto;
}
.svc-page-accent {
  height: 5px;
  width: 88px;
  border-radius: 3px;
}
.svc-page-accent--teal   { background: var(--teal); }
.svc-page-accent--orange { background: var(--orange); }
.svc-page-desc {
  font-family: 'Host Grotesk', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--dark);
  line-height: 1.6;
  max-width: 460px;
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-teal:hover { background: #19a797; transform: translateY(-2px); }
.svc-breadcrumb--dark { color: var(--dark); opacity: .7; }

/* Two-column hero + benefit cards panel */
.svc-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.svc-page-hero-text {
  align-items: flex-start;
  text-align: left;
}
.svc-page-hero-text .svc-breadcrumb { align-self: flex-start; }
.svc-page-hero-text .btn-teal,
.svc-page-hero-text .btn-orange { align-self: flex-start; }

/* Benefit cards 2×2 grid */
.svc-benefits-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc-benefit-card {
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.svc-benefit-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-benefit-card__title {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

/* Staffing — teal (usa var(--teal) del proyecto) */
.svc-benefit-card--teal-solid {
  background: var(--teal);
  color: #fff;
}
.svc-benefit-card--teal-solid .svc-benefit-card__title { color: #fff; }

.svc-benefit-card--teal-light {
  background: #fff;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.svc-benefit-card--teal-light .svc-benefit-card__title { color: var(--dark); }

/* Cloud — orange (usa var(--orange) del proyecto) */
.svc-benefit-card--orange-solid {
  background: var(--orange);
  color: #fff;
}
.svc-benefit-card--orange-solid .svc-benefit-card__title { color: #fff; }

.svc-benefit-card--orange-light {
  background: #fff;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.svc-benefit-card--orange-light .svc-benefit-card__title { color: var(--dark); }

/* Los iconos heredan el color de la card via currentColor */
.svc-benefit-card__icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

/* Responsive — svc-page-hero */
@media (max-width: 900px) {
  .svc-page-card-bg { width: 40%; opacity: .6; }
  .svc-page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-page-hero-text { align-items: center; text-align: center; max-width: 520px; margin-inline: auto; }
  .svc-page-hero-text .btn-teal,
  .svc-page-hero-text .btn-orange { align-self: center; }
  .svc-benefits-panel { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 768px) {
  .svc-page-hero    { min-height: unset; padding-top: 100px; padding-bottom: 48px; }
  .svc-page-card-bg { display: none; }
  .svc-page-wordmark { max-width: 340px; }
}
@media (max-width: 480px) {
  .svc-page-wordmark { max-width: 220px; }
  .svc-benefit-card__title { font-size: 12px; }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1),
              transform .65s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
[style*="--delay"] { transition-delay: var(--delay, 0ms); }

/* ANIMACIONES */

/* 1 — Hero entrance: más lento y con delay para sentirse premium */
.hero .hero-content {
  transition: opacity 1.1s 150ms cubic-bezier(.16, 1, .3, 1),
              transform 1.1s 150ms cubic-bezier(.16, 1, .3, 1);
}

/* 2 — Stagger en cards de servicios (servicios.html) */
.svc-cards-stack .svc-hcard:nth-child(2) { transition-delay: 200ms; }
.svc-cards-stack .svc-hcard:nth-child(3) { transition-delay: 400ms; }

/* 2b — Stagger en cards de empleos: cada fila de 3 entra escalonada */
.empleos-grid .empleo-card:nth-child(3n+2) { transition-delay: 80ms; }
.empleos-grid .empleo-card:nth-child(3n+3) { transition-delay: 160ms; }

/* 3 — Hover en tech pills */
.tech-pill {
  transition: transform .22s cubic-bezier(.16, 1, .3, 1),
              box-shadow .22s cubic-bezier(.16, 1, .3, 1);
}
.tech-pill:hover {
  transform: scale(1.10);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}

/* 4 — Hover en svc-hcards */
.svc-hcard {
  transition: transform .25s cubic-bezier(.16, 1, .3, 1),
              box-shadow .25s cubic-bezier(.16, 1, .3, 1);
}
.svc-hcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .benefits-grid    { grid-template-columns: repeat(2, 1fr); }
  .benefit-img-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-grid       { grid-template-columns: repeat(3, 1fr); }
  .process-steps    { flex-wrap: wrap; justify-content: center; }
  .process-arrow    { display: none; }
}

@media (max-width: 1024px) {
  .hero-content { margin-left: 44%; }
  .svc-cards-stack { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .hero-content { margin-left: 42%; }
  .cards-grid { gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .impact-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Mapa: queda visible pero apilado bajo el texto */
  .impact-right { display: flex; justify-content: center; }
  .continent-img { max-width: 560px; width: 100%; }
  .partners-card { flex-direction: column; min-height: unset; }
  .partners-left { flex: none; }
  .partners-right { flex-direction: row; }
  .svc-detail { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail--reverse .svc-detail__text,
  .svc-detail--reverse .svc-detail__visual { order: unset; }
  .contacto-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }
  .contacto-left      { grid-column: 1; grid-row: 1; }
  .contacto-form-wrap { grid-column: 1; grid-row: 2; }
  .contact-info-cards { grid-column: 1; grid-row: 3; align-self: auto; }
  .contacto-form-wrap .form-card { flex: none; }
}

@media (max-width: 900px) {
  .svc-hero-inner  { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero-img    { display: flex; justify-content: center; margin-top: 24px; }
  .svc-hero-photo  { max-height: 320px; }
  .service-card-img { max-width: 260px; }
  .svc-desc-grid   { grid-template-columns: 1fr; gap: 32px; }
  .cloud-grid      { grid-template-columns: repeat(3, 1fr); }
  .svc-hero-inner--white { padding: 40px 32px; }

  .cards-grid { grid-template-columns: 1fr 1fr; }
  .conectemos-card { flex-direction: column; text-align: center; padding: 40px 28px; }
  .smarter-card { padding: 28px 24px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-pill { gap: 0; justify-content: space-between; }

  /* Hero — waves visibles en mobile */
  .hero-wave--orange { left: -20%; width: 140%; opacity: .75; }
  .hero-wave--teal   { left: -30%; width: 150%; opacity: .65; }
  .hero-content {
    margin-left: 0;
    padding: 96px 20px 48px;
    background: rgba(255,255,255,.55);
    max-width: 100%;
  }
  .hero-rule { width: 100%; }
  .hero-sub br { display: none; }

  /* Page hero */
  .page-hero { padding-top: 100px; min-height: 40vh; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Partners */
  .partners-left { padding: 40px 24px; }
  .partners-right { flex-direction: row; flex-wrap: wrap; justify-content: center; }

  /* Svc hero pages (staffing / cloud) — fondo color visible */
  .svc-hero { padding-top: 90px; padding-bottom: 40px; }
  .svc-hero-inner--white { padding: 28px 20px; }
  .svc-wordmark { height: 40px; }
  .svc-hero-photo { max-height: 240px; }

  /* Smarter */
  .smarter-page { padding-block: 120px 60px; }
  .smarter-card { padding: 24px 20px; }

  /* Contacto */
  .contacto-page { padding-block: 120px 60px; }
}

@media (max-width: 480px) {
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .field-row     { grid-template-columns: 1fr; }
  .cards-grid    { grid-template-columns: 1fr; max-width: 100%; }
  .benefits-grid    { grid-template-columns: 1fr; }
  .benefit-img-grid { grid-template-columns: 1fr; }
  .smarter-page, .contacto-page { padding-block: 88px 40px; }
  .section-title { font-size: 24px; }
  .conectemos-card { padding: 28px 20px; }
  .conectemos-icon { width: 52px; height: 52px; }
  .service-title { font-size: 20px; }
  .partners-h2   { font-size: 17px; }
  .continent-img { max-width: 100%; }
  .tech-pill, .tech-logo-pill { height: 52px; width: 110px; border-radius: 14px; }
  .tech-pill img { height: 26px; max-width: 78px; }
}


/* SERVICIOS — horizontal service cards + tech logo grid */

/* Stack of 3 full-width horizontal cards */
.svc-cards-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.svc-hcard {
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  border: 1.5px solid var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  overflow: hidden;
  background: #fff;
}

/* Forge card gets teal border */
.svc-hcard:nth-child(2) { border-color: var(--teal); }

/* Left: white panel — wordmark on top, icon below */
/* min-height iguala las tres cards: cloud es la más alta (~222px), forge la más baja (~205px) */
.svc-hcard__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 24px;
  background: #fff;
  min-height: 224px;
}
.svc-hcard__wordmark {
  max-width: 130px;
  width: 100%;
  height: auto;
}
/* El SVG de Software Factory con IA es 499×105 (ratio ~4.75:1 vs ~1.8:1 de los otros).
   Se amplía el max-width para que la altura renderizada sea similar a los demás. */
.svc-hcard__wordmark--forge {
  max-width: 260px;
  margin-bottom: 10px;
}
/* Íconos mostrados cerca de su resolución nativa para evitar pixelación */
.svc-hcard__icon {
  width: auto;
  max-width: 72px;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Right: solid colour area with text + button */
.svc-hcard__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
  flex: 1;
}
.svc-hcard__right--orange { background: var(--orange); }
.svc-hcard__right--teal   { background: var(--teal); }

.svc-hcard__text {
  font-family: 'Host Grotesk', sans-serif;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.svc-hcard__btn {
  display: inline-block;
  align-self: flex-end;
  margin-top: 24px;
  background: #fff;
  color: var(--dark);
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.svc-hcard__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ── Tech logo grid ── */
.tech-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* Tamaño uniforme para todos los pills — 152×72px */
.tech-logo-pill {
  height: 72px;
  width: 152px;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  flex-shrink: 0;
}

.tech-pill {
  height: 72px;
  width: 152px;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tech-pill img {
  height: 40px;
  width: auto;
  max-width: 116px;
  display: block;
  object-fit: contain;
}
/* AWS, GCP, SAP tienen logos blancos — se oscurecen para ser visibles sobre fondo blanco */
.tech-pill--dark-logo img {
  filter: brightness(0);
}

/* ── Process icon (smart-cloud.html / smart-staffing.html) ── */
.process-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-icon--teal   { background: rgba(27,185,165,.12); }
.process-icon--orange { background: rgba(249,156,8,.12); }

/* FOOTER V2 — Responsive */
@media (max-width: 1024px) {
  .fv2-bottom { grid-template-columns: 180px 120px 1fr; gap: 24px; }
  .fv2-offices { gap: 12px; }
  .fv2-office  { min-width: 110px; }
  .fv2-email-form input { width: 160px; }
}

@media (max-width: 768px) {
  /* Top: logo arriba, acciones abajo */
  .fv2-top-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .fv2-actions   { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }

  /* Email form estira para llenar el espacio */
  .fv2-email-form       { flex: 1; min-width: 0; }
  .fv2-email-form input { flex: 1; width: auto; min-width: 0; }

  /* Bottom: nav y síguenos lado a lado, oficinas abajo a todo el ancho */
  .fv2-bottom {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px 0 28px;
  }
  .fv2-offices {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }
  .fv2-office { min-width: 120px; flex: 1 1 120px; }

  /* Íconos sociales en fila */
  .fv2-social { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .fv2-siguenos { width: 100%; }
}

@media (max-width: 480px) {
  /* Todo en columna única */
  .fv2-bottom { grid-template-columns: 1fr; gap: 20px; }
  /* Botón contacta ocupa ancho completo */
  .fv2-btn-contacta { width: 100%; justify-content: center; }
  /* Oficinas: 2 por fila */
  .fv2-offices { gap: 16px; }
  .fv2-office  { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); }
  .fv2-flag    { width: 40px; }
}

/* Responsive */
@media (max-width: 768px) {
  .svc-cards-stack { grid-template-columns: 1fr; }
  .svc-hcard__left {
    padding: 24px;
    flex-direction: row;
    gap: 16px;
    border-bottom: 1.5px solid rgba(0,0,0,0.06);
  }
  .svc-hcard__wordmark         { max-width: 110px; }
  .svc-hcard__wordmark--forge  { max-width: 220px; }
  .svc-hcard__icon             { max-width: 56px; }
  .svc-hcard__right    { padding: 24px 20px; }
  .svc-hcard__btn      { align-self: flex-start; }
  .tech-logo-pill { height: 60px; width: 130px; }
  .tech-pill      { height: 60px; width: 130px; }
  .tech-pill img  { height: 32px; max-width: 96px; }
}

@media (max-width: 768px) {
  .svc-cta-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 40px;
  }
  .svc-cta-bg {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: cover;
    object-position: center center;
  }
  .svc-cta-btn {
    position: static;
    transform: none;
    font-size: 14px;
    padding: 11px 28px;
  }
  .svc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
  }
}

@media (max-width: 600px) {
  .svc-benefits-img { border-radius: 14px; }
}

/* ROLES GRID */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}
.role-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27,185,165,.10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.role-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.role-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .roles-grid { grid-template-columns: 1fr; }
}

/* WHATSAPP BUBBLE */
.wa-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s;
}
.wa-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}
.wa-btn svg { flex-shrink: 0; }

.wa-popup {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  overflow: hidden;
  animation: waPopIn .3s cubic-bezier(.16,1,.3,1);
}
@keyframes waPopIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.wa-popup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  padding: 14px 16px;
}
.wa-popup__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wa-popup__info { flex: 1; }
.wa-popup__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.wa-popup__status {
  font-size: 12px;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.wa-popup__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .15s;
}
.wa-popup__close:hover { color: #fff; }

.wa-popup__body {
  padding: 16px;
  background: #ece5dd;
}
.wa-popup__bubble {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  position: relative;
}
.wa-popup__bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff;
}
.wa-popup__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}
.wa-popup__text {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.wa-popup__footer {
  padding: 12px 16px;
}
.wa-popup__cta {
  display: block;
  text-align: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 11px;
  border-radius: 8px;
  transition: background .18s;
}
.wa-popup__cta:hover { background: #1ebd5a; }

@media (max-width: 480px) {
  .wa-bubble { bottom: 20px; right: 16px; }
  .wa-btn__label { display: none; }
  .wa-btn { padding: 14px; border-radius: 50%; }
  .wa-popup { width: calc(100vw - 32px); }
}
