.front-page-shell {
  background: var(--white);
}

.hero {
  background-color: #e0ecf5;
  background-image: radial-gradient(#b0cada 1px, transparent 1px);
  background-size: 28px 28px;
  padding: clamp(60px, 8vw, 96px) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 48%);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  min-height: calc(100svh - 69px - clamp(120px, 16vw, 192px));
}

.hero-avatar {
  display: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-body {
  max-width: 500px;
  margin-bottom: 36px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90%);
  height: min(420px, 90%);
  background: var(--blue-light);
  border-radius: 50%;
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: calc(100svh - 80px);
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, rgba(0, 0, 0, 0.82) 96%, rgba(0, 0, 0, 0.4) 99%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 92%, rgba(0, 0, 0, 0.82) 96%, rgba(0, 0, 0, 0.4) 99%, transparent 100%);
}

.when-section,
.process-section {
  background: var(--white);
  padding: clamp(68px, 9vw, 108px) 0;
}

.services-section {
  background: var(--surface);
  padding: clamp(68px, 9vw, 108px) 0;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

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

.signal-card,
.svc-card,
.step-card,
.cedula-card,
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.signal-card,
.svc-card,
.step-card,
.cedula-card {
  padding: clamp(20px, 2.4vw, 28px);
}

.signal-card:hover,
.svc-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.signal-icon,
.svc-icon,
.step-icon,
.cert-icon {
  display: grid;
  place-items: center;
  background: var(--blue-light);
}

.signal-icon,
.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.signal-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.svc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-card h3,
.step-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.svc-card h3 {
  font-size: 0.97rem;
  line-height: 1.35;
}

.signal-card p,
.svc-card p,
.step-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.when-cta,
.blog-cta {
  text-align: center;
}

.process-grid {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  right: -4px;
  bottom: -14px;
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--blue-mid);
  opacity: 0.38;
  line-height: 1;
  pointer-events: none;
}

.step-card p {
  position: relative;
  z-index: 1;
}

.process-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 52px);
  background: linear-gradient(135deg, #1c2e3d 0%, var(--deep-slate) 55%, #5e7a9a 100%);
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(28, 46, 61, 0.3);
}

.pcta-text .section-label {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.pcta-text h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 8px;
  max-width: 560px;
}

.pcta-text p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.credentials-section {
  background: var(--accent-light);
  padding: clamp(68px, 9vw, 108px) 0;
}

.credentials-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cred-group-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}

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

.cedula-card--featured {
  border-color: var(--soft-orchid);
  box-shadow: 0 4px 16px rgba(182, 149, 214, 0.2);
}

.cedula-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cedula-badge--accent {
  background: var(--accent-light);
  color: #7b4fa8;
}

.cedula-spec {
  margin-bottom: 6px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.cedula-num {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.cert-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-body {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
}

.cert-num {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.location-section {
  background: linear-gradient(135deg, #1c2e3d 0%, var(--deep-slate) 50%, #5b789a 100%);
  padding: clamp(68px, 9vw, 108px) 0;
}

.location-section .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.location-section h2 {
  color: var(--white);
}

.location-section .section-sub {
  color: rgba(255, 255, 255, 0.62);
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.loc-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.loc-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.loc-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.85);
  fill: none;
  stroke-width: 2;
}

.loc-card-body {
  flex: 1;
}

.loc-card-label {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.loc-card h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 1.02rem;
}

.loc-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.55;
}

.btn-loc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-loc svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke-width: 2;
}

.btn-loc-map {
  background: var(--white);
  color: var(--deep-slate);
}

.btn-loc-vcf {
  background: rgba(182, 149, 214, 0.18);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(182, 149, 214, 0.32);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .services-grid,
  .process-grid,
  .cedulas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 601px) and (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
    gap: clamp(20px, 4vw, 40px);
  }

  .hero-media {
    max-width: 320px;
    margin-left: auto;
  }

  .hero-circle {
    width: min(300px, 92%);
    height: min(300px, 92%);
  }

  .hero-media img {
    max-width: 320px;
    max-height: 56svh;
  }
}

@media (max-width: 720px) {
  .signals-grid,
  .services-grid,
  .process-grid,
  .cedulas-grid {
    grid-template-columns: 1fr;
  }

  .process-cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .process-cta-band .btn {
    width: 100%;
  }

  .loc-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: clamp(56px, 10vw, 80px) 0;
  }

  .hero-inner {
    gap: 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7.6vw, 2.45rem);
  }

  .hero-avatar {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
  }

  .hero-avatar img {
    width: 254px;
    height: 254px;
    border: 5px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(28, 46, 61, 0.16);
    background: var(--white);
  }

  .hero-actions {
    display: flex;
    justify-content: center;
  }

  .hero-media {
    display: none;
  }
}
