:root {
  --red: #ba1230;
  --red-dark: #7d0c21;
  --ink: #22242a;
  --muted: #686d78;
  --line: #e8e5e1;
  --paper: #ffffff;
  --soft: #f7f4f0;
  --gold: #f2c94c;
  --green: #138a59;
  --green-dark: #0d6f46;
  --shadow: 0 24px 70px rgba(28, 22, 22, 0.16);
  --shadow-soft: 0 18px 42px rgba(28, 22, 22, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #fff 48%, #faf8f5 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 54px);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(232, 229, 225, 0.9);
  box-shadow: 0 12px 40px rgba(30, 20, 20, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  transform: skew(-10deg);
  box-shadow: 0 12px 24px rgba(186, 18, 48, 0.28);
}

.brand-mark > span {
  position: absolute;
  right: -5px;
  bottom: 6px;
  width: 16px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
}

.brand-mark > span::after {
  position: absolute;
  top: -5px;
  left: 5px;
  width: 5px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.78;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.header-action {
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 30px rgba(19, 138, 89, 0.28);
}

.site-header.is-scrolled .header-action,
.site-header.is-open .header-action {
  background: var(--green);
  color: #fff;
}

.whatsapp-action::before,
.whatsapp-btn::before,
.floating-whatsapp::before {
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(790px, 92vh);
  overflow: hidden;
  color: #fff;
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 78%, rgba(186, 18, 48, 0.46) 0%, rgba(186, 18, 48, 0) 34%),
    linear-gradient(90deg, rgba(36, 4, 8, 0.9) 0%, rgba(36, 4, 8, 0.62) 42%, rgba(36, 4, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 38%, rgba(0, 0, 0, 0.54) 100%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 142px 0 104px;
}

.hero-content h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  padding: 0 22px;
}

.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px rgba(186, 18, 48, 0.26);
}

.btn.whatsapp-btn {
  background: var(--green);
  box-shadow: 0 14px 32px rgba(19, 138, 89, 0.28);
}

.btn.secondary {
  background: #fff;
  color: var(--red);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 36px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 126px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span,
.trust-strip small {
  display: block;
}

.trust-strip small {
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.trust-strip strong {
  font-size: 1.03rem;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 7vw, 86px);
}

.sticky-copy {
  align-self: start;
  position: sticky;
  top: 118px;
}

.section-copy h2,
.section-heading h2,
.feature-band h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.about-text p {
  margin: 0 0 18px;
  color: #3f424a;
  font-size: 1.06rem;
}

.framed-copy {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.framed-copy::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 4px;
  height: 82px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-highlights span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: #484c54;
  font-size: 0.9rem;
  font-weight: 800;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 64px clamp(18px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(247, 244, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.feature-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-grid article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(28, 22, 22, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-grid article img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.category-grid span {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(186, 18, 48, 0.28);
}

.category-grid h3 {
  margin: 22px 22px 10px;
  font-size: 1.32rem;
}

.category-grid p {
  margin: 0 22px 24px;
  color: var(--muted);
}

.service-journey {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 76px clamp(18px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(14, 89, 60, 0.94), rgba(19, 138, 89, 0.88)),
    url("img/interior.jpg") center / cover;
  color: #fff;
}

.service-journey .eyebrow {
  color: var(--gold);
}

.journey-copy h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
}

.journey-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.journey-steps div {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.journey-steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--green);
}

.journey-steps span {
  display: block;
  margin-top: 42px;
  font-size: 1.05rem;
  font-weight: 900;
}

.gallery-section {
  padding-top: 24px;
}

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

.gallery button {
  grid-column: span 4;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #ddd;
  cursor: zoom-in;
  box-shadow: 0 12px 28px rgba(28, 22, 22, 0.08);
}

.gallery button:nth-child(1),
.gallery button:nth-child(3) {
  grid-column: span 6;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  transform: scale(1.04);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 42px;
  align-items: center;
  padding: 84px clamp(18px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(125, 12, 33, 0.97) 0%, rgba(186, 18, 48, 0.92) 100%),
    url("img/fachada.jpg") center / cover;
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  font-style: normal;
  backdrop-filter: blur(10px);
}

.contact-card strong {
  font-size: 1.28rem;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card a {
  margin-top: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 54px);
  background: #151517;
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(13, 111, 70, 0.34);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 70px 18px 18px;
  background: rgba(10, 8, 8, 0.92);
}

.modal.is-open {
  display: grid;
}

.modal img {
  max-width: min(1120px, 100%);
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .trust-strip,
  .intro,
  .feature-band,
  .service-journey,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .sticky-copy {
    position: static;
  }

  .journey-steps {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(47, 6, 12, 0.42) 0%, rgba(47, 6, 12, 0.78) 58%, rgba(47, 6, 12, 0.92) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 46px;
  }

  .hero-content h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .category-grid,
  .gallery,
  .journey-steps,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .category-grid article {
    min-height: 0;
  }

  .category-grid h3 {
    margin-top: 20px;
  }

  .framed-copy {
    padding: 26px 22px;
  }

  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(3) {
    grid-column: auto;
    min-height: 230px;
  }

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

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0 15px;
    font-size: 0.92rem;
  }
}
