@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@font-face {
  font-family: "Porcelanosa";
  src: url("https://www.porcelanosa.com/css/fonts/Porcelanosa-Regular.woff") format("woff"), url("https://www.porcelanosa.com/css/fonts/Porcelanosa-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
  text-rendering: optimizeLegibility
}

body {
  font-family: "Lato", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #212121
}

:root {
  --content-max-width: 1700px;
}

.max-1200 {
  max-width: 1200px;
  margin: 0 auto
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Lato", sans-serif;
}

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

a,
p {
  font-family: "Lato", sans-serif;
}

.call-to-action {
  margin-top: 1rem;
}

.container {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: 1rem
}

/* Site header*/
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 99;
}

.site-header.scrolled {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled a,
.site-header.scrolled .brand-logo,
.site-header.scrolled p {
  color: #1c1c1c;
}

.site-header.scrolled .category-nav {
  border-top: #d5d5d5 1px solid;
  border-bottom: #d5d5d5 1px solid;
}

.site-header.scrolled {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.utility-bar.hide {
  display: none;
}

/* Utility bar */
.utility-bar {
  font-size: .75rem;
  line-height: 1;
  border-bottom: solid 1px white;
}

.utility-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  height: 30px;
  padding-block: 0;
  font-weight: 500;
  color: #fff
}

.utility-nav li+li {
  position: relative
}

.utility-nav li+li::before {
  content: "|";
  position: absolute;
  left: -.8rem;
  top: 0;
  color: #e5e5e5
}

.language-switcher a {
  display: flex;
  align-items: center;
}

.language-switcher img {
  width: 16px;
  height: 12px;
  border-radius: 25px;
  margin-right: 5px;
}

.language-switcher-mob {
  display: none;
}

/* Popup idiomas */
/* Fondo oscuro detrás del popup */
#idiomaSelect {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  overflow-y: auto;
}

/* Contenedor principal */
.box-idioma {
  background-color: #fff;
  max-width: 800px;
  margin: 25% auto;
  padding: 40px 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Botón de cerrar (X) */
.header-idioma-cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.header-idioma-cerrar span {
  display: block;
  height: 2px;
  background-color: #000;
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
}

.header-idioma-cerrar span:first-child {
  transform: rotate(45deg);
}

.header-idioma-cerrar span:last-child {
  transform: rotate(-45deg);
}

/* Título */
.header-idioma-titulo {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: "Porcelanosa", serif;
}

/* Contenedor de columnas */
.content-idioma>ul {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
  list-style: none;
}

/* Columnas internas */
.content-idioma>ul>li>ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Enlaces de idiomas */
.content-idioma a,
.content-idioma span {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 0.95rem;
  width: fit-content;
}

.content-idioma a:hover {
  text-decoration: underline;
}

.activeLink {
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}



/* Responsive */
@media (max-width: 768px) {
  .box-idioma {
    padding: 30px 20px;
    margin: 20% auto;
  }

  .content-idioma>ul {
    flex-direction: column;
    align-items: center;
  }

  /* Make section-pro__image visible on mobile */
  .section-pro__image {
    display: block;
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
  }

  /* Contact page: full-bleed image and matching text margins */
  .contact-align {
    padding: 2rem 0;
    /* reduce vertical padding on mobile */
    flex-direction: column;
    /* stack image then text */
  }

  .contact-align .section-pro__image {
    flex: 0 1 auto;
    /* don't force height in column layout */
    display: block;
    width: 100%;
    height: 340px !important;
    /* ensure visible area on mobile */
    min-height: 340px;
    margin: 0 0 2rem 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .contact-align .section-pro__content {
    flex: 0 1 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2rem 2rem;
    /* same side margin as section above */
  }

  /* Adjust block-contact width on mobile */
  .block-contact .hero__panel {
    width: 100%;
    padding: 2rem;
  }
}




/* Brand bar */
.brand-bar {
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: solid 1px white;
}

.brand-bar .left-links {
  flex: 1
}

.brand-bar .right-links {
  flex: 1
}

.brand-bar .left-links ul {
  display: flex;
  gap: 1rem;
  font-weight: 600
}

.brand-bar .brand-center {
  flex: 2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: "Porcelanosa", serif;
  color: #fff;
  font-size: 1.6em;
  line-height: 2em;
}

.brand-logo svg {
  width: auto;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.appoiment-mob {
  display: none
}

/* Category nav & mega menu */
.category-nav {
  border-bottom: solid 1px white;
}

.category-nav>.container {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 0;
}

.category-nav>.container>ul {
  display: flex;
  gap: 2rem
}

.category-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: #fff;
}

.dropdown {
  position: relative
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 100vw;
  background: #f9f9f9;
  padding: 2rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  z-index: 100
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--content-max-width);
  margin-inline: auto
}

.mega-grid h4 {
  margin: .25rem 0 .5rem;
  font-size: .9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #555
}

.mega-grid ul li {
  margin-bottom: .3rem
}

.mega-grid ul li a {
  font-size: .85rem;
  color: #444
}

/* ==== RESET BÁSICO ============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

/* ==== HERO ======================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 5vw;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #1c3241;
  /* fallback */
  background: linear-gradient(90deg,
      #ffffff 0%,
      rgba(28, 50, 65, 0.60) 100%),
    url("bk-hero-au.jpg") lightgray 50% / cover no-repeat;
  background-blend-mode: multiply, normal;
  overflow: hidden;
}

/* ==== BLOQUE DE CONTENIDO ======================================= */
.hero__panel {
  position: relative;
  text-align: right;

}

.hero__title {
  font-family: "Porcelanosa", serif;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;

}

/* ==== BOTONES ==================================================== */
.section-btn {
  display: flex;
  gap: 1rem;
}

/* Botones en columna para móvil */
@media (max-width: 768px) {
  .section-btn {
    flex-direction: column;
    align-items: center;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  transition: background .25s ease, color .25s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: #fff;
  color: #000;
  outline: none;
}

.contact-content .btn {
  background-color: white;
  color: #1c3241;
  cursor: pointer;
}

.contact-content .btn:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #ffffff
}

/* Botones con estilo de hover similar a Explore Our Projects */
.btn--white-hover {
  background-color: white;
  color: #1c3241;
  cursor: pointer;
}

.btn--white-hover:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #ffffff;
}

/* variante secundaria (opcional) */
.btn--secondary {
  opacity: .85;
}

.categorys {
  padding: 4rem 2rem;
  text-align: center;
}

.title-categorys h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: #1C3241;
  /* Updated to requested blue */
  font-family: "Porcelanosa", serif;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.category {
  position: relative;
  overflow: hidden;
}

.category a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
}

.category a span {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  /* Uniform button size across categories */
  width: 220px;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  color: #1C3241;
  font-family: "Porcelanosa", serif;
  font-weight: 400;
  transition: 300ms;
}

/* Ensure text inside category button has no default margins affecting size */
.category a span p {
  margin: 0;
  font-family: "Porcelanosa", serif;
  color: #1C3241;
  font-weight: 400;
}

/* Hover effect for category buttons */
.category a:hover span {
  background-color: #e2e2e2f5;
  transition: 300ms;
}

/* Imágenes específicas */
.category:nth-child(1) a {
  background-image: url('tiles-category.jpg');
}

.category:nth-child(2) a {
  background-image: url('bathrooms-category.jpg');
}

.category:nth-child(3) a {
  background-image: url('kitchens-category.jpg');
}

/* Section Pro*/

.section-pro {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 0rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* Block contact section - content width control */
.block-contact .hero__panel {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0;
  width: 100% !important;
}

.block-contact {
  padding-inline: 0 !important;
}

/* Text content container for block-contact */
.block-contact .hero__panel p {
  width: 60%;
  margin: 0 0 2rem auto;
  text-align: right;
}

/* Responsive padding for screens smaller than 1700px */
@media (max-width: 1700px) {
  .block-contact {
    padding-inline: 20px !important;
  }
}

/* Mobile version - full width text */
@media (max-width: 768px) {
  .block-contact .hero__panel p {
    width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
  }
}

.section-pro__image {
  flex: 1 1 50%;
  min-width: 300px;
  background: url('professional-section.jpg') center/cover no-repeat;
}

.section-pro__content {
  flex: 1 1 40%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

/* Contact page alignment tweak */
.contact-align {
  justify-content: center;
  gap: 0;
  /* ensure image right edge aligns with center */
}

.contact-align .section-pro__image {
  flex: 0 0 50%;
  min-width: auto;
}

.contact-align .section-pro__content {
  flex: 0 0 50%;
}

.section-pro__content h2 {
  font-family: "Porcelanosa", serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #1c3241;
}

.section-pro__content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

.section-pro__content ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
  list-style: disc;
}

.section-pro__content ul li {
  margin-bottom: 0.75rem;
}

.section-pro__content .btn {
  background: #1C3241;
  border: 2px solid #1C3241;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  align-self: flex-start;
}

.section-pro__content .btn:hover,
.section-pro__content .btn:focus {
  background: transparent;
  color: #1C3241;
  border-color: #1C3241;
}

.section-pro__content .btn a {
  color: inherit;
  text-decoration: none;
}

/* Catalogs */
.gradient-background {
  background: linear-gradient(90deg, var(--color-grey-94, #F0F0F0) 66%, var(--color-grey-94, #F0F0F0) 66%, rgba(240, 240, 240, 0.00) 66.01%);
}

.catalogues-wrapper.gradient-background {
  background: linear-gradient(90deg, var(--color-grey-94, #F0F0F0) 66%, var(--color-grey-94, #F0F0F0) 66%, rgba(240, 240, 240, 0.00) 66.01%);
  background-color: transparent;
}

.catalogues-wrapper {
  background-color: #F0F0F0;
  padding: 4rem 4rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.catalogues-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.catalogues-intro {
  flex: 1 1 300px;
  max-width: 360px;
  margin-top: 2rem;
}

.catalogues-intro h2 {
  font-size: 1.5rem;
  color: #1C3241;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: "Porcelanosa", serif;
}

.catalogues-intro p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-catalogues {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  border: 2px solid #1C3241;
  color: #1C3241;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-catalogues:hover {
  background: #1C3241;
  color: #fff;
  border-color: #1C3241;
}

.catalogues-list {
  display: flex;
  flex: 3;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.catalogue-item {
  text-align: center;
  max-width: 220px;
  flex: 1 1 200px;
  margin-bottom: 2rem;
}

.catalogue-item img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.catalogue-item h3 {
  font-size: 0.95rem;
  color: #1c1c1c;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.catalogue-item span {
  font-size: 0.85rem;
  color: #555;
}

/* Category nav & mega menu */

.contact-banner {
  background: url('contact-section.jpg') center center / cover no-repeat;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 500px;
  color: #fff;
  font-family: 'Porcelanosa', serif;
  margin-top: 4rem;
}

.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  /* capa oscura suave */
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.contact-content h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: "Lato", sans-serif;
}

.site-footer {
  background-color: #fff;
  padding: 3rem 1rem 2rem;
  text-align: center;
  font-family: "Lato", sans-serif;
  color: #1c1c1c;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a5a5a;
  margin-bottom: 2rem;
}

.footer-social span {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #939393;
}

.footer-social a img {
  width: 20px;
  height: 20px;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-social a:hover img {
  opacity: 0.7;
}

.footer-logo img {
  width: 220px;
}

.footer-logo p {
  font-family: "Porcelanosa", serif;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.footer-logo span {
  display: block;
  font-size: 0.8rem;
  color: #939393;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: block;
  font-size: 0.75rem;
  color: #333;
  text-decoration: none;
}

.footer-legal:hover {
  text-decoration: underline;
}


/* Category nav & mega menu */
/* Mobile */
.menu-toggle {
  display: none;
  padding: 1.5rem 0.2rem 1.5rem 1.5rem;
  background: none;
  border: none;
  color: #4A4A4A;
  cursor: pointer;
  margin-top: 5px;
}

.language-switcher {
  position: relative;
}

.language-switcher>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.language-switcher .sub-toggle-icon {
  margin-left: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.language-list {
  list-style: none;
  padding-left: 1rem;
  margin-top: 10px;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.language-list.hidden {
  display: none;
}

.language-list li {
  margin-bottom: 5px;
}

.language-list li a {
  text-decoration: none;
  color: #444;
}

.language-list li span.activeLink {
  color: #000;
}

/* Category nav & mega menu */
/* Switcher */



.language-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.language-toggle .sub-toggle-icon::after {
  content: '+';
  font-size: 1rem;
  font-weight: bold;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.language-switcher.open .sub-toggle-icon::after {
  content: '−';
}



.language-list {
  display: none;
  margin-top: 0.5rem;
  padding: 0;
  list-style: none;
  background-color: white;
  overflow: hidden;
  font-size: 0.95rem;
  max-height: 400px;
  overflow-y: auto;
}

.language-switcher.open .language-list {
  display: block;
}

.language-list li {
  cursor: pointer;
  transition: background 0.2s ease;
}

.language-list li:hover {
  background-color: #f5f5f5;
}

.language-list li a {
  display: block;
  color: #333;
  text-decoration: none;
}

.language-list li span.activeLink {
  background-color: #eee;
  display: block;
  padding: 0.75rem 1rem;
}





@media(max-width:900px) {
  .brand-bar .left-links {
    display: none
  }

  .appoiment-mob {
    display: block
  }

  .appoiment-mob a {
    padding-bottom: 0px;
  }

  .utility-nav {
    display: none
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 0.5rem
  }

  .category-nav>.container>ul {
    flex-direction: column;
    display: none;
    width: 100%;
    padding-inline: 1rem
  }

  .category-nav.open>.container>ul {
    display: flex;
    padding: 0;
    gap: 1rem;
  }

  .dropdown:hover .dropdown-menu {
    display: none
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    padding: 1rem 0
  }

  .brand-bar {
    background-color: white;
  }

  .brand-logo {
    color: #4A4A4A;
  }

  .brand-logo svg {
    fill: #4A4A4A;
  }

  .brand-bar .brand-center {
    text-align: left;
    padding: 0;
  }

  .category-nav {
    background-color: white;
  }

  .category-nav p {
    color: #000;
    text-transform: uppercase;
    font-weight: 400;
  }

  .language-switcher-mob {
    display: block;
  }

  .language-switcher-mob a {
    display: flex;
    align-items: center;
    line-height: 1rem;
  }

  .language-switcher-mob img {
    width: 25px;
    height: 25px;
    border-radius: 25px;
    margin-right: 5px;
  }

  .category-nav a {
    display: flex;
    color: #000;
    justify-content: flex-start;
  }

  .category-nav li {}


}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category a {
    height: 300px;
  }
}

/* CERTIFICATIONS PAGE STYLES */

.hero--certifications {
  position: relative;
  min-height: 600px;
  /* Fixed height as requested */
  align-items: center;
  overflow: hidden;
  background: #1c3241;
  /* Fallback color */
  justify-content: center;
}

.hero--certifications video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--certifications::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.33);
  background-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero--certifications .hero__panel {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1.35rem;
  margin-top: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.cert-intro {
  padding: 8rem 1rem 6rem;
  /* Increased top padding significantly */
  text-align: center;
  max-width: 1000px;
  /* Slightly wider */
  margin: 0 auto;
}

.cert-intro h2 {
  font-family: "Porcelanosa", serif;
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: #1C3241;
  text-transform: none;
  letter-spacing: normal;
}

.cert-intro p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cert-logos {
  padding: 0 0 8rem;
  /* Removed top padding, added bottom */
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.cert-logo-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Container for logo - fixed height with centered content */
.cert-logo-item .cert-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 2rem;
}

.cert-logo-item img {
  max-height: 110px;
  max-width: 100%;
  height: auto;
}

.cert-logo-item h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #777;
  min-height: 1.2em;
}

.cert-logo-item p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 70%;
  flex-grow: 1;
}

.cert-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: auto;
}

.cert-links a {
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: underline;
  color: #1c3241;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-pro__content h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.waste-note {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
  margin-top: 1rem;
}



.cert-cta {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('contact-bg.jpg') center/cover no-repeat;
  padding: 8rem 1rem;
  text-align: center;
  color: #fff;
  position: relative;
  margin-top: 4rem;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: "Porcelanosa", serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .section-btn {
  justify-content: center;
  margin-top: 3rem;
  gap: 1.5rem;
}

.btn--white {
  background: #fff;
  color: #1c3241;
  border: 1px solid #fff;
  font-weight: 600;
  padding: 1rem 2.5rem;
}

.btn--white:hover {
  background: transparent;
  color: #fff;
}

@media (max-width: 900px) {

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Align catalogue items to the right only on certifications page */
.cert-catalogues .catalogues-list {
  justify-content: flex-end;
}