/**
* Template Name: FlexBiz
* Template URL: https://bootstrapmade.com/flexbiz-bootstrap-business-template/
* Updated: Aug 04 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lato",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #171717; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #006944; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #222222;  /* The default color of the main navmenu links */
  --nav-hover-color: #006944; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #171717; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #222222; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #006944; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f5f4;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* Logo*/
.logo-imagen {
  height: 150px;   /* altura deseada */
  width: auto;    /* mantiene proporción */
  margin-right: 10px;
  max-height: none; /* elimina el límite de 40px */
}

/* Opcional: tamaño más pequeño en móviles */
@media (max-width: 768px) {
  .logo-imagen {
    height: 40px;
  }
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0 0 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .top-row {
  padding-bottom: 10px;
}



.header .top-row .logo {
  font-size: 50px;
  font-weight: 600;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
}
.sitename{
    font-size: 50px;
  font-weight: 600;
  color: #0e1f19;
   font-family: var(--heading-font);
  margin: 0;
}

.header .social-links a {
  color: var(--heading-color);
  padding: 0 8px;
  display: inline-block;
  font-size: 18px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .social-links {
    padding-right: 40px;
  }
}

.header .search-form {
  position: relative;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.header .search-form .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 7px 40px 7px 15px;
  background: transparent;
  transition: 0.3s;
  color: var(--default-color);
  font-size: 14px;
}

.header .search-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.header .search-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.header .search-form button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: 0;
  color: var(--heading-color);
  transition: 0.3s;
}

.header .search-form button:hover {
  color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .search-form {
    display: none;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 70px;        /* 15px + 40px del scroll-top + 15px de separación */
  right: 15px;         /* misma alineación que scroll-top */
  z-index: 99999;
  width: 50px;
  height: 50px;
  background-color: #25d366;  /* verde WhatsApp */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  line-height: 50px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe5b;
}



.header .nav-wrap {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.header .mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 5px;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}



/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 135px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 70px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 100px;
  min-height: 60vh;
  display: grid;
  align-items: center;
  position: relative;
  padding-bottom: 60px;
  /* Decorative background */
  /* Swiper default fix if used somewhere inside */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 10% 20%, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 70%), radial-gradient(900px 500px at 90% 80%, color-mix(in srgb, var(--heading-color), transparent 92%), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .hero-card {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  background: var(--surface-color);
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  overflow: hidden;
}

.hero .hero-card .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero .hero-card .eyebrow i {
  color: var(--accent-color);
}

.hero .hero-card .content h2 {
  margin: 0;
  line-height: 1.15;
}

.hero .hero-card .content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.hero .hero-card .btn-primary-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  transition: 0.3s;
}

.hero .hero-card .btn-primary-ghost:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 12%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.hero .hero-card .btn-video {
  font-weight: 600;
  color: var(--heading-color);
  transition: 0.3s;
}

.hero .hero-card .btn-video .play-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transition: 0.3s;
}

.hero .hero-card .btn-video:hover {
  color: var(--accent-color);
}

.hero .hero-card .btn-video:hover .play-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  transform: scale(1.05);
}

.hero .hero-card .mini-stats .stat {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.hero .hero-card .mini-stats .stat i {
  color: var(--accent-color);
}

.hero .media-stack {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-inline: auto;
}

.hero .media-stack .media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: var(--surface-color);
  transform-origin: center;
  transition: 0.3s;
}

.hero .media-stack .media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .media-stack .media:hover {
  transform: translateY(-4px);
}

.hero .media-stack .primary {
  transform: rotate(-2deg);
}

.hero .media-stack .secondary {
  position: absolute;
  width: 70%;
  right: -8%;
  bottom: -10%;
  transform: rotate(6deg);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 992px) {
  .hero .media-stack .secondary {
    right: -2%;
    bottom: -6%;
    width: 68%;
  }
}

.hero .media-stack .floating-badge {
  position: absolute;
  top: -14px;
  left: -14px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  animation: floatY 4s ease-in-out infinite;
}

.hero .media-stack .floating-badge i {
  color: var(--accent-color);
}

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

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

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

.hero .swiper-wrapper {
  height: auto !important;
}

@media (max-width: 1200px) {
  .hero .hero-card {
    padding: 28px;
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero .hero-card .content h2 {
    font-size: clamp(28px, 4vw, 36px);
  }
}

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

  .hero .media-stack .floating-badge {
    transform: scale(0.95);
  }
}

/*--------------------------------------------------------------
# 

@media (max-width: 991px) {
  .featured-services .card-item {
    padding: 1.75rem;
  }

  .featured-services .card-item h3 {
    font-size: 1.35rem;
  }

  .featured-services .card-item .icon i {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .featured-services .card-item {
    padding: 1.5rem;
  }

  .featured-services .card-item h3 {
    font-size: 1.25rem;
  }

  .featured-services .card-item .icon i {
    font-size: 2rem;
  }

  .featured-services .card-item:hover {
    transform: translateY(-3px);
  }
}






/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-container {
  position: relative;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--heading-color);
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
  background: color-mix(in srgb, var(--surface-color), var(--heading-color) 5%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}


.portfolio .portfolio-wrap img {
  transition: 0.3s;
  width: 100%;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--contrast-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--contrast-color);
  font-size: 14px;
  margin: 0 0 15px 0;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links {
  display: flex;
  gap: 15px;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a {
  color: var(--contrast-color);
  font-size: 20px;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  line-height: 0;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a:hover {
  background: var(--accent-color);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

#inicioCarousel .carousel-inner,
#inicioCarousel .carousel-item {
  height: 450px; /* altura fija */
}

#inicioCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* recorta sin deformar */
  object-position: center; /* centra la parte importante */
}

#inicioCarousel .carousel-indicators {
  display: none !important;
}


/* RESPONSIVE PARA MÓVIL CAROUSEL */
@media (max-width: 768px) {
  #inicioCarousel img {
    height: 250px;      /* Ajusta la altura según te guste */
    object-fit: cover;  
    object-position: center;
  }
}

@media (max-width: 480px) {
  #inicioCarousel img {
    height: 200px;      /* Aún más pequeño para móviles muy pequeños */
    object-position: center;
  }
}

@keyframes floatSlow {

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

  50% {
    transform: translateY(-8px) translateX(4px);
  }
}

@keyframes floatFast {

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

  50% {
    transform: translateY(6px) translateX(-3px);
  }
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(10px, -8px) rotate(120deg);
  }

  66% {
    transform: translate(-5px, 12px) rotate(240deg);
  }
}



/*Contacto*/

    .contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
    .contact-info { background:#fbfbfb; padding:1rem; border-radius:8px; }
    form input, form textarea { width:100%; padding:0.8rem; margin-bottom:0.75rem; border:1px solid #ddd; border-radius:6px; }
    form button { padding:0.8rem 1rem; border:none; background:#0b3b2e; color:white; border-radius:6px; cursor:pointer; font-weight:700; }

    footer { background:#062018; color:#cfe6df; text-align:center; padding:1.5rem; margin-top:2rem; }



    
.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Permite que los slides se ajusten en varias filas */
  gap: 20px;
  position: relative;
  padding: 20px 0;
}

.slide-container {
  position: relative;
  width: 400px;
  max-width: 100%; /* Para que no se desborde en móviles */
  border-radius: 10px;
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s;
  border-radius: 10px;
}

.plus {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  text-align: center;
  font-size: 24px;
  padding: 5px;
  transition: opacity 0.4s;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s;
  padding: 10px;
  font-size: 15px;
}

/* Botones slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 10;
}

.prev-slide { left: 10px; }
.next-slide { right: 10px; }

/* Hover overlay */
.slide-container:hover .overlay { opacity: 1; transform: translateY(0); }
.slide-container:hover .plus { opacity: 0; }

/* Media queries para móviles */
@media (max-width: 768px) {
  .slider {
    flex-direction: column;
    gap: 15px;
  }
  .slide-container {
    width: 90%;
  }
  .slide {
    height: 200px;
  }
  .slider-btn {
    font-size: 1.5rem;
    padding: 5px 8px;
  }
}

@media (max-width: 480px) {
  .slide {
    height: 150px;
  }
  .slider-btn {
    font-size: 1.2rem;
    padding: 4px 6px;
  }
}


/* ------------------------------
   RESPONSIVE PARA MOVIL
--------------------------------*/

@media (max-width: 768px) {

  
  /* LOGO */
  .logo-imagen {
    height: 60px !important;
  }

  .top-row {
     display: flex;
    flex-direction: row;       /* Mantiene logo a izquierda y menú a derecha */
    align-items: center;
    justify-content: space-between;
   padding: 0 10px 0 10px; /* espacio general */
  }
   /* El título debajo del logo (si lo quieres centrado) */
  .logo {
    text-align: center;
    flex: 1;
  }

  .sitename {
font-size: 22px;
  text-align: center;
  width: 100%;
  margin-top: 5px;
  }


  /* NAV */
 .mobile-nav-toggle {
        margin-right: 30px; /* separa del borde derecho */
        /* o también puedes usar */
       
        position: relative; /* necesario si usas right */
    }

  /* SLIDER */
  #hero .slider {
    flex-direction: column !important;
    height: auto !important;
    gap: 10px !important;
    padding: 15px;
  }

  .slide-container {
    width: 100% !important;
  }

  .slide-container img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
  }

  .overlay,
  .plus {
    font-size: 16px !important;
  }

  /* ABOUT */
  #about .col-lg-8 {
    padding: 0 10px;
  }

  /* PORTFOLIO */
  .portfolio-item {
    width: 100% !important;
  }

  .portfolio-wrap img {
    width: 100% !important;
    height: auto !important;
  }

  /* CONTACTO */
  .contact-section .col-lg-6 {
    width: 100% !important;
  }

  .mapa-container {
    height: 250px !important;
  }

  footer {
    text-align: center;
    padding: 20px;
  }
}





@media (max-width: 768px) {
    .contacta {
        display: flex;
        align-items: center;
        gap: 5px;
        text-decoration: none;
        font-weight: bold;
        color: black;
        font-size: 1.1rem;

        position: relative;  /* permite moverlo sin afectar el menú */
        top: 15px;           /* baja el contacto debajo del título */
        left: 20px;          /* lo mueve hacia la derecha */
    }
       
}



#contacto [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

