:root {
  --ink: #171512;
  --charcoal: #282521;
  --muted: #6f6960;
  --ivory: #fbf7ef;
  --champagne: #e8d5b6;
  --gold: #b9935a;
  --stone: #d6d0c5;
  --graphite: #232424;
  --bronze: #a96843;
  --line: rgba(40, 37, 33, 0.14);
  --white: #ffffff;
  --whatsapp: #25d366;
  --phone: #1d5f9f;
  --shadow-soft: 0 18px 50px rgba(27, 25, 21, 0.11);
  --shadow-strong: 0 28px 80px rgba(18, 17, 15, 0.24);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.sector-intro h2,
.two-column h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(180px, 15vw, 245px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #39342e;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #171512;
  background: rgba(185, 147, 90, 0.14);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 64px 0 76px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.86) 48%, rgba(35, 36, 36, 0.92) 48%, rgba(35, 36, 36, 0.96) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: 54px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 5.8rem);
  line-height: 0.95;
}

.hero__text {
  max-width: 650px;
  margin: 24px 0 0;
  color: #504a42;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero__actions,
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--cosmetic,
.btn--primary {
  color: #1d1811;
  background: linear-gradient(135deg, var(--champagne), #fff2d4);
  box-shadow: 0 14px 34px rgba(185, 147, 90, 0.22);
}

.btn--construction {
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #4a4139);
}

.btn--whatsapp {
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25);
}

.btn--call {
  color: var(--white);
  background: var(--phone);
}

.hero-composition {
  position: relative;
  min-height: 575px;
}

.sector-tile {
  position: absolute;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

.sector-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(17, 15, 12, 0.76));
}

.sector-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.sector-tile:hover img {
  transform: scale(1.05);
}

.sector-tile--cosmetic {
  left: 0;
  top: 0;
  width: 58%;
  height: 390px;
}

.sector-tile--construction {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 390px;
}

.sector-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.sector-tile small,
.sector-tile em {
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.sector-tile strong {
  display: block;
  margin: 5px 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.08;
}

.sector-tile em {
  color: var(--champagne);
}

.sector-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.sector-intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cosmetic-section {
  background:
    linear-gradient(180deg, #fffaf1, #f3eadc);
}

.cosmetic-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.feature-image,
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.feature-image figcaption,
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(22, 18, 13, 0.84), rgba(22, 18, 13, 0));
  font-weight: 850;
}

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

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

.service-card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 38px rgba(27, 25, 21, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  border-color: rgba(185, 147, 90, 0.42);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #332717;
  background: var(--champagne);
}

.service-card__icon svg {
  width: 27px;
  height: 27px;
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.category-row span {
  padding: 10px 14px;
  border: 1px solid rgba(185, 147, 90, 0.34);
  border-radius: 999px;
  color: #4c4135;
  background: rgba(255, 255, 255, 0.54);
  font-weight: 780;
}

.construction-section {
  color: #efe8dc;
  background:
    linear-gradient(180deg, #272624, #191918);
}

.sector-intro--dark p:last-child {
  color: #c9bfb0;
}

.construction-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-strong);
}

.project-card--large {
  grid-row: 1 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.project-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(17, 15, 12, 0.88), rgba(17, 15, 12, 0));
}

.project-card span {
  color: #d7a16c;
  font-size: 0.72rem;
  font-weight: 900;
}

.project-card h3 {
  margin: 5px 0 0;
  color: var(--white);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.project-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #ddd3c4;
}

.construction-services {
  margin-top: 28px;
}

.construction-card {
  color: #efe8dc;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.construction-card:hover {
  border-color: rgba(169, 104, 67, 0.68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.construction-card p {
  color: #c9bfb0;
}

.about-section,
.gallery-section,
.contact-section {
  background: #fbf7ef;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
}

.content-box {
  color: var(--muted);
}

.content-box p:first-child {
  margin-top: 0;
}

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

.value-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.value-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}

.value-grid p {
  margin: 0;
}

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

.gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--stone);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.gallery-item--construction figcaption {
  background: linear-gradient(0deg, rgba(25, 25, 24, 0.9), rgba(25, 25, 24, 0));
}

.cta-strip {
  padding: 78px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 23, 20, 0.96), rgba(47, 42, 36, 0.94)),
    url("img/interior-kitchen.jpg") center / cover no-repeat;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.cta-strip h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.06;
}

.cta-strip p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: #ddd3c4;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: stretch;
}

.contact-card,
.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin: 0 0 18px;
}

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

.contact-list li {
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.contact-list a {
  color: var(--ink);
  font-weight: 850;
}

.interest-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.interest-options label {
  display: grid;
  gap: 6px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
  cursor: pointer;
}

.interest-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.interest-options span {
  font-weight: 900;
}

.interest-options small {
  color: var(--muted);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(8, 28, 32, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.floating-btn--whatsapp {
  background: var(--whatsapp);
}

.floating-btn--phone {
  background: var(--phone);
}

.site-footer {
  padding: 56px 0 24px;
  color: #f6efe3;
  background: #171512;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.72fr) minmax(170px, 0.72fr) minmax(170px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.footer-brand p,
.footer-column ul,
.footer-bottom p {
  margin: 0;
}

.footer-logo {
  width: min(100%, 300px);
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fbf7ef;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 360px;
  color: #c9bfb0;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #c9bfb0;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--champagne);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--champagne);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #c9bfb0;
}

.digital-signature a {
  color: var(--champagne);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1040px) {
  .navbar {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: auto;
    right: 18px;
    width: min(360px, calc(100vw - 28px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 247, 239, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    font-size: 0.84rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    background: linear-gradient(180deg, #fbf7ef 0%, #fbf7ef 58%, #232424 58%, #232424 100%);
  }

  .hero__grid,
  .sector-intro,
  .cosmetic-layout,
  .two-column,
  .contact-grid,
  .cta-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero-composition {
    min-height: 470px;
  }

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

  .construction-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-card--large {
    grid-row: auto;
  }

  .project-card {
    min-height: 340px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .logo img {
    width: clamp(150px, 46vw, 205px);
  }

  .hero {
    padding: 38px 0 50px;
    align-items: flex-start;
    background: linear-gradient(180deg, #fbf7ef 0%, #fbf7ef 50%, #232424 50%, #232424 100%);
  }

  .hero__grid {
    gap: 30px;
  }

  .hero h1 {
    max-width: 390px;
    font-size: clamp(2.35rem, 13vw, 3.4rem);
    line-height: 0.98;
  }

  .hero__text {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero__actions {
    display: none;
  }

  .hero-composition {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .sector-tile {
    position: relative;
    width: 100%;
    height: 168px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .sector-tile__body {
    padding: 18px;
  }

  .sector-tile strong {
    max-width: 250px;
    font-size: 1.22rem;
  }

  .feature-image img {
    min-height: 320px;
  }

  .service-grid,
  .service-grid--two,
  .gallery-grid,
  .value-grid,
  .interest-options,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-card,
  .contact-panel,
  .value-grid article {
    padding: 22px;
  }

  .category-row span {
    font-size: 0.9rem;
  }

  .project-card {
    min-height: 255px;
  }

  .gallery-item {
    aspect-ratio: 1.18 / 1;
  }

  .cta-strip {
    padding: 58px 0;
  }

  .cta-strip__actions,
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .interest-options label {
    min-height: 116px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .section {
    padding: 54px 0;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  .sector-tile {
    height: 156px;
  }

  .sector-tile__body {
    padding: 15px;
  }

  .sector-tile small,
  .sector-tile em,
  .nav-link {
    font-size: 0.7rem;
  }

  .service-card,
  .contact-card,
  .contact-panel {
    padding: 18px;
  }
}
