@charset "UTF-8";
@import url(nunito/stylesheet.css);
@import url(konkhmer/style.css);
@import url("https://fonts.googleapis.com/css2?family=Cookie&family=Grand+Hotel&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  font-family: 'nunitoregular', sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 62.5rem;
  background-color: #FFF;
}

/* Header */
.header {
  flex-shrink: 0;
  background: #fff;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 1030;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.header .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.header .logo img {
  height: 30px;
  width: auto;
  max-width: 100%;
}

/* Navegación y menú (solo escritorio: en móvil el overlay usa columnas; ver media queries) */
@media (min-width: 992px) {
  .nav .nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
  }
}

.nav a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
}

.nav a:hover {
  color: #8B4513;
}

/* Selector de idioma (hermano del nav en .header) */
.header-lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-lang__select {
  display: block;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9c292b;
  background-color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.4rem -0.25rem 0.4rem 0.5rem;
  cursor: pointer;
  max-width: 12rem;
  line-height: 1.3;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.header-lang__select:hover {
  color: #7a2022;
  border-color: rgba(122, 32, 34, 0.65);
}

.header-lang__select:focus {
  outline: none;
}

.header-lang__select:focus-visible {
  outline: 2px solid #2196f3;
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .header {
    position: relative;
  }
  .header-lang {
    position: absolute;
    right: 3.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1061;
  }
}

.main-menu {
  font-size: 16px;
  color: #9C292B;
}

.main-menu a {
  color: #9C292B;
}

.main-menu a:hover {
  color: #7a2022;
}

/* Menú hamburguesa (visible solo en viewport estrecho; ver media query) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 100;
}

.menu-toggle:focus {
  outline: 2px solid #2196F3;
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, background-color 0.35s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line {
  background-color: #9c292b;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main */
.main {
  flex: 1 1 auto;
  background: #FCEEED;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

/* Hero (página home) */
.main:has(.hero) {
  padding: 0;
  align-items: stretch;
  background: transparent;
}

.hero {
  position: relative;
  background: #BF6836;
  min-height: 43.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero .row {
  align-items: center;
  width: 100%;
}

/* Columna de beans centrada verticalmente */
.hero .row > .col-lg-6:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 2.5rem;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.5rem;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-cta {
  display: inline-block;
  background: #FAE6D4;
  color: #97522A;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 5rem;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}

.hero-cta:hover {
  background: #FFD5B0;
  transform: translateY(-1px);
}

/* Beans: contenedor y dos formas orgánicas superpuestas */
.beans-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: -65%;
}

.bean1,
.hero-deck-card {
  position: absolute;
  overflow: hidden;
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.bean1 img,
.hero-deck-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.bean1 {
  top: 0;
  left: 0;
  width: 65%;
  z-index: 1;
}

.hero-deck {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  z-index: 2;
  min-height: 200px;
}

.hero-deck-card {
  left: auto;
  top: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  transform: none;
  transition: opacity 0.65s ease;
  will-change: opacity;
  border-radius: 4px;
  pointer-events: none;
}

.hero-deck-card.hero-deck-card--active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-deck-card {
    transition: none;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding-top: 2rem;
  }
  .beans-container {
    max-width: 400px;
    min-height: 320px;
    margin-top: -100%;
  }
}

/* Meet Our founder: inicio apilado (retrato encima), luego se separan izq / der */
.founder-visual {
  position: relative;
  width: 100%;
  min-height: 260px;
  margin: 0 auto;
}

.founder-visual::before {
  content: '';
  display: block;
  width: 100%;
  padding-bottom: 95%;
}

.founder-visual__layer {
  position: absolute;
  top: 0;
  width: 65%;
  transition: left 1.1s cubic-bezier(0.4, 0, 0.2, 1), right 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-visual__layer img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.founder-visual__bean {
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
}

.founder-visual__portrait {
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

.founder-visual--spread .founder-visual__bean {
  left: 0;
  transform: translateX(0);
}

.founder-visual--spread .founder-visual__portrait {
  left: 35%;
  right: auto;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .founder-visual__layer {
    transition: none;
  }
}

@media (max-width: 991px) {
  .founder-visual {
    min-height: 220px;
    max-width: 420px;
  }
  .founder-visual__layer {
    width: 72%;
  }
  .founder-visual--spread .founder-visual__portrait {
    left: 28%;
  }
}

/* Sección Who We Are / secciones genéricas */
.section-bg-ostion {
  background-color: #F2EFEC;
}

.section-bg-chedron {
  background-color: #BF6836;
}

.section-bg-salmon {
  background-color: #FAE6D4;
}

/* Our Expertise — SVG inline (flooring / doors): círculo + hover por capas */
.expertise-svg-wrap {
  display: inline-block;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  color: #663300;
  overflow: visible;
}

.expertise-svg-wrap .expertise-svg {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  vertical-align: middle;
  overflow: visible;
}

.expertise-svg-wrap .expertise-plank {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.expertise-svg-wrap .expertise-plank path {
  stroke: currentColor;
}

.expertise-svg-wrap:hover .expertise-plank--1 {
  transform: translate(2px, -4px);
}

.expertise-svg-wrap:hover .expertise-plank--2 {
  transform: translate(4px, -6px);
  transition-delay: 0.05s;
}

.expertise-svg-wrap:hover .expertise-plank--3 {
  transform: translate(5px, -7px);
  transition-delay: 0.1s;
}

.expertise-svg-wrap--doors {
  color: #603a16;
  /* Unidades obligatorias; -webkit- por Safari con <g> anidado en SVG */
}

.expertise-svg-wrap--doors .expertise-door-slide {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  transition: transform 0.45s ease;
}

.expertise-svg-wrap--doors:hover .expertise-door-slide {
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
}

.expertise-svg-wrap--windows {
  color: #603a16;
  /* Batientes: 50 % en X; gozne izquierdo en hoja izq., gozne derecho en hoja der. */
}

.expertise-svg-wrap--windows .expertise-window-sash--left,
.expertise-svg-wrap--windows .expertise-window-sash--right {
  transform-box: fill-box;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  transition: transform 0.45s ease;
}

.expertise-svg-wrap--windows .expertise-window-sash--left {
  transform-origin: left center;
}

.expertise-svg-wrap--windows .expertise-window-sash--right {
  transform-origin: right center;
}

.expertise-svg-wrap--windows:hover .expertise-window-sash--left, .expertise-svg-wrap--windows:hover .expertise-window-sash--right {
  -webkit-transform: scaleX(0.5);
  transform: scaleX(0.5);
}

.expertise-svg-wrap--lighting {
  color: #603a16;
  /* Repos: solo contorno; hover: relleno sólido (sin animación continua) */
}

.expertise-svg-wrap--lighting .expertise-lighting-glow {
  fill: currentColor;
  fill-opacity: 0;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill-opacity 0.3s ease;
}

.expertise-svg-wrap--lighting:hover .expertise-lighting-glow {
  fill-opacity: 1;
}

.expertise-svg-wrap--lighting .expertise-lighting-wire {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.expertise-svg-wrap--lighting:hover .expertise-lighting-wire {
  fill: #ffffff;
  stroke: #ffffff;
}

.expertise-svg-wrap--furniture {
  color: #603813;
}

.expertise-svg-wrap--furniture .expertise-furniture-slide {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  transition: transform 0.45s ease;
}

.expertise-svg-wrap--furniture:hover .expertise-furniture-slide {
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
}

.expertise-svg-wrap--decoration {
  color: #603a16;
}

.expertise-svg-wrap--decoration svg .expertise-decoration-foliage {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.expertise-svg-wrap--decoration:hover svg .expertise-decoration-foliage {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .expertise-svg-wrap:hover .expertise-plank {
    transform: none;
  }
  .expertise-svg-wrap--doors:hover .expertise-door-slide {
    -webkit-transform: none;
    transform: none;
  }
  .expertise-svg-wrap--windows:hover .expertise-window-sash--left,
.expertise-svg-wrap--windows:hover .expertise-window-sash--right {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  .expertise-svg-wrap--furniture:hover .expertise-furniture-slide {
    -webkit-transform: none;
    transform: none;
  }
  .expertise-svg-wrap--decoration svg .expertise-decoration-foliage {
    opacity: 1;
    transition: none;
  }
}

.section-bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sourciflex in Numbers */
.numbers-section {
  background-color: #fff;
}

.numbers-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.numbers-title-logo {
  height: 2rem;
  margin-top: -10px;
  width: auto;
  vertical-align: middle;
  display: block;
}

.numbers-card {
  background-color: #F2EFEC;
  min-height: 100%;
  padding: 2.2rem !important;
}

.numbers-card .section-title .js-count-up {
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 40px;
  line-height: 1.25;
}

.section-container {
  padding: 6rem 0rem;
}

@media (max-width: 991.98px) {
  .section-container {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-subtitle2 {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-description {
    font-size: 1.15rem;
  }
  .hero-cta {
    padding: 0.75rem 2.5rem;
    width: 100%;
    max-width: 20rem;
    text-align: center;
  }
  .pl5,
.pr5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .pt13 {
    padding-top: 4rem !important;
  }
  .contact-section {
    padding: 2.5rem 0;
    min-height: auto;
  }
  .contact-card {
    padding: 2rem 1.25rem;
    padding-top: 3rem;
  }
  .solutions-cta {
    padding: 0.75rem 2rem;
    width: 100%;
    max-width: 18rem;
  }
  .footer {
    padding: 3rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-inner {
    padding-bottom: 2.5rem;
  }
  .numbers-card {
    padding: 1.5rem !important;
    min-height: auto;
  }
}

.section-subtitle {
  color: #404040;
  text-align: left;
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 1.5rem;
  line-height: 2.25;
  margin-bottom: 1.5rem;
}

.section-subtitle2 {
  font-family: 'nunitosemibold_italic', sans-serif;
  text-align: left;
  font-size: 2rem;
  line-height: 1.5;
  margin-top: 0rem;
  margin-bottom: 2.7rem;
}

.section-subtitle3 {
  font-family: 'nunitoextrabold_italic', sans-serif;
  margin-top: 2rem;
  margin-bottom: -0.3rem;
}

.section-subtitle4 {
  font-family: 'nunitolight_italic', sans-serif;
}

.section-title {
  color: #404040;
  text-align: left;
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.section-title span {
  font-family: 'nunitobold', sans-serif;
}

.question-text {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 600;
}

.section-description {
  color: #404040;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.link-breadcrumb {
  color: #404040;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.link-breadcrumb:hover {
  text-decoration: underline;
}

.section-description-2 {
  font-size: 1.5rem;
  line-height: 2.1;
}

.section-link {
  color: #404040;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding-right: 2rem;
}

.section-link span {
  position: relative;
}

.section-link span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.1s ease;
}

.section-link img {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  margin-left: 0;
  display: block;
  transition: transform 0.1s ease 0.1s;
}

.section-link:hover span::after {
  width: 100%;
}

.section-link:hover img {
  transform: translateY(-50%) scaleX(1.2);
}

/* Solo visible en móvil (oculto en tablet/escritorio) */
.trampaMB {
  display: none;
}

@media (max-width: 575.98px) {
  .trampaMB {
    display: block;
    padding: 1rem 0;
  }
}

/* Case study card: enlace envuelve todo; hover = zoom imagen + efecto READ MORE / flecha */
.case-study-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.case-study-card-link .case-study-card {
  height: 100%;
}

.case-study-card-link .image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.case-study-card-link .image-container img {
  transition: transform 0.35s ease;
  will-change: transform;
}

.case-study-card-link:hover .image-container img, .case-study-card-link:focus-visible .image-container img {
  transform: scale(1.08);
}

.case-study-card-link:hover .section-link span::after, .case-study-card-link:focus-visible .section-link span::after {
  width: 100%;
}

.case-study-card-link:hover .section-link img, .case-study-card-link:focus-visible .section-link img {
  transform: translateY(-50%) scaleX(1.2);
}

.tac {
  text-align: center;
}

.pt2 {
  padding-top: 2rem;
}

.pb2 {
  padding-bottom: 2rem;
}

.pl2 {
  padding-left: 2rem;
}

.pr2 {
  padding-right: 2rem;
}

.pt5 {
  padding-top: 5rem;
}

.pt6 {
  padding-top: 6rem;
}

.pt13 {
  padding-top: 13rem;
}

.pb5 {
  padding-bottom: 5rem;
}

.pl5 {
  padding-left: 5rem;
}

.pr5 {
  padding-right: 5rem;
}

.fcw {
  color: #FFFFFF;
}

.fcg {
  color: #9C292B;
}

.pr {
  position: relative;
}

.mb2 {
  margin-bottom: 2rem;
}

.section-divider {
  height: 1px;
  opacity: 1;
  border: none;
  background-color: #9C292B;
  width: 300%;
  position: absolute;
  bottom: 0;
  right: 0;
}

.section-divider2 {
  height: 1px;
  opacity: 1;
  border: none;
  background-color: #9C292B;
  width: 100%;
}

/* Our Solutions */
.solutions-section {
  background: #F2EFEC;
  padding: 5rem 0;
}

.solution-card-image {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
}

.solutions-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

.solutions-cta {
  border: none;
  display: inline-block;
  background: #BF6836;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.solutions-cta:hover {
  color: #fff;
  background: #97522A;
  transform: translateY(-1px);
}

/* Case Studies */
.case-study-card {
  margin-bottom: -12rem;
}

.case-study-card-m0 {
  margin-bottom: 8rem;
}

.case-study-card-m0 .case-study-card-image {
  margin-top: 0rem;
}

.case-study-card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-top: -2rem;
}

.case-study-card-title {
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 1.5rem;
  color: #404040;
  margin: 1rem 0 0.5rem;
  text-align: left;
}

.case-study-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.5rem;
}

.case-study-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(64, 64, 64, 0.08);
  color: #404040;
  font-family: inherit;
}

.section-bg-chedron .case-study-card-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-bg-salmon .case-study-card-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.case-study-detail-categories {
  margin-top: 0.75rem;
}

.case-study-detail-categories__prefix {
  margin-right: 0.35rem;
}

/* Case studies — galería filtrable (Isotope) */
.case-studies-empty {
  text-align: center;
  padding: 2rem 0;
}

.case-studies-isotope {
  margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

.case-study-grid-item {
  width: 50%;
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-bottom: 2rem;
  box-sizing: border-box;
}

@media (max-width: 575.98px) {
  .case-study-grid-item {
    width: 100%;
  }
  .case-study-card {
    margin-bottom: 4rem;
  }
}

/* Case studies — filtro categoría (dropdown tipo lista con bordes) */
.category-dropdown {
  position: relative;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  z-index: 2;
}

.category-dropdown.is-open {
  z-index: 50;
}

.category-dropdown__box {
  position: relative;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.category-dropdown__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid transparent;
  background: #fff;
  color: #404040;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.category-dropdown__trigger:hover {
  background: #fafafa;
}

.category-dropdown__trigger:focus {
  outline: none;
}

.category-dropdown__trigger:focus-visible {
  outline: 2px solid #bf6836;
  outline-offset: 2px;
}

.category-dropdown.is-open .category-dropdown__trigger {
  border-bottom-color: #d9d9d9;
}

.category-dropdown__value {
  flex: 1;
  min-width: 0;
}

.category-dropdown__caret {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #404040;
  transition: transform 0.2s ease;
}

.category-dropdown.is-open .category-dropdown__caret {
  transform: rotate(180deg);
}

.category-dropdown__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  max-height: 22rem;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-dropdown__panel[hidden] {
  display: none !important;
}

.category-dropdown__option {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
  color: #404040;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.category-dropdown__option:last-child {
  border-bottom: none;
}

.category-dropdown__option:hover, .category-dropdown__option:focus-visible {
  background: #f5f5f5;
}

.category-dropdown__option:focus {
  outline: none;
}

.category-dropdown__option:focus-visible {
  outline: 2px solid #bf6836;
  outline-offset: -2px;
}

/* Call to Contact (CTA) */
.cta-contact-section {
  background: url("../img/piso.jpg") no-repeat center center;
  background-size: cover;
  padding: 4rem 0;
}

.cta-contact-block {
  background: #BF6836;
  max-width: 800px;
  margin: 0 auto;
}

.cta-contact-btn {
  background: #FAE6D4 !important;
  color: #9C292B !important;
  font-weight: 600;
  padding: 0.85rem 5rem;
  border: none;
  text-decoration: none;
  border-radius: 25px;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-contact-btn:hover {
  background: #FFD5B0 !important;
  transform: translateY(-1px);
}

/* Contact page - tarjeta beige sobre fondo texturado */
.contact-section {
  background: url("../img/contact.jpg") no-repeat center center;
  background-size: cover;
  padding: 4rem 0;
  min-height: 37.5rem;
}

.contact-card {
  background-color: #F5EDE8;
  padding: 3rem 2.5rem;
  padding-top: 6rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.contact-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-card-description {
  font-size: 1rem;
  color: #6b6b6b;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-card-info {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  color: #404040;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.contact-info-item a {
  color: #404040;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: #9C292B;
  text-decoration: underline;
}

.contact-info-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 0.2em;
  color: #404040;
}

.contact-info-icon svg {
  display: block;
}

.contact-card-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.contact-card-social a {
  color: #404040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-card-social a:hover {
  color: #9C292B;
}

/* Formulario con solo subrayado */
.contact-form-underline .contact-field {
  margin-bottom: 1.5rem;
}

.contact-form-underline .contact-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #404040;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-form-underline .contact-field-input {
  display: block;
  width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
  color: #404040;
  background: transparent;
  border: none;
  border-bottom: 1px solid #404040;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form-underline .contact-field-input::placeholder {
  color: #aaa;
}

.contact-form-underline .contact-field-input:focus {
  border-bottom-color: #404040;
}

.contact-form-underline .contact-field-textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-submit {
  background: #2d2d2d;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  border: none;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
  background: #404040;
  color: #fff;
  transform: translateY(-1px);
}

/* Footer */
.footer {
  flex-shrink: 0;
  background: #5A3821;
  color: #fff;
  padding: 5rem 0rem;
  margin-top: auto;
}

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

.footer-top {
  padding-bottom: 2rem;
}

.footer-top .row {
  align-items: flex-start;
}

/* Logo en la primera columna */
.footer-top .col-md-3:first-child .logo {
  display: inline-block;
}

.footer-top .col-md-3:first-child .logo img {
  height: 24px;
  width: auto;
}

/* Enlaces de navegación (mismo estilo que el antiguo .footer-nav a) */
.footer-nav-col a {
  font-size: 1rem;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-contact {
  min-width: 200px;
}

.footer-contact-title {
  font-family: 'Konkhmer Sleokchher Regular', sans-serif;
  font-size: 1rem;
  color: #FFFFFF;
  text-decoration: none;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-contact-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.4s ease;
}

.footer-contact-title:hover::after {
  width: 100%;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  flex-direction: row;
  margin-bottom: 1.6rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 0.15em;
}

.footer-icon svg {
  display: block;
}

.footer-address {
  max-width: 260px;
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: 4rem;
  justify-content: flex-start;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  opacity: 0.85;
}

.contact-social {
  display: flex;
  gap: 4rem;
  justify-content: flex-start;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.contact-social a {
  color: #404040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-social a:hover {
  opacity: 0.85;
}

.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/*
 * Móvil / tablet: menú tipo overlay pantalla completa (referencia estilo portfolio / uxestrella.com)
 * — overlay fijo, fade + ligero movimiento vertical, enlaces grandes centrados, animación escalonada
 */
/* Sass interpreta max() como función propia; el valor se guarda en string e interpola a CSS crudo */
@media (max-width: 991.98px) {
  .header {
    padding: 1rem 1rem;
  }
  .header-inner {
    position: relative;
    z-index: 1060;
  }
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1062;
  }
  /*
     * Overlay: altura = viewport completo; flex centra el bloque .menu-overlay__inner
     * en vertical y horizontal (evita el bug flex+scroll en el mismo nodo).
     */
  .nav.main-menu--overlay {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    min-height: -webkit-fill-available;
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    margin: 0;
    padding: max(1rem, env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px));
    flex: none;
    order: 0;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: hidden;
    overscroll-behavior: none;
    background: linear-gradient(165deg, #faf8f6 0%, #f2efec 45%, #fceeed 100%);
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s;
  }
  .nav.main-menu--overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .menu-overlay__inner {
    flex: 0 1 auto;
    align-self: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
    max-height: calc(100dvh - 2.5rem);
    max-height: calc(100svh - 2.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav .nav-list.nav-list--overlay {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0.35rem;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
  }
  .nav .nav-list.nav-list--overlay > li {
    width: 100%;
    max-width: 100%;
    list-style: none;
    opacity: 0;
    transform: translateY(1.1rem);
    transition: opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1), transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(1) {
    transition-delay: 0.08s;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(2) {
    transition-delay: 0.16s;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(3) {
    transition-delay: 0.24s;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(4) {
    transition-delay: 0.32s;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(5) {
    transition-delay: 0.4s;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li:nth-child(6) {
    transition-delay: 0.48s;
  }
  .nav .nav-list.nav-list--overlay a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    font-family: 'Konkhmer Sleokchher Regular', Georgia, serif;
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #404040;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  }
  .nav .nav-list.nav-list--overlay a:hover,
.nav .nav-list.nav-list--overlay a:focus-visible {
    color: #9c292b;
    transform: scale(1.02);
    background-color: rgba(156, 41, 43, 0.06);
    outline: none;
  }
  html.nav-open,
body.nav-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    height: 100%;
  }
  body.nav-open .menu-toggle .hamburger-line {
    background-color: #9c292b;
  }
}

@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  .nav.main-menu--overlay {
    transition: opacity 0.2s ease;
  }
  .nav .nav-list.nav-list--overlay > li {
    transition: opacity 0.2s ease;
    transform: none;
  }
  .nav.main-menu--overlay.is-open .nav-list--overlay > li {
    transition-delay: 0s !important;
  }
  .hamburger-line {
    transition: opacity 0.2s ease, background-color 0.2s ease;
  }
}

/* Escritorio: menú horizontal a la derecha (nav es hijo directo de .header, junto a .container) */
@media (min-width: 992px) {
  .header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
  }
  .header > .container {
    flex: 1 1 auto;
    min-width: 0;
  }
  .header-inner {
    flex-wrap: nowrap;
  }
  .menu-toggle {
    display: none !important;
  }
  .nav {
    position: static;
    flex: 0 0 auto;
    order: 0;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .nav.main-menu--overlay {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    inset: auto !important;
  }
  .menu-overlay__inner {
    display: contents;
    max-height: none !important;
    overflow: visible !important;
  }
  .nav .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 2.75rem;
  }
  .nav .nav-list li {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav .nav-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.85rem;
  }
  /* Clases overlay solo en móvil: en escritorio enlaces estándar */
  .nav-list--overlay li {
    opacity: 1;
    transform: none;
    width: auto;
  }
  .nav-list--overlay a {
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: normal;
    padding: 0.5rem 0.85rem;
    color: #9c292b;
    transform: none;
    background: transparent;
  }
  .nav-list--overlay a:hover,
.nav-list--overlay a:focus-visible {
    transform: none;
    background-color: transparent;
    color: #7a2022;
  }
}

@media (max-width: 640px) {
  .main h1 {
    font-size: 1.75rem;
  }
  .footer-contact {
    text-align: left;
    min-width: auto;
    width: 100%;
  }
  .footer-contact-item {
    justify-content: flex-start;
  }
  .footer-address {
    margin-left: 0;
    max-width: none;
  }
  .footer-social {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Our Expertise: círculo detrás de los SVG */
.service-icon {
  position: relative;
  width: 165px;
  height: 165px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
}

.service-icon img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .service-icon {
    width: 125px;
    height: 125px;
    margin-bottom: 0.75rem;
  }
}
