body{
	background:#f7eee7 url(../images/pattern.gif) repeat top center;
	color:#7A6B4E;
	font-family:Arial;
	font-size:14px;
	margin:0;
	padding:0;
}
a{
	outline:none;
}
img{
	border:none;
}
p a, ol li a{
	color:#7A6B4E;
	font-weight:bold;
	text-decoration:underline;
}
h4 a{
	color:#133E73;
	text-decoration:underline;
}
#header div.section:after, #header div#featured ul:after, #content div div#section:after, #footer div:after, #footer div ul:after, #content div div.section div ul:after, #content div div.section ul li div:after{
	clear:both;
	content:" ";
	display:block;
	font-size:0;
	height:0;
	visibility:hidden;
}
#header{
	background:url(../images/bg-top-bar.gif) repeat-x center top;
	margin-top:20px;
}
#header div.section{
	height:203px;
	margin:0 auto;
	position:relative;
	max-width:960px;  /* ✅ RESPONSIVE */
    width:100%;
}
#header div.section span#ribbon{
	background:url(../images/curly-ribbon.gif) no-repeat top left;
	display:block;
	height:316px;
	left:-90px;
	position:absolute;
	top:-20px;
	width:99px;
}
#header div.section span#button{
	background:url(../images/buttones.gif) no-repeat;
	display:block;
	height:82px;
	position:absolute;
	right:0;
	top:145px;
	width:85px;
}
#header div.section div{
	margin:0 auto;
	max-width:960px;
    width:100%;
}
#header div.section div div#logo{
	float:left;
	margin-left:100px;
	margin-top: -30px;
	width: auto;
	display: inline-block;
	
}

#header div.section div div#logo img {
    width: auto;        /* Ancho de la imagen (cámbialo a tu gusto) */
    height: 290px;        /* Mantiene la proporción */ 
   transform: scaleX(2.1); /* 🔹 estira horizontalmente (1.3 = 30% más ancho) */
   display: inline-block;
}

#header div.section div div#navigation{
	float:right;
	margin-top:60px;
	text-transform:lowercase;
	width:auto;
}
#header div.section div div#navigation ul.primary{
	line-height:35px;
	padding-left:20px;
}
#header div.section div div#navigation ul.primary, #header div.section div div#navigation ul.secondary{
	list-style-type:none;
	margin:0;
	overflow:hidden;
}
#header div.section div div#navigation ul.primary li{
	float:left;
	padding:0 15px;
}
#header div.section div div#navigation ul.primary li a{
	color:#5a534d;
	display:block;
	font-weight:bold;
	text-decoration:none;
}
#header div.section div div#navigation ul.primary li.current a, #header div.section div div#navigation ul.primary li a:hover{
	color:#02327c;
}
#header div.section div div#navigation ul.secondary{
	background:url(../images/bg-menu-shadow.gif) no-repeat center top;
	padding-left:35px;
	padding-top:2px;
	width:410px;
}
#header div.section div div#navigation ul.secondary li{
	float:left;
	color:#fff;
}
#header div.section div div#navigation ul.secondary li a{
	color:#5c4c3f;
	display:block;
	font-weight:bold;
	height:36px;
	line-height:36px;
	padding:0 13px;
	text-decoration:none;
}
#header div.section div div#navigation ul.secondary li a:hover, #header div.section div div#navigation ul.secondary li.current a{
	background:url(../images/bg-secondary-menu.gif) repeat-x;
	color:#e9dbd0;
}
#header span#tagline{
  margin-top: 1200px;     /* Lo mueve hacia abajo */
  font-size: 2.9rem;      /* Tamaño de letra */
  font-weight: bold;    /* Negrita */
  font-family: 'Pacifico', cursive; /* Tipo de letra */
  color: #007BFF;       /* Color (rojo, cámbialo a tu gusto) */
  text-align: left;   /* Centrado */
}
#header div#featured{
	height:400px;
	margin:90px auto 0;
	max-width:960px;
    width:100%;
}
#header div#featured ul{
	list-style-type:none;
	padding:0;
	margin:0;
}
#header div#featured ul li{
	float:left;
	margin-left:33px;
	width:287px;
}
#header div#featured ul li.first{
	margin-left:20px;
}
#header div#featured ul li h2{
	background:url(../images/bg-heading.gif) no-repeat;
	font-family:'MarkerFeltNormal';
	font-size:30px;
	font-weight:normal;
	height:64px;
	line-height:80px;
	margin:0;
	padding-left:25px;
}
#header div#featured ul li h2 a{
	color:#7c4914;
	text-decoration:none;
}
#header div#featured ul li div{
	height:264px;
	overflow:hidden;
	position:relative;
	width:287px;
}
#header div#featured ul li div img{
	margin:12px 15px 15px 18px;
}
#header div#featured ul li div span{
	background:url(../images/image-frame.gif) no-repeat center;
	display:block;
	height:264px;
	left:0;
	position:absolute;
	top:-3px;
	width:287px;
}
#header div#featured ul li a.view{
	background:url(../images/shadow-left.gif) no-repeat right -3px;
	color:#f8fff8;
	display:block;
	float:right;
	font-family:'MarkerFeltNormal';
	font-size:20px;
	height:55px;
	line-height:36px;
	margin-right:7px;
	margin-top:-5px;
	padding-right:8px;
	text-align:center;
	text-decoration:none;
}
#header div#featured ul li a.view span{
	background:url(../images/bg-green-pattern.gif) repeat-x;
	display:block;
	padding:0 10px;
}
#content{
	background:#f7eee7 url(../images/content-bg.gif) repeat-x top;
	height:auto;
	margin-top:65px;
	width:100%;
}
#content span.background{
	background:url(../images/spiral.gif) no-repeat center;
	display:block;
	height:51px;
	position:relative;
	top:-29px;
	max-width:1300px;
    width:100%;
}
#content div{
	margin:0 auto;
	position:relative;
	max-width:1300px;
    width:100%;
}

h2 {
  margin: 20px;
  font-size: 1.5rem;
  color: #333;
}

.carousel-container {
  position: relative;
  margin: 20px;
}
.carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  gap: 20px; /* espacio uniforme entre tarjetas */
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel .item {
  flex: 0 0 calc(25% - 20px); /* 🔹 4 items visibles siempre */
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel .item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel .item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-ver {
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-ver:hover {
  background-color: #005fa3;
}

.carousel-container .prev,
.carousel-container .next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
}
.prev { left: 0; }
.next { right: 0; }

/* Pie de página */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  width: 100%;
}
footer p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel .item {
    min-width: 150px;
    max-width: 160px;
  }
  .carousel .item img {
    height: 180px;
  }
  h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .carousel .item {
    min-width: 120px;
    max-width: 140px;
  }
  .carousel .item img {
    height: 150px;
  }
  h2 { font-size: 1.1rem; }
}

/* --- Modal --- */
.modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  padding-top: 70px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-content h3 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: #333;
}

.modal-content p {
  margin: 5px 0;
  font-size: 1rem;
  color: #555;
}

.close {
  color: #333;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: red;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/*********************************/
/********* Whatsapp bubble ******/
/*******************************/
a.float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 60px;
    right: 20px;
    background-color: #0D0D0D;
    color: #FFF;
    border-radius: 50%;
    display: flex;               /* centrado */
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: ease 0.3s;
    animation: efecto 1.3s infinite;

    /* 🔑 arreglos importantes */
    display: inline-flex !important;  /* evita que se convierta en bloque */
    width: 50px !important;           /* fuerza tamaño fijo */
    height: 50px !important;
    line-height: 50px !important;     /* centra ícono */
    text-align: center;
    overflow: hidden;
}

.float:hover {
    text-decoration: none;
    color: #25d366;
    background-color: #fff;
}

@keyframes efecto {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85); }
    100% { box-shadow: 0 0 0 25px rgba(0, 0, 0, 0); }
}

.my-float {
    margin: 0;
}



/* Footer */
#footer {
  background: #376;
  color: #ddd;
  padding: 10px 0;        /* 🔹 menos espacio arriba/abajo */
  margin-top: 40px;      /* 🔹 en lugar de 200px */
  font-size: 14px;
  width: 100%;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 8px;    /* 🔹 antes 15px */
  font-size: 16px;       /* 🔹 más pequeño */
  border-bottom: 1px solid #007BFF; /* línea más fina */
  display: inline-block;
  padding-bottom: 3px;   /* 🔹 antes 5px */
}

.footer-section p {
  line-height: 1.4;      /* 🔹 menos separación vertical */
  margin: 4px 0;         /* 🔹 reduce margen */
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;             /* 🔹 elimina espacio extra */
}

.footer-section ul li {
  margin: 4px 0;         /* 🔹 antes 8px */
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #007BFF;
}

.social a img {
  width: 20px;           /* 🔹 antes 25px */
  margin-right: 6px;     /* 🔹 menos separación */
  transition: transform 0.3s;
}

.social a img:hover {
  transform: scale(1.2);
}

#footer .footer-bottom {
  text-align: center;
  padding: 4px 0;        /* 🔹 antes 5px */
  font-size: 12px;       /* 🔹 un poco más compacto */
}

.footer-bottom a {
  color: #66B2FF;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;               /* 🔹 Activa flexbox */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;             /* 🔹 permite que se acomode en móviles */
  max-width: 1100px;           /* ancho máximo centrado */
  margin: auto;
  gap: 20px;                   /* espacio entre columnas */
  padding: 10px 20px;
}

.footer-section {
  flex: 1;                     /* 🔹 cada sección ocupa mismo ancho */
  min-width: 220px;            /* 🔹 asegura legibilidad en pantallas pequeñas */
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 15px;
  }
}

/* 🔹 Responsive ajustes */
@media (max-width: 992px) {
  #header div.section {
    height: auto;
    text-align: center;
  }

  #header div.section div#logo {
    float: none;
    margin: 20px auto;
  }

  #header div.section div#navigation {
    float: none;
    margin: 20px auto;
  }

  #header div#featured ul li {
    float: none;
    margin: 20px auto;
    width: 90%;
  }

  #content div {
    width: 95%;
  }
}

@media (max-width: 600px) {
  #header div.section div#navigation ul.primary li {
    float: none;
    display: block;
    padding: 10px 0;
    text-align: center;
  }

  .carousel .item {
    flex: 0 0 80%;  /* 🔹 Una tarjeta ocupa casi toda la pantalla */
  }
}

/* ===== Ajustes featured + spiral ===== */
#header div#featured {
  margin: 40px auto 20px;
  max-width: 960px;
  width: 95%;
  overflow: hidden;
}

#header div#featured ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#header div#featured ul li {
  flex: 1 1 30%;
  margin: 10px;
  min-width: 260px;
}

#content span.background {
  background: url(../images/spiral.gif) no-repeat center;
  display: block;
  height: 51px;
  width: 100%;
  max-width: 100%;
  margin: 20px auto 0;
  position: relative;
}

/* ===== Menú hamburguesa ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #5a534d;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  /* Menú hamburguesa visible */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;  /* cambia color si quieres */
    z-index: 1001;
  }

  /* Menú oculto por defecto en móviles */
  #navigation {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }
 #navigation ul.primary,
  #navigation ul.secondary {
    display: none;
  }

  #navigation.active {
    display: block;
  }

  #navigation ul.primary li,
  #navigation ul.secondary li {
    float: none;
    display: block;
    padding: 10px 0;
  }

  #header div#featured ul {
    flex-direction: column;
    align-items: center;
  }

  #header div#featured ul li {
    width: 90% !important;
  }
}

.brand-slider {
  width: 100%;
  overflow: hidden;
  background: #f9f9f9; /* opcional */
  padding: 15px 0;
}

.slider-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.slider-track img {
  width: 120px;   /* tamaño de los logos en desktop */
  height: auto;
  margin: 0 25px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.1);
}

/* Animación */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .slider-track img {
    width: 120px;
    margin: 0 15px;
  }
}

@media (max-width: 480px) {
  .slider-track img {
    width: 90px;
    margin: 0 10px;
  }
}




