:root {
  --bg: #f7f9fc;
  --white: #ffffff;
  --ink: #1a2d50;
  --muted: #3d3d3d;
  --line: rgba(26, 45, 80, 0.1);
  --primary: #1a3160;
  --primary-mid: #0d4e8d;
  --accent: #e87825;
  --accent-light: #fff3e8;
  --shadow-sm: 0 2px 12px rgba(26, 45, 80, 0.08);
  --shadow: 0 8px 32px rgba(26, 45, 80, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 45, 80, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
img { display: block; max-width: 100%; }

.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 180px;
}

.topbar .brand-mark {
  display: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.brand-mark img { width: 44px; height: 44px; object-fit: contain; }
.brand-mark svg { width: 36px; height: 36px; }

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  line-height: 0.95;
}

.brand-text strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.brand-text span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}
.brand-text--inline { font-size: 1.15rem; font-weight: 700; color: #fff; font-family: "Sora", sans-serif; letter-spacing: -0.01em; }

.menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-cta {
  justify-self: end;
  margin-left: auto;
}

.menu .nav-cta-mobile {
  display: none;
}

.menu > a:not(.btn) {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  transition: color 0.18s, background 0.18s;
}

.menu > a:not(.btn):hover,
.menu > a:not(.btn).is-current {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(232, 120, 37, 0.32);
}

.btn-primary:hover { box-shadow: 0 12px 32px rgba(232, 120, 37, 0.4); }

.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 49, 96, 0.3);
}

.btn-dark:hover { box-shadow: 0 12px 28px rgba(26, 49, 96, 0.4); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── HERO VISUAL ─────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #c4d4e8, #dde8f4);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tablet-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.tablet-device {
  background: #1a1a2e;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}

.tablet-screen {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.tablet-browser-bar {
  background: #f1f3f5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.browser-dots { display: flex; gap: 5px; }
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: #666;
  border: 1px solid #ddd;
}

.tablet-content {
  padding: 20px;
  min-height: 260px;
}

.sii-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0050a0;
}

.sii-logo-badge {
  background: #0050a0;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.sii-title { font-size: 0.78rem; color: #333; font-weight: 600; }

.sii-status-box {
  background: #e8f5e9;
  border: 2px solid #4caf50;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sii-check {
  width: 38px; height: 38px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.sii-status-text strong {
  display: block;
  color: #2e7d32;
  font-size: 1.1rem;
  font-weight: 800;
}
.sii-status-text span { font-size: 0.78rem; color: #555; }

.sii-rows { display: grid; gap: 6px; }

.sii-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.75rem;
}
.sii-row span:first-child { color: #666; }
.sii-row span:last-child { font-weight: 700; color: var(--primary); }

.tablet-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.tablet-badge-2 {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--white);
  border: 2px solid var(--line);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* ── SERVICES GRID (HOME) ────────────────────────────── */
.services-home {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.services-home h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-home > .container > p {
  text-align: center;
  color: #3d3d3d;
  font-size: 1.02rem;
  margin-bottom: 2.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 45, 80, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.service-card-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.service-card-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.service-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

/* ── SECTION SHARED ──────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  padding: 4rem 0 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner { max-width: 760px; }

.page-hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ── NOSOTRAS ────────────────────────────────────────── */
.nosotras-section {
  padding: 4.5rem 0 5rem;
  background: var(--white);
}

.nosotras-intro {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.nosotras-intro p {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.75;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,45,80,0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #d4e0f0, #bccfe8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo svg {
  width: 100%;
  height: 100%;
}

.founder-info {
  padding: 1.4rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.founder-name {
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: #0077b5;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.18s;
}

.founder-linkedin:hover { transform: translateY(-2px); }

.nosotras-bottom {
  padding: 3rem 0 4.5rem;
  background: var(--bg);
}

.nosotras-bottom-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.nosotras-bottom p {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* ── SERVICIOS PAGE ──────────────────────────────────── */
.servicios-section {
  padding: 4rem 0 5.5rem;
  background: var(--white);
}

.servicios-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.servicios-block:last-child { margin-bottom: 0; }

.servicios-block.reverse { direction: rtl; }
.servicios-block.reverse > * { direction: ltr; }

.servicios-copy h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.servicios-copy > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.servicios-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.pill-list {
  display: grid;
  gap: 0.6rem;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26,45,80,0.07);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
}

.pill-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.servicios-visual {
  position: relative;
}

.servicios-img-wrap {
  background: linear-gradient(145deg, #dce8f7, #eef4fb);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.servicios-img-wrap svg {
  width: 80%;
  height: 80%;
}

.servicios-img-wrap img {
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ── CONTACTO ────────────────────────────────────────── */
.contact-section {
  padding: 5rem 0 6rem;
  background: var(--bg);
}

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-main-card {
  max-width: 560px;
  width: 100%;
}

/* ── LEFT CARD ── */
.contact-main-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 3rem 2.4rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.contact-main-card .section-eyebrow {
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.contact-main-card h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-main-card > p {
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.3rem;
  border-radius: 50px;
  font-family: "Manrope", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.18s, box-shadow 0.18s;
  cursor: pointer;
}

.contact-btn-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.contact-btn-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-btn.is-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.contact-btn.is-white:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.contact-btn.is-white .contact-btn-arrow { background: var(--primary); color: #fff; }

.contact-btn.is-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.contact-btn.is-outline:hover { background: rgba(255,255,255,0.18); }
.contact-btn.is-outline .contact-btn-arrow { background: rgba(255,255,255,0.2); color: #fff; }

.contact-btn.is-orange {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245,130,32,0.35);
  justify-content: center;
}
.contact-btn.is-orange:hover { background: #e07010; box-shadow: 0 10px 28px rgba(245,130,32,0.45); }

.contact-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: auto;
}

.contact-trust svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.5); }

/* ── RIGHT CARDS ── */
.contact-side { display: flex; flex-direction: column; gap: 0.75rem; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #eef2fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-info-text { flex: 1; }

.contact-info-card .section-eyebrow { margin-bottom: 0.2rem; font-size: 0.68rem; }
.contact-info-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.contact-info-card p { font-size: 0.75rem; color: var(--muted); margin-top: 0.08rem; line-height: 1.3; }

.contact-info-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1.2;
}

.contact-info-card h3 a {
  color: inherit;
  text-decoration: none;
}
.contact-info-card h3 a:hover { color: var(--accent); }

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.92);
  margin-top: auto;
}

.footer-top {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-top-title {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 2.5rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.18s;
}

.footer-contact-item:hover { color: #fff; }

.footer-contact-item svg {
  width: 18px; height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.footer-brand .brand-mark {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.18s;
}

.footer-nav a:hover { color: #fff; }

.footer-nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.18s;
}
.footer-nav-link:hover { color: #fff; }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-dev {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-dev:hover { color: rgba(255,255,255,0.6); }

/* ── TRUST BAR ────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(26,45,80,0.06);
}

.trust-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { width: 22px; height: 22px; color: var(--accent); }

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 1.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1.5rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.18);
}

.stat-number {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  line-height: 1.35;
}

/* ── TESTIMONIALS ────────────────────────────────────── */
.testimonials-section {
  padding: 4.5rem 0 5rem;
  background: var(--bg);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.testimonials-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.testimonials-header p {
  font-size: 1rem;
  color: var(--muted);
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.testimonials-track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 2 * 1.4rem) / 3);
  min-width: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid rgba(26,49,96,0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.25);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,45,80,0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: none;
}

.testimonial-readmore {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
  transition: color 0.18s;
}

.testimonial-readmore:hover { color: var(--primary); }

.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }

.testimonial-author {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── LATEST NEWS ─────────────────────────────────────── */
.latest-news {
  padding: 4.5rem 0 5rem;
  background: var(--white);
}

.latest-news-header {
  margin-bottom: 2.4rem;
}

.latest-news-cta { margin-top: 2.4rem; }

.latest-news-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
}

.latest-news-header p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,45,80,0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #dce8f7, #eef4fb);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.blog-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.blog-read-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.news-mini-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid rgba(26,45,80,0.07);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.news-mini-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.news-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.18s;
}

.news-link:hover { gap: 0.55rem; }

.latest-news-cta { text-align: center; }

/* ── BLOG MODAL ──────────────────────────────────────── */
.blog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,50,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.blog-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.blog-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  transition: transform 0.28s;
}

.blog-modal-overlay.is-open .blog-modal {
  transform: translateY(0);
}

.blog-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  transition: background 0.18s;
  z-index: 10;
  flex-shrink: 0;
}

.blog-modal-close:hover { background: var(--line); }

.blog-modal-header {
  padding: 2rem 3.5rem 0 2rem;
  flex-shrink: 0;
}

.blog-modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.blog-modal-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.blog-modal-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.blog-modal-body {
  padding: 1.4rem 2rem 2.4rem;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.8;
  overflow-y: auto;
  flex: 1;
}

.blog-modal-body p { margin-bottom: 1.1rem; }
.blog-modal-body h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.6rem 0 0.6rem;
}

.blog-modal-body ul {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}

.blog-modal-body li {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .servicios-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicios-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { flex: 0 0 calc((100% - 1.4rem) / 2); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 100%; }
  .founders-grid { grid-template-columns: 1fr; max-width: 440px; }
  .trust-items { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { flex: 0 0 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .blog-modal-header { padding: 1.4rem 1.4rem 0; }
  .blog-modal-body { padding: 1rem 1.4rem 2rem; }

  .nav-toggle { display: flex; }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.8rem;
    left: 0.8rem;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(26,45,80,0.18);
    border: 1px solid var(--line);
  }

  .menu.is-open { display: flex; }

  .menu > a:not(.btn) {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    color: var(--ink);
  }

  .menu > a:not(.btn):hover,
  .menu > a:not(.btn).is-current {
    color: var(--primary);
    background: rgba(26,49,96,0.06);
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .menu .btn { align-self: flex-start; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.2rem; }
  .footer-contacts { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}

/* ═══════════════════════════════════════════════════
   INTERACTIONS
═══════════════════════════════════════════════════ */

/* ── STICKY HEADER ──────────────────────────────────── */
.topbar {
  transition: box-shadow 0.28s ease;
}

.topbar.is-scrolled {
  box-shadow: 0 4px 24px rgba(26, 49, 96, 0.28);
}

.topbar.is-scrolled .nav {
  min-height: 60px;
}

/* ── CARD HOVER ENHANCEMENTS ────────────────────────── */
.service-card,
.testimonial-card,
.contact-info-card,
.founder-card,
.news-mini-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.testimonial-card:hover,
.news-mini-card:hover,
.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card {
  border-left: 3px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.service-card-icon img {
  transition: transform 0.22s ease;
}

.service-card:hover .service-card-icon img {
  transform: scale(1.08);
}

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s;     opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s;  opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s;  opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── BACK TO TOP ────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 120, 37, 0.38);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.18s;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 8px 28px rgba(232, 120, 37, 0.5);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ── COPY TO CLIPBOARD TOOLTIP ──────────────────────── */
[data-copy] {
  position: relative;
  cursor: copy;
}

[data-copy]::after {
  content: '¡Copiado!';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

[data-copy].is-copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── PILL LIST TOGGLE ───────────────────────────────── */
.pill-list.is-collapsed .pill-item:nth-child(n+5) {
  display: none;
}

.pill-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s;
}

.pill-toggle-btn:hover {
  color: var(--primary);
}

.pill-toggle-btn svg {
  transition: transform 0.2s ease;
}

.pill-toggle-btn.is-expanded svg {
  transform: rotate(180deg);
}
