: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;
  --fade-duration: 800ms;
  --image-fit: cover;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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) */
.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);
}

/* duplicate animate block (preserved) */
/* .animate-on-scroll {
  opacity: 0;
  transition: opacity 0.9s ease,
              transform 0.9s ease;
  transform: translateY(3rem);
} */

/* .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
} */
 
.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: flex;
  align-items: center;
}

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

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

.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);
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.15);
  }
}

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

  to {
    transform: scale(1);
  }
}

@keyframes panRight {
  from {
    transform: scale(1.15) translateX(0);
  }

  to {
    transform: scale(1.15) translateX(-5%);
  }
}

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

  to {
    transform: scale(1.15) translateX(0);
  }
}

@keyframes tiltUp {
  from {
    transform: scale(1.15) translateY(5%);
  }

  to {
    transform: scale(1.15) translateY(-5%);
  }
}

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

  to {
    transform: scale(1.15) translateY(5%);
  }
}

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

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

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

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

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

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

/*----------------------------------
            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
-----------------------------------*/
.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}

.hero-slide {
  position: absolute;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  inset: 0;
}

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

.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);
}

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

.hero-slide__overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  inset: 0;
}

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

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

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

.panel--pink {
  color: var(--color-white);
  background: var(--color-panel-pink);
}

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

.panel--grey {
  color: var(--color-white);
  background: var(--color-panel-grey);
}

.panel--light-blue {
  color: var(--color-white);
  background: var(--color-panel-light-blue);
}

.panel--light-gold {
  color: var(--color-white);
  background: var(--color-panel-gold);
}

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

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

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

.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;
}

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

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

.section__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.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);
}

/* CTA: descarga catálogos */
.descarga-catalogos-cta .section__intro {
  text-align: center;
  max-width: 64rem;
  padding: 2rem 1rem 3rem;
}

.descarga-catalogos-cta .section__description {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

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

/*--------------------------------
         CLIENTS CAROUSEL
---------------------------------*/
.clients{
    padding:80px 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;
    width:180px;
    margin:0 40px;
}

.logo img{
    width:100%;
    height:80px;
    object-fit:contain;

    /* filter:grayscale(100%); */
    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{
    width:120px;
    margin:0 20px;
}

.logo img{
    height:60px;
}

}





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

  .panel--light,
  .panel--dark,
  .panel--pink,
  .panel--teal,
  .panel--grey,
  .panel--light-blue {
    /* background: none !important; */
    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;
  }
}

/*--------------------------------
            PRODUCTS
---------------------------------*/
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.products-section {
  background: #f5f5f7;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  /* margin-bottom: 2rem; */
  /* display: flex;
  justify-content: center; */
}

.products-flex {
  /* margin-bottom: 2rem; */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.product_panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.product_panel h1,
.product_panel p {
  margin: 0;
}

/* .product__title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
} */

.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/cuore-verde.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.sophy-bg {
  background-image: url("img/sophy-grey.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.coral-bg {
  background-image: url("img/coral-sand.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.mythos-bg {
  background-image: url("img/mythos_dune.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.iconic-bg {
  background-image: url("img/iconic-white.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.tresor-bg {
  background-image: url("img/tresor-bali.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.alma-bg {
  background-image: url("img/alma-honey.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.stela-bg {
  background-image: url("img/stela-white.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.pietro-bg {
  background-image: url("img/pietro-white.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.serena-bg {
  background-image: url("img/serena-nero.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.mistery-bg {
  background-image: url("img/mistery-blue-stone.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.pool-aqua-prusia-bg {
  background-image: url("img/pool-aqua-prusia.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.indugres-biostop-bg {
  background-image: url("img/indubeige.jpg");
  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 {
    padding: 1.2rem;
    gap: 1rem;
  }

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

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

  .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;
}


/* -------------- Clients Slider ----------------*/
.carousel-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* Core Container with Infinite Loop Fade Aspect Ratio */
.carousel-container {
  position: relative;
  width: 100%;
  background-color: #020617;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
}

/* Fallback aspect ratios for older browsers */
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-4-3  { aspect-ratio: 4/3; }
.aspect-1-1  { aspect-ratio: 1/1; }
.aspect-21-9 { aspect-ratio: 21/9; }

/* Slides Container */
.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slides */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade-duration) ease-in-out, 
              visibility var(--fade-duration) ease-in-out;
  z-index: 1;
}

/* Active State for Infinite Fade Transitions */
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Images inside slides */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit);
  display: block;
  user-select: none;
}

/* Captions Overlay */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.5) 60%, rgba(2, 6, 23, 0) 100%);
  color: #ffffff;
  z-index: 10;
  pointer-events: none;
}

.carousel-caption h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.carousel-caption p {
  font-size: 0.85rem;
  color: #cbd5e1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Navigation Arrow Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 12px var(--theme-color);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* Interactive Dot Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
  background-color: rgba(15, 23, 42, 0.5);
  padding: 6px 12px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.indicator-dot.active {
  background-color: var(--theme-color);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--theme-color);
}

/* Thumbnails Navigation */
.carousel-thumbnails-container {
  width: 100%;
  margin-top: 16px;
  background-color: rgba(15, 23, 42, 0.4);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.thumbnail-item {
  flex: 0 0 70px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: all 0.2s ease;
  opacity: 0.5;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-item:hover {
  opacity: 0.85;
}

.thumbnail-item.active {
  opacity: 1;
  border-color: var(--theme-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
}

/* ---- 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;
}

.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: 20rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.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);
}

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

  .main-nav__links {
    display: flex;
  }

  .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;
  }
}

  .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 {
    /* position: absolute; */
    background: var(--color-white);
    /* transform: translateY(-50%); */
    max-width: 36rem;
    bottom: -15%;
    border-radius: 1rem;
    /* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22); */
    backdrop-filter: blur(10px);
    /* transform: translateY(-50%); */
    left: 2.5rem;
    padding: 1rem 2.5rem;
  }

 /*  .panels-container {
    background: var(--color-white);
  }
  
  .panel_piscina {
    background: rgba(26, 26, 26, 0.33);
  } 
 
  .panel_pavimentos {
    background: rgba(26, 26, 26, 0.33);
  }

  .panel_colecciones {
    background: rgb(255, 255, 255);
  } */

  /* .product__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.1vw, 2.1rem);
  line-height: 1.05;
  } */

  .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 */
 