/* Selva Azul: colores, navbar, footer y secciones de la portada (plantilla whater).
   Lo cargan la portada y los layouts paginas / paginas-en, después de whater/css/style.css. */

:root {
    --sa-primary: #19409a;
    --sa-primary-deep: #112d66;
    --sa-primary-soft: #edf3ff;
    --sa-accent: #2ab57d;
    --sa-accent-soft: #ebfaf2;
    --sa-surface: #f5f8fd;
    --sa-surface-strong: #eef3ff;
    --sa-text: #16263f;
    --sa-text-soft: #5c6f87;
    --sa-border: rgba(25, 64, 154, 0.12);
    --sa-shadow: 0 20px 45px rgba(17, 35, 64, 0.12);
    --sa-shadow-soft: 0 12px 30px rgba(25, 64, 154, 0.10);
    --bs-primary: var(--sa-primary);
    --bs-secondary: var(--sa-accent);
    --bs-dark: #102447;
    --bs-light: #f5f8fd;
    --bs-body-color: var(--sa-text);
}

html {
    scroll-behavior: smooth;
}

body {
    /* background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); */
    color: var(--sa-text);
    font-family: "Jost", sans-serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: "Jost", sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

p {
    color: var(--sa-text-soft);
}
.btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  /* display: inline-block; */
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
.btn-check + .btn:hover {
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
  border-color: var(--bs-btn-border-color);
}
.btn:focus-visible {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-focus-box-shadow);
}
.btn-check:focus-visible + .btn {
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-focus-box-shadow);
}
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
}
.btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible {
  box-shadow: var(--bs-btn-focus-box-shadow);
}
.btn:disabled, .btn.disabled, fieldset:disabled .btn {
  color: var(--bs-btn-disabled-color);
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: var(--bs-btn-disabled-border-color);
  opacity: var(--bs-btn-disabled-opacity);
}

.btn {
    border-radius: 999px;
    padding: 0.8rem 1.5rem;
    font-size: 0.97rem;
    letter-spacing: 0.02em;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sa-primary) 0%, #2d5cc7 100%);
    border-color: var(--sa-primary);
    box-shadow: 0 12px 25px rgba(25, 64, 154, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--sa-primary-deep) 0%, var(--sa-primary) 100%);
    border-color: var(--sa-primary-deep);
    box-shadow: 0 18px 30px rgba(25, 64, 154, 0.28);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--sa-accent) 0%, #3ecb8e 100%);
    border-color: var(--sa-accent);
    box-shadow: 0 12px 25px rgba(42, 181, 125, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: linear-gradient(135deg, #1fa06b 0%, var(--sa-accent) 100%);
    border-color: #1fa06b;
    box-shadow: 0 18px 30px rgba(42, 181, 125, 0.25);
}

.navbar-light {
    background: rgba(12, 26, 49, 0.16);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.navbar-light .navbar-nav .nav-item::before,
.navbar-light .navbar-nav .nav-item::after {
    display: none;
}


.sticky-top.navbar-light {
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(17, 35, 64, 0.08);
    box-shadow: 0 10px 28px rgba(17, 35, 64, 0.08);
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    color: var(--sa-text);
}

.sticky-top.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active {
    color: var(--sa-primary);
}

.navbar .dropdown-menu {
    border: 1px solid rgba(25, 64, 154, 0.08);
    box-shadow: var(--sa-shadow-soft);
    border-radius: 18px;
    padding: 0.5rem;
    margin-top: 0.8rem;
}

.navbar .dropdown-item {
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-weight: 500;
    color: var(--sa-text);
}

.navbar .dropdown-item:hover {
    background: var(--sa-primary-soft);
    color: var(--sa-primary);
}

.carousel .carousel-inner .carousel-item {
    min-height: 40rem;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.carousel .carousel-inner .carousel-item img {
    height: 990px;
    object-fit: cover;
    filter: saturate(1.15) contrast(1.03) brightness(0.82);
}

.carousel .carousel-inner .carousel-item .carousel-caption-1,
.carousel .carousel-inner .carousel-item .carousel-caption-2 {
    background: linear-gradient(90deg, rgba(11, 17, 28, 0.18) 0%, rgba(9, 25, 42, 0.62) 38%, rgba(9, 25, 42, 0.74) 100%);
    align-items: center;
}

.carousel-caption-1-content,
.carousel-caption-2-content {
    max-width: 760px;
    padding-inline: clamp(1rem, 4vw, 5rem);
}

.carousel-caption-1-content h4,
.carousel-caption-2-content h4 {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.carousel-caption-1-content h1,
.carousel-caption-2-content h1 {
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.carousel-caption-1-content p,
.carousel-caption-2-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    max-width: 620px;
}

.carousel-caption-1-content-btn,
.carousel-caption-2-content-btn {
    gap: 1rem;
}

.carousel-caption-1-content-btn .btn,
.carousel-caption-2-content-btn .btn {
    min-width: 180px;
}

.feature,
.blog,
.testimonial,
.about {
    position: relative;
}

.feature .feature-item,
.blog .blog-item,
.testimonial-item,
.service-item {
    border-radius: 26px;
    border: 1px solid var(--sa-border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(17, 35, 64, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature .feature-item:hover,
.blog .blog-item:hover,
.testimonial-item:hover,
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--sa-shadow);
    border-color: rgba(25, 64, 154, 0.14);
}

.feature .feature-item {
    padding: 2.2rem 1.5rem;
    text-align: left;
    align-items: flex-start;
}

.feature .feature-item .feature-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--sa-primary) 0%, #2b5bcc 100%);
    box-shadow: 0 16px 30px rgba(25, 64, 154, 0.2);
}

.feature .feature-item a.h4 {
    color: var(--sa-text);
    font-size: 1.5rem;
    font-weight: 600;
}

.feature .feature-item p {
    color: var(--sa-text-soft);
    margin-bottom: 1rem;
}

.feature .feature-item a.btn {
    color: var(--sa-primary);
    padding-left: 0;
    padding-right: 0;
    font-weight: 600;
}

.feature .feature-item a.btn i {
    margin-left: 0.4rem;
}

.blog .blog-item {
    overflow: hidden;
    background: #fff;
}

.blog .blog-item .blog-img {
    border-radius: 26px 26px 0 0;
}

.blog .blog-item .product-content {
    background: #fff !important;
    border: none;
    padding: 1.7rem 1.5rem 1.8rem !important;
}

.blog .blog-item .product-content p {
    color: var(--sa-text-soft);
    margin-bottom: 0.6rem;
}

.blog .blog-item .product-content a.h4 {
    color: var(--sa-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem !important;
}

.blog .blog-item .product-content .text-primary {
    color: var(--sa-primary) !important;
    font-weight: 700;
}

.counter {
    background: linear-gradient(135deg, rgba(18, 44, 97, 0.96) 0%, rgba(25, 64, 154, 0.96) 100%);
    border-radius: 0;
}

.counter .counter-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    padding: 2rem 1.2rem;
    backdrop-filter: blur(6px);
}

.counter .counter-item .counter-item-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.counter h4,
.counter .text-white,
.counter .h1,
.counter .fs-2 {
    color: #fff !important;
}

.about .about-img {
    margin: 0;
    padding-bottom: 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--sa-shadow);
}

.about .about-img::before,
.about .about-img::after {
    display: none;
}

.about .about-img .about-exp {
    top: 22px;
    left: 22px;
    padding: 0.95rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--sa-accent) 0%, #39d097 100%);
    border: none;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(42, 181, 125, 0.3);
}

.about-item .bg-light {
    background: var(--sa-primary-soft) !important;
    border: 1px solid rgba(25, 64, 154, 0.08);
    border-radius: 22px !important;
    box-shadow: none;
}

.about-item .bg-light .rounded-circle {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, var(--sa-primary) 0%, #2c5cc5 100%) !important;
    box-shadow: 0 12px 24px rgba(25, 64, 154, 0.18);
}

.service-item {
    padding: 1.6rem !important;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(25, 64, 154, 0.08);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(17, 35, 64, 0.03);
}

.service-item::after {
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(25, 64, 154, 0.97) 0%, rgba(17, 45, 102, 0.97) 100%);
}

.service-item .service-btn {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--sa-primary) 0%, #2b5cc8 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(25, 64, 154, 0.2);
}

.service-item .service-content a {
    color: var(--sa-text);
    font-size: 1.45rem;
    font-weight: 600;
}

.service-item .service-content p {
    color: var(--sa-text-soft);
    line-height: 1.7;
}

.testimonial .owl-carousel {
    position: relative;
}

.testimonial-item {
    padding: 2.1rem 1.6rem !important;
    border-radius: 28px;
}

.testimonial-item p {
    color: var(--sa-text-soft);
    font-size: 1.08rem;
}

.testimonial-item h4 {
    color: var(--sa-text);
    font-size: 1.5rem;
}

.testimonial-item .text-secondary {
    color: #f7b940 !important;
    letter-spacing: 0.18em;
}

.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
    background: linear-gradient(135deg, var(--sa-primary) 0%, #2d5cc7 100%);
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    color: #fff;
    transition: transform 0.2s ease;
}

.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
    transform: translateY(-2px);
}

.testimonial-carousel .owl-dots .owl-dot {
    background: rgba(25, 64, 154, 0.18);
    border-color: rgba(25, 64, 154, 0.12);
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: var(--sa-accent) !important;
    border-color: var(--sa-accent);
}

.footer {
    background: linear-gradient(180deg, #0f1d35 0%, #0a1830 100%);
    color: rgba(255, 255, 255, 0.9);
}

.footer .footer-item a,
.footer .footer-item p,
.footer .footer-item .footer-btn i {
    color: rgba(255, 255, 255, 0.76);
}

.footer .footer-item a:hover {
    color: #ffffff;
    letter-spacing: 0;
}

.footer .footer-item .footer-btn a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--sa-primary);
    border-color: var(--sa-primary);
}

.copyright {
    background: rgba(11, 19, 30, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
    .navbar-light {
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(17, 35, 64, 0.08);
    }

    .navbar-light .navbar-nav .nav-link {
        color: var(--sa-text);
    }

    .carousel .carousel-inner .carousel-item,
    .carousel .carousel-inner .carousel-item img {
        min-height: 640px;
        height: 640px;
    }

    .carousel-caption-1-content,
    .carousel-caption-2-content {
        text-align: center;
        padding: 0 1.1rem !important;
    }

    .carousel-caption-1-content-btn,
    .carousel-caption-2-content-btn {
        justify-content: center;
        flex-direction: column;
    }

    .carousel-caption-1-content-btn .btn,
    .carousel-caption-2-content-btn .btn {
        width: 100%;
    }
}
