:root {
  --blue: #1f87c7;
  --blue-dark: #166a94;
  --blue-light: #e6f4fa;
  --dark: #135b91;
  --text: #444;
  --text-light: #777;
  --white: #fff;
  --bg-light: #f4f9fb;
  --radius: 12px;
  /* Altura del nav sticky (nav .inner height) — anclas sin doble espacio */
  --nav-sticky-h: 68px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* TOP BAR */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: 12px;
  padding: 6px 0;
}
.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar .left span,
.topbar .left a { margin-right: 20px; }
.topbar .left i { margin-right: 5px; color: var(--blue); }
.topbar .left a {
  color: inherit;
  transition: color 0.2s;
}
.topbar .left a:hover {
  color: #fff;
}
.topbar .right { display: flex; gap: 8px; }
.topbar .right a {
  width: 26px; height: 26px; background: #0f4d63; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa;
  transition: background .2s;
}
.topbar .right a:hover { background: var(--blue); color: #fff; }

/* NAV */
nav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  position: sticky; top: 0; z-index: 100;
}
nav .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(31, 135, 199, 0.08); }
.nav-panel {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-backdrop {
  display: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
}
a.logo {
  text-decoration: none;
  color: inherit;
}
.logo .icon { width: 38px; height: 38px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo .icon i { color: #fff; font-size: 18px; }
.logo--principal .logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 38vw);
  object-fit: contain;
}
footer .footer-brand .logo--principal .logo-img {
  height: 52px;
  max-width: min(260px, 70vw);
}
nav ul { display: flex; gap: 30px; list-style: none; }
nav ul a { font-size: 14px; font-weight: 500; color: var(--dark); transition: color .2s; }
nav ul a:hover { color: var(--blue); }
.nav-btns { display: flex; gap: 10px; align-items: center; }
.quick-icon i { display: none; }
.btn-outline {
  padding: 8px 20px; border: 2px solid var(--blue); color: var(--blue);
  border-radius: 6px; font-size: 14px; font-weight: 600; transition: all .2s;
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-fill {
  padding: 8px 20px; background: var(--blue); color: #fff;
  border-radius: 6px; font-size: 14px; font-weight: 600; transition: all .2s;
}
.btn-fill:hover { background: var(--blue-dark); }

/* MARQUEE STRIP */
.marquee-strip {
  background: var(--blue);
  padding: 10px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 60px; animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-strip span { color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.marquee-strip .dot { color: rgba(255,255,255,.5); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HERO */
.hero {
  background: linear-gradient(135deg, #f0f7fa 0%, #e8f2f7 100%);
  padding: 80px 0 0;
  overflow: hidden;
}
.hero .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-tag { background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; display: inline-block; margin-bottom: 18px; }
.hero h1 { font-family: 'Sora', sans-serif; font-size: 48px; font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 18px; }
.hero h1 span { color: var(--blue); }
.hero p { color: #666; font-size: 15px; line-height: 1.7; margin-bottom: 30px; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; align-items: center; }
.hero-btns .btn-fill { padding: 13px 28px; font-size: 15px; border-radius: 8px; }
.hero-btns .btn-play { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dark); font-size: 14px; }
.hero-btns .play-icon { width: 42px; height: 42px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-btns .play-icon i { color: #fff; font-size: 13px; padding-left: 2px; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; }
.hero-stat strong { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; color: var(--dark); }
.hero-stat strong span { color: var(--blue); }
.hero-stat p { font-size: 12px; color: #888; margin-top: 2px; }
.hero-img { position: relative; }
.hero-img .main-img {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #1f87c7, #135b91);
  height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.hero-img .main-img .img-placeholder {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 20px;
}
.hero-img .card-float {
  position: absolute; background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12); display: flex; align-items: center; gap: 10px;
}
.hero-img .card-float.top { top: 30px; right: -20px; }
.hero-img .card-float.bot { bottom: 60px; left: -20px; }
.card-float .icon-circle { width: 38px; height: 38px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.card-float .icon-circle i { color: var(--blue); font-size: 15px; }
.card-float strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.card-float span { font-size: 11px; color: #888; }
.hero-img-photo {
  border-radius: 20px;
  width: 100%; height: 460px;
  background: linear-gradient(135deg, #1f87c7 0%, #0a3d52 100%);
  position: relative;
  overflow: hidden;
}
.hero-img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-img-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 44, 0.12) 0%, rgba(8, 22, 44, 0.28) 100%);
}
.hero-img-photo .people-img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 90%;
  background: linear-gradient(to top, rgba(26,58,143,0) 0%, rgba(26,58,143,0) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  height: 100%;
}
/* Simulated people silhouette */
.people-silhouette {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 10%, rgba(255,255,255,.04) 100%);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px;
  font-size: 80px; color: rgba(255,255,255,.15);
}
.sig-box {
  position: absolute; bottom: 30px; right: -15px;
  background: #fff; border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.sig-box .sig-name { font-family: 'Sora', cursive; font-size: 16px; color: var(--dark); }
.sig-box .sig-title { font-size: 10px; color: #888; }

/* SERVICES */
.services { padding: 80px 0; background: #fff; }
.section-tag { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-title span { color: var(--blue); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-header .left { max-width: 500px; }
.section-header p { color: #666; margin-top: 12px; font-size: 14px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  border: 1.5px solid #dceef5;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s;
  background: #fff;
}
.service-card:hover { border-color: var(--blue); box-shadow: 0 12px 40px rgba(31,135,199,.1); transform: translateY(-4px); }
.service-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon i { color: var(--blue); font-size: 22px; }
.service-card h3 { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { color: #888; font-size: 13px; line-height: 1.7; }

/* WORK PROCESS / SERVICIOS (fondo parallax) */
.work-process {
  position: relative;
  padding: 80px 0;
  background-color: var(--dark);
  background-image: url('img/philosophy_back.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.work-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 24, 45, 0.74) 0%,
    rgba(19, 91, 145, 0.6) 45%,
    rgba(4, 17, 34, 0.74) 100%
  );
  z-index: 0;
}
.work-process .inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.work-process .section-header { flex-direction: column; align-items: center; text-align: center; }
.work-process .section-header .left { max-width: 600px; }
.work-process .section-tag { color: #7dc8eb; }
.work-process .section-title { color: #fff; }
.work-process .section-title span { color: #fff; }
.work-process .service-card {
  background: rgba(6, 18, 36, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
}
.work-process .service-card:hover {
  border-color: rgba(31, 135, 199, 0.55);
  box-shadow: 0 16px 44px rgba(31, 135, 199, 0.22);
  transform: translateY(-4px);
}
.work-process .service-icon {
  background: rgba(31, 135, 199, 0.22);
}
.work-process .service-icon i { color: #7dc8eb; }
.work-process .service-card h3 { color: #fff; }
.work-process .service-card p { color: rgba(255, 255, 255, 0.82); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 40px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0, var(--blue) 10px, transparent 10px, transparent 20px);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 80px; height: 80px; background: #fff; border: 3px solid var(--blue-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(31,135,199,.08);
}
.step-num i { color: var(--blue); font-size: 28px; }
.step h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: 12px; color: #888; line-height: 1.6; }

/* WHY TRUST / FILOSOFIA (fondo claro) */
.why-trust {
  padding: 80px 0;
  background: var(--bg-light);
}
.why-trust .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-trust .section-tag { color: var(--blue); }
.why-trust .section-title { color: var(--dark); }
.why-trust .desc {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0 30px;
}
.why-trust .desc strong {
  color: var(--dark);
  font-weight: 700;
}
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .chk { width: 26px; height: 26px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item .chk i { color: #fff; font-size: 11px; }
.trust-item span { color: #555; font-size: 13px; }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.trust-stat { background: rgba(255,255,255,.06); border-radius: 12px; padding: 20px; text-align: center; border: 1px solid rgba(255,255,255,.08); }
.trust-stat strong { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; color: #fff; display: block; }
.trust-stat strong span { color: var(--blue); }
.trust-stat small { color: #888; font-size: 11px; }
.why-img { border-radius: 20px; overflow: hidden; position: relative; }
.why-img-box {
  background: linear-gradient(135deg, #1f87c7 0%, #135b91 100%);
  height: 480px; border-radius: 20px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.why-img-box i { font-size: 120px; color: rgba(255,255,255,.08); }
.why-badge {
  position: absolute; bottom: 30px; right: 30px;
  background: #fff; border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.why-badge .badge-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.why-badge .badge-icon i { color: var(--blue); font-size: 20px; }
.why-badge strong { display: block; font-size: 16px; font-weight: 800; color: var(--dark); }
.why-badge small { font-size: 11px; color: #888; }

/* PORTFOLIO */
.portfolio { padding: 80px 0; background: #fff; }
.portfolio .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.portfolio-tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 20px; border-radius: 6px; border: 1.5px solid #e0e0e0;
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s; background: #fff; color: #666;
}
.tab-btn.active, .tab-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.port-card { border-radius: 14px; overflow: hidden; position: relative; group cursor: pointer; }
.port-card .port-img {
  height: 200px;
  background: linear-gradient(135deg, #d9eef5, #b9e0ee);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform .3s;
}
.port-card:hover .port-img { transform: scale(1.03); }
.port-card .port-img i { font-size: 50px; color: rgba(31,135,199,.2); }
.port-overlay {
  position: absolute; inset: 0; background: rgba(31,135,199,.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay i { color: #fff; font-size: 28px; }
.port-info { padding: 16px 0; }
.port-info .tag { color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.port-info h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); margin-top: 4px; }

/* JOURNEY / AWARDS */
.journey { padding: 80px 0; background: var(--bg-light); }
.journey .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.awards { display: flex; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.award-card {
  background: #fff; border-radius: 12px; padding: 20px;
  text-align: center; flex: 1; min-width: 130px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1.5px solid #f0f0f0;
}
.award-card .award-icon { width: 50px; height: 50px; background: var(--blue-light); border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.award-card .award-icon i { color: var(--blue); font-size: 22px; }
.award-card h5 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.award-card small { font-size: 11px; color: #888; }
.journey-img-box {
  background: linear-gradient(135deg, #fff 0%, #e6f4fa 100%);
  border-radius: 20px; height: 420px; border: 1.5px solid #d4e8f0;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.journey-img-box i { font-size: 100px; color: var(--blue-light); }
.award-ribbon { position: absolute; top: 20px; right: 20px; background: var(--blue); color: #fff; border-radius: 10px; padding: 8px 14px; font-size: 12px; font-weight: 700; }

/* CONTACT FORM SECTION */
.contact-strip {
  position: relative;
  background-color: var(--dark);
  background-image: url('img/contact_back.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}
.contact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 63, 0.58) 0%,
    rgba(19, 91, 145, 0.5) 45%,
    rgba(8, 25, 45, 0.58) 100%
  );
  z-index: 0;
}
.contact-strip .inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info h3 { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.info-items { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ii { width: 40px; height: 40px; background: rgba(5,15,30,.65); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item .ii i { color: #fff; font-size: 15px; }
.info-item h5 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.contact-strip .info-item p { color: #fff; font-size: 12px; }
.contact-strip .info-item p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: opacity 0.2s, text-decoration-color 0.2s;
}
.contact-strip .info-item p a:hover {
  opacity: 0.92;
  text-decoration-color: rgba(255, 255, 255, 0.75);
}
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 38px; height: 38px; background: rgba(5,15,30,.65); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.socials a:hover { background: var(--blue); color: #fff; }
.contact-form-box { background: rgba(6, 18, 36, 0.78); border: 1.5px solid rgba(255,255,255,.16); border-radius: 16px; padding: 36px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); backdrop-filter: blur(2px); }
.contact-form-box h4 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.contact-form-box h4 span { color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.form-input {
  background: rgba(3, 12, 24, 0.72); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 8px; padding: 12px 16px; color: #fff; font-size: 13px; font-family: inherit;
  width: 100%; outline: none; transition: border .2s;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.72); }
.form-input:focus { border-color: var(--blue); }
.contact-strip .form-input:-webkit-autofill,
.contact-strip .form-input:-webkit-autofill:hover,
.contact-strip .form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.form-submit {
  width: 100%; padding: 13px; background: var(--blue); color: #fff; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--blue-dark); }
.form-submit .fa-whatsapp { font-size: 18px; }

/* TESTIMONIALS */
.testimonials { padding: 80px 0; background: var(--dark); }
.testimonials .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.testimonials .section-title { color: #fff; }
.testimonials .section-header { flex-direction: column; align-items: center; text-align: center; margin-bottom: 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.08); border-radius: 14px; padding: 28px; transition: all .3s; }
.testi-card:hover { border-color: var(--blue); background: rgba(31,135,199,.1); }
.stars { color: #ffd700; font-size: 14px; margin-bottom: 14px; }
.testi-card p { color: #bbb; font-size: 13px; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #5ab8de); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 16px; }
.testi-author h5 { font-size: 14px; font-weight: 700; color: #fff; }
.testi-author small { font-size: 11px; color: #888; }

/* TEAM (tarjetas) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.team-card { background: #fff; border-radius: 14px; overflow: hidden; text-align: center; transition: transform .3s, box-shadow .3s; border: 1.5px solid #f0f0f0; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.team-photo {
  height: 200px; background: linear-gradient(135deg, #d9eef5, #b5ddeb);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.team-photo i { font-size: 70px; color: rgba(31,135,199,.2); }
.team-info { padding: 20px 16px; }
.team-info h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-info small { color: #888; font-size: 12px; }
.team-socials { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.team-socials a { width: 32px; height: 32px; background: var(--blue-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 12px; transition: all .2s; }
.team-socials a:hover { background: var(--blue); color: #fff; }

/* Quienes somos: fondo parallax + texto centrado */
.services.about-us {
  position: relative;
  background-color: var(--dark);
  background-image: url('img/CBI_Crew.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.services.about-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 63, 0.58) 0%,
    rgba(19, 91, 145, 0.5) 45%,
    rgba(8, 25, 45, 0.58) 100%
  );
  z-index: 0;
}
.services.about-us .about-us-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-us-body {
  width: 100%;
  max-width: 640px;
  text-align: center;
}
.about-us-body .section-tag {
  margin-bottom: 12px;
  color: #7dc8eb;
}
.about-us-body .section-title {
  margin-bottom: 18px;
  color: #fff;
}
.about-us-body .section-title span {
  color: #fff;
}
.about-us-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.about-us-cta {
  display: inline-flex;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
}

/* STATS BAND */
.stats-band { background: var(--blue); padding: 50px 0; }
.stats-band .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-item strong { font-family: 'Sora', sans-serif; font-size: 40px; font-weight: 800; color: #fff; display: block; }
.stat-item p { color: rgba(255,255,255,.75); font-size: 13px; margin-top: 4px; }

/* BLOG */
.blog { padding: 80px 0; background: #fff; }
.blog .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.blog-card { border-radius: 14px; overflow: hidden; border: 1.5px solid #f0f0f0; transition: box-shadow .3s; }
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.blog-img { height: 180px; background: linear-gradient(135deg, #d9eef5, #b5ddeb); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-img i { font-size: 60px; color: rgba(31,135,199,.18); }
.blog-body { padding: 22px; }
.blog-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.blog-cat { background: var(--blue-light); color: var(--blue); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.5px; }
.blog-date { color: #aaa; font-size: 11px; }
.blog-card h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 10px; }
.blog-card p { color: #888; font-size: 12px; line-height: 1.7; }
.read-more { color: var(--blue); font-size: 12px; font-weight: 700; margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.read-more i { font-size: 10px; }

/* CLIENTES — galería de logos */
.clients-logos {
  padding: clamp(72px, 10vh, 110px) 0;
  background: var(--bg-light);
}
.clients-logos .inner {
  max-width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 56px);
}
.clients-logos-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(36px, 5vh, 56px);
}
.clients-logos-header .left {
  max-width: min(900px, 100%);
}
.clients-logos-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(36px, 5vh, 64px);
}
.clients-logos-row {
  display: grid;
  width: 100%;
  gap: clamp(24px, 3.5vw, 48px) clamp(20px, 3vw, 40px);
  justify-items: center;
  align-items: center;
}
.clients-logos-row--4 {
  grid-template-columns: repeat(4, 1fr);
}
.clients-logos-row--3 {
  grid-template-columns: repeat(3, 1fr);
}
.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: clamp(12px, 2vw, 28px) clamp(8px, 1.5vw, 20px);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.clients-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15) opacity(0.55);
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.clients-logo:hover img {
  filter: none;
  opacity: 1;
}
@media (max-width: 900px) {
  .clients-logos-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-logos-row--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .clients-logos-row--4,
  .clients-logos-row--3 {
    grid-template-columns: 1fr;
  }
}

/* FAQ / Por que elegirnos */
.faq { padding: 80px 0; background: var(--bg-light); }
.faq .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
  align-items: stretch;
}
.faq-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq-intro .section-title {
  margin-bottom: 14px;
}
.faq-subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}
.faq-tagline {
  max-width: 640px;
  margin: clamp(20px, 3vh, 32px) auto 0;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  color: #888;
}
.faq-tagline span {
  color: var(--blue);
  font-weight: 600;
}
.why-choose-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  width: 100%;
}
.why-choose-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e8ecf0;
  padding: clamp(18px, 2.2vw, 22px);
  box-shadow: 0 6px 24px rgba(19, 91, 145, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.why-choose-card:hover {
  border-color: rgba(31, 135, 199, 0.28);
  box-shadow: 0 12px 36px rgba(31, 135, 199, 0.12);
}
.why-choose-card__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 0;
}
.why-choose-card__text {
  font-size: clamp(12px, 0.95vw, 13px);
  line-height: 1.65;
  color: #666;
  margin: 0;
  flex: 1;
}
@media (max-width: 1024px) {
  .why-choose-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .why-choose-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .why-choose-cards {
    grid-template-columns: 1fr;
  }
}

/* NEWSLETTER */
.newsletter { padding: 70px 0; background: var(--blue); }
.newsletter .inner { max-width: 600px; margin: 0 auto; padding: 0 24px; text-align: center; }
.newsletter h3 { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.8); font-size: 14px; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 8px; border: none; font-size: 14px;
  font-family: inherit; outline: none;
}
.newsletter-form button {
  padding: 13px 24px; background: var(--dark); color: #fff; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
  white-space: nowrap; transition: background .2s;
}
.newsletter-form button:hover { background: #000; }

/* FOOTER (cuerpo claro + franja copyright azul) */
footer {
  background: #fff;
  padding: 0;
}
footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 64px) 24px clamp(28px, 4vh, 40px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
footer .logo {
  color: var(--dark);
}
.footer-brand p {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 320px;
}
.footer-col h5 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: #666; font-size: 13px; transition: color .2s; }
.footer-col ul a:hover { color: var(--blue); }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item i { color: var(--blue); font-size: 14px; margin-top: 2px; }
.footer-contact-item p { color: #555; font-size: 12px; line-height: 1.5; }
.footer-bottom {
  width: 100%;
  max-width: none;
  margin: 0;
  margin-top: 0;
  padding: 16px 24px;
  background: var(--blue);
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.5;
}
.footer-bottom p a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.footer-bottom p a:hover {
  color: #fff;
}
.footer-bottom .ft-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .ft-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  transition: color .2s, opacity .2s;
}
.footer-bottom .ft-links a:hover {
  color: #fff;
  opacity: 1;
}
.footer-socials {
  display: none;
  gap: 10px;
  margin: 12px 0 0;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.footer-socials a:hover {
  background: var(--blue);
  color: #fff;
}
footer .socials a {
  background: var(--blue-light);
  color: var(--blue);
}
footer .socials a:hover {
  background: var(--blue);
  color: #fff;
}

/* UTILS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mb-48 { margin-bottom: 48px; }

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* Pantalla completa por seccion (landing) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-sticky-h);
}
.hero,
.services,
.work-process,
.why-trust,
.faq,
.clients-logos,
.contact-strip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
/* Hero: toda la ventana */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(16px, 4vh, 40px);
  padding-bottom: clamp(16px, 4vh, 40px);
}
.services,
.work-process,
.why-trust,
.faq,
.clients-logos,
.contact-strip {
  min-height: calc(100vh - var(--nav-sticky-h));
  min-height: calc(100dvh - var(--nav-sticky-h));
  padding-top: clamp(12px, 2vh, 24px);
  padding-bottom: clamp(12px, 2vh, 24px);
}
.hero > .inner,
.services > .container,
.work-process > .inner,
.why-trust > .inner,
.faq > .inner,
.clients-logos > .inner,
.contact-strip > .inner {
  width: 100%;
}

@media (max-width: 1024px) {
  nav ul { gap: 16px; }
  .nav-btns { gap: 8px; }
  .btn-outline, .btn-fill { padding: 8px 14px; font-size: 13px; }

  .hero .inner,
  .why-trust .inner,
  .contact-strip .inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content,
  .why-trust .inner > div,
  .contact-info {
    text-align: center;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns,
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-img .card-float.top { right: 8px; top: 16px; }
  .hero-img .card-float.bot { left: 8px; bottom: 20px; }

  footer .inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .topbar .inner {
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .topbar .left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }
  .topbar .left span,
  .topbar .left a { margin-right: 0; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-trust .inner { gap: 30px; }
  .contact-form-box { padding: 24px; }

  .hero,
  .services,
  .work-process,
  .why-trust,
  .faq,
  .clients-logos,
  .contact-strip {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (max-width: 768px) {
  :root { --nav-sticky-h: 118px; }

  .section-title,
  .faq-intro .section-title,
  .faq-left h2,
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }

  .hero .inner,
  .work-process .inner,
  .why-trust .inner,
  .faq .inner,
  .contact-strip .inner,
  .container,
  .clients-logos .inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero { padding-top: 28px; }
  .hero-img-photo { height: 360px; }
  .hero-img .card-float { position: static; margin-top: 10px; }
  .hero-img .card-float.top,
  .hero-img .card-float.bot { transform: none; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 22px 18px; }
  .why-badge { width: 100%; justify-content: flex-start; }
  .faq-subtitle,
  .faq-tagline { font-size: 14px; }

  .form-row { grid-template-columns: 1fr; }

  footer .inner {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-contact-item { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  :root { --nav-sticky-h: 68px; }

  .hero-stat strong { font-size: 24px; }
  .hero-stats { gap: 16px; }
  .marquee-track { gap: 36px; animation-duration: 24s; }

  .about-us-cta,
  .hero-btns .btn-fill,
  .form-submit {
    width: 100%;
    justify-content: center;
  }
  .hero-btns { width: 100%; }
  .hero-btns .btn-play { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-sticky-h: 68px; }

  .topbar .right { display: none; }

  nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    flex-wrap: nowrap;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 45, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 150;
  }
  nav.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(8, 25, 45, 0.18);
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 24px 28px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
  }
  nav.nav-open .nav-panel {
    transform: translateX(0);
  }
  nav ul.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    list-style: none;
  }
  nav ul.nav-menu li {
    border-bottom: 1px solid #eef3f6;
  }
  nav ul.nav-menu a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
  }
  .nav-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef3f6;
    width: 100%;
  }
  .nav-btns .quick-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .quick-icon span { display: none; }
  .quick-icon i {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
  }
  .btn-outline.quick-icon { border-width: 2px; }
  .btn-fill.quick-icon { background: var(--blue); color: #fff; }

  .why-trust .trust-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px 10px;
    margin-bottom: 24px;
  }
  .why-trust .trust-item {
    grid-column: span 2;
    justify-content: flex-start;
    width: auto;
  }
  .why-trust .trust-item:nth-child(4) {
    grid-column: 2 / 4;
  }
  .why-trust .trust-item:nth-child(5) {
    grid-column: 4 / 6;
  }

  .contact-info .info-items { display: none; }
  .contact-strip .socials { display: none; }
  .contact-form-box {
    display: block;
    padding: 24px;
  }

  .footer-brand .logo {
    justify-content: center;
  }
  .footer-socials {
    display: inline-flex;
    justify-content: center;
  }
}

@media (hover: none), (pointer: coarse) {
  .work-process,
  .contact-strip,
  .services.about-us {
    background-attachment: scroll;
  }
}
