:root {
  --black: #0d0c0a;
  --charcoal: #171411;
  --ink: #241d17;
  --wood: #9b6a3a;
  --wood-dark: #5f3b20;
  --wood-light: #d8b176;
  --cream: #f3eadf;
  --paper: #fffaf2;
  --muted: #70665a;
  --line: rgba(13, 12, 10, 0.14);
  --light-line: rgba(255, 250, 242, 0.16);
  --shadow: 0 24px 80px rgba(13, 12, 10, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.lightbox-open,
body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(216, 177, 118, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--wood-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  min-height: 64px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: var(--paper);
  background: rgba(13, 12, 10, 0.88);
  border-bottom: 1px solid var(--light-line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 2px 5px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(216, 177, 118, 0.2);
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: clamp(134px, 14vw, 178px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--wood-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  color: var(--black);
  background: var(--wood-light);
  border-radius: 4px;
  font-weight: 900;
  white-space: nowrap;
}

.header-phone:hover {
  background: #efc98d;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  padding: 118px clamp(20px, 6vw, 86px) 62px;
  overflow: hidden;
  color: var(--paper);
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.94), rgba(13, 12, 10, 0.72) 48%, rgba(13, 12, 10, 0.26)),
    url("assets/mobiliario/capa-hero.JPEG") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 820px;
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood-light);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 7vw, 6.25rem);
  line-height: 0.95;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 820px;
  margin-bottom: 12px;
  color: #fff3df;
  font-size: clamp(1.22rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-text,
.section-heading > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(36, 29, 23, 0.72);
  font-size: 1.05rem;
}

.hero-text {
  margin-bottom: 34px;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: var(--wood-light);
  border-color: var(--wood-light);
}

.btn-primary:hover {
  background: #efc98d;
}

.btn-secondary {
  color: var(--paper);
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.36);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--paper);
  background: var(--wood-dark);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 20px clamp(16px, 3vw, 34px);
  background: linear-gradient(145deg, #6f4525, #4d301b);
}

.trust-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--black);
  background: var(--wood-light);
  border-radius: 50%;
  font-weight: 900;
}

.section {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 6vw, 86px);
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.services {
  color: var(--paper);
  background: var(--charcoal);
}

.services .section-heading > p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 255px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.02)),
    #11100e;
  border: 1px solid rgba(255, 250, 242, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--wood-light), var(--wood));
}

.service-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--wood-light);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.72);
}

.gallery-section {
  background: var(--paper);
}

.featured-gallery {
  padding-top: clamp(56px, 7vw, 86px);
  padding-bottom: clamp(70px, 9vw, 110px);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--paper);
  background: var(--black);
  border-color: var(--black);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
  border: 0;
  border-radius: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img,
.gallery-item picture {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  min-height: 0;
  object-fit: cover;
  transition: transform 360ms ease, opacity 360ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 32%, rgba(13, 12, 10, 0.52));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 0.88;
  transform: scale(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.about {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(243, 234, 223, 0.98)),
    repeating-linear-gradient(90deg, rgba(155, 106, 58, 0.08) 0 1px, transparent 1px 14px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.about-copy {
  padding: clamp(24px, 4vw, 40px);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(13, 12, 10, 0.88), rgba(13, 12, 10, 0.72)),
    url("assets/mobiliario/m%20(1).JPEG") center / cover;
  box-shadow: var(--shadow);
}

.about-copy p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.testimonials {
  background: var(--paper);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(13, 12, 10, 0.08);
}

.testimonial-card p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.testimonial-card strong {
  color: var(--wood-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.coverage {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.92), rgba(13, 12, 10, 0.72)),
    url("assets/mobiliario/m%20(18).JPEG") center / cover;
}

.coverage-inner {
  max-width: 940px;
}

.coverage p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(76px, 10vw, 128px) clamp(20px, 6vw, 86px);
  color: var(--paper);
  background: var(--black);
}

.contact-copy p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 250, 242, 0.78);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-line);
}

.contact-list dt {
  color: var(--wood-light);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--black);
  background: rgba(255, 250, 242, 0.97);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2c271f;
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--black);
  background: #fff;
  border: 1px solid rgba(13, 12, 10, 0.18);
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wood);
  outline: 3px solid rgba(155, 106, 58, 0.2);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.map {
  position: relative;
  grid-column: 1 / -1;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--light-line);
  box-shadow: var(--shadow);
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.map-directions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--paper);
  background: rgba(13, 12, 10, 0.86);
  border-color: rgba(255, 250, 242, 0.34);
  backdrop-filter: blur(10px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 6vw, 86px);
  color: rgba(255, 250, 242, 0.72);
  background: #080706;
}

.site-footer img {
  width: 160px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.site-footer p {
  max-width: 680px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--wood-light);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 13px 18px;
  color: #fff;
  background: #188347;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(13, 12, 10, 0.34);
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #188347;
  background: #fff;
  border-radius: 50%;
  font-size: 1rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #126d3a;
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px clamp(14px, 4vw, 62px);
  color: var(--paper);
  background: rgba(5, 4, 3, 0.96);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  width: min(1160px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.52);
}

.lightbox figcaption,
.lightbox-count {
  margin: 12px 0 0;
  color: rgba(255, 250, 242, 0.86);
  text-align: center;
}

.lightbox-count {
  color: var(--wood-light);
  font-size: 0.9rem;
  font-weight: 900;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  cursor: pointer;
  background: rgba(255, 250, 242, 0.1);
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 4px;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 50px;
  height: 62px;
  font-size: 2.8rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .service-grid,
  .trust-bar,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section,
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 62px;
  }

  .brand {
    grid-column: 1;
  }

  .nav-toggle {
    display: inline-block;
    grid-column: 2;
    justify-self: end;
  }

  .header-phone {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    order: 3;
  }

  .main-nav {
    position: fixed;
    top: 62px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 20px;
    visibility: hidden;
    background: rgba(13, 12, 10, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--light-line);
    font-size: 1rem;
  }

  .hero {
    min-height: 80vh;
    padding-top: 112px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(13, 12, 10, 0.62), rgba(13, 12, 10, 0.92)),
      url("assets/mobiliario/capa-hero.JPEG") center / cover;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand img {
    width: 132px;
  }

  .hero,
  .section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .trust-bar,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .service-card span {
    margin-bottom: 28px;
  }

  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-directions {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .filter-btn {
    width: 100%;
  }

  .contact-form {
    padding: 20px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}
