@import url("global.css");
@import url("typography.css");

/* Componentes exclusivos de las subpáginas. */
.inner-hero {
  display: flex;
  min-height: 430px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: #082b4d;
  color: #f7f8f5;
}

.inner-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #082b4d 5%, rgba(8, 43, 77, .89) 43%, rgba(8, 43, 77, .24) 100%), url('../assets/videollamada-colombia.png') center right / cover no-repeat;
  content: '';
}

.inner-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: max(24px, calc((100vw - var(--content-max)) / 2));
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.inner-hero h1 i {
  color: #ffe39a;
  font-style: italic;
}

.inner-hero .eyebrow {
  color: var(--gold);
}

.inner-hero .container>p:last-child {
  max-width: 690px;
  margin: 25px 0 0;
  color: #e2edf0;
  font-size: 17px;
  line-height: 1.7;
}

.page-propiedades .inner-hero::after,
.page-administracion-propiedades .inner-hero::after {
  background-image: linear-gradient(90deg, #082b4d 5%, rgba(8, 43, 77, .9) 43%, rgba(8, 43, 77, .16) 100%), url('../assets/propiedades-en-conexion.png');
}

.page-nosotros .inner-hero::after,
.page-respaldo-aria .inner-hero::after {
  background-image: linear-gradient(90deg, #082b4d 5%, rgba(8, 43, 77, .9) 43%, rgba(8, 43, 77, .18) 100%), url('../assets/hogar-medellin.png');
}

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

.journey article {
  min-height: 215px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(111, 152, 139, .20);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 7px 20px rgba(20, 32, 30, .05);
}

.journey article:nth-child(3n + 2) {
  border-top-color: var(--colombia-blue);
}

.journey article:nth-child(3n) {
  border-top-color: var(--colombia-red);
}

.journey-phase {
  display: flex;
  align-items: center;
  gap: 12px;
}

.journey article .journey-phase span {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.journey article .journey-phase h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.1;
}

.journey article h3 {
  margin: 27px 0 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.journey article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: start;
  gap: 78px;
}

.two-column>div>p:not(.eyebrow) {
  margin-top: 0;
  color: #50615e;
  font-size: 18px;
  line-height: 1.75;
}

.notice {
  padding: 35px;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  background: #fffdf6;
  box-shadow: var(--shadow-soft);
}

.notice h2 {
  margin: 0 0 17px;
  font-size: 30px;
  line-height: 1.15;
}

.notice p {
  color: #53635f;
  font-size: 14px;
  line-height: 1.7;
}

.notice .button {
  margin-top: 10px;
}

.big-list {
  display: grid;
  gap: 8px;
}

.check-list.big-list li {
  padding: 13px 14px;
  border: 1px solid #e2e9e5;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.two-list {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
}

.light-list li {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #e1ebe6 !important;
}

.legal-note {
  margin-top: 35px;
  padding: 18px 21px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, .06);
  color: #c9d6d1;
  font-size: 13px;
  line-height: 1.65;
}

.faq-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 120px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  margin-bottom: 10px;
  padding: 0 18px;
  border: 1px solid #e0e7e3;
  border-radius: 12px;
  background: #fff;
}

.faq-list details[open] {
  box-shadow: 0 8px 18px rgba(20, 32, 30, .06);
}

summary {
  position: relative;
  padding: 21px 32px 21px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary i {
  position: absolute;
  top: 26px;
  right: 3px;
  color: var(--gold);
  font-size: 12px;
  transition: transform .2s;
}

details[open] summary i {
  transform: rotate(45deg);
}

details p {
  margin: -5px 30px 20px 0;
  color: #637370;
  font-size: 13px;
}

.about-hero {
  display: flex;
  min-height: 570px;
  align-items: center;
  background: url('../assets/hogar-medellin.png') center / cover;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 43, 77, .82), rgba(8, 43, 77, .74)), radial-gradient(circle at center, rgba(8, 124, 121, .2), transparent 62%);
  content: '';
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 98px 0 115px;
  text-align: center;
}

.about-hero .hero-copy {
  max-width: 760px;
  margin-inline: auto;
}

.about-hero .eyebrow {
  justify-content: center;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.about-hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
}

.about-hero .hero-text {
  max-width: 690px;
  margin-inline: auto;
  color: #e2edf0;
  font-size: 17px;
  line-height: 1.7;
}

.about-hero .button {
  margin-top: 10px;
}

.about-overview {
  background: linear-gradient(180deg, #fffdf8 0%, #f3f7f4 100%);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: start;
  gap: 82px;
  margin-bottom: 62px;
}

.about-copy>p:not(.eyebrow) {
  max-width: 690px;
  margin: 0 0 18px;
  color: #50615e;
  font-size: 18px;
  line-height: 1.75;
}

.about-principles {
  padding: 30px 32px;
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-principles .eyebrow {
  margin-bottom: 15px;
}

.about-principles>p:last-child {
  margin: 0;
  color: #395462;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.about-purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-purpose article {
  min-height: 270px;
  padding: 36px;
  border-top: 5px solid var(--colombia-blue);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 43, 77, .08);
}

.about-purpose article+article {
  border-top-color: var(--colombia-red);
}

.about-purpose h2 {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.about-purpose p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.about-team {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.about-team>div {
  max-width: 760px;
}

.about-team .eyebrow {
  margin-bottom: 12px;
}

.about-team p:last-child {
  margin: 0;
  color: #50615e;
  font-size: 16px;
  line-height: 1.7;
}

.about-team .text-link {
  flex: 0 0 auto;
  margin-bottom: 3px;
}

.aria-support-line {
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.aria-link-button {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  padding: 8px 16px 8px 10px;
  border: 2px solid #98c21d;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 65, 44, .12);
  color: #17311f;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.aria-link-button:hover {
  background: #f7fbe9;
  box-shadow: 0 14px 26px rgba(31, 65, 44, .18);
  transform: translateY(-2px);
}

.aria-link-button img {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background: #fff;
  object-fit: cover;
  object-position: 50% 20%;
}

.aria-link-button span:last-child {
  color: #78a713;
  font-size: 20px;
  line-height: 1;
}

.legal h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.06;
}

.legal h1 i {
  color: var(--colombia-blue);
}

.legal-intro {
  max-width: 720px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-index {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
}

.legal-index a {
  padding: 8px 11px;
  border: 1px solid #cfdedd;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.legal-index a:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.legal article {
  max-width: 850px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 125px;
}

.legal article h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.legal article p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.documents-library {
  background: linear-gradient(180deg, #fffdf8 0%, #f3f7f4 100%);
}

.documents-intro {
  max-width: 760px;
  margin: 0 0 52px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.document-groups {
  display: grid;
  gap: 54px;
}

.document-group {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  gap: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.document-group-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid #d9e4e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(8, 43, 77, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.document-link:hover {
  border-color: var(--colombia-blue);
  box-shadow: 0 12px 24px rgba(8, 43, 77, .10);
  transform: translateY(-2px);
}

.document-type {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: #edf4f2;
  color: var(--colombia-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.document-link strong,
.document-link small {
  display: block;
}

.document-link strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.document-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.document-arrow {
  color: var(--colombia-blue);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 980px) {
  .journey {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    gap: 44px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-purpose {
    grid-template-columns: 1fr;
  }

  .document-group {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .inner-hero {
    min-height: 0;
    padding: 72px 0 68px;
  }

  .inner-hero .container {
    margin-inline: auto;
  }

  .inner-hero .container>p:last-child {
    font-size: 15px;
  }

  .journey,
  .two-column,
  .two-list,
  .faq-wrap,
  .about-intro,
  .about-purpose {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .documents-intro {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .document-groups {
    gap: 38px;
  }

  .document-group {
    gap: 18px;
    padding-top: 28px;
  }

  .document-group-heading h2 {
    font-size: 25px;
  }

  .document-link {
    gap: 13px;
    padding: 17px;
  }

  .document-link strong {
    font-size: 14px;
  }

  .document-link small {
    font-size: 12px;
  }

  .document-arrow {
    font-size: 18px;
  }

  .journey article {
    padding: 25px;
  }

  .notice {
    padding: 27px;
  }

  .aria-link-button {
    width: 100%;
    font-size: 13px;
  }

  .aria-link-button img {
    width: 44px;
    height: 44px;
  }

  .legal article {
    padding: 30px 0;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero-content {
    padding: 78px 0 88px;
  }

  .about-copy>p:not(.eyebrow) {
    font-size: 16px;
  }

  .about-principles,
  .about-purpose article {
    padding: 27px;
  }

  .about-purpose article {
    min-height: 0;
  }

  .about-team {
    display: grid;
    align-items: start;
    gap: 18px;
    margin-top: 38px;
    padding-top: 30px;
  }

  .about-team p:last-child {
    font-size: 15px;
  }
}
