/*==================================================
        GRAMIN CARSO
        STYLE.CSS
==================================================*/

/*==============================
        VARIABLES
==============================*/

:root {
  --primary: #0e7a3d;
  --primary-dark: #075a2c;
  --secondary: #f39c12;
  --secondary-dark: #d98300;

  --white: #ffffff;

  --light: #f8f9fa;

  --gray: #6c757d;

  --dark: #212529;

  --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

  --radius: 18px;

  --transition: 0.35s ease;
}

/*==============================
        RESET
==============================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;

  background: #fff;

  color: var(--dark);

  overflow-x: hidden;
  padding-top: 90px;
}

/*==============================
        TIPOGRAFIA
==============================*/

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

p {
  color: #666;

  line-height: 1.8;
}

/*==============================
        LINKS
==============================*/

a {
  text-decoration: none;

  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/*==============================
        NAVBAR
==============================*/

.navbar {
  background: #fff;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

  padding: 18px 0;
}

.navbar-brand img {
  transition: 0.4s;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: #333;

  font-weight: 600;

  margin-left: 18px;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-navbar {
  background: var(--primary);

  color: #fff;

  padding: 12px 26px;

  border-radius: 40px;
}

.btn-navbar:hover {
  background: var(--primary-dark);

  color: #fff;
}
/*======================================
        NAVBAR SCROLL
=======================================*/

.navbar-custom {
  padding: 18px 0;

  transition: 0.35s;

  background: transparent;
}

.logo-navbar {
  height: 58px;

  transition: 0.35s;
}

.navbar-custom .nav-link {
  color: #333;

  font-weight: 600;
}

.navbar-custom .btn {
  transition: 0.35s;
}

/* Cuando baja */

.navbar-custom.scrolled {
  background: white;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

  padding: 10px 0;
}

.navbar-custom.scrolled .nav-link {
  color: #333;
}

.navbar-custom.scrolled .logo-navbar {
  height: 48px;
}

.navbar-custom .nav-link:hover {
  color: var(--secondary);
}

.navbar-custom {
  background: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
/*=================================
            HERO 
=================================*/

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, #0f8b4c, #33a852);

  color: white;
  padding: 140px 0 180px;
}
.hero .container {
  position: relative;

  z-index: 2;
}
.hero-wave {
  position: absolute;

  left: 0;

  bottom: -2px;

  width: 100%;

  line-height: 0;
}
.hero-wave svg {
  width: 100%;

  height: 120px;

  display: block;
}
.hero h1 {
  font-size: 3.8rem;

  line-height: 1.2;

  margin: 25px 0;
}

.hero h1 span {
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
}
.hero-p-credito {
  color: #fffbfb;

  line-height: 1.8;
}
.hero::before {
  content: "";

  position: absolute;

  width: 700px;

  height: 700px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  top: -250px;

  right: -150px;

  filter: blur(40px);
}

.hero-badge {
  display: inline-block;

  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);

  padding: 10px 18px;

  border-radius: 30px;

  font-weight: 700;
}

.hero-list div {
  margin-bottom: 12px;

  font-weight: 600;
}

.hero-list i {
  color: #ffd54f;

  margin-right: 10px;
}

.hero-image {
  position: relative;

  text-align: center;
}

.hero-image img {
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  transition: 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}
.hero-image::before {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  border: 2px dashed rgba(255, 255, 255, 0.2);

  border-radius: 50%;

  top: 40px;

  left: 50%;

  transform: translateX(-50%);

  animation: spin 40s linear infinite;
}
.hero-image::before {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  border: 2px dashed rgba(255, 255, 255, 0.2);

  border-radius: 50%;

  top: 40px;

  left: 50%;

  transform: translateX(-50%);

  animation: spin 40s linear infinite;
}
@keyframes spin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
.hero::after {
  content: "";

  position: absolute;

  inset: 0;

  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px
  );

  background-size: 35px 35px;

  opacity: 0.35;
}
.hero-photo {
  border-radius: 35px;

  overflow: hidden;

  transform: rotate(-2deg);

  transition: 0.4s;
}

.hero-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-photo img {
  width: 100%;

  display: block;
}
.floating-card {
  position: absolute;

  display: flex;

  align-items: center;

  gap: 15px;

  background: rgba(255, 255, 255, 0.96);

  padding: 16px 20px;

  border-radius: 18px;

  backdrop-filter: blur(15px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);

  transition: 0.35s;

  animation: float 5s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.04);
}

.floating-card strong {
  display: block;

  color: #14532d;

  font-size: 1.4rem;
}

.floating-card small {
  color: #666;
}

.card-icon{

  width: 58px;

  height: 58px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: linear-gradient(135deg, #22c55e, #16a34a);

  color: white;

  font-size: 1.4rem;

  flex-shrink: 0;
}
.card-icon-index {
  width: 58px;

  height: 58px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: linear-gradient(135deg, #ee9f1f, #ee9f1f);

  color: white;

  font-size: 1.4rem;

  flex-shrink: 0;
}
.card-1 {
  top: 40px;

  left: -40px;
}

.card-2 {
  right: -25px;

  top: 180px;
}

.card-3 {
  bottom: 20px;

  left: 20px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/*==========================
        ESTADÍSTICAS
===========================*/

.stats-section {
  margin-top: -80px;

  position: relative;

  z-index: 10;
}

.stat-card {
  background: white;

  border-radius: 25px;

  padding: 35px 25px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  height: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card i {
  font-size: 2.7rem;

  color: #198754;

  margin-bottom: 20px;
}

.stat-card h2 {
  font-size: 2.8rem;

  font-weight: 700;

  color: #198754;
}

.stat-card p {
  color: #666;

  margin: 0;
}

/*====================================
        WHY US
=====================================*/

.why-us {
  padding: 100px 0;

  background: #f8fafc;
}

.section-badge {
  display: inline-block;

  background: #e7f8ee;

  color: #198754;

  padding: 8px 20px;

  border-radius: 30px;

  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;

  font-weight: 700;

  color: #1f2937;
}

.section-subtitle {
  max-width: 700px;

  margin: auto;

  color: #6b7280;

  font-size: 1.1rem;
}

.feature-card {
  background: #fff;

  border-radius: 22px;

  padding: 35px 30px;

  text-align: center;

  height: 100%;

  transition: 0.35s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;

  height: 80px;

  margin: auto auto 20px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: linear-gradient(135deg, #22c55e, #198754);

  color: #fff;

  font-size: 2rem;
}

.feature-card h4 {
  margin-bottom: 15px;

  font-weight: 700;

  color: #1f2937;
}

.feature-card p {
  color: #6b7280;

  margin: 0;
}

/*====================================
        NUESTROS CRÉDITOS
=====================================*/

.credit-products {
  padding: 100px 0;

  background: #fff;
}

.credit-card {
  background: #fff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  height: 100%;
}

.credit-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.credit-card img {
  width: 100%;

  height: 250px;

  object-fit: cover;

  transition: 0.4s;
}

.credit-card:hover img {
  transform: scale(1.08);
}

.credit-content {
  padding: 30px;
}

.credit-tag {
  display: inline-block;

  background: #e8f8ee;

  color: #198754;

  padding: 6px 16px;

  border-radius: 30px;

  font-size: 0.85rem;

  font-weight: 600;

  margin-bottom: 15px;
}

.credit-content h3 {
  font-size: 1.5rem;

  font-weight: 700;

  margin-bottom: 20px;

  color: #1f2937;
}

.credit-content ul {
  list-style: none;

  padding: 0;

  margin-bottom: 25px;
}

.credit-content li {
  margin-bottom: 12px;

  color: #4b5563;
}

.credit-content i {
  color: #198754;

  margin-right: 8px;
}
.credit-image {
  aspect-ratio: 16/9;

  overflow: hidden;
}

.credit-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.5s;
}

.credit-card:hover img {
  transform: scale(1.08);
}
.credit-content .btn {
  width: 100%;
}
/*==============================
        BOTONES
==============================*/

.btn-success {
  background: var(--primary);

  border: none;
}

.btn-success:hover {
  background: var(--primary-dark);
}

.btn-warning {
  background: var(--secondary);

  border: none;

  color: #fff;
}

.btn-warning:hover {
  background: var(--secondary-dark);

  color: #fff;
}

/*==============================
        INFORMACION RAPIDA
==============================*/

.info-card {
  background: #fff;

  border-radius: var(--radius);

  padding: 30px;

  text-align: center;

  box-shadow: var(--shadow);

  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card i {
  font-size: 48px;

  color: var(--primary);

  margin-bottom: 15px;
}

.info-card h5 {
  margin-top: 10px;
}

/*==============================
        CARACTERISTICAS
==============================*/

.card {
  border-radius: var(--radius);

  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
}

.card-body i {
  color: var(--primary);
}

/*==============================
        BADGES
==============================*/

.badge {
  font-size: 0.85rem;

  border-radius: 30px;

  padding: 10px 18px;
}

/*==============================
        BENEFICIOS
==============================*/

.beneficio-card {
  background: #fff;

  border-radius: 20px;

  padding: 35px 25px;

  text-align: center;

  transition: 0.35s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  height: 100%;
}

.beneficio-card:hover {
  transform: translateY(-10px);
}

.beneficio-card i {
  font-size: 55px;

  color: var(--primary);
}

.beneficio-card h5 {
  margin-top: 18px;
}

.beneficio-card p {
  margin-top: 12px;
}

/*==============================
        SECTION TITLE
==============================*/

section {
  padding-top: 50px;

  padding-bottom: 50px;
}

section span {
  color: var(--primary);

  font-weight: 700;

  letter-spacing: 1px;
}

section h2 {
  margin: 12px 0 20px;

  font-size: 2.2rem;
}

section p {
  max-width: 700px;

  margin: auto;
}
/*==================================================
        REQUISITOS (ACCORDION)
==================================================*/

.accordion {
  border-radius: 20px;

  overflow: hidden;
}

.accordion-item {
  border: none;

  border-bottom: 1px solid #ececec;
}

.accordion-button {
  padding: 22px 25px;

  font-weight: 600;

  font-size: 1rem;

  background: #fff;

  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: #eef8f1;

  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: none;

  border: none;
}

.accordion-button::after {
  transition: 0.35s;
}

.accordion-body {
  padding: 25px;

  background: #fff;
}

.accordion-body ul {
  padding-left: 20px;
}

.accordion-body li {
  margin-bottom: 12px;

  color: #555;
}

/*==================================================
        TIMELINE
==================================================*/

.proceso-card {
  border-radius: 20px;

  transition: 0.35s;

  position: relative;

  overflow: hidden;
}

.proceso-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.proceso-numero {
  width: 60px;

  height: 60px;

  background: var(--primary);

  color: #fff;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 22px;

  font-weight: bold;

  margin: 0 auto 20px;
}

.proceso-icono {
  font-size: 55px;

  color: var(--secondary);
}

.proceso-card h5 {
  margin-top: 20px;
}

.proceso-card p {
  margin-top: 15px;
}

/*==================================================
        FAQ
==================================================*/

#faq .accordion-button {
  font-size: 1.05rem;

  font-weight: 600;
}

#faq .accordion-body {
  color: #666;

  line-height: 1.8;
}

/*==================================================
        CTA
==================================================*/

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));

  border-radius: 30px;

  margin: 80px auto;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-section .btn {
  margin-top: 10px;

  transition: 0.3s;
}

.cta-section .btn:hover {
  transform: translateY(-4px);
}

/*==================================================
        FOOTER
==================================================*/

footer {
  background: #102a1d;

  color: #fff;

  padding: 70px 0 20px;
}

footer h5 {
  margin-bottom: 25px;
}

footer ul {
  list-style: none;

  padding: 0;
}

footer li {
  margin-bottom: 12px;
}

footer a {
  color: #d6d6d6;
}

footer a:hover {
  color: #fff;
}

.footer-logo {
  max-width: 180px;

  margin-bottom: 20px;
}

.footer-social a {
  width: 45px;

  height: 45px;

  border-radius: 50%;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  background: rgba(255, 255, 255, 0.08);

  margin-right: 10px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);

  transform: translateY(-4px);
}

.footer-social i {
  color: #fff;

  font-size: 20px;
}

.footer-copy {
  margin-top: 50px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding-top: 20px;

  text-align: center;

  color: #bdbdbd;
}

/*==================================================
        ANIMACIONES
==================================================*/

.card,
.info-card,
.beneficio-card,
.proceso-card {
  animation: fadeUp 0.7s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/*==================================================
        IMAGENES
==================================================*/

img {
  max-width: 100%;

  height: auto;
}

.rounded-4 {
  border-radius: 20px !important;
}

/*==================================================
        RESPONSIVE
==================================================*/

@media (max-width: 991px) {
  .hero {
    text-align: center;

    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero img {
    margin-top: 40px;
  }

  .navbar-nav {
    margin-top: 20px;
  }

  .cta-section {
    text-align: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  section h2 {
    font-size: 1.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .info-card {
    margin-bottom: 20px;
  }

  .proceso-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons .btn {
    width: 100%;

    margin-bottom: 15px;
  }

  .btn-lg {
    width: 100%;
  }

  .footer-social {
    text-align: center;
  }

  .footer-copy {
    font-size: 0.9rem;
  }
}
/*==========================================================
  ICON REQUERIMIENTOS
==========================================================*/
.requirement-icon {
  width: 70px;

  height: 70px;

  border-radius: 18px;

  background: #e8f8ee;

  display: flex;

  justify-content: center;

  align-items: center;

  color: #198754;

  font-size: 30px;

  transition: 0.3s;
}

.requirement-card:hover .requirement-icon {
  background: #198754;

  color: white;
}

.requirement-card {
  padding: 30px;

  border-radius: 22px;

  border: 1px solid #edf2f7;

  transition: 0.35s;
}

.requirement-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.footer-entities {
  margin-top: 60px;

  padding: 50px 0;

  border-top: 1px solid #e9ecef;

  text-align: center;
}

.footer-entities p {
  max-width: 900px;

  margin: 0 auto 35px;

  color: #bbc3d1;

  line-height: 1.8;
}

.entity-logos {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 45px;

  flex-wrap: wrap;
}

.entity-logos img {
  height: 45px;

  filter: grayscale(100%);

  opacity: 0.65;

  transition: 0.35s;
}

.entity-logos img:hover {
  filter: none;

  opacity: 1;

  transform: translateY(-5px);
}
.hero-mini-card {
  width: 70px;

  height: 70px;

  border-radius: 18px;

  display: flex;

  justify-content: center;

  align-items: center;

  margin-bottom: 22px;

  background: #e8f8ee;

  color: #198754;

  font-size: 30px;
}
