

/*-----------------------------------*\
  TIPOGRAFIA
\*-----------------------------------*/


@font-face {
  font-family: 'Fontspring-DEMO-visbycf-demibold';
  src: url(../tipografia/VisbyBold.eot) format('embedded-opentype'),
      url(../tipografia/VisbyBold.woff) format('woff'),
      url(../tipografia/VisbyBold.ttf) format('truetype'),
      url(../tipografia/VisbyBold.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fontspring-DEMO-visbycf-medium';
  src: url(../tipografia/VisbySemibold.eot) format('embedded-opentype'),
      url(../tipografia/VisbySemibold.woff) format('wooff'),
      url(../tipografia/VisbySemibold.ttf) format('truetype'),
      url(../tipografia/VisbySemibold.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

    
  @font-face {
      font-family: 'RBNo3.1-Black';
      src: url(../tipografia/RBNo3.1-Black.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Black.svg) format('svg'),
           url(../tipografia/RBNo3.1-Black.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Black.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}

    @font-face {
      font-family: 'RBNo3.1-Extrabold';
      src: url(../tipografia/RBNo3.1-Extrabold.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Extrabold.svg) format('svg'),
           url(../tipografia/RBNo3.1-Extrabold.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Extrabold.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}
    @font-face {
      font-family: 'RBNo3.1-Ultra';
      src: url(../tipografia/RBNo3.1-Ultra.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Ultra.svg) format('svg'),
           url(../tipografia/RBNo3.1-Ultra.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Ultra.woff) format('woff');
           font-weight: normal;
           font-style: normal;             
}



/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --violet-blue-crayola: hsla(234, 50%, 64%, 1);
  --dark-cornflower-blue_a7: hsla(214, 88%, 27%, 0.07);
  --white: hsla(0, 0%, 100%, 1);
  --white_a3: hsla(0, 0%, 100%, 0.03);
  --white_a8: hsla(0, 0%, 100%, 0.08);

  --white_a12: hsla(0, 0%, 100%, 0.12);
  --white_a70: hsla(0, 0%, 100%, 0.7);
  --cultured: hsla(220, 20%, 97%, 1);
  --lavender-web: hsla(233, 52%, 94%, 1);
  --cadet-blue-crayola: hsla(220, 12%, 70%, 1);
  --cadet-blue-crayola_a20: hsla(222, 23%, 71%, 0.2);
  --charcoal: hsla(218, 22%, 26%, 1);
  --raisin-black: hsla(216, 14%, 14%, 1);
  --light-gray: hsla(0, 0%, 79%, 1);
  --blue-crayola: hsla(219, 72%, 56%, 1);
  --black-coral: hsla(220, 12%, 43%, 1);


--midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --light-steel-blue: hsl(218, 33%, 77%);
  --royal-blue-light: hsl(225, 68%, 53%);
  --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
  --carolina-blue: hsl(201, 92%, 47%);
  --oxford-blue-1: hsl(218, 70%, 18%);
  --oxford-blue-2: hsl(217, 100%, 12%);
  --oxford-blue-3: hsl(218, 71%, 11%);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: hsl(225, 67%, 91%);
  --sonic-silver: hsl(0, 0%, 47%);
  --light-gray: hsl(0, 0%, 84%);
  --cultured: hsl(0, 0%, 97%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);
  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: hsl(186, 100%, 19%);
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --verdigris: hsl(182, 100%, 35%);
  --ming: hsl(186, 72%, 24%);
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(187, 25%, 94%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: hsl(0, 0%, 100%);
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);
  /*========== Colors ==========*/
  --first-color: hwb(31 40% 0%);
  --button-color: hsl(0, 0%, 17%);
  --oxford-blue-1: hsl(218, 70%, 18%);
  --button-color-alt: hsl(0, 0%, 21%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --text-color-light: hsl(0, 0%, 55%);
  --body-color: hsl(0, 0%, 99%);
  --container-color: #fff;
  --border-color: hsl(0, 0%, 94%);

  /*========== Font and typography ==========*/
  --body-font: 'RBNo3.1-Black', sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: hsl(186, 100%, 19%);
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --verdigris: hsl(182, 100%, 35%);
  --ming: hsl(186, 72%, 24%);
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(187, 25%, 94%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: hsl(0, 0%, 100%);
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-oswald: 'Fontspring-DEMO-visbycf-bold', sans-serif;
  --ff-rubik: 'RBNo3.1-Black', sans-serif;
  
  --headline-lg: 5rem;
  --headline-md: 3rem;
  --headline-sm: 2rem;
  --title-lg: 1.8rem;
  --title-md: 1.5rem;
  --title-sm: 1.4rem;
  
  --fw-500: 500;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * box shadow
   */

  --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
  --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-12: 12px;
  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
/*--------------------------------------------------*/
  /**
   * shadow
   */

   --shadow-1: 4px 4px 15px var(--black_10);
   --shadow-2: 0 10px 15px var(--black_10);
   --shadow-3: 0px 20px 60px var(--black_8);
   --shadow-4: 0px 10px 30px var(--flickr-blue_30);
   --shadow-5: 0px 2px 60px 0px var(--black_10);
 
   /**
    * border radius
    */
 
   --radius-6: 6px;
   --radius-4: 4px;
   --radius-circle: 50%;
   --radius-12: 12px;
 
   /**
    * transition
    */
 
   --transition: 0.25s ease;
   --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
   --transition-1: 0.25s ease;
   --transition-2: 0.5s ease;
   --transition-3: 1s ease;
   --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
   --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.headline-lg {
  font-size: var(--headline-lg);
  color: var(--white);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.headline-md {
  font-size: var(--headline-md);
  font-weight: var(--fw-700);
}

.headline-lg,
.headline-md { font-family: var(--ff-oswald); }

.headline-md,
.headline-sm { line-height: 1.3; }

.headline-md,
.headline-sm { color: var(--midnight-green); }

.headline-sm { font-size: var(--headline-sm); }

.title-lg { font-size: var(--title-lg); }

.title-md { font-size: var(--title-md); }

.title-sm { font-size: var(--title-sm); }

.social-list { display: flex; }

.section { padding-block: var(--section-padding); }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.btn {
  background-color: var(--verdigris);
  color: var(--white);
  font-weight: var(--fw-700);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
}

.btn::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--eerie-black);
  border-radius: var(--radius-6);
  transition: var(--transition-2);
  z-index: -1;
}

.btn:is(:hover, :focus-visible)::before { transform: translateX(100%); }

.w-100 { width: 100%; }

.grid-list {
  display: grid;
  gap: 40px 28px;
}

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

/*PRINCIPAAAAAL*/

.fondo{
  background-image: url('../images/espirituosa/fondo.png');

  background-position: center; 
  background-repeat: no-repeat; 
  height: 100vh; 
}


/*--------------------- Media Query de Celular*/

@media (max-width: 768px) {

  .fondo{
    
    background-size: none; 
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
  }
}


.info{
padding-top: 30%;

}
.home__data{
  max-width: unset;
  margin-inline: 0;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  border-radius: 17px;
  padding: 20px;
}


.hero .container {
  display: grid;
  gap: 70px;
}

.hero-title { color: var(--white); }

.hero-text {
  font-size: var(--fs-5);
  color: var(--white);
  margin-block: 24px 36px;
}

.btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-slider,
.hero-card { position: relative; }

.hero-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  color: var(--charcoal);
  font-size: 2rem;
  padding: 25px;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  animation: pulse 2s ease infinite;
}











[data-reveal] {
  opacity: 0;
  transition: var(--transition-2);
}

[data-reveal].revealed { opacity: 1; }

[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal="bottom"].revealed { transform: translateY(0); }

[data-reveal="left"] { transform: translateX(-50px); }

[data-reveal="right"] { transform: translateX(50px); }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }


@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  margin: 0;
  background-color: var(--body-color);
  color: var(--text-color);
  /*For animation dark mode*/
  transition: .4s;
}

h1, h2, h3, h4 {
  font-style:'RBNo3.1-Black' ;
  color: black;
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}
p{
  font-family: 'Fontspring-DEMO-visbycf-demibold';
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme {
  --first-color: hsl(31, 76%, 74%);
  --button-color: hsl(0, 0%, 24%);
  --button-color-alt: hsl(0, 0%, 28%);
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 75%);
  --body-color: hsl(0, 0%, 12%);
  --container-color: hsl(0, 0%, 16%);
  --border-color: hsl(0, 0%, 20%);
}

/*========== Button Dark/Light ==========*/
.change-theme {
  color: var(--title-color);
  font-size: 1.25rem;
  cursor: pointer;
}

/*========== 
    Color changes in some parts of 
    the website, in dark theme 
==========*/
.dark-theme .change-theme,
.dark-theme .nav__toggle,
.dark-theme .nav__shop,
.dark-theme .button--gray {
  color: hsl(0, 0%, 15%);
}

.dark-theme .scroll-header {
  box-shadow: 0 1px 4px hsla(0, 0%, 4%, .3);
}

.scroll-header .change-theme,
.scroll-header .nav__toggle,
.scroll-header .nav__shop {
  color: var(--title-color);
}

.dark-theme::-webkit-scrollbar {
  background: hsl(0, 0%, 30%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.main {
  overflow: hidden;
}

.section {
  padding: 6.5rem 0 1rem;
}

.section__title {
  position: relative;


  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-family: 'RBNo3.1-Black';
}

.section__title::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 67px;
  height: 1px;
  background-color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 3.5rem;
    transition: .3s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  font-size: var(--h2-font-size);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  font-size: 2rem;
  position: absolute;
  top: .9rem;
  right: 1.25rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 1px 4px hsla(0, 4%, 15%, .10);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home__container {
  position: relative;
  row-gap: 2.5rem;
}

.home__img {
  width: 240px;
}

.home__img-bg {
  background-color: var(--first-color);
  width: 258px;
  height: 430px;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  justify-self: flex-end;
  transform: translateX(1.5rem);
}

.home__social {
  position: absolute;
  top: 35%;
  left: -5rem;
  transform: rotate(-90deg);
  display: flex;
  column-gap: 1rem;
}

.home__social-link {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  transition: .3s;
}

.home__social-link:hover {
  color: var(--title-color);
}

.home__title {
  font-size: 40px;
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.home__description {
  margin-bottom: var(--mb-1-5);
}

.home__price {

  font-size:20px;
  font-family: 'Fontspring-DEMO-visbycf-bold';
  font-weight: var(--font-medium);
  color: var(--first-color);
  margin-bottom: var(--mb-3);
}

.home__btns {
  display: flex;
  align-items: center;
}

.home__button {
  box-shadow: 0 12px 24px hsla(0, 0%, 10%, .2);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color:#00295d  ;
  color: #FFF;
  padding: 1.25rem 2rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover {
  background-color: var(--button-color-alt);
}

.button--gray {
  background-color: hsl(0, 0%, 75%);
  color: var(--title-color);
}

.button--gray:hover {
  background-color: hsl(0, 0%, 63%);
}

.button--small {
  padding: 1rem 1.5rem;
}

/*=============== FEATURED ===============*/
.featured__container {
  row-gap: 2.5rem;
}

.featured__card {
  position: relative;
  text-align: center;
  background-color: var(--container-color);
  padding-top: 2rem;
  border: 1px solid var(--border-color);
  overflow-y: hidden;
  transition: .3s;
}

.featured__tag {
  background-color: var(--first-color);
  padding: .5rem 1rem;
  color: #fff;
  text-transform: uppercase;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  position: absolute;
  transform: rotate(-90deg);
  left: -1rem;
  top: 3rem;
}

.featured__img {
  height: 380px;
  margin-bottom: var(--mb-1);
}

.featured__title, 
.featured__price {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
}

.featured__title {
  text-transform: uppercase;
  margin-bottom: var(--mb-0-75);
}

.featured__price {
  display: block;
  color: var(--first-color);
  transition: .3s;
}

.featured__button {
  font-size: var(--small-font-size);
  transform: translateY(1rem);
  opacity: 0;
}

.featured__card:hover {
  box-shadow: 0 12px 32px hsla(0, 0%, 20%, .1);
  padding: 2rem 0 3rem 0;
}

.featured__card:hover .featured__button {
  transform: translateY(0);
  opacity: 1;
}

.featured__card:hover .featured__price {
  margin-bottom: var(--mb-1-5);
}


/*=============== STORY ===============*/
.story__container {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Coloca el texto en la primera columna y el carrusel en la segunda */
  row-gap: 7.5rem;
  align-items: center;
}

.story__data {
  max-width: 500px; 
}

.story__description {
  margin-bottom: var(--mb-2-5);
}

.story__images {
  position: relative;
  overflow: hidden;
  width: 96%; /* Carrusel ocupa todo el ancho disponible */
  height: 500px; /* Ajustamos una altura fija para las imágenes */
  border-radius: 15px; /* Bordes curvos */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Agregamos sombra para darle profundidad */
}

.carousel {
  position: relative;
  display: flex;
  justify-content: center; /* Centra las imágenes */
  width: 100%; /* Ajusta el ancho del carrusel */
  height: 100%;
}

.carousel__track {
  display: flex;
  width: 400%; /* 4 imágenes en el carrusel */
  transition: transform 0.5s ease;
}

.story__img {
  width: 100%; /* Asegura que las imágenes ocupen todo el espacio */
  height: 100%; /* Asegura que las imágenes cubran la altura del carrusel */
  object-fit: cover; /* Asegura que las imágenes cubran el área sin distorsionarse */
  object-position: center; /* Centra las imágenes dentro del carrusel */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .story__container {
    grid-template-columns: 1fr; /* Pone todo en una sola columna */
  }

  .story__images {
    display: none; /* Esconde las imágenes en pantallas pequeñas */
  }

}


@media (max-width: 480px) {
  .story__images {
    display: none; /* Esconde las imágenes en pantallas de teléfonos muy pequeños */
  }
}

/* Añade cualquier estilo adicional necesario para los botones de navegación si es necesario */







/*=============== PRODUCTS ===============*/
.products__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.products__card {
  position: relative;
  background-color: var(--container-color);
  padding: 1.25rem 0;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: .3s;
}

.products__img {
  height: 125px;
  margin-bottom: var(--mb-1);
}

.products__title, 
.products__price {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.products__title {
  text-transform: uppercase;
  margin-bottom: var(--mb-0-5);
}

.products__price {
  color: var(--first-color);
}

.products__button {
  background-color: var(--button-color);
  padding: .4rem;
  color: #fff;
  font-size: 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  transition: .3s;
}

.products__button:hover {
  background-color: var(--button-color-alt);
}

.products__card:hover {
  box-shadow: 0 8px 32px hsla(0, 0%, 10%, .1);
}

/*=============== TESTIMONIAL ===============*/
.testimonial__container {
  row-gap: 4rem;
}

.testimonial__quote {
  display: inline-flex;
  background-color: var(--container-color);
  padding: .5rem .75rem;
  font-size: 1.5rem;
  color: var(--first-color);
  box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1);
  margin-bottom: var(--mb-2);
}

.testimonial__description {
  margin-bottom: var(--mb-1);
}

.testimonial__date {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-2);
}

.testimonial__perfil {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 7rem;
}

.testimonial__perfil-img {
  width: 60px;
  height: 60px;
  border-radius: 3rem;
}

.testimonial__perfil-data {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.testimonial__perfil-name {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.testimonial__perfil-detail {
  font-size: var(--small-font-size);
}

.testimonial__images {
  position: relative;
}

.testimonial__img, 
.testimonial__square {
  width: -250px;
}

.testimonial__square {
  height: 250px;
  background-color: #f35c15;
  border-radius:30px;
  margin-left: auto;
}

.testimonial__img {
  position: absolute;
  right: 2rem;
  top: 3rem;
  border-radius:30px;

}

.testimonial-swiper {
  margin-left: initial;
  margin-right: initial;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: '';
}

/* Swiper class */
.swiper-button-next,
.swiper-button-prev {
  top: initial;
  bottom: 5%;
  width: initial;
  height: initial;
  background-color: var(--container-color);
  box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1);
  padding: .25rem;
  font-size: 1.5rem;
  color: var(--first-color);
}

.swiper-button-next {
  right: initial;
  left: 4rem;
}

/*=============== NEW CARRUSEL  ===============*/
/* Ajustes para el contenedor principal */
.new__container {
  position: relative;
}

.new-swiper-inner {
  .new-swiper-inner {
    width: 100%;
    height: 350px; 
    margin-top: 20px;
    position: relative;
  }
}

/* Hacemos que las imágenes dentro de los Swipers internos se ajusten bien */
.new__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Carrusel principal */
.new__card {
  position: relative;
  text-align: center;
  background-color: var(--container-color);
  padding-top: 2rem;
  overflow-y: hidden;
  transition: 0.3s;
  box-sizing: border-box;
}

.new__tag {
  background-color: var(--first-color);
  padding: 0.5rem 1rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: var(--font-medium);
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 15px;
  transition: 0.3s;
}

.new__title, 
.new__price {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
}

.new__title {
  text-transform: uppercase;
  margin-bottom: var(--mb-0-75);
}

.new__price {
  display: block;
  color: var(--first-color);
  transition: 0.3s;
}

.new__button {
  font-size: 16px;
  transform: translateY(1rem);
  opacity: 0;
  border-radius: 15px;
  padding: 21px;
}



.new__card:hover .new__tag {
  background-color: var(--button-color);
}

.new__card:hover .new__button {
  transform: translateY(0);
  opacity: 1;
}

.new__card:hover .new__title {
  color: hsl(0, 0%, 15%);
}

.new__card:hover .new__price {
  color: hsl(0, 0%, 15%);
  margin-bottom: var(--mb-1-5);
}

/* Ajustes para los controles de Swiper (prev y next) */
.swiper-button-next, .swiper-button-prev {
  color: white;
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 50%;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

/* Hacemos que el botón de "Contactanos" quede centrado dentro de la tarjeta */
.new__button {
  position: relative;
  z-index: 5;
  transform: translateY(1rem);
  opacity: 0;
  display: inline-block;
  background-color: var(--second-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: opacity 0.3s, transform 0.3s;
}

.new__card:hover .new__button {
  opacity: 1;
  transform: translateY(0);
}

/* Ajustes adicionales si es necesario para garantizar el estilo */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-wrapper {
  display: flex;
  justify-content: flex-start; /* Cambiar para que los elementos se alineen bien */
} 



/* Estilos para el estilo de Media Query */


/* Reglas Responsivas */
@media (max-width: 1024px) {
  /* En pantallas medianas (tablets y móviles grandes) */
  .new__card {
    padding: 1.5rem;
  }

  .new__tag {
    font-size: 10px;
    padding: 0.4rem 0.8rem;
  }

  .new__button {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Ajustar el tamaño del Swiper */
  .swiper-wrapper {
    display: block;
  }

  .new-swiper-inner {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* En pantallas pequeñas (móviles) */
  .new__container {
    padding: 10px;
  }

  .new__card {
    padding: 1rem;
  }

  .new__tag {
    font-size: 10px;
    padding: 0.3rem 0.6rem;
  }

  .new__button {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Ajustar el tamaño del Swiper */
  .swiper-wrapper {
    display: block;
  }

  .new-swiper-inner {
    height: 390px;
  }
}
/** ESTILÑOS DE LOS PUNTOS /


/* Estilos para la sección de ubicaciones */
.locations {
  padding: 2rem;
  background-color: #f4f4f4;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.locations h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Estilos para la lista */
.location-list {
  list-style-type: none; /* Eliminamos los puntos predeterminados */
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: 'Fontspring-DEMO-visbycf-demibold';
}

/* Estilos para cada ítem de la lista */
.location-list li {
  font-size: 16px;
  color: #00295d;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem; /* Espacio antes del punto */
  position: relative;
}

/* Agregamos los puntos manualmente */
.location-list li::before {
  content: '•'; /* Esto es lo que crea el punto */
  font-size: 2rem;
  color: #00295d; /* Cambiar el color del punto si lo deseas */
  position: absolute;
  left: 0; /* Alineamos el punto a la izquierda */
  top: 50%;
  transform: translateY(-50%); /* Centra el punto verticalmente */
}









/*=============== NEWSLETTER ===============*/
.newsletter__bg {
  background-color: var(--first-color);
  padding: 3rem 1.5rem;
  text-align: center;
  row-gap: 2.5rem;
}

.newsletter__title {
  font-size: var(--h1-font-size);
  color: hsl(0, 0%, 15%);
  margin-bottom: var(--mb-1-5);
}

.newsletter__description {
  color: hsl(0, 0%, 35%);
}

.newsletter__subscribe {
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
}

.newsletter__input {
  border: none;
  outline: none;
  background-color: hsl(0, 0%, 94%);
  padding: 1.25rem 1rem;
  color: hsl(0, 0%, 15%);
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--royal-blue-light);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--container-color);
  box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1);
  display: inline-flex;
  padding: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup:hover {
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.5rem;
  color: var(--first-color);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background: hsl(0, 0%, 74%);
}

::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 17%);
}

/*=============== CART ===============*/
.cart {
  position: fixed;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  padding: 3.5rem 2rem;
  transition: .4s;
}

.cart__title-center {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: var(--mb-3);
}

.cart__close {
  font-size: 2rem;
  color: var(--title-color);
  position: absolute;
  top: 1.25rem;
  right: .9rem;
  cursor: pointer;
}

.cart__container {
  display: grid;
  row-gap: 1.5rem;
}

.cart__card {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.cart__box {
  background-color: var(--container-color);
  padding: .75rem 1.25rem;
  border: 1px solid var(--border-color);
}

.cart__img {
  width: 50px;
}

.cart__title {
  font-size: var(--normal-font-size);
  margin-bottom: .5rem;
}

.cart__price {
  display: block;
  font-size: var(--small-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-1-5);
}

.cart__amount,
.cart__amount-content{
  display: flex;
  align-items: center;
}

.cart__amount{
  column-gap: 3rem;
}

.cart__amount-content{
  column-gap: 1rem;
}

.cart__amount-box {
  display: inline-flex;
  padding: .25rem;
  background-color: var(--container-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.cart__amount-trash {
  font-size: 1.15rem;
  color: var(--first-color);
  cursor: pointer;
}

.cart__prices {
  margin-top: 6rem;
  display: flex;
  justify-content: space-between;
}

.cart__prices-item, 
.cart__prices-total {
  color: var(--title-color);
}

.cart__prices-item {
  font-size: var(--small-font-size);
}

.cart__prices-total {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

/* Show cart */
.show-cart {
  right: 0;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .home__img-bg {
    width: 220px;
  }
  .home__title {
    font-size: var(--h1-font-size);
  }
  .home__button {
    font-size: var(--smaller-font-size);
  }

  .story__square,
  .story__img,
  .testimonial__square,
  .testimonial__img {
    width: 180px;
  }

  .story__square,
  .testimonial__square {
    height: 180px;
  }

  .products__container {
    grid-template-columns: repeat(1, 180px);
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home__img-bg {
    width: 340px;
  }

  .featured__container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
  }


}

@media screen and (min-width: 767px) {
  .section {
    padding: 5rem 0 1rem;
  }

  .cart {
    width: 420px;
    box-shadow: -2px 0 4px hsla(0, 0%, 15%, .1);
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    justify-content: initial;
    column-gap: 3rem;
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
  }
  .nav__link {
    text-transform: initial;
    font-size: var(--normal-font-size);
  }
  .nav__btns {
    margin-left: auto;
  }

  .home__container {
    padding-top: 6rem;
    grid-template-columns: 1fr max-content;
    align-items: center;
  }
  .home__img-bg {
    order: 1;
    transform: translate(1.5rem, -6rem);
  }
  .home__data {
 
    text-align: right;
    
  }
  .home__social {
    top: 47%;
    column-gap: 2rem;
  }

  .featured__title,
  .featured__price,
  .new__title,
  .new__price {
    font-size: var(--normal-font-size);
  }

  .story__container,
  .testimonial__container,
  .newsletter__bg {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .story__section-title {
    text-align: initial;
  }
  .story__section-title::before {
    margin: initial;
  }
  .story__images {

    order: -1;
  }

  .products__container {
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2.5rem;
  }
  .products__card {
    padding: 2rem 0;
  }
  .products__img {
    height: 155px;
  }

  .newsletter__bg {
    text-align: initial;
    column-gap: 2rem;
    padding: 4.5rem;
  }
  .newsletter__subscribe {
    flex-direction: row;
  }
  .newsletter__input {
    width: 100%;
  }
}

@media screen and (min-width: 992px) {
  .section__title {
    font-size: var(--h2-font-size);
  }

  .home__container {
    column-gap: 2rem;
  }
  .home__img-bg {
    width: 480px;
    height: 680px;
  }
  .home__img {
    width: 600px;
  }
  .home__social {
    left: -6rem;
  }
  

  .featured__container {
    grid-template-columns: repeat(3, 312px);
    padding-top: 2rem;
  }
  
  .story__container,
  .testimonial__container {
    column-gap: 8rem;
  }

  .story__square,
  .story__img,
  .testimonial__square,
  .testimonial__img {
    width: 500px;
  }

  .story__square,
  .testimonial__square {
    height: 450px;
  }

  .products__container,
  .new__container {
    padding-top: 2rem;
  }

  .testimonial__container {
    padding-bottom: 4rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  .story__container,
  .testimonial__container {
    column-gap: 13rem;
  }

  .story__container {
    padding-top: 3rem;
  }
  .story__img {
    left: 0rem;
    top: 3rem;
  }

  .testimonial__img {
    right: 5rem;
    top: 5rem;
  }

  .scrollup {
    right: 3rem;
  }
}
/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 768px screen
 */

 @media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }

}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 940px; }

  /**
   * HERO
   */

  .hero-banner {
    display: block;
    max-width: max-content;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

}
/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }
}
/*------------------------------------------------------------Texto---------------------------------------------------------*/
.texto {
  padding-top: 9%;
  background-image: url(../images/espirituosa/fd.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh; 
}

/* Contenedor principal del carrusel */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden; 
}


.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.slider-container {
  display: flex;
  transition: transform 1s ease-in-out; 
  width: 300%; 
  height: 100%;
}

.slider-item {
  flex: 0 0 100%;
  position: relative;
  height: 100%; 
}

.slider-item img {
  width: 34%; 
  height: 100%; 
  object-fit: cover; 
}

/* Contenedor del texto encima de la imagen */
.text-container {
  position: absolute;
  top: 45%;
  left: 17%;
  transform: translateX(-50%); 
  color: white; 
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 80%; 
}

.text-container h1,
.text-container p,
.text-container span {
  margin: 10px 0; /* Espaciado entre elementos del texto */
}
/* -------------------------------------- */
/* Estilos Responsivos */

/* Pantallas pequeñas (móviles) */
@media (max-width: 600px) {
  .text-container {
    padding: 15px;
  }

  .text-container h1 {
    font-size: 12px; 
  }

  .text-container p,
  .text-container span {
    font-size: 1rem; /* Reducimos el tamaño del texto */
  }

  /* Hacemos que las imágenes se ajusten mejor en móviles */
  .slider-item img {
    width: 100%; /* Las imágenes ocupan el 100% del contenedor */
    height: auto; /* Ajustamos la altura de acuerdo al contenido */
  }

}

/* Pantallas medianas (tabletas) */
@media (min-width: 601px) and (max-width: 1024px) {
  .text-container {
    padding: 18px;
  }

  .text-container h1 {
    font-size: 2rem; /* Ajuste para tabletas */
  }

  .text-container p,
  .text-container span {
    font-size: 1.2rem; /* Ajuste para tabletas */
  }
  .textos {
    font-size: 22px; /* Ajustamos el tamaño del texto */
  }
  .slider-item img {
    width: 100%; /* Ajustamos las imágenes */
    height: auto; /* Ajustamos la altura para que no se deformen */
  }
}

.textos{
  font-size: 25px; 
  color: #f35c15;
}



/* Prueba    */
/* Aseguramos que la sección use Flexbox para el contenedor */
.story__container {
  display: flex;
  flex-direction: row; /* Aseguramos que los elementos estén en fila por defecto */
  align-items: center;
  justify-content: space-between;
}


/* Media Query para pantallas pequeñas */
@media (max-width: 768px) {
  .story__container {
    flex-direction: column-reverse; /* Invierte el orden de los elementos en pantallas pequeñas */
  }

  .testimonial__images,
  .story__data {
    width: 100%; /* Los elementos ocuparán el 100% del ancho del contenedor en pantallas pequeñas */
  }
}


/*Slider Galeria*/


.galeria {
  display: flex;
  gap: 10px; /* Espacio más pequeño entre imágenes */
  justify-content: center;
  flex-wrap: nowrap; /* Evita que se apilen */
}

.grupo-imagenes {
  width: 350px;
  height: 450px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.foto.activa {
  opacity: 1;
}

/* Responsividad */
@media (max-width: 1400px) {
  .galeria {
      flex-wrap: wrap; /* Permite que se acomoden en varias filas si la pantalla es más pequeña */
      justify-content: center;
  }

  .grupo-imagenes {
      width: 45%; /* Reduce el tamaño en pantallas medianas */
      height: 400px;
  }
}

@media (max-width: 768px) {
  .galeria {
      flex-direction: column;
      align-items: center;
  }

  .grupo-imagenes {
      width: 90%;
      height: 400px;
  }
}




/* texto he carrusel*/

.contenedor-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 1200px;
  gap: 30px;
}

.visor-imagenes {
  position: relative;
  width: 50%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-movible {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.activo-imagen {
  opacity: 1;
}

/* Indicadores de la posición del carrusel */
.indicadores {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 8px;
}

.punto {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

.activo-punto {
  background-color: #333;
}

.caja-texto {
  width: 50%;
  font-family: Arial, sans-serif;
  color: #444;
  text-align: center;
}

.titulo-seccion {
  font-size: 26px;
  margin-bottom: 10px;
}

.descripcion-texto {
  font-size: 18px;
  line-height: 1.5;
}

/* Responsividad */
@media (max-width: 768px) {
  .contenedor-principal {
      flex-direction: column;
      text-align: center;
  }

  .visor-imagenes {
      width: 100%;
      height: 300px;
  }

  .caja-texto {
      width: 90%;
  }
}






/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top {
  background: coral ;
  color: var(--space-cadet);
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 20px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.1);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: var(--transition);
  z-index: 2;
}

.go-top.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.go-top:is(:hover, :focus) {
  background: #00295d;
  color: var(--white);
}




/* Estilizar la barra de desplazamiento */
::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra */
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #e0e0e0, #f8f8f8); /* Degradado suave */
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Diseño del "thumb" (la parte que se mueve) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7e5f, #feb47b); /* Degradado cálido */
  border-radius: 10px;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Efecto hover en la barra */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff6a4d, #fd8f5e);
}


/* Media query para pantallas menores a 768px */
@media screen and (max-width: 768px) {
  .text-container {
      width: 80%;
      padding: 15px;
  }

  .textos {
      font-size: 1.5rem;
  }
}

/* Media query para pantallas menores a 480px */
@media screen and (max-width: 480px) {
  .text-container {
      width: 90%;
      padding: 10px;
  }

  .textos {
      font-size: 1.2rem;
  }
}
