:root {
  --gold: #ffc527;
  --ink: #222222;
  --navy: #1e306e;
  --blue: #2fa5fb;
  --text: #434343;
  --soft: #f9f9f9;
  --line: #e6e6e6;
  --white: #ffffff;
  --font: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1140px;
  --header: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

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

a {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.topbar :focus-visible,
.hero :focus-visible,
.steps :focus-visible,
.site-footer :focus-visible,
.site-nav :focus-visible,
.wa-float:focus-visible {
  outline-color: var(--gold);
}

.topbar {
  background: var(--navy);
  color: var(--white);
  border-top: 4px solid var(--gold);
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
  padding: 9px 0;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-phone {
  color: var(--gold);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo svg {
  width: 42px;
  height: 42px;
  flex: none;
}

.logo strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-close {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.lang {
  display: flex;
  border: 1px solid #d9d9d9;
}

.lang button {
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 11px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  height: clamp(560px, calc(100svh - 126px), 820px);
  background: #141822;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-home {
  background-image: url("../assets/images/hero-1.jpg");
}

.slide-kitchen {
  background-image: url("../assets/images/kitchen.jpg");
}

.slide-living {
  background-image: url("../assets/images/hero-3.jpg");
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 34, 0.42), rgba(16, 20, 34, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 48px 0 88px;
}

.hero .lead,
.hero-title {
  color: var(--white);
}

.hero-title {
  margin: 10px 0 14px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero .lead {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--gold);
}

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

.hero-actions,
.btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

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

.btn-navy:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #ffd24d;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button[aria-current="true"] {
  width: 28px;
  background: var(--gold);
}

.band {
  padding: 88px 0;
}

.band-soft {
  background: var(--soft);
}

.panel,
.estimate-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 22px;
}

.estimate {
  position: static;
  margin-top: 0;
  z-index: auto;
}

.lead-form,
.estimate-form {
  display: grid;
  gap: 12px;
}

.estimate-form {
  grid-template-columns: 1.1fr 0.9fr 1.2fr auto;
  align-items: end;
}

.estimate-form .form-status,
.contact-card .btn-row {
  grid-column: 1 / -1;
}

.contact-card .btn-row {
  justify-content: flex-start;
}

body.nav-open {
  overflow: hidden;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font-size: 16px;
  font-weight: 400;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--navy);
  border-color: var(--navy);
}

.form-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.form-status a {
  font-weight: 700;
}

.form-note {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 46px);
}

.section-head p,
.about-copy p,
.contact-copy p {
  color: var(--text);
}

.about-copy p + p,
.contact-copy p + p {
  margin-top: 12px;
}

.trust {
  padding-top: 72px;
}

.trust-grid,
.service-grid,
.steps-grid,
.gallery-grid,
.footer-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

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

.trust-card,
.service-card {
  background: var(--soft);
  padding: 24px 22px 22px;
  border-top: 3px solid transparent;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

#services {
  background: var(--soft);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: stretch;
  min-height: 300px;
  height: 100%;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(34, 34, 34, 0.12);
}

.service-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--soft);
}

.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 18px 8px 18px 20px;
  background: var(--white);
}

.service-copy::before {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 0;
  width: 3px;
  background: var(--gold);
  transform: skewX(4deg);
  transform-origin: top left;
  pointer-events: none;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.service-card .icon {
  width: 28px;
  height: 28px;
  margin: 0 0 8px;
  background: transparent;
  border-radius: 0;
  color: var(--navy);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.trust-card h3,
.service-card h3,
.step h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.trust-card p,
.service-card p,
.step p {
  font-size: 15px;
}

.card-link {
  margin-top: auto;
  padding: 16px 0 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.card-link:hover {
  color: #145ea8;
}

.service-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 12px;
  padding: 7px 8px;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.service-card .card-link:hover {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 4px 10px rgba(34, 34, 34, 0.12);
}

.section {
  padding: 0;
}

.services,
.contact,
.about-card {
  background: transparent;
}

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

.about-grid,
.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-card,
.contact-card {
  background: var(--white);
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

.contact {
  background: var(--soft);
}

.contact-card {
  background: var(--white);
  box-shadow: 0 16px 40px rgba(20, 24, 40, 0.06);
}

.area-list,
.plain-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.area-list li,
.plain-list li {
  position: relative;
  padding-left: 16px;
  margin: 8px 0;
}

.area-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.plain-list + p {
  margin-top: 16px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.steps {
  background: var(--navy);
  color: var(--white);
}

.steps .eyebrow,
.steps h2,
.steps .section-head p,
.steps h3,
.steps p {
  color: var(--white);
}

.steps .eyebrow::before {
  background: var(--gold);
}

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

.step-num {
  display: block;
  color: var(--gold);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

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

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: static;
  padding: 14px 16px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item .mark {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  font-size: 20px;
}

.faq-item button[aria-expanded="true"] .mark {
  background: var(--navy);
  color: var(--white);
}

.faq-panel {
  padding: 0 36px 18px 0;
}

.faq-panel p {
  max-width: 70ch;
}

.site-footer {
  background: #222222;
  color: #d7d7d7;
  padding: 56px 0 20px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 32px;
}

.site-footer h2,
.site-footer strong {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .plain-list li::before {
  background: var(--gold);
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #3a3a3a;
  font-size: 14px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    color: var(--white);
    font-size: 28px;
    font-weight: 600;
  }

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

  .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 34px;
    cursor: pointer;
  }

  .trust-grid,
  .service-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .estimate-form .btn {
    grid-column: 1 / -1;
  }

  .service-card .card-link {
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .top-email {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 18px;
  }

  .estimate {
    margin-top: 0;
  }

  .estimate-card {
    box-shadow: none;
    padding: 8px 0 0;
    border-top: 0;
    background: transparent;
  }

  .section {
    padding: 64px 0;
  }

  .trust-grid,
  .service-grid,
  .steps-grid,
  .gallery-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .faq-item button {
    font-size: 16px;
  }

  .service-card {
    grid-template-columns: 50% 50%;
    min-height: 250px;
  }

  .service-copy {
    padding: 16px 12px 16px 20px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card .card-link {
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
