/* CONTENIDO DE INICIO */
.home-hero {
  min-height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 65px 7%;
  background: #17233B;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: background-image .5s ease;
}
.home-hero-inner {
  max-width: 570px;
  margin: 0;
  width: 46%;
  position: relative;
  z-index: 2;
}
.home-hero .home-eyebrow { color: #E6C99A; }
.home-hero h1 {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12;
  max-width: 560px;
  margin: 0 0 22px;
}
.home-hero p {
  color: #fff;
  font-size: 17px;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 30px;
}
.home-eyebrow, .home-section-heading > span {
  color: #2C4A6B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  display: block;
  margin-bottom: 17px;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.home-button-primary, .home-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.home-hero .home-button-primary {
  background: #fff;
  color: #17233B;
}
.home-hero .home-button-primary:hover { background: #E6C99A; }
.home-hero .home-button-secondary {
  border: 1px solid rgba(255,255,255,.8);
  color: #fff;
}
.home-button-primary { background: #17233B; color: #fff; }
.home-button-primary:hover { background: #2C4A6B; }
.home-button-secondary { border: 1px solid #AAB6C4; color: #17233B; }
.home-hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 73%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.home-hero-dot.active { background: #fff; transform: scale(1.25); }
.home-hero-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: #fff;
  background: rgba(23,35,59,.7);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.home-access { padding: 76px 7%; background: #fff; }
.home-section-heading { max-width: 760px; margin: 0 auto 35px; text-align: center; }
.home-section-heading h2 {
  color: #17233B; font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2; margin: 0 0 13px;
}
.home-section-heading p { color: #687587; font-size: 15px; line-height: 1.7; margin: 0; }
.home-access-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.home-access-card {
  min-height: 205px; padding: 25px; border: 1px solid #E1E6EC;
  border-radius: 7px; text-decoration: none; color: inherit;
  background: #fff; transition: border-color .2s, transform .2s;
}
.home-access-card:hover { border-color: #8FA3B9; transform: translateY(-3px); }
.home-card-number { color: #7890A9; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.home-access-card h3 { color: #17233B; font-size: 19px; margin: 17px 0 9px; }
.home-access-card p { color: #687587; font-size: 13px; line-height: 1.65; margin: 0 0 17px; }
.home-card-link { color: #2C4A6B; font-size: 12px; font-weight: 700; }


/* GUÍAS DESTACADAS */
.home-guides {
  padding: 75px 7%;
  background: #F5F6F8;
}
.home-guides-inner {
  max-width: 1150px;
  margin: 0 auto;
}
.home-guides .home-section-heading {
  margin-bottom: 38px;
}
.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home-guide-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #E1E6EC;
  border-radius: 7px;
}
.home-guide-card img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.home-guide-content {
  padding: 23px;
}
.home-guide-content h3 {
  color: #17233B;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
}
.home-guide-content p {
  color: #687587;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.home-guides-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.home-guides-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #AAB6C4;
  border-radius: 5px;
  color: #17233B;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.home-guides-more a:hover {
  border-color: #2C4A6B;
  background: #fff;
}
@media (max-width: 800px) {
  .home-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .home-guides {
    padding: 55px 22px;
  }
  .home-guides-grid {
    grid-template-columns: 1fr;
  }
  .home-guide-card img {
    height: 190px;
  }
}
/* BLOG DESTACADO */
.home-blog { padding: 75px 7%; background: #fff; }
.home-blog-inner { max-width: 1150px; margin: 0 auto; }
.home-blog .home-section-heading { margin-bottom: 38px; }
.home-blog-list { display: flex; flex-direction: column; gap: 18px; }
.home-blog-card {
  display: flex; min-height: 190px; overflow: hidden;
  background: #fff; border: 1px solid #E1E6EC;
  border-radius: 7px; text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.home-blog-card:hover { border-color: #8FA3B9; transform: translateY(-2px); }
.home-blog-card img {
  display: block; flex: 0 0 280px; width: 280px;
  min-height: 190px; object-fit: cover;
}
.home-blog-card-content {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; padding: 24px 30px;
}
.home-blog-category {
  color: #2C4A6B; font-size: 10px; font-weight: 700;
  letter-spacing: .13em; margin-bottom: 10px;
}
.home-blog-card h3 {
  color: #17233B; font-size: 21px; line-height: 1.3; margin: 0 0 9px;
}
.home-blog-card p {
  color: #687587; font-size: 13px; line-height: 1.65; margin: 0 0 13px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  min-height: calc(1.65em * 6);}
.home-blog-link { color: #2C4A6B; font-size: 12px; font-weight: 700; }
.home-blog-more { display: flex; justify-content: center; margin-top: 30px; }
.home-blog-more a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border: 1px solid #AAB6C4;
  border-radius: 5px; color: #17233B; font-size: 13px;
  font-weight: 700; text-decoration: none;
}
.home-blog-more a:hover { border-color: #2C4A6B; background: #F4F6F8; }

@media (max-width: 800px) {
  .home-blog-card img { flex-basis: 220px; width: 220px; }
  .home-blog-card-content { padding: 20px 22px; }
}
@media (max-width: 600px) {
  .home-blog { padding: 55px 22px; }
  .home-blog-card { min-height: 160px; }
  .home-blog-card img {
    flex-basis: 38%; width: 38%; min-height: 160px;
  }
  .home-blog-card-content { padding: 14px; }
  .home-blog-card h3 { font-size: 16px; }
  .home-blog-card p { font-size: 12px; line-height: 1.5; }
  .home-blog-category { font-size: 9px; margin-bottom: 7px; }
  .home-blog-link { font-size: 11px; }
}

/* BLOG DESTACADO: cuadrícula de tarjetas */
.home-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.home-blog-card {
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
}
.home-blog-card img {
  flex: 0 0 180px;
  width: 100%;
  height: 180px;
  min-height: 180px;
}
.home-blog-card-content {
  flex: 1;
  padding: 24px;
}
.home-blog-card--no-image .home-blog-card-content {
  min-height: 260px;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  .home-blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-blog-list { grid-template-columns: 1fr; }
}

/* CONTACTO */
.home-contact {
  padding: 75px 7%;
  background: #F4F6F8;
}
.home-contact-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: start;
}
.home-contact-intro > span {
  color: #2C4A6B;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}
.home-contact-intro h2 {
  color: #17233B;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  margin: 17px 0;
}
.home-contact-intro p {
  color: #526174;
  font-size: 14px;
  line-height: 1.8;
}
.home-contact-form {
  background: #fff;
  border: 1px solid #E1E6EC;
  border-radius: 7px;
  padding: 30px;
}
.home-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-contact-full { grid-column: 1 / -1; }
.home-contact-field label {
  color: #17233B;
  font-size: 12px;
  font-weight: 700;
}
.home-contact-field input,
.home-contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #D9E0E8;
  border-radius: 4px;
  background: #fff;
  color: #17233B;
  font: inherit;
  font-size: 13px;
}
.home-contact-field textarea {
  resize: vertical;
  min-height: 125px;
}
.home-contact-submit {
  margin-top: 22px;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: #17233B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.home-contact-submit:hover { background: #2C4A6B; }
@media (max-width: 800px) {
  .home-contact-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .home-contact { padding: 55px 22px; }
  .home-contact-form { padding: 22px 17px; }
  .home-contact-fields { grid-template-columns: 1fr; }
  .home-contact-full { grid-column: auto; }
}

.home-resources { padding: 75px 7%; background: #F4F6F8; }
.home-resources-inner { max-width: 1150px; margin: 0 auto; }
.home-resources .home-section-heading { margin-bottom: 40px; }
.home-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.home-resource-item { display: flex; gap: 17px; align-items: flex-start; }
.home-resource-icon {
  flex: 0 0 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid #C7D2DE; border-radius: 50%;
  color: #2C4A6B; font-size: 11px; font-weight: 700;
}
.home-resource-item h3 { color: #17233B; font-size: 16px; margin: 3px 0 9px; }
.home-resource-item p { color: #687587; font-size: 13px; line-height: 1.7; margin: 0; }
.home-community {
  padding: 55px 7%; background: linear-gradient(110deg, #E7EDF5 0%, #F3F5F8 52%, #F7F1F1 100%);
  border-top: 1px solid #D5DEE8; border-bottom: 1px solid #E2E7ED;
  border-left: 5px solid var(--red-metal);
}
.home-community-inner {
  max-width: 1150px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 35px;
}
.home-community-inner > div { max-width: 760px; }
.home-community h2 { color: #17233B; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; margin: 0 0 13px; }
.home-community p { color: #526174; font-size: 14px; line-height: 1.75; margin: 0; }
@media (max-width: 800px) {
  .home-access-grid { grid-template-columns: repeat(2, 1fr); }
  .home-resource-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 600px) {
  .home-hero {
    min-height: 760px;
    padding: 45px 25px 300px;
    align-items: flex-start;
  }
  .home-hero::before {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 270px;
  }
  .home-hero-inner { width: 100%; }
  .home-hero h1 { font-size: 38px; }
  .home-hero p { font-size: 15px; }
  .home-hero-controls {
    left: 50%;
    bottom: 15px;
  }
  .home-access, .home-resources { padding: 55px 22px; }
  .home-access-grid { grid-template-columns: 1fr; }
  .home-access-card { min-height: auto; }
  .home-community { padding: 42px 22px; }
  .home-community-inner { align-items: flex-start; flex-direction: column; }
}
