:root {
  --color-bg: #f6f7f8;
  --color-surface: #ffffff;
  --color-text: #161616;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-teal: #00b4a9;
  --color-pink: #e60050;
  --color-blue: #0077ff;
  --color-panel-dark: rgba(0, 0, 0, 0.35);
  --color-panel-light: rgba(255, 255, 255, 0.55);
  --color-panel-teal: rgba(0, 180, 169, 0.3);
  --color-panel-pink: rgba(230, 0, 80, 0.3);
  --color-panel-grey: rgba(26, 26, 26, 0.33);
  --color-panel-light-blue: rgba(0, 119, 255, 0.3);
  --color-panel-gold: rgba(199, 179, 101, 0.3);

  --theme-color: #6366f1;
  --image-fit: cover;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  font-family: 'Montserrat',
               sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.button--dark {
  color: var(--color-white);
  background: var(--color-black);
}

.button--dark:hover {
  background: #111111;
}

.button--light {
  color: var(--color-black);
  background: var(--color-white);
}

.button--light:hover {
  background: #f3f4f6;
}

.button--accent {
  color: var(--color-white);
  background: var(--color-teal);
}

.button--accent:hover {
  background: #009087;
}

/* global scroll/animation helpers (kept at top with globals) */

.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.4rem 1rem;
  color: var(--color-white);
  background: var(--color-black);
}

.top-bar__languages {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.main-nav__brand {
  display: block;
  /* background-color: #00b4a9; */
}

.brand-logo {
  width: auto;
  max-height: 3rem;
}

.brand-logo-rosagres {
    width: auto;
    /* max-height: 2.5rem; */
    margin-right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

.brand-logo-rosagres p {
    display: block;
    font-size: 0.6rem;
  }

.brand-logo-rosagres img {  
    max-height: 2.5rem;
    width: auto;
  }

.main-nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-nav__links a,
.footer-list a,
.footer-bottom__links a,
.mobile-menu__links a,
.main-nav__actions a,
.icon-button {
  transition: color 0.3s ease,
              background-color 0.3s ease;
}

.main-nav__links a:hover,
.footer-list a:hover,
.footer-bottom__links a:hover,
.mobile-menu__links a:hover,
.icon-button:hover {
  color: var(--color-teal);
}

.main-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--color-text);
}

.menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
  color: var(--color-text);
}

#menu-open {
  margin: 0 auto;
}

/*---------- HERO SLIDE ------- */


/*----------------------------------
            MOBILE
-----------------------------------*/
h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 2.1vw, 2rem);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  height: 100%;
  padding: 2.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__close {
  margin-left: auto;
  font-size: 2.5rem;
  color: var(--color-white);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-menu__links a {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
}

/*----------------------------------
            HERO CAROUSEL
-----------------------------------*/
@keyframes zoomIn{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.15);
    }
}

@keyframes zoomOut{
    from{
        transform: scale(1.15);
    }
    to{
        transform: scale(1);
    }
}

@keyframes panLeft{
    from{
        transform: scale(1.1) translateX(5%);
    }
    to{
        transform: scale(1.1) translateX(-5%);
    }
}

@keyframes panRight{
    from{
        transform: scale(1.1) translateX(-5%);
    }
    to{
        transform: scale(1.1) translateX(5%);
    }
}

@keyframes tiltUp{
    from{
        transform: scale(1.1)  translateY(5%);
    }
    to{
        transform: scale(1.1) translateY(-5%);
    }
}

@keyframes tiltDown{
    from{
        transform: scale(1.1)  translateY(-5%);
    }
    to{
        transform: scale(1.1) translateY(5%);
    }
}

.efecto-zoom-in {
  animation: zoomIn 12s linear infinite reverse;
}

.efecto-pan-left {
  animation: panLeft 12s linear infinite reverse;
}

.efecto-pan-right {
  animation: panRight 12s linear infinite reverse;
}

.efecto-tilt-up {
  animation: tiltUp 12s linear infinite reverse;
}

.efecto-tilt-down {
  animation: tiltDown 12s linear infinite reverse;
}

.efecto-zoom-out {
  animation: zoomOut 12s linear infinite reverse;
}

.hero-slide {
  position: absolute;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s linear;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-slide--active {
  z-index: 10;
  opacity: 1;
}

.panel--light {
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.3);
}

.hero-slide__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.1vw, 2.1rem);
  line-height: 1.05;
  color: var(--color-black);

  opacity: 1;
}

.hero-slide__text {
  max-width: 30rem;
  margin: 0 0 1.5rem;
  color: inherit;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s ease,
              color 0.25s ease;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  width:100%;
  /* height:720px; */
  min-height: 70vh;

  background-color: lightblue;
}

.hero-image {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* 
.slide-1 {
  top: -20%;
}

.slide-2 {
  top: -12%;
}
*/
.slide-3 {
  position: relative;
  
}
/*
.slide-4 {
  top: -40%;
}

.slide-5 {
  top: -12%;
}

.slide-6 {
  bottom: -40%;
}

.slide-7 {
  top: -22%;
} */

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 20;
  display: flex;
  gap: 0.75rem;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-carousel__dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-carousel__dot:hover,
.hero-carousel__dot:focus {
  transform: scale(1.1);
}

.hero-carousel__dot--active {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.button--light {
  color: var(--color-black);
  background: var(--color-white);
}

.button--light:hover {
  background: #f3f4f6;
}

.button--accent {
  color: var(--color-white);
  background: var(--color-teal);
}

.button--accent:hover {
  background: #009087;
}

/*--------------------------------
            SECTIONS
---------------------------------*/
.section {
  padding: 4rem 1rem;
}

.section__intro {
  max-width: 72rem;
  margin: 0 auto 3rem;
  padding-top: 2rem;
  text-align: center;
}

.section__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.section__description {
  max-width: 53rem;
  margin: 0 auto;
  color: var(--color-muted);
}

.product_panel {
    background: var(--color-white);
    max-width: 36rem;
    bottom: -15%;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    left: 2.5rem;
    padding: 1rem;
    /* margin: 0.5rem; */
  }
  
/* CTA: descarga catálogos */
.descarga-catalogos-cta .section__intro {
  text-align: center;
  max-width: 64rem;
  padding: 1rem;
}

.button--large {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
  margin: 60px 20px 20px 20px;
}

/*--------------------------------
         CLIENTS CAROUSEL
---------------------------------*/
.clients{
    padding: 20px 0 40px 0;
    background:#fff;
}

.clients h2{
    text-align:center;
    margin-bottom:1rem;
    font-size:2rem;
    padding: 10px;
}

.clients .section__description{
    padding: 10px;
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
  margin: 0 0 40px 0;
}

.logos:before,
.logos::after {
  position: absolute;
  top: 0;
  width: 500px;
  height: 100%;
  content: "";
  pointer-events: none;
  z-index: 2;
}

.logos:before {
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
  right:0  ;
}

.logos:after {
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
  left:0;
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 120px;
  animation: 60s scroll infinite linear;
}

.logos-slide img {
  margin: 0 50px;
}

/*-- logo individual --*/
.lopesan{
    width:300px;
}

.iberostar{
    width:360px;
}

.royalton{
    width: 270px;
}

.h10{
    width: 280px;
}

.civilmek{
    width: 340px;
}

.zemi{
    width: 380px;
}

.curio{
    width: 260px;
}

.courtyard{
    width: 320px;
}

.bluediamond{
    width: 420px;
}

.catalonia{
    width: 340px;
}

.kimptom{
    width: 320px;
}

.castillor{
    width: 380px;
}

.aybar{
    width: 300px;
}

.maresca{
    width: 310px;
}

.poolplanet{
    width: 340px;
}

.consport{
    width: 320px;
} 

.logos:hover .logos-slide {
    animation-play-state:paused;
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-100%);
    }

}

/*--------------- 768 -------------------*/
@media (max-width:768px){

.logo{
    /* width:340px; */
    margin:0 20px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img{
    max-height:110px;
}

.lopesan img{
    width: 160px;
}

.iberostar img{
    width:200px;
}

.royalton img{
    width:220px;
}

.h10 img{
    width:180px;
}

.civilmek img{
    width:200px;
}

.zemi img{
    width:160px;
}

.curio img{
    width:140px;
}

.courtyard img{
    width:160px;
}

.bluediamond img{ 
    width:200px;
} 

.catalonia img{
    width:180px;
} 

.kimptom img{
    width:140px;
}

.castillor img{
    width:180px;
}

.aybar img{
    width:160px;
}

.maresca img{
    width:260px;
}

.poolplanet img{
    width:200px;
}

.consport img{
    width:200px;
}

}
/*-------------- @media 680px -------------------*/ 

@media (max-width: 680px) {
  .descarga-catalogos-cta .button--large {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 2rem;
    margin: 20px auto;
  }

  .panel--light,
  .panel--dark,
  .panel--pink,
  .panel--teal,
  .panel--grey,
  .panel--light-blue {
    /* background: none !important; */
    position: absolute;
    top: 5px;
    backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(255,255,255,0.5);
    width: 100%;
    margin-bottom: 50px;
    padding: 10px;
    text-align: center;
  }

  .logo{
    width:240px;
    margin:0 20px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img{
    max-height:110px;
}

.lopesan img{
    width: 160px;
}

.iberostar img{
    width:200px;
}

.royalton img{
    width:220px;
}

.h10 img{
    width:180px;
}

.civilmek img{
    width:180px;
    padding: 0 10px;
}

.zemi img{
    width:160px;
}

.curio img{
    width:140px;
}

.courtyard img{
    width:160px;
}

.bluediamond img{ 
    width:200px;
} 

.catalonia img{
    width:180px;
} 

.kimptom img{
    width:140px;
}

.castillor img{
    width:180px;
}

.aybar img{
    width:160px;
}

.maresca img{
    width:220px;
    margin: 0 40px;
}

.poolplanet img{
    width:200px;
}

.consport img{
    width:200px;
}
}

/*--------------------------------
            PRODUCTS
---------------------------------*/
.products-section {
  background: #f5f5f7;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.product__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.product-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.panel_colecciones .product-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-features li {
  margin: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #d2d2d2; /* rgb(15, 23, 42);*/
  background: white; /*rgba(229, 229, 229, 0.88); /* rgba(255, 255, 255, 0.88); */
  color: var(--color-black);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feature-item-last-child {
    grid-column: span 2;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.feature-item span {
  display: inline-flex;
  align-items: center;
}

.feature-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #d2d2d2; /*rgb(15, 23, 42);*/
  border-radius: 25%;
  background: white;/*#d2d2d2; var(--color-teal);*/
  color: #d2d2d2; /*var(--color-white);*/
  font-size: 0.95rem;
}

.feature-item span:last-child {
  font-size: 0.95rem;
  line-height: 1.6;
}

/*--- Colecciones BG ---*/
.cuora-bg {
  background-image: url("img/c1_cuore-verde.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.sophy-bg {
  background-image: url("img/c2_sophy-grey.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.coral-bg {
  background-image: url("img/c3_coral-sand.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.mythos-bg {
  background-image: url("img/c4_mythos_dune.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.iconic-bg {
  background-image: url("img/c5_iconic-white.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.tresor-bg {
  background-image: url("img/c6_tresor-bali.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.alma-bg {
  background-image: url("img/c7_alma-honey.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.stela-bg {
  background-image: url("img/c8_stela-white.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.pietro-bg {
  background-image: url("img/c9_pietro-white.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.serena-bg {
  background-image: url("img/c10_serena-nero.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.mistery-bg {
  background-image: url("img/c11_mistery-blue-stone.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.pool-aqua-prusia-bg {
  background-image: url("img/c12_pool-aqua-prusia.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.indugres-biostop-bg {
  background-image: url("img/c13_indubeige.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}

/*--------------------------------
      TABLET ADJUSTMENTS
---------------------------------*/
@media (max-width: 980px) {
  .section {
    padding: 1.5rem 1rem;
  }

  .section__intro {
    padding-top: 1rem;
    margin: 0 auto;
  }

  .products-section {
    grid-template-columns: 1fr;
  }

  .feature-item-last-child {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #d2d2d2;
    background: white;
    color: var(--color-black);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }
}

/*--------------------------------
      MOBILE ADJUSTMENTS
---------------------------------*/ 
@media (max-width: 680px) {
  .hero-slide__title {
    padding: 10px;
    font-size: clamp(1.4rem, 2.1vw, 2.1rem);
    color: #414141
  }

  .hero-slide__text {
    display: none;
  }

  .button {
    padding: 0.45rem 1.2rem;
    font-size: clamp(0.8rem, 2.1vw, 1.4rem);
    margin-bottom: 1rem;
  }

  .product_panel {
    background: var(--color-white);
    max-width: 36rem;
    bottom: -15%;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    left: 2.5rem;
    padding: 1rem;
    /* margin: 0.5rem; */
  }

  h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  }

  .brand-logo-rosagres {
    width: auto;
    /* max-height: 2.5rem; */
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

.brand-logo-rosagres p {
    display: block;
    font-size: 0.5rem;
  }

.brand-logo-rosagres img {  
    /* max-height: 2.2rem; */
    width: auto;
  }

  .panel_colecciones .product-features {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #d2d2d2;
    /* background: white; */
    color: var(--color-black);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .feature-item a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .feature-item-last-child {
    grid-column: span 2;
  }

  .feature-icon {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
  }

  .fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display,inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1.25;
  text-rendering: auto;
}

.contact-section__layout {
  display: flex;
 
}

.contact-form .button {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}

.product-card {
  display: grid;
  overflow: hidden;
  gap: 1.25rem;
  border-radius: 1rem;
  background: var(--color-white);
  /* box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); */
}

.product-card__media {
  overflow: hidden;
  min-height: 18rem;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  object-fit: cover;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__content {
  padding: 1.5rem;
}

.product-card__content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.product-card__content p {
  margin: 0;
  line-height: 1.75;
  color: var(--color-muted);
}

/*--------------------------
    CONTACT SECTION
---------------------------*/

/* .contact-section {
  background: var(--color-white);
} */
.intermedio-section {
  background: var(--color-white);
}

.contact-section__layout {
  display: grid;
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.contact-section__layout > .contact-panel:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
}

.contact-section__layout > .contact-panel.contact-info {
  grid-column: 2;
  grid-row: 1;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-panel {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--color-white);
  /* box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); */
}

.contact-panel h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  /* font-size: 1.8rem; */
}

.info-rosagress-section {
  grid-column: 2;
  grid-row: 2;
  padding: 4rem 2.2rem;
  border-radius: 1rem;
  background: var(--color-white);
  text-align: center;
}

.info-rosagress-small-screens {
    display: none;
}

.info-rosagress-desktop__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.info-rosagress-desktop__logo img {
  max-width: 10rem;
  height: auto;
}

.info-rosagress-desktop h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.info-rosagress-desktop p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.75;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field__label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(0, 180, 169, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button--primary {
  color: var(--color-white);
  background: var(--color-blue);
}

.button--secondary {
  color: var(--color-text);
  background: #ffffff;
  
  border: 1px solid var(--color-muted);
}

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

.button--secondary:hover {
  background: #e7e7e7;
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button--primary:disabled {
  background: #0056b3;
}

.contact-info .contact-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.contact-list i {
  color: var(--color-muted);
}

.contact-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.contact-list a:hover {
  color: var(--color-teal);
}

.contact-email, .contact-rosa-gres {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-email:hover, .contact-rosa-gres:hover {
  text-decoration: underline;
  color: var(--color-teal);
}

/* Reset and Base Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- FOOTER ------*/
.site-footer {
  padding: 2rem 1rem 1rem 1rem; /*2rem 1rem;*/
  color: #cbd5e1;
  background: var(--color-black);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 90rem;
  margin: 0 auto 2.5rem;
  align-items: center;
}

.footer-grid > div {
  width: 100%;
}

.footer-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-column h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-copyright {
  color: #9ca3af;
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.footer-copyright-text {
  margin: 0;
}

.footer-text {
  margin: 0.1erm 0;
  text-align: center;
  font-size: 0.8rem;  
}

.footer-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li {
  color: #cbd5e1;
}

.footer-list li i {
  margin-right: 0.75rem;
  color: #6b7280;
}

.footer-logo {
  max-width: 15rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  width: 250px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #25282b;
  border-radius: 0.75rem;
  color: var(--color-white);
  transition: background-color 0.25s ease,
              color 0.25s ease;
}

.social-links a:hover {
  color: var(--color-black);
  background: var(--color-white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 90rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
  margin: 0 auto;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-bottom__links a {
  color: #9ca3af;
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.9s ease,
              transform 0.9s ease;
  transform: translateY(2rem);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------ */
/*           TABLET RESOLUTION           */
/* ------------------------------------ */
@media (min-width: 768px) {
  .main-nav {
    padding: 1rem 2rem;
  }

  .main-nav__links {
    display: flex;
    /* background-color: #6366f1; */
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    width: 420px;
  }

  .hero-slide__panel {
    position: absolute;
    bottom: -10%;
    max-width: 34rem;
    border-radius: 1rem;
    /* backdrop-filter: blur(10px); */
    transform: translateY(-50%);
    left: 2.5rem;
    padding: 2.5rem;
  }

  .section {
    padding: 1rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
  }

  .products-section {
    margin-bottom: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section__layout {
    grid-template-columns: 1.2fr 1fr;
  }

  .contact-section__layout li {
    font-size: 1rem;
  }

  .info-rosagress-desktop {
    display: none;
  }

  .info-rosagress-small-screens {
    display: block;
    margin-top: 1.5rem;
    padding: 2.8rem;
    border-radius: 1rem;
    background: var(--color-white);
    /* text-align: center; */
  }

  .info-rosagress-small-screens h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    text-align: center;
  }

  .info-rosagress-small-screens p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.75;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .contact-section__layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .contact-section__layout > .contact-panel:first-child,
  .contact-section__layout > .contact-panel.contact-info,
  .info-rosagress-section {
    grid-column: auto;
    grid-row: auto;
  }
}

/*--------------------------------
         CLIENTS CAROUSEL
---------------------------------*/
.clients{
    padding:40px 0;
    background:#fff;
}

.clients h2{
    text-align:center;
    margin-bottom:1rem;
    font-size:2rem;
}

.logo-slider{
    display: flex;
    overflow:hidden;
    position:relative;
    width:100%;
}

.logo-track{
    display:flex;
    align-items:center;
    width:max-content;
}

.logo{
    flex:0 0 auto;
    margin:0 40px;
    width: 240px;
  }

.logo img{
    /* width:300px; */
    height:220px;
    object-fit:contain;
    opacity:.7;
    transition:.3s;
}

.logo img:hover{
    filter:none;
    opacity:1;
    transform:scale(1.05);
}

.logo-track{
    display:flex;
    width:max-content;
    animation: scroll 50s linear infinite;
}

.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-100%);
    }

}
.logo-slider::before,
.logo-slider::after{

    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;

}

.logo-slider::before{

    left:0;

    background:linear-gradient(
        to right,
        white,
        transparent
    );

}

.logo-slider::after{

    right:0;

    background:linear-gradient(
        to left,
        white,
        transparent
    );

}

@media (max-width:768px){

.logo{
    max-width: 220px;
    margin:0 20px;
}

.logo img{
    max-width: 220px;
    max-height: 120px;
}

}

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
  }
/* } */

/* ------------------------------------ */
/*          DESKTOP RESOLUTION          */
/* ------------------------------------ */
@media (min-width: 1024px) {
  .hero-carousel {
    min-height: 72vh;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-nav__actions {
    gap: 1.5rem;
  }

  .hero-slide__panel {
    position: absolute;
    transform: translateY(-50%);
    left: 3rem;
    max-width: 36rem;
    bottom: -12%;
  }

  .info-rosagress-desktop {
    display: block;
  }

  .info-rosagress-small-screens {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card--hidden-desktop {
    display: block;
  }

  .product_panel {
    background: var(--color-white);
    max-width: 36rem;
    bottom: -15%;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    left: 2.5rem;
    padding: 1rem 2.5rem;
  }

  .product__text {
    max-width: 30rem;
    margin: 0 0 1.5rem;
    color: var(--color-black);
  }

}

/* ------------------------------------ */
/*              4k RESOLUTION           */
/* ------------------------------------ */
@media (max-width: 1023px) {
  .product-card--hidden-desktop {
    display: none;
  }
}

/* end of stylesheet */
 