:root {
  --cream: #f7f0e6;
  --ivory: #fffaf3;
  --sand: #eadfce;
  --linen: #f2eadf;
  --taupe: #a48162;
  --clay: #896b52;
  --cocoa: #604b3c;
  --espresso: #3c281d;
  --charcoal: #302a26;
  --muted: #76685e;
  --line: rgba(96, 75, 60, 0.18);
  --shadow: 0 24px 70px rgba(60, 40, 29, 0.14);
  --soft-shadow: 0 12px 35px rgba(60, 40, 29, 0.10);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--espresso);
  color: white;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

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

.top-strip {
  background: var(--taupe);
  color: #fff8ef;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.top-strip__inner {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip__left,
.top-strip__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 250, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand__mark {
  width: 52px;
  height: 52px;
  color: var(--cocoa);
  flex: 0 0 auto;
}

.brand__name {
  display: block;
  color: var(--espresso);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.brand__tagline {
  display: block;
  margin-top: 5px;
  color: var(--clay);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

.nav a {
  position: relative;
  padding: 34px 0 31px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 27px;
  height: 2px;
  width: 0;
  margin: auto;
  background: var(--taupe);
  transition: width 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--espresso);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icon-link,
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cocoa);
  background: var(--ivory);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.icon-link:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
  background: var(--espresso);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background: var(--cocoa);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(70, 48, 34, 0.88) 0%, rgba(70, 48, 34, 0.70) 34%, rgba(70, 48, 34, 0.16) 66%, rgba(70, 48, 34, 0.02) 100%),
    linear-gradient(0deg, rgba(60,40,29,0.16), rgba(60,40,29,0.06));
}

.hero__content {
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 590px;
  color: #fff8ef;
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #f0d9bd;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--espresso);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 500;
}

.hero h1 {
  color: #fff8ef;
  font-size: clamp(44px, 7vw, 78px);
  letter-spacing: -0.04em;
  max-width: 760px;
}

.hero h1 em,
.page-hero h1 em,
.section-heading h2 em {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero__line {
  width: 64px;
  height: 2px;
  background: #fff8ef;
  margin: 26px 0 20px;
}

.hero__text {
  max-width: 520px;
  margin: 0 0 26px;
  color: rgba(255, 248, 239, 0.92);
  font-size: 17px;
}

.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 0;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

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

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
}

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

.btn--light {
  background: var(--ivory);
  color: var(--espresso);
}

.btn--light:hover {
  background: var(--sand);
}

.btn--outline {
  border-color: rgba(255, 248, 239, 0.65);
  color: #fff8ef;
  background: rgba(255,255,255,0.05);
}

.btn--outline:hover {
  background: rgba(255,248,239,0.16);
}

.btn--taupe {
  background: var(--taupe);
  color: #fff8ef;
}

.feature-strip {
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 38px 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-icon,
.step-icon {
  width: 48px;
  height: 48px;
  color: var(--taupe);
}

.feature-item h3,
.mini-card h3,
.step h3,
.product-card h3,
.service-card h3,
.contact-card h3 {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--espresso);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 850;
}

.feature-item p,
.mini-card p,
.step p,
.product-card p,
.service-card p,
.contact-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 74px 0;
}

.section--tight {
  padding: 52px 0;
}

.section--cream {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.04em;
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--espresso);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
  white-space: nowrap;
}

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

.mini-card,
.product-card,
.service-card,
.contact-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.mini-card__image,
.product-card__image {
  aspect-ratio: 4 / 2.75;
  overflow: hidden;
}

.mini-card__image img,
.product-card__image img,
.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.mini-card:hover img,
.product-card:hover img,
.gallery-card:hover img {
  transform: scale(1.045);
}

.mini-card__body,
.product-card__body {
  padding: 20px 18px 22px;
  text-align: center;
}

.process-band {
  display: grid;
  grid-template-columns: 1.15fr 3fr;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.process-band__intro {
  padding: 42px;
  background: rgba(255,250,243,0.55);
}

.process-band__intro h2 {
  font-size: clamp(31px, 3.5vw, 45px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.process-band__intro p {
  margin: 0 0 20px;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  min-height: 260px;
  padding: 42px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid var(--line);
}

.step__number {
  margin: 18px 0 10px;
  color: var(--espresso);
  font-weight: 850;
  letter-spacing: 0.1em;
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--linen);
}

.page-hero {
  position: relative;
  background: var(--cocoa);
  color: #fff8ef;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(60,40,29,0.88), rgba(60,40,29,0.54)),
    url('../images/hero-carpet.jpg') center right / cover no-repeat;
  z-index: -1;
}

.page-hero__inner {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
  padding: 74px 0;
}

.page-hero h1 {
  color: #fff8ef;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.page-hero p {
  margin: 0;
  color: rgba(255,248,239,0.92);
  font-size: 17px;
  max-width: 640px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.text-panel {
  padding: 42px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.text-panel h2 {
  font-size: clamp(31px, 4vw, 46px);
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.text-panel p,
.rich-text p {
  color: var(--muted);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--charcoal);
}

.check-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--taupe);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
  box-shadow: inset 0 0 0 3px var(--ivory);
  background: var(--taupe);
}

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

.service-card,
.contact-card {
  padding: 30px;
  border-radius: var(--radius);
}

.service-card__icon,
.contact-card__icon {
  width: 54px;
  height: 54px;
  color: var(--taupe);
  margin-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  border-radius: var(--radius);
}

.product-card__body {
  text-align: left;
  padding: 24px;
}

.product-card .btn {
  margin-top: 18px;
  min-height: 46px;
  padding: 0 18px;
  width: 100%;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: #fff8ef;
  padding: 52px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff8ef;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 650px;
  color: rgba(255,248,239,0.86);
  margin: 0 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card a {
  color: var(--espresso);
  font-weight: 800;
}

.map-panel {
  min-height: 330px;
  background:
    radial-gradient(circle at 20% 25%, rgba(164,129,98,0.35), transparent 28%),
    radial-gradient(circle at 70% 65%, rgba(96,75,60,0.18), transparent 35%),
    linear-gradient(135deg, #f8f1e7, #e9dcc8);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
  color: var(--cocoa);
  box-shadow: var(--soft-shadow);
}

.map-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--espresso);
  margin-bottom: 8px;
}

.site-footer {
  background: var(--linen);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr 1.25fr 1.25fr;
  gap: 34px;
  padding: 54px 0 42px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo .brand {
  min-width: unset;
}

.footer-logo .brand__mark {
  width: 46px;
  height: 46px;
}

.footer-logo .brand__name {
  font-size: 18px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--espresso);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 850;
}

.footer-col p {
  margin: 0 0 16px;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--espresso);
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--espresso);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  background: var(--espresso);
  color: var(--ivory);
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.footer-contact__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 13px;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f8f4d;
  color: white;
  box-shadow: 0 16px 34px rgba(31,143,77,0.28);
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31,143,77,0.36);
}

.feature-icon svg,
.step-icon svg,
.service-card__icon svg,
.contact-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.icon-link svg,
.nav-toggle svg {
  width: 21px;
  height: 21px;
  display: block;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

.notice {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 18px 20px;
  color: var(--muted);
  border-radius: 14px;
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: 92px 20px auto 20px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    background: var(--ivory);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

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

  .process-band {
    grid-template-columns: 1fr;
  }

  .step {
    border-top: 1px solid var(--line);
  }

  .service-grid,
  .product-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .top-strip__inner {
    justify-content: center;
    text-align: center;
  }

  .top-strip__right {
    display: none;
  }

  .site-header__inner {
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    min-width: unset;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .brand__tagline {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .nav {
    inset: 78px 14px auto 14px;
  }

  .hero,
  .hero__content {
    min-height: 560px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(70, 48, 34, 0.92), rgba(70, 48, 34, 0.60)),
      linear-gradient(0deg, rgba(60,40,29,0.20), rgba(60,40,29,0.08));
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero__text {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .feature-strip__grid,
  .card-grid,
  .steps-grid,
  .gallery-grid,
  .service-grid,
  .product-grid,
  .contact-grid,
  .footer-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-item {
    grid-template-columns: 46px 1fr;
  }

  .process-band__intro,
  .text-panel,
  .cta-band {
    padding: 30px 24px;
  }

  .step {
    min-height: unset;
    padding: 32px 24px;
    border-left: 0;
  }

  .footer-bottom__inner {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 15px;
  }
}
