/**********CONTENIDO ES********/
/*** href="../assets/css/header-test.css"> ***/
/*** href="../assets/css/home-test.css"> ***/
/*** href="../assets/css/footer-test.css"> ***/
/*** href="../assets/css/floating-buttons.css"> ***/

/**************************************/
/************* variables **************/
/********** header-test.css ***********/
/**************************************/

:root {
  --brand-blue: #005c9c;
  --brand-gray: #9b9b9b;
  --topbar: #f7f7f7;
  --section-bg: #f2f2f2;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/************************/
/******** global ********/
/************************/
body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #fff;
}

/************************/
/******** header ********/
/************************/
.topbar {
  background: var(--topbar);
  min-height: 40px;
}

header.sticky-top {
  z-index: 1030;
}

.navbar {
  background: #fff;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/******** brand / logo ********/
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  flex-shrink: 0;
}

.navbar-brand img {
  display: block;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

.navbar-brand .logo-main {
  height: 72px;
}

.navbar-brand .logo-text {
  height: 58px;
}

/******** toggler ********/
.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  padding: 0.4rem 0.65rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/******** collapse / menu ********/
.navbar-collapse {
  flex-grow: 1;
}

.navbar-nav {
  gap: 20px;
  align-items: center;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  text-transform: capitalize;
  text-align: center;
  color: #222;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-blue) !important;
}

/******** dropdown ********/
.dropdown-menu {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  padding: 0.6rem 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 92, 156, 0.08);
  color: var(--brand-blue);
}

/******** social icons ********/
/*
.social-icons {
  flex-shrink: 0;
}

.social-icons a {
  color: var(--brand-gray);
  font-size: 1.4rem;
  margin-left: 14px;
  transition: 0.25s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--brand-blue);
}
*/
.social-icons {
  flex-shrink: 0;
}

.social-icons a {
  color: var(--brand-gray);
  margin-left: 14px;
  transition: 0.25s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--brand-blue);
}

.social-icons svg {
  width: 1.4rem;
  height: 1.4rem;
}

/************************/
/******* responsive *****/
/************************/
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand .logo-main {
    height: 58px;
  }

  .navbar-brand .logo-text {
    height: 46px;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
  }

  .navbar-nav {
    gap: 0;
    align-items: stretch;
  }

  .navbar-nav .nav-item {
    display: block;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .dropdown-menu {
    border: 0;
    box-shadow: none;
    text-align: center;
  }
}
/**************************************/
/************* variables **************/
/*********** home-test.css ************/
/**************************************/

/************************/
/******** global ********/
/************************/
body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #fff;
}

/********************************/
/******** secciones base ********/
/********************************/
.section-light {
  background: var(--section-bg);
}

.section-title {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

/********************************/
/******** hero carousel *********/
/********************************/

/*
.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  height: 62vh;
  min-height: 380px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content p {
  color: #fff;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
  z-index: 3;
}

.hero-carousel .carousel-indicators {
  z-index: 3;
}
*/

.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  height: 62vh;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content p {
  color: #fff;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
  z-index: 3;
}

.hero-carousel .carousel-indicators {
  z-index: 3;
}
/********************************/
/******** home intro SEO ********/
/********************************/
.home-intro {
  background: #fff;
  padding: 56px 0 46px;
}

.home-intro h1 {
  color: var(--brand-blue);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 900px;
}

.home-intro .lead {
  max-width: 920px;
  font-size: 1.12rem;
  line-height: 1.7;
}

.home-intro .mini-card {
  height: 100%;
  background: #f5fbff;
  border: 1px solid #d7eaff;
  border-radius: 16px;
  padding: 1rem;
  color: #1f3f56;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 92, 156, 0.07);
}

@media (max-width: 575.98px) {
  .home-intro {
    padding: 42px 0 36px;
  }

  .home-intro h1 {
    font-size: 1.85rem;
  }

  .home-intro .lead {
    font-size: 1rem;
  }
}
/********************************/
/******** categorias ************/
/********************************/
.category-section {
  padding: 70px 0;
  background: #fff;
}

.category-card {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.category-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.category-card .card-body {
  text-align: center;
}

.category-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 0;
}

/*******************************/
/******** news section *********/
/*******************************/
.news-section {
  padding: 70px 0;
  background: #fff;
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.news-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  display: flex;
  align-items: end;
  padding: 1rem;
}

.news-overlay h5 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/**********************************/
/******** history section *********/
/**********************************/
.history-section {
  padding: 3rem 0 4rem;
}

.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d7d7d7;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item .row {
  align-items: center;
}

.timeline-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.timeline-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.timeline-content {
  padding: 1.5rem;
}

.timeline-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-year {
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--brand-blue);
  border: 4px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(0, 92, 156, 0.15);
  z-index: 2;
}

/**********************************/
/******** mission vision **********/
/**********************************/
.mission-vision {
  padding: 4rem 0;
  background: #fff;
}

.mv-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  background: #fff;
}

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

.mv-body {
  background: var(--brand-blue);
  color: #fff;
  padding: 2rem;
  height: 100%;
}

.mv-body h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/**********************************/
/******** values section **********/
/**********************************/
.values-section {
  padding: 4rem 0;
  background: var(--section-bg);
}

.values-graphic {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 1rem;
}

.values-graphic img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.value-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 1.25rem;
  height: 100%;
}

.value-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.btn-whatsapp {
  background-color: #25d366;
  border: none;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #fff;
}

/************************/
/******* responsive *****/
/************************/
@media (max-width: 991.98px) {
  .hero-carousel .carousel-item {
    height: 50vh;
    min-height: 300px;
    /*
    background-position: center center;
*/
  }

  .news-card img {
    height: 260px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: 14px;
    top: 24px;
    transform: translate(-50%, 0);
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-card img {
    min-height: 220px;
  }

  .mv-card img {
    height: 260px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item {
    height: 42vh;
    min-height: 240px;
  }
}

/************************/
/******** footer ********/
/************************/

/* Footer genérico */
footer {
  background: #111;
  color: #ccc;
  padding: 40px 0;
}

footer h5 {
  color: #fff;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Footer Fino Rey */
.footer-fino {
  background: linear-gradient(180deg, #f5fbff 0%, #dcefff 100%);
  color: #2b2b2b;
}

.footer-fino h5 {
  color: #005c9c;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-fino p {
  color: #4a4a4a;
  line-height: 1.7;
}

.footer-fino a {
  color: #005c9c;
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-fino a:hover {
  color: #003f6b;
  text-decoration: underline;
}

.footer-fino li {
  margin-bottom: 0.5rem;
}

.footer-fino hr {
  border-color: #cfe3ff;
  opacity: 1;
}

.footer-fino small {
  color: #6b7280;
}

.footer-fino img {
  display: block;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.footer-fino .logo-main {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

.footer-fino .logo-text {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-brand {
    justify-content: flex-start;
  }
}
/**************************************/
/************* variables **************/
/**********floating-buttons.css********/
/**************************************/

/*****************************************/
/******** whatsapp / back to top *********/
/*****************************************/
.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 18px;
  z-index: 1030;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.floating-whatsapp {
  bottom: 18px;
  background: #25d366;
  color: #fff;
  font-size: 1.5rem;
}

.back-to-top {
  bottom: 82px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* FAQ Homepage */
.home-faq-section {
  background: #f7f9fb;
  padding: 4rem 0;
}

.home-faq-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-faq-eyebrow {
  color: var(--brand-blue, #005c9c);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.home-faq-header h2 {
  color: #1f2933;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.home-faq-header p {
  color: #5f6b76;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.home-faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.home-faq-item {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-faq-item h3 {
  color: #1f2933;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.home-faq-item p {
  color: #53616f;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .home-faq-section {
    padding: 3rem 0;
  }

  .home-faq-header {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .home-faq-item {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
  }

  .home-faq-item h3 {
    font-size: 1rem;
  }
}
