:root {
  --blue: #0f65ef;
  --blue-dark: #001b8f;
  --navy: #08006c;
  --surface: #dedee5;
  --page: #f5f5f5;
  --text: #0a0a63;
  --muted: #555;
  --white: #fff;
  --shadow: 0 2px 4px rgba(0,0,0,.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page);
}

a {
  color: #0877ff;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(115deg, #1269f3 0%, #0758dd 42%, #08279d 72%, #08006c 100%);
}

.hero__inner {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
  min-height: 560px;
  padding: 48px 0;
}

.hero__visual {
  text-align: center;
}

.hero__visual h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 4.1vw, 58px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero__seal {
  display: block;
  width: min(520px, 100%);
  max-height: 350px;
  object-fit: contain;
  margin: 0 auto;
}

.hero__seal.is-missing {
  display: none;
}

.image-placeholder {
  display: none;
  width: min(520px, 100%);
  min-height: 270px;
  margin: 20px auto 0;
  border: 2px dashed rgba(255,255,255,.65);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,.95);
}

.hero__seal.is-missing + .image-placeholder {
  display: flex;
}

.image-placeholder strong {
  font-size: 22px;
}

.image-placeholder span {
  font-size: 14px;
}

.hero__copy {
  font-size: 18px;
  line-height: 1.32;
  font-weight: 400;
}

.hero__copy p {
  margin: 0 0 20px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 5px;
  background: #ffffff;
  color: #091463;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-color .16s ease,
    color .16s ease,
    border-color .16s ease;
}

.hero__button:hover {
  transform: translateY(-2px);
  background: #0a1f87;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .35);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .20);
}

.hero__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .95);
  outline-offset: 3px;
}

.hero__button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
}

.content {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.status {
  margin: 34px 0;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 17px;
}

.status.is-error {
  color: #8b1d1d;
  background: #fff4f4;
}

.company-card {
  margin-top: 0;
  padding: 70px 60px 58px;
  background: var(--surface);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
}

.company-data {
  margin: 0;
}

.company-data > div {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.company-data dt {
  flex: 0 0 auto;
  font-weight: 700;
}

.company-data dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.services {
  margin-top: 18px;
}

.services h2 {
  margin: 0 0 18px;
  font-size: 19px;
}

#servicios {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

#servicios p:first-child {
  margin-top: 0;
}

.legal-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.actions {
  margin-top: 44px;
}

.action-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  min-height: 168px;
  padding: 32px 60px;
  color: var(--white);
  background:
    linear-gradient(115deg, #1269f3 0%, #0758dd 38%, #08279d 70%, #08006c 100%);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.action-card p {
  margin: 0;
  max-width: 850px;
  font-size: 22px;
  line-height: 1.35;
}

.action-button {
  display: inline-flex;
  min-width: 118px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--white);
  background: #1376ff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}


[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding: 46px 0;
  }

  .hero__seal {
    max-height: 290px;
  }

  .hero__copy {
    font-size: 17px;
  }

  .company-card {
    padding: 42px 30px;
  }

  .action-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .action-button {
    width: 118px;
  }
}

@media (max-width: 600px) {
  .hero__inner,
  .content {
    width: min(100% - 28px, 1220px);
  }

  .hero__visual h1 {
    font-size: 40px;
  }

  .hero__copy {
    font-size: 16px;
  }

  .company-card {
    padding: 30px 22px;
  }

  .company-data > div {
    display: block;
    margin-bottom: 18px;
    font-size: 17px;
  }

  .company-data dt {
    margin-bottom: 2px;
  }

  #servicios,
  .legal-copy {
    font-size: 16px;
  }

  .action-card p {
    font-size: 19px;
  }
}


/* Ajustes finales para aproximar el original */
.hero__inner {
  width: min(1220px, calc(100% - 48px));
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.hero__visual h1 {
  margin-bottom: 30px;
}

.hero__seal {
  width: min(500px, 100%);
}

.company-card {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__button {
    width: 100%;
    max-width: 520px;
  }
}
