:root {
  --bg: #f6f2ec;
  --surface: rgba(255,255,255,0.85);
  --text: #2f2a25;
  --muted: #6d655d;
  --accent: #c89a3d;
  --accent-dark: #a97d26;
  --dark: #2b2621;
  --line: rgba(47, 42, 37, 0.08);
  --shadow: 0 20px 50px rgba(35, 29, 24, 0.12);
  --radius: 22px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Acrom', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(246,242,236,.95), rgba(246,242,236,.95)),
    url('/assets/1.jpg') center top/cover fixed;
}
img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: 110px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
.section-heading {
  max-width: 720px;
  text-align: center;
  margin: 0 auto 40px;
}
.section-heading.left {
  margin-left: 0;
  text-align: left;
}
.section-heading.light h2,
.section-heading.light p { color: #fff; }
.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(246,242,236,0.78);
  border-bottom: 1px solid rgba(47, 42, 37, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.logo-image {
  width: auto;
  height: 52px;
  max-width: min(230px, 46vw);
  object-fit: contain;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-weight: 600;
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .04em;
}

.language-link {
  color: var(--muted);
  transition: color .2s ease;
}

.site-nav .language-link::after {
  display: none;
}

.language-link:hover,
.language-link:focus-visible,
.language-link[aria-current="true"] {
  color: var(--accent-dark);
}

.language-link:focus-visible {
  outline: 3px solid rgba(222,180,95,.32);
  outline-offset: 4px;
}

.language-separator {
  color: rgba(47,42,37,.32);
}

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-social,
.footer-social {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid rgba(47,42,37,.08);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-social {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.45);
}

.site-nav .nav-social::after {
  display: none;
}

.nav-social svg {
  width: 19px;
  height: 19px;
}

.nav-social:hover,
.nav-social:focus-visible,
.footer-social:hover,
.footer-social:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.nav-social:focus-visible,
.footer-social:focus-visible {
  outline: 3px solid rgba(222,180,95,.32);
  outline-offset: 3px;
}

.nav-social svg,
.footer-social svg {
  fill: currentColor;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('/assets/hero.webp') center center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,23,20,0.78) 0%, rgba(27,23,20,0.45) 45%, rgba(27,23,20,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-copy {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  padding: 96px 0 120px;
  text-align: center;
}
.hero-copy .eyebrow {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .95;
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}
.hero-text {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.88);
  text-align: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: .25s ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #deb45f);
  color: #fff;
  box-shadow: 0 16px 35px rgba(200,154,61,.28);
}

.btn-full {
  width: 100%;
}
.hero-points {
  list-style: none;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.9);
  text-align: left;
}
.hero-points li::before { content: '•'; color: var(--accent); margin-right: 10px; }

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stats-grid article {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}
.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.stats-grid span {
  color: var(--muted);
}

/* Services */
.features-grid,
.process-grid {
  display: grid;
  gap: 24px;
}
.services-carousel {
  --visible-services: 3;
  --service-card-size: calc((100% - 48px) / 3);
  position: relative;
  padding: 0 56px 42px;
}
.services-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}
.services-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  transition: transform .38s ease;
  will-change: transform;
}
.card {
  flex: 0 0 var(--service-card-size);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.55);
}
.services-nav {
  position: absolute;
  top: calc(50% - 21px);
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(43,38,33,.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 16px 38px rgba(43,38,33,.18);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.services-nav-prev { left: 0; }
.services-nav-next { right: 0; }
.services-nav:hover,
.services-nav:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.services-nav:focus-visible {
  outline: 3px solid rgba(222,180,95,.32);
  outline-offset: 3px;
}
.services-nav:disabled {
  opacity: .36;
  cursor: default;
  transform: none;
}
.services-dots {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.services-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(43,38,33,.22);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.services-dot.is-active {
  background: var(--accent-dark);
  transform: scale(1.22);
}
.services-dot:focus-visible {
  outline: 3px solid rgba(222,180,95,.32);
  outline-offset: 3px;
}
.services-carousel.is-static .services-nav,
.services-carousel.is-static .services-dots {
  display: none;
}
.feature-item,
.process-item {
  height: 100%;
}

.service-card {
  height: 520px;
}

.card-image {
  flex: 0 0 240px;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.image-living {
  background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('/assets/1.jpg');
}

.image-tiles {
  background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), url('/assets/2.jpeg');
}

.image-bathroom {
  background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('/assets/3.jpg');
  background-position: right center;
}

.image-building {
  background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('/assets/4.jpg');
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}
.card-body h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.card-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 700;
}

/* Why us */
.section-dark {
  background: linear-gradient(135deg, rgba(43,38,33,.96), rgba(57,50,43,.96)), url('/assets/hero.webp') center/cover;
}
.features-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  color: rgba(255,255,255,.9);
}
.feature-icon {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 2rem;
}

.feature-item h3 {
  margin: 0 0 10px;
  color: #fff;
}

.feature-item p {
  margin: 0;
  line-height: 1.7;
}

/* Process */
.accent-section {
  background: rgba(255,255,255,.45);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}
.process-item {
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.process-item span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(200,154,61,.14);
  color: var(--accent-dark);
  font-weight: 800;
}

.process-item h3 {
  margin: 0 0 10px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-details {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}

.contact-form {
  background: linear-gradient(180deg, rgba(43,38,33,.96), rgba(57,50,43,.96));
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: rgba(255,255,255,.88);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(222,180,95,.85);
  box-shadow: 0 0 0 4px rgba(222,180,95,.16);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.5);
}

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

.form-note {
  margin: 14px 0 0;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
}

.form-note.is-success {
  color: #9fe3b1;
}

.form-note.is-error {
  color: #ffb4a8;
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display: grid;
  grid-template-areas:
    "top"
    "copy";
  gap: 22px;
}
.footer-top {
  grid-area: top;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.footer-wrap p { max-width: 560px; color: var(--muted); }
.footer-company h3 { margin: 0 0 10px; }
.footer-details {
  margin-top: 16px;
  display: grid;
  gap: 4px;
}
.footer-details p,
.footer-copy {
  font-size: .95rem;
}
.site-footer .footer-copy {
  grid-area: copy;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  justify-self: center;
}
.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.58);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1080px) {
  .features-grid,
  .process-grid,
  .stats-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .services-carousel {
    --visible-services: 2;
    --service-card-size: calc((100% - 24px) / 2);
  }
  .service-card { height: 530px; }
  .hero-copy { padding: 88px 0 108px; }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute; top: 78px; left: 16px; right: 16px; display: none; flex-direction: column;
    gap: 18px; padding: 20px; background: rgba(246,242,236,.98); border-radius: 18px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-wrap { gap: 14px; }
  .logo-image {
    height: 44px;
    max-width: min(190px, 52vw);
  }
  .hero {
    min-height: 82vh;
    background-position: 62% center;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(27,23,20,0.8) 0%, rgba(27,23,20,0.58) 48%, rgba(27,23,20,0.34) 100%);
  }
  .hero-copy { padding: 80px 0 104px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .features-grid,
  .process-grid,
  .stats-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .services-carousel {
    --visible-services: 1;
    --service-card-size: 100%;
    padding: 0 0 42px;
  }
  .services-nav {
    top: auto;
    bottom: 0;
  }
  .services-nav-prev { left: 0; }
  .services-nav-next { right: 0; }
  .services-dots {
    left: 54px;
    right: 54px;
  }
  .service-card { height: 500px; }
  .section { padding: 72px 0; }
  .stats { margin-top: -24px; }
  .stats-grid article,
  .card-body,
  .feature-item,
  .process-item,
  .contact-form { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-socials { justify-content: flex-start; flex-wrap: wrap; }
}
