/* ==========================================================
 * Líneas Vivas Carpintería - estilos del sitio
 * Depurado para contener solo las reglas que usa index.html.
 * Librerías (Bootstrap 3, FlexSlider, animación WOW) en vendor.min.css
 * ========================================================== */

/* Tipografía de la marca: Axiforma (Kastelov) */
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Axiforma"; src: url("../fonts/axiforma-bolditalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }

html {
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: scrollbar;
}

body {
  background: #fff;
  font: 400 14px/1.8 "Axiforma", "Helvetica Neue", Arial, sans-serif;
  color: #666;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: -13px;
}

.align-center {
  text-align: center;
}

a,
.btn {
  transition: all 0.125s ease-in-out 0s;
}

.work-caption,
.work-image > img,
.work-image:after {
  transition: all 0.3s ease-in-out 0s;
}

.btn,
.form-control,
.form-control:hover,
.form-control:focus {
  box-shadow: none;
}

.alert,
.form-control {
  border-radius: 2px;
}

.main {
  position: relative;
  background-color: #fff;
  z-index: 1;
}

.module,
.module-small {
  position: relative;
  padding: 140px 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.module-small {
  padding: 70px 0;
}

.divider-d {
  border-top: 1px solid #202020;
  margin: 0;
}

.bg-dark,
.bg-dark-30,
.bg-dark-60,
.bg-dark-30 .module-title,
.bg-dark-60 .module-title {
  color: #fff;
}

.bg-dark {
  background: #252829;
}

.bg-dark-30:before {
  position: absolute;
  background: rgba(2, 2, 2, 0.4);
  content: " ";
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.bg-dark-60:before {
  position: absolute;
  background: rgba(34, 34, 34, 0.8);
  content: " ";
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-140 {
  padding-top: 140px !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-140 {
  padding-bottom: 140px !important;
}

.m-0 {
  margin: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.scroll-up {
  position: fixed;
  display: none;
  bottom: 7px;
  right: 110px; /* separado del botón flotante de WhatsApp */
  z-index: 999;
}

.scroll-up a {
  background: #fff;
  display: block;
  height: 28px;
  width: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  color: #000;
  opacity: 0.6;
  border-radius: 2px;
}

.scroll-up a:hover,
.scroll-up a:active {
  opacity: 1;
  color: #000;
}

.btn {
  border-radius: 0;
  font-family: "Axiforma", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  padding: 8px 37px;
}

.btn:active:focus,
.btn:focus {
  outline: 0;
}

.btn.btn-round {
  border-radius: 2px;
}

.btn.btn-w {
  background: rgba(255, 255, 255, 0.8);
  color: #111;
}

.btn.btn-w:hover,
.btn.btn-w:focus {
  background: white;
  color: #111;
}

.btn.btn-g {
  background: #e5e5e5;
  color: #111;
}

.btn.btn-g:hover,
.btn.btn-g:focus {
  background: #d8d8d8;
  color: #111;
}

.btn.btn-border-w {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn.btn-border-w:hover,
.btn.btn-border-w:focus {
  background: #fff;
  border-color: transparent;
  color: #111;
}

.btn.btn-d {
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
}

.btn.btn-d:hover,
.btn.btn-d:focus {
  background: #111111;
}

::-moz-selection {
  background: #000;
  color: #fff;
}

::-webkit-selection {
  background: #000;
  color: #fff;
}

::selection {
  background: #000;
  color: #fff;
}

.form-control {
  font-family: "Axiforma", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  height: 33px;
  border: 1px solid #EAEAEA;
  border-radius: 2px;
  transition: all 0.4s ease-in-out 0s;
}

.form-control:focus {
  border-color: #CACACA;
}

a {
  color: #111;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #aaa;
  outline: 0;
}

.bg-dark a {
  color: #aaa;
}

.bg-dark a:hover,
.bg-dark a:focus {
  color: #fff;
}

h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 400;
}

p,
ol,
ul,
blockquote {
  margin: 0 0 20px;
}

blockquote {
  border: 0;
  font-style: italic;
  font-size: 15px;
  padding: 0;
}

.font-alt {
  font-family: "Axiforma", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.font-serif {
  font-family: "Axiforma", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
}

.module-title {
  position: relative;
  letter-spacing: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 30px;
  color: #111;
  margin: 0 0 70px;
}

.module-subtitle {
  text-align: center;
  font-size: 20px;
  color: #111;
  margin-bottom: 70px;
}

.module-icon {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.module-title + .module-subtitle {
  margin-top: -35px;
}

.flex-direction-nav a,
.flex-control-nav > li > a {
  transition: all 0.3s ease-in-out 0s;
}

.flex-direction-nav a {
  position: absolute;
  display: block;
  height: 100%;
  width: 50%;
  top: 0;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  margin: 0;
}

.flex-direction-nav .flex-prev {
  opacity: 0;
  left: 0;
  cursor: url(../images/prev-light.png), e-resize;
}

.flex-direction-nav .flex-next {
  opacity: 0;
  right: 0;
  cursor: url(../images/next-light.png), e-resize;
}

.flex-control-nav {
  position: absolute;
  width: auto;
  left: 50%;
  bottom: 20px;
  z-index: 11;
  text-align: center;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flex-control-nav > li {
  display: inline-block;
  margin: 5px 3px;
}

.flex-control-nav > li > a {
  background: transparent;
  border: 1px solid #fff;
  display: block;
  height: 6px;
  width: 6px;
  border-radius: 6px;
}

.flex-control-nav > li > a:hover,
.flex-control-nav > li > a.flex-active {
  background: #fff;
}

.hero-slider {
  margin: 0 !important;
}

.hero-slider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

.hero-slider,
.hero-slider .flex-viewport {
  height: 100% !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.hero-slider .slides {
  height: 100% !important;
  transition-delay: 1s;
}

.hero-slider .flex-direction-nav a {
  width: 15%;
}

.hero-slider .slides li {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100% !important;
  width: 100%;
  padding: 0;
  margin: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

.hero-caption {
  position: relative;
  display: table;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

.caption-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.navbar-custom {
  background-color: rgba(10, 10, 10, 0.9);
  border: 0;
  border-radius: 0;
  z-index: 1000;
  font-family: "Axiforma", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  transition: background, padding 0.8s ease-in-out 0s;
  padding-bottom: 15px;
  padding-top: 15px;
}

.navbar a {
  transition: color 0.125s ease-in-out 0s;
}

.navbar-custom .navbar-brand {
  letter-spacing: 4px;
  font-weight: 400;
  font-size: 22px;
  color: #fff;
}

.navbar-custom .nav li > a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li > a:hover {
  background: none;
  color: #fff;
}

.navbar-custom .navbar-toggle .icon-bar {
  background: #fff;
}

.home-section {
  position: relative;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  z-index: 0;
  background-size: cover;
}

.hero-subtitle {
  letter-spacing: 2px;
  font-size: 20px;
}

.hero-title {
  letter-spacing: 6px;
  font-weight: 400;
  font-size: 48px;
}

.features-item {
  margin: 20px 0;
  text-align: center;
}

.features-icon,
.alt-features-icon {
  line-height: 1.2;
  font-size: 42px;
  color: #111;
}

.features-title,
.alt-features-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
  font-size: 14px;
  color: #111;
  margin: 16px 0 15px;
}

.alt-features-item {
  position: relative;
  padding-left: 55px;
  margin: 30px 0 0 0;
}

.alt-features-icon {
  position: absolute;
  height: 40px;
  width: 40px;
  left: 0;
  top: 0;
  text-align: center;
  line-height: 40px;
  font-size: 28px;
}

.alt-features-title {
  font-size: 13px;
  margin: 0 0 10px;
}

.filter {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0 0 70px;
}

.filter > li {
  display: inline-block;
  padding: 0 0 10px;
  margin: 0 25px;
}

.works-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-grid.works-grid-gut {
  margin: 0 0 0 -10px;
}

.works-grid.works-grid-gut .work-item {
  padding: 0 0 10px 10px;
}

.work-item {
  width: 50%;
  float: left;
  margin: 0;
}

.works-grid-3 .work-item {
  width: 33.3333%;
}

.work-image {
  position: relative;
  overflow: hidden;
}

.work-image img {
  display: block;
  overflow: hidden;
  width: 100%;
}

.work-image:after {
  position: absolute;
  display: block;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.work-caption {
  width: 100%;
  padding: 0 20px;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 0;
  text-align: center;
  overflow: hidden;
}

.work-title {
  font-size: 14px;
  color: #fff;
  margin: 0 0 6px;
}

.work-item:hover .work-image:after {
  background: rgba(0, 0, 0, 0.6);
}

.work-item:hover .work-image > img {
  -webkit-transform: scale(1.1) rotate(2deg);
  -ms-transform: scale(1.1) rotate(2deg);
  transform: scale(1.1) rotate(2deg);
}

.work-item:hover .work-caption {
  bottom: 50%;
  opacity: 1;
  z-index: 3;
  -webkit-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
}

.works-grid.works-hover-w .work-title {
  color: #111;
}

.works-grid.works-hover-w .work-item:hover .work-image:after {
  background: rgba(255, 255, 255, 0.8);
}

.callout-text {
  color: rgba(255, 255, 255, 0.6);
}

.callout-title {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.callout-btn-box {
  text-align: right;
  padding-top: 4px;
}

.testimonial:before {
  background: rgba(2, 2, 2, 0.4);
}

.testimonials-slider {
  position: relative;
}

.testimonial-text {
  text-align: center;
  font-style: normal;
  font-size: 18px;
}

.testimonial-caption {
  text-align: center;
  padding: 10px 0 0;
}

.testimonial-title {
  font-size: 14px;
}

.testimonial-descr {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

@media (min-width: 768px) {
.navbar-transparent {
    background: transparent;
    padding-bottom: 15px;
    padding-top: 15px;
}
}

@media (max-width: 1200px) {
.alt-features-item {
    margin: 20px 0 0;
}
}

@media (max-width: 1050px) {
.navbar-custom {
    letter-spacing: 1px;
}
}

@media (max-width: 991px) {
.navbar-custom {
    letter-spacing: 0;
}
.hero-title {
    letter-spacing: 5px;
    font-size: 38px;
}
.work-item,
.works-grid-3 .work-item {
    width: 50%;
}
}

@media (max-width: 767px) {
.navbar-custom .navbar-nav {
    letter-spacing: 3px;
    margin-top: 1px;
    margin-bottom: 0;
}
.navbar-custom li > a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
.navbar-custom li a {
    border-bottom: 1px solid rgba(73, 71, 71, 0.15) !important;
}
.hero-subtitle {
    letter-spacing: 1px;
    font-size: 14px;
}
.hero-title {
    letter-spacing: 2px;
    font-size: 28px;
}
.features-item {
    margin: 0 0 30px;
}
.alt-features-item {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: center;
}
.alt-features-icon {
    position: static;
    width: auto;
    margin: 0 auto 8px;
}
.callout-text {
    margin: 0 0 30px;
}
.callout-text,
.callout-btn-box {
    text-align: center;
}

}

@media only screen and (max-width: 480px) {
.work-item,
.works-grid-3 .work-item {
    width: 100%;
}
}

/* ==========================================================
 * Ajustes propios
 * ========================================================== */

/* Botón flotante de WhatsApp */
.btn-whatsapp-flotante {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-whatsapp-flotante:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.btn-whatsapp-flotante svg {
  width: 32px;
  height: 32px;
}

/* Oscurecido de las imágenes del slider principal */
.hero-overlay:before {
  background: rgba(0, 0, 0, 0.45);
}

/* Iconos de servicios (antes eran estilos en línea) */
.features-icon img {
  max-width: 60px;
  width: 100%;
  height: auto;
}

.features-icon img.icon-sm {
  max-width: 43px;
}

/* Rejilla de servicios: cada fila empieza alineada aunque los textos
   tengan distinta altura */
@media (min-width: 768px) and (max-width: 991px) {
  .multi-columns-row > .col-sm-6:nth-child(2n+1) { clear: left; }
}
@media (min-width: 992px) {
  .multi-columns-row > .col-md-3:nth-child(4n+1) { clear: left; }
}

/* Logotipo horizontal (blanco, sin fondo) alineado con el menú */
.navbar-custom .navbar-brand {
  height: auto;
  padding: 0;
  margin: 0 !important;
}

.brand-logo {
  display: block;
  width: 240px;
  height: auto;
  margin: 0;
}

/* Logo y menú en la misma línea, centrados verticalmente */
@media (min-width: 768px) {
  .navbar-custom > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-custom > .container:before,
  .navbar-custom > .container:after {
    display: none;
  }
  .navbar-custom .navbar-header,
  .navbar-custom .navbar-collapse,
  .navbar-custom .navbar-nav {
    float: none;
  }
  .navbar-custom .navbar-nav {
    margin: 0;
  }
}

/* En celular: logo a la izquierda y botón del menú a la derecha, alineados */
@media (max-width: 767px) {
  .navbar-custom .navbar-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-custom .navbar-header:before,
  .navbar-custom .navbar-header:after {
    display: none;
  }
  .navbar-custom .navbar-toggle {
    margin: 0;
  }
  .brand-logo {
    width: 190px;
  }
}

/* Tabletas: logo y menú más compactos para que quepan en una sola línea */
@media (min-width: 768px) and (max-width: 991px) {
  .brand-logo {
    width: 160px;
  }
  .navbar-custom .nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}

/* Botones de la portada: Contactar ahora + Ver proyectos */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Textos que antes eran títulos (h2/h3) y ahora son párrafos por SEO:
   conservan exactamente el mismo aspecto */
p.hero-title,
p.hero-subtitle {
  line-height: 1.4;
  margin-top: 20px;
}

p.module-title,
p.callout-title,
p.work-title {
  line-height: 1.4;
}

.alt-features-item p {
  margin: 0;
}

/* Títulos de sección largos: reparte las líneas de forma pareja */
.module-title {
  text-wrap: balance;
}


/* ==========================================================
 * Pie de página: bloque de contacto + barra inferior
 * ========================================================== */
.site-footer {
  background: #2a2c2d;
  color: #fff;
}

.sf-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.sf-eyebrow {
  margin: 0 0 12px;
  color: #c69c6d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.sf-title {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.sf-text {
  margin: 0 0 26px;
  max-width: 46ch;
  color: #cfc8bf;
  font-size: 15px;
}

.btn.sf-btn {
  background: #25d366;
  color: #0b2e17;
  font-weight: 700;
  padding: 14px 26px;
}

.btn.sf-btn:hover,
.btn.sf-btn:focus {
  background: #1fb457;
  color: #0b2e17;
}

.sf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sf-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #1d1f20;
  border-radius: 3px;
  padding: 16px 18px;
  font-size: 15px;
  min-width: 0;
  word-break: break-word;
}

.sf-ico {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  color: #c69c6d;
}

.sf-label {
  display: block;
  color: #a9a198;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.site-footer .sf-list a {
  color: #fff;
}

.site-footer .sf-list a:hover {
  color: #c69c6d;
}

.sf-bar {
  background: #1d1f20;
  color: #a9a198;
  font-size: 13px;
}

.sf-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.sf-bar .container:before,
.sf-bar .container:after {
  display: none;
}

@media (max-width: 767px) {
  .sf-grid {
    grid-template-columns: 1fr;
    padding: 60px 0;
  }
  .sf-title {
    font-size: 26px;
  }
  .sf-bar .container {
    justify-content: center;
    text-align: center;
    padding-bottom: 100px; /* deja libre el botón flotante de WhatsApp */
  }
}

/* Menú: opción activa (sección actual) y hover con el dorado de la marca */
.navbar-custom .nav > li > a:after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 2px;
  background: #c69c6d;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li.active > a,
.navbar-custom .nav > li.active > a:hover,
.navbar-custom .nav > li.active > a:focus {
  background: none;
  color: #c69c6d;
}

.navbar-custom .nav > li > a:hover:after,
.navbar-custom .nav > li.active > a:after {
  transform: scaleX(1);
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-custom .nav > li > a:after {
    left: 8px;
    right: 8px;
  }
}

@media (max-width: 767px) {
  .navbar-custom .nav > li > a:after {
    display: none;
  }
}

/* Redes sociales en el pie de página */
.sf-social {
  margin-top: 32px;
}

.sf-social ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.sf-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.sf-social a:hover,
.sf-social a:focus {
  background: #fff;
  border-color: #fff;
  color: #1d1f20;
}

.sf-social svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================
 * Ventana emergente del portafolio
 * ========================================================== */
.works-grid .work-item {
  cursor: zoom-in;
}

.works-grid .work-item:focus-visible {
  outline: 2px solid #c69c6d;
  outline-offset: -2px;
}

body.lb-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 16, 17, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 70px 30px;
}

.lightbox[hidden] {
  display: none;
}

.lb-figure {
  margin: 0;
  width: min(1200px, 100%);
  display: flex;
  flex-direction: column;
  background: #1d1f20;
}

/* La foto se ve completa (sin recortes) y lo más grande posible */
.lb-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain;
  background: #0f1011;
  margin: 0;
}

.lb-caption {
  padding: 18px 24px;
  color: #cfc8bf;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "cat cta" "title cta" "desc cta";
  column-gap: 24px;
  row-gap: 4px;
  align-items: center;
}

.lb-cat { grid-area: cat; }
.lb-title { grid-area: title; }
.lb-desc { grid-area: desc; }
.lb-cta { grid-area: cta; }

.lb-cat {
  color: #c69c6d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.lb-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.lb-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.lb-cta {
  align-self: center;
  padding: 12px 20px;
  border-radius: 2px;
  background: #c69c6d;
  color: #1d1f20 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lb-cta:hover,
.lb-cta:focus {
  background: #fff;
}

.lb-close,
.lb-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lb-close:hover,
.lb-nav:hover,
.lb-close:focus-visible,
.lb-nav:focus-visible {
  opacity: 1;
  color: #c69c6d;
  outline: none;
}

.lb-close {
  top: 14px;
  right: 22px;
  font-size: 42px;
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  padding: 10px 14px;
}

.lb-prev {
  left: 6px;
}

.lb-next {
  right: 6px;
}

@media (max-width: 767px) {
  .lightbox {
    padding: 56px 12px 20px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .lb-img {
    max-height: 60vh;
  }
  .lb-caption {
    grid-template-columns: 1fr;
    grid-template-areas: "cat" "title" "desc" "cta";
    row-gap: 8px;
    padding: 20px 18px 24px;
  }
  .lb-cta {
    justify-self: start;
    margin-top: 6px;
  }
  .lb-nav {
    top: 28vh;
    font-size: 44px;
    background: rgba(0, 0, 0, 0.35);
  }
}

/* Íconos SVG en línea (reemplazan a Font Awesome) */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
}

.module-icon .icon {
  width: 32px;
  height: 32px;
}

.scroll-up .icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

/* ==========================================================
 * Páginas de servicio
 * ========================================================== */
.service-hero {
  position: relative;
  color: #fff;
  background-color: #252829;
  background-size: cover;
  background-position: center;
  padding: 170px 0 110px;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: #c69c6d;
}

.breadcrumbs a:hover {
  color: #fff;
}

.service-hero h1 {
  max-width: 18ch;
  margin: 0 0 16px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  text-wrap: balance;
}

.service-lead {
  max-width: 52ch;
  margin: 0 0 30px;
  font-size: 18px;
  color: #ece6de;
}

.hero-buttons-left {
  justify-content: flex-start;
}

.service-intro {
  padding: 100px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.service-grid h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  text-wrap: balance;
}

.service-grid p {
  font-size: 15px;
  line-height: 1.85;
}

.service-box {
  background: #f6f2ec;
  border-radius: 3px;
  padding: 30px 30px 14px;
}

.service-box h3 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9d7547;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #333;
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #c69c6d;
  border-bottom: 2px solid #c69c6d;
  transform: rotate(-45deg);
}

.service-steps {
  background: #f6f2ec;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: paso;
}

.steps li {
  counter-increment: paso;
  background: #fff;
  border-radius: 3px;
  padding: 28px 24px;
}

.steps li:before {
  content: "Paso " counter(paso);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9d7547;
}

.step-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.steps li p:last-child {
  margin: 0;
  font-size: 14px;
}

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

.faq-item {
  border-bottom: 1px solid #e6dfd5;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "+";
  flex: none;
  font-size: 26px;
  line-height: 1;
  color: #c69c6d;
  transition: transform 0.2s ease;
}

.faq-item[open] summary:after {
  transform: rotate(45deg);
}

.faq-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

.faq-item p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
}

.service-others {
  background: #252829;
  color: #fff;
}

.service-others h2 {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c69c6d;
}

.service-others ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-others a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
}

.service-others a:hover,
.service-others a:focus {
  border-color: #c69c6d;
  color: #c69c6d;
}

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

@media (max-width: 767px) {
  .service-hero {
    padding: 130px 0 70px;
  }
  .service-hero h1 {
    font-size: 32px;
  }
  .service-lead {
    font-size: 16px;
  }
  .hero-buttons-left {
    justify-content: flex-start;
  }
  .service-intro {
    padding: 70px 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-grid h2 {
    font-size: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Enlace "Ver ..." de cada servicio en inicio */
.features-link {
  display: inline-block;
  margin-top: -6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9d7547;
}

.features-link:hover,
.features-link:focus {
  color: #111;
}

/* Lista de servicios en el pie de página */
.sf-services {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-services .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.sf-services .container:before,
.sf-services .container:after {
  display: none;
}

.sf-services .sf-label {
  margin: 0 6px 0 0;
}

.sf-services a {
  color: #cfc8bf;
  font-size: 13px;
}

.sf-services a:hover,
.sf-services a:focus {
  color: #fff;
}
