/* Scoped helpers for the React port. Template rules stay under .kitchnox. */
.kitchnox {
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
  color: var(--text-color, #444444);
  font-family: var(--text-font), "Barlow", sans-serif;
  --title-font: var(--font-fira), "Fira Sans", sans-serif;
  --text-font: var(--font-barlow), "Barlow", sans-serif;
  --jost: var(--font-jost), "Jost", sans-serif;
  --roboto: var(--font-roboto), "Roboto", sans-serif;
  --cormorant: var(--font-cormorant), "Cormorant Garamond", serif;
}

.kitchnox .owl-carousel {
  display: block;
}

/* Tailwind's .collapse utility sets visibility:collapse and would hide the Bootstrap navbar. */
.kitchnox .collapse {
  visibility: visible;
}

.kitchnox .owl-carousel .kx-viewport {
  overflow: hidden;
  width: 100%;
}

.kitchnox .owl-carousel .kx-track {
  display: flex;
  width: 100%;
  gap: var(--kx-gap, 0px);
  transition: transform 500ms ease;
}

.kitchnox .owl-carousel .kx-track > .kx-slide {
  flex: 0 0 calc((100% - (var(--kx-gap, 0px) * (var(--kx-per, 1) - 1))) / var(--kx-per, 1));
  min-width: 0;
}

.kitchnox .mobile-menu .navigation li.dropdown.open > ul {
  display: block;
}

.kitchnox .kx-form-status {
  margin-top: 12px;
  color: var(--theme-color, #d4161e);
  font-size: 16px;
  line-height: 26px;
}

.kitchnox .kx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.kitchnox .kx-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  width: auto;
  height: auto;
}

.kitchnox .kx-lightbox iframe {
  width: min(960px, 100%);
  height: min(540px, 78vh);
  border: 0;
  background: #000;
}

.kitchnox .kx-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@keyframes kx-loader-fade {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.kitchnox .loader-wrap {
  animation: kx-loader-fade 0.45s ease 1s forwards;
}

/* Preloader: solo el círculo (sin el texto de la plantilla), centrado */
.kitchnox .handle-preloader .animation-preloader .spinner {
  margin: 0 auto;
}

.kitchnox .kx-locale {
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
  position: relative;
  z-index: 5;
}

.kitchnox .kx-locale button {
  font-family: inherit;
  cursor: pointer;
}

.kitchnox .menu-area .main-menu + .nav-btn {
  margin-left: 40px;
}

.kitchnox .kx-locale > div > button {
  border: 0 !important;
  background: transparent;
  box-shadow: none;
}

.kitchnox .main-header:has(.header-top) .header-lower .kx-locale {
  display: none;
}

.kitchnox .main-menu .navigation > li {
  margin: 0 12px;
}

/* Home: header transparente sobre el hero; al hacer scroll aparece .sticky-header (fondo sólido) */
.kitchnox .main-header.header-style-four {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: transparent;
  z-index: 20;
}

.kitchnox .main-header.header-style-four:before {
  display: none;
}

.kitchnox .main-header.header-style-four.fixed-header {
  background: transparent;
}

/* Home móvil: logo más chico para no tapar el H1 del hero */
@media (max-width: 991px) {
  .kitchnox .main-header.header-style-four .logo-box {
    padding: 10px 0;
    max-width: min(42vw, 160px);
  }

  .kitchnox .main-header.header-style-four .logo-box img {
    height: 40px !important;
    width: auto !important;
    max-width: 100%;
  }

  .kitchnox .main-header.header-style-four .header-lower .outer-box {
    align-items: center;
    gap: 12px;
  }
}

.kitchnox .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4956a5;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  text-decoration: none;
}

.kitchnox .btn-primary:hover {
  color: #fff;
  opacity: 0.9;
}

.viewer-frame {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #eceef1 !important;
  height: 350px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: none !important;
}

@media (min-width: 1024px) {
  .viewer-frame {
    height: 600px !important;
  }
}

.viewer-frame canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.viewer-frame .absolute {
  position: absolute;
}


/* Hero minimalista: imagen a pantalla completa + texto encima, sin marcos */
.kitchnox .kx-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: rgb(17, 24, 39);
}

.kitchnox .kx-hero__media {
  position: absolute;
  inset: 0;
}

.kitchnox .kx-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 0 60px 96px;
  color: #fff;
  background: transparent;
}

.kitchnox .kx-hero__content h1 {
  margin: 0 0 18px;
  font-family: var(--title-font);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #fff;
}

.kitchnox .kx-hero__content p {
  max-width: 480px;
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.kitchnox .kx-hero__sub-mobile {
  display: none;
}

.kitchnox .kx-hero__cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.kitchnox .kx-hero__cta:hover {
  background: #fff;
  border-color: #fff;
  color: rgb(17, 24, 39);
}

@media (max-width: 991px) {
  .kitchnox .kx-hero {
    /* Deja aire bajo el header absoluto (logo + menú) */
    align-items: flex-end;
  }

  .kitchnox .kx-hero__content {
    padding: 96px 20px 48px;
    max-width: 100%;
  }

  .kitchnox .kx-hero__content h1 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.2;
  }

  .kitchnox .kx-hero__content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .kitchnox .kx-hero__content {
    padding: 88px 20px 40px;
  }
  .kitchnox .kx-hero__sub-mobile {
    display: inline;
  }
  .kitchnox .kx-hero__sub-desktop {
    display: none;
  }
}

/* Botón estándar: reposo con texto y borde rojos; hover con fondo rojo y texto blanco */
.kitchnox .theme-btn {
  border: 2px solid var(--theme-color);
  padding: 14px 33px 12px;
  background: transparent;
  color: var(--theme-color) !important;
}

.kitchnox .theme-btn:before,
.kitchnox .theme-btn:after {
  background: var(--theme-color);
}

.kitchnox .theme-btn:hover {
  color: #fff !important;
}

.kitchnox .theme-btn:hover:before,
.kitchnox .theme-btn:hover:after {
  height: 50%;
}

/* What we offer: títulos sin enlace (antes el color venía del <a>) */
.kitchnox .offer-block-one .inner-box h3 {
  color: #fff;
}

/* Sección T3DL Cabinetry: foto recortada a la proporción de la plantilla (686×565) */
.kitchnox .about-style-two .image-box img.kx-studio-img {
  display: block;
  width: 100%;
  /* Foto completa, sin recorte (proporción original). El logo de la esquina
     inferior derecha queda tapado por .kx-years-box. */
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Servicios: foto recortada a la proporción de la plantilla (373×262) y descripción corta */
.kitchnox .service-block-one .inner-box .image-box img.kx-service-img {
  display: block;
  width: 100%;
  aspect-ratio: 373 / 262;
  object-fit: cover;
}

.kitchnox .service-block-one .inner-box .kx-service-text {
  margin: 10px 0 0;
  max-width: 340px;
  font-size: 16px;
  line-height: 26px;
  color: #6b7280;
}

/* Lightbox vertical (YouTube Shorts 9:16) */
.kitchnox .kx-lightbox iframe.kx-lightbox-vertical {
  width: auto;
  height: min(86vh, 900px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
}

/* Proyectos: miniatura vertical recortada a la proporción de la plantilla (596×583) + botón de play */
.kitchnox .project-block-two .inner-box .image-box .kx-project-media {
  position: relative;
  display: block;
}

.kitchnox .project-block-two .inner-box .image-box img.kx-project-img {
  display: block;
  width: 100%;
  aspect-ratio: 596 / 583;
  object-fit: cover;
  object-position: center;
}

.kitchnox .kx-project-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--theme-color);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25);
  transition: transform 300ms ease;
}

.kitchnox .kx-project-play:before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

.kitchnox .project-block-two .inner-box:hover .kx-project-play {
  transform: scale(1.1);
}

.kitchnox .project-block-two .inner-box .text-box h3 a {
  color: var(--title-color);
}

/* Testimonios: avatar con inicial (sin foto), estrellas y fuente */
.kitchnox .testimonial-section .kx-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 133px;
  height: 133px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-family: var(--jost);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
}

.kitchnox .testimonial-section .kx-stars {
  margin: -8px 0 14px;
  color: #fbbc04;
  font-size: 22px;
  letter-spacing: 4px;
}

.kitchnox .testimonial-section .testimonial-block .text-box .name {
  color: #fff;
}

.kitchnox .testimonial-section .kx-review-source {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Footer: mismo azul oscuro que el header al hacer scroll */
.kitchnox .main-footer {
  background: rgb(17, 24, 39);
}

.kitchnox .main-footer .kx-social {
  display: flex;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.kitchnox .main-footer .kx-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.kitchnox .main-footer .kx-social a:hover {
  border-color: var(--theme-color, #d4161e);
  background: var(--theme-color, #d4161e);
  color: #fff;
}

/* Botón estándar también en el footer (que vive fuera de .kitchnox) */
.kx-site-footer .theme-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 2px solid #d4161e;
  background: transparent;
  color: #d4161e !important;
  padding: 14px 33px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.7px;
  text-align: center;
  text-transform: uppercase;
  transition: all 500ms ease;
  z-index: 1;
}

.kx-site-footer .theme-btn:before,
.kx-site-footer .theme-btn:after {
  position: absolute;
  content: "";
  left: 0;
  z-index: -1;
  width: 100%;
  height: 0;
  background: #d4161e;
  transition: all 500ms ease;
}

.kx-site-footer .theme-btn:before {
  top: 0;
}

.kx-site-footer .theme-btn:after {
  bottom: 0;
}

.kx-site-footer .theme-btn:hover {
  color: #fff !important;
}

.kx-site-footer .theme-btn:hover:before,
.kx-site-footer .theme-btn:hover:after {
  height: 50%;
}

/* Blogs (home): imágenes con proporción fija */
.kitchnox .news-block-one .inner-box .image-box img.kx-news-img {
  aspect-ratio: 373 / 262;
  object-fit: cover;
}

/* Artículo del blog */
.kitchnox .page-title .content-box h1.kx-post-title {
  font-size: 44px;
  line-height: 54px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kitchnox .kx-post-hero {
  margin-bottom: 30px;
}

.kitchnox .kx-post-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.kitchnox .kx-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-family: var(--jost);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6e6e6e;
}

.kitchnox .kx-post-body h3 {
  margin: 36px 0 14px;
  font-size: 28px;
  line-height: 38px;
}

.kitchnox .kx-post-body h3:first-child {
  margin-top: 0;
}

.kitchnox .kx-post-body p {
  margin-bottom: 18px;
}

.kitchnox .kx-post-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
  list-style: disc;
}

.kitchnox .kx-post-body ul li {
  margin-bottom: 8px;
}

.kitchnox .kx-post-footer {
  margin-top: 50px;
}

@media only screen and (max-width: 767px) {
  .kitchnox .page-title .content-box h1.kx-post-title {
    font-size: 30px;
    line-height: 40px;
  }
}

/* Blog (listado): imágenes y paginación */
.kitchnox .news-block-two .inner-box .image-box img.kx-news-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.kitchnox .pagination li .kx-page-gap {
  display: inline-block;
  margin-right: 9px;
  color: #6e6e6e;
}

/* Barra superior: todo en blanco; rojo al pasar el cursor */
.kitchnox .header-top .info-list li:before {
  background: rgba(255, 255, 255, 0.35);
}

.kitchnox .header-top .info-list li img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.kitchnox .header-top .info-list li:hover img {
  filter: none;
}

.kitchnox .header-top .info-list li a,
.kitchnox .header-top .social-links li a {
  color: #fff;
  transition: color 0.3s ease;
}

.kitchnox .header-top .info-list li a:hover,
.kitchnox .header-top .social-links li a:hover {
  color: var(--theme-color, #d4161e);
}

/* About: valores (icono arriba, etiqueta debajo) */
.kitchnox .about-style-six .sec-title p + p {
  margin-top: 0;
}

.kitchnox .kx-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.kitchnox .kx-values li span {
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1;
  color: var(--theme-color, #d4161e);
}

.kitchnox .kx-values li h3 {
  font-size: 20px;
  line-height: 26px;
  color: #000;
  margin: 0;
}

/* About: "Our core values" en azul oscuro sólido (sin imagen de fondo) */
.kitchnox .video-section.kx-dark-video {
  background: rgb(17, 24, 39);
}

.kitchnox .video-section.kx-dark-video .bg-layer {
  display: none;
}

/* About: último bloque antes del footer, sin línea inferior */
.kitchnox .chooseus-section.kx-about-last .inner-container {
  border-bottom: none;
}

/* About: video vertical (YouTube Short) */
.kitchnox .video-section.kx-dark-video .video-box.kx-short-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  padding: 0;
  margin: 0 auto;
}

/* About: foto de la empresa, recortada a la proporción de la plantilla (392×527) */
.kitchnox .about-style-six .image-box img.kx-about-img {
  display: block;
  width: 100%;
  aspect-ratio: 392 / 527;
  object-fit: cover;
  object-position: center top;
}

/* About: recuadro "7 años" en la esquina superior izquierda de la foto */
.kitchnox .about-style-six .experience-box.kx-experience-tl {
  left: 0;
  top: 0;
  right: auto;
  bottom: auto;
}

/* Páginas interiores: header azul oscuro (igual que el header fijo del home) */
.kitchnox .header-style-five,
.kitchnox .header-style-five .sticky-header {
  background: rgb(17, 24, 39);
}

.kitchnox .header-style-five .sticky-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kitchnox .header-style-five .main-menu .navigation > li > a {
  color: #fff;
}

.kitchnox .header-style-five .main-menu .navigation > li.current > a,
.kitchnox .header-style-five .main-menu .navigation > li:hover > a {
  color: var(--theme-color);
}

.kitchnox .header-style-five .nav-btn {
  border-color: rgba(255, 255, 255, 0.55);
}

/* Home (studio): sin sangrado a la derecha y recuadro "7 años" tapando el logo de la foto */
.kitchnox .about-style-two .image-box {
  margin-right: 0;
}

.kitchnox .about-style-two .image-box figure.image {
  position: relative;
}

.kitchnox .kx-years-box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 170px;
  padding: 21px 20px 32px;
  background: #c6965d;
  text-align: center;
  z-index: 2;
}

.kitchnox .kx-years-box h2 {
  display: block;
  margin: 0 0 2px;
  font-size: 60px;
  line-height: 70px;
  font-weight: 700;
  color: #fff;
}

.kitchnox .kx-years-box h5 {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #fff;
}

/* Evita scroll horizontal en móvil (márgenes negativos del tema Kitchnox) */
.kitchnox .boxed_wrapper {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 991px) {
  .kitchnox .about-style-two .image-box {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  .kitchnox .about-style-two .content-box.mr_70,
  .kitchnox .about-style-two .content-box {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .kitchnox .about-style-two .image-box figure.image {
    overflow: hidden;
  }

  /* Badge "7 years": debajo de la foto en móvil, sin tapar media pantalla */
  .kitchnox .kx-years-box {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 16px 16px 20px;
    margin-top: 0;
  }

  .kitchnox .kx-years-box h2 {
    font-size: 40px;
    line-height: 46px;
  }

  .kitchnox .kx-years-box h5 {
    font-size: 15px;
    line-height: 20px;
  }

  .kitchnox .feature-list.ml_40,
  .kitchnox .feature-section .ml_40 {
    margin-left: 0 !important;
  }

  .kitchnox .offer-block-one .inner-box {
    padding-left: 70px;
    padding-right: 0;
  }

  .kitchnox .row {
    margin-left: 0;
    margin-right: 0;
  }

  .kitchnox .row > [class*='col-'] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ===== Página Quote ===== */
.kitchnox .kx-quote {
  padding: 90px 0 110px;
  background: #f7f6f4;
}

.kitchnox .kx-quote-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.kitchnox .kx-quote-intro .sub-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-color);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
}

.kitchnox .kx-quote-intro h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  color: #000;
}

.kitchnox .kx-quote-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  color: #555;
}

.kitchnox .kx-quote-form {
  max-width: 1000px;
  margin: 0 auto;
}

.kitchnox .kx-quote-card {
  margin-bottom: 30px;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid #e7e4df;
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.05);
}

.kitchnox .kx-quote-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ece9e4;
}

.kitchnox .kx-quote-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--theme-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kitchnox .kx-quote-card__head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  color: #000;
}

.kitchnox .kx-quote-add {
  padding: 10px 20px;
  border: 2px solid var(--theme-color);
  background: transparent;
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.kitchnox .kx-quote-add:hover {
  background: var(--theme-color);
  color: #fff;
}

.kitchnox .kx-quote-lines {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kitchnox .kx-quote-line {
  position: relative;
  margin: 0;
  padding: 26px 24px 22px;
  min-width: 0;
  background: #faf9f7;
  border: 1px solid #ece9e4;
}

.kitchnox .kx-quote-line__title {
  margin: 0 0 18px;
  padding: 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: #000;
}

.kitchnox .kx-quote-remove {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.kitchnox .kx-quote-remove:hover:not(:disabled) {
  color: var(--theme-color);
}

.kitchnox .kx-quote-remove:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.kitchnox .kx-quote-grid {
  display: grid;
  gap: 18px 20px;
}

.kitchnox .kx-quote-grid--lines {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kitchnox .kx-quote-grid--dims {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.kitchnox .kx-quote-grid--client {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kitchnox .kx-quote-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.kitchnox .kx-quote-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.kitchnox .kx-quote-field--full {
  grid-column: 1 / -1;
}

.kitchnox .kx-quote-field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}

.kitchnox .kx-quote-field input,
.kitchnox .kx-quote-field select,
.kitchnox .kx-quote-field textarea {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px 14px;
  border: 1px solid #d9d5ce;
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 22px;
  color: #111827;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kitchnox .kx-quote-field textarea {
  resize: vertical;
  min-height: 120px;
}

.kitchnox .kx-quote-field input::placeholder,
.kitchnox .kx-quote-field textarea::placeholder {
  color: #a3a3a3;
}

.kitchnox .kx-quote-field input:focus,
.kitchnox .kx-quote-field select:focus,
.kitchnox .kx-quote-field textarea:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(212, 22, 30, 0.12);
}

.kitchnox .kx-quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.kitchnox .kx-quote-actions .theme-btn {
  cursor: pointer;
  min-width: 240px;
  text-align: center;
}

.kitchnox .kx-quote-actions .theme-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.kitchnox .kx-quote-msg {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.kitchnox .kx-quote-msg--ok {
  color: #1f7a45;
}

.kitchnox .kx-quote-msg--error {
  color: var(--theme-color);
}

.kitchnox .kx-quote-loading {
  padding: 30px;
  background: #fff;
  border: 1px solid #e7e4df;
  color: #555;
}

@media (max-width: 991px) {
  .kitchnox .kx-quote-grid--lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kitchnox .kx-quote-grid--dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .kitchnox .kx-quote {
    padding: 60px 0 80px;
  }
  .kitchnox .kx-quote-intro h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .kitchnox .kx-quote-card {
    padding: 26px 20px;
  }
  .kitchnox .kx-quote-grid--lines,
  .kitchnox .kx-quote-grid--client {
    grid-template-columns: minmax(0, 1fr);
  }
  .kitchnox .kx-quote-remove {
    top: 18px;
    right: 18px;
  }
}

/* ===== Página Gallery ===== */
.kitchnox .kx-gallery {
  padding: 90px 0 110px;
  background: #fff;
}

.kitchnox .kx-gallery-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.kitchnox .kx-gallery-intro .sub-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-color);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kitchnox .kx-gallery-intro h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  color: #000;
}

.kitchnox .kx-gallery-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  color: #555;
}

.kitchnox .kx-gallery-intro--photos {
  margin-top: 90px;
  margin-bottom: 40px;
}

.kitchnox .kx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kitchnox .kx-gallery-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eceef1;
}

.kitchnox .kx-gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kitchnox .kx-gallery-photo:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .kitchnox .kx-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .kitchnox .kx-gallery {
    padding: 60px 0 80px;
  }
  .kitchnox .kx-gallery-intro h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .kitchnox .kx-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Página Contact ===== */
.kitchnox .kx-contact {
  padding: 90px 0 100px;
  background: #f7f6f4;
}

.kitchnox .kx-contact-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.kitchnox .kx-contact-intro .sub-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-color);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kitchnox .kx-contact-intro h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  color: #000;
}

.kitchnox .kx-contact-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  color: #555;
}

.kitchnox .kx-contact .kx-quote-card {
  height: calc(100% - 30px);
}

.kitchnox .kx-contact-info {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 40px 36px;
  background: rgb(17, 24, 39);
  color: #fff;
}

.kitchnox .kx-contact-info h3 {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  color: #fff;
}

.kitchnox .kx-contact-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.kitchnox .kx-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.kitchnox .kx-contact-list li img {
  flex: none;
  width: 44px;
  height: auto;
  filter: brightness(1.3) saturate(1.3);
}

.kitchnox .kx-contact-list h5 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.kitchnox .kx-contact-list a,
.kitchnox .kx-contact-list p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  color: #fff;
}

.kitchnox .kx-contact-list a:hover {
  color: var(--theme-color);
}

.kitchnox .kx-contact-list .kx-contact-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.kitchnox .kx-contact-quote {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.kitchnox .kx-contact-quote p {
  margin: 0 0 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991px) {
  .kitchnox .kx-contact .kx-quote-card,
  .kitchnox .kx-contact-info {
    height: auto;
  }
}

@media (max-width: 575px) {
  .kitchnox .kx-contact {
    padding: 60px 0 70px;
  }
  .kitchnox .kx-contact-intro h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .kitchnox .kx-contact-info {
    padding: 30px 22px;
  }
}

.kitchnox .kx-contact-form .kx-quote-actions {
  margin-top: 26px;
}

/* ===== Services (catálogo de productos) ===== */
.kitchnox .kx-svc {
  padding: 90px 0 70px;
  background: #fff;
}
.kitchnox .kx-svc--alt { background: #f7f6f4; }
.kitchnox .kx-svc--intro { padding: 80px 0 20px; }

.kitchnox .kx-svc-intro,
.kitchnox .kx-svc-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.kitchnox .kx-svc-head { margin-bottom: 36px; }

.kitchnox .kx-svc-intro .sub-title,
.kitchnox .kx-svc-head .sub-title,
.kitchnox .kx-svc-cta .sub-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-color);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kitchnox .kx-svc-intro h2,
.kitchnox .kx-svc-head h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  color: #000;
}
.kitchnox .kx-svc-intro p,
.kitchnox .kx-svc-head p { margin: 0; font-size: 17px; line-height: 28px; color: #555; }

.kitchnox .kx-svc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.kitchnox .kx-svc-chips a {
  padding: 10px 26px;
  border: 1px solid rgb(17, 24, 39);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(17, 24, 39);
  transition: all 0.3s;
}
.kitchnox .kx-svc-chips a:hover { background: rgb(17, 24, 39); color: #fff; }

.kitchnox .kx-svc-styles { margin: 0 0 30px; text-align: center; font-size: 17px; color: #333; }

.kitchnox .kx-svc-card { margin-bottom: 40px; }
.kitchnox .kx-svc-card--full {
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
}
.kitchnox .kx-svc-card h3 { margin: 18px 0 8px; font-size: 24px; line-height: 30px; font-weight: 600; color: #000; }
.kitchnox .kx-svc-card p { margin: 0; font-size: 16px; line-height: 26px; color: #666; }

.kitchnox .kx-svc-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eceae6, #d9d6d0);
}
.kitchnox .kx-svc-media--tall { aspect-ratio: 3 / 4; }
.kitchnox .kx-svc-media--portrait { aspect-ratio: 4 / 5; }
.kitchnox .kx-svc-media--wide { aspect-ratio: 16 / 10; }
.kitchnox .kx-svc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.kitchnox .kx-svc-card:hover .kx-svc-media img { transform: scale(1.04); }

.kitchnox .kx-svc-placeholder {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 22px;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 20px;
}

.kitchnox .kx-svc-spec { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e3e1dc; }
.kitchnox .kx-svc-spec div { margin-bottom: 12px; }
.kitchnox .kx-svc-spec dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.kitchnox .kx-svc-spec dd { margin: 0; font-size: 15px; line-height: 22px; color: #333; }

.kitchnox .kx-svc-btn { margin-top: auto; align-self: flex-start; }
.kitchnox .kx-svc-card--full .kx-svc-spec { margin-bottom: 18px; }

.kitchnox .kx-svc-cta { padding: 90px 0; background: rgb(17, 24, 39); text-align: center; }
.kitchnox .kx-svc-cta h2 { margin: 0 0 14px; font-size: 40px; line-height: 48px; font-weight: 600; color: #fff; }
.kitchnox .kx-svc-cta p { max-width: 640px; margin: 0 auto 30px; font-size: 17px; line-height: 28px; color: rgba(255,255,255,.75); }
.kitchnox .kx-svc-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

@media (max-width: 767px) {
  .kitchnox .kx-svc { padding: 60px 0 40px; }
  .kitchnox .kx-svc-intro h2,
  .kitchnox .kx-svc-head h2 { font-size: 32px; line-height: 40px; }
  .kitchnox .kx-svc-cta h2 { font-size: 30px; line-height: 38px; }
}

/* Filtro All / Cabinets / Doors / Countertops */
.kitchnox .kx-svc--intro-filter { padding: 0; background: #fff; }
.kitchnox .kx-svc--intro { padding-bottom: 0; }
.kitchnox .kx-svc-chips { margin: 0 0 10px; }
.kitchnox .kx-svc-chips button {
  padding: 10px 28px;
  border: 1px solid rgb(17, 24, 39);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(17, 24, 39);
  cursor: pointer;
  transition: all 0.3s;
}
.kitchnox .kx-svc-chips button:hover,
.kitchnox .kx-svc-chips button.is-active { background: rgb(17, 24, 39); color: #fff; }

/* Botón secundario sobre fondo oscuro: blanco en reposo; hover fondo blanco y texto rojo */
.kitchnox .theme-btn.kx-svc-btn--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff !important;
}
.kitchnox .theme-btn.kx-svc-btn--ghost:before,
.kitchnox .theme-btn.kx-svc-btn--ghost:after {
  background: #fff;
}
.kitchnox .theme-btn.kx-svc-btn--ghost:hover {
  color: var(--theme-color) !important;
}

/* Selector de estilo / perfil del configurador 3D (mismo lenguaje que .kx-svc-chips) */
.kitchnox .kx-door-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kitchnox .kx-door-opts button {
  padding: 10px 22px !important;
  border: 1px solid rgb(17, 24, 39) !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgb(17, 24, 39) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--jost), sans-serif !important;
  line-height: 1.2 !important;
}
.kitchnox .kx-door-opts button:hover,
.kitchnox .kx-door-opts button.is-active {
  background: rgb(17, 24, 39) !important;
  color: #fff !important;
}


/* Menú móvil: mismo navy del header (la plantilla usaba verde #1d2a28) */
.kitchnox .mobile-menu .menu-box {
  background: rgb(17, 24, 39) !important;
}
.kitchnox .mobile-menu .navigation li.dropdown .dropdown-btn {
  background: rgba(255, 255, 255, 0.08);
}


/* Centrado del contenido: el reset `.kitchnox * { margin:0 }` anula margin:auto de globals.css */
.kitchnox .container-page,
.kx-site-footer .container-page {
  margin-left: auto !important;
  margin-right: auto !important;
}
