:root {
  --green-950: #0f211a;
  --green-900: #183127;
  --green-800: #233e33;
  --green-100: #e9eee7;
  --gold-700: #9a6429;
  --gold-500: #c08a4b;
  --ivory: #fbfaf7;
  --warm: #f3eee6;
  --stone: #d8d1c5;
  --ink: #111817;
  --muted: #66706a;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(15, 33, 26, 0.16);
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  padding: 4px max(20px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background: rgba(15, 33, 26, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 52px;
}

.brand {
  display: flex;
  align-items: center;
  width: min(198px, 34vw);
  padding: 0;
}

.brand img,
.footer-brand-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

.site-header .brand img,
.footer-brand-logo {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  padding: 3px 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

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

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

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta {
  color: var(--green-950);
  background: var(--white);
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button-primary {
  color: var(--white);
  background: var(--gold-700);
  box-shadow: 0 12px 28px rgba(154, 100, 41, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.button-dark {
  color: var(--white);
  background: var(--green-900);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(640px, 86vh, 840px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 33, 26, 0.9) 0%, rgba(15, 33, 26, 0.75) 33%, rgba(15, 33, 26, 0.22) 70%),
    linear-gradient(0deg, rgba(15, 33, 26, 0.4), rgba(15, 33, 26, 0.08));
}

.hero-content {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding-top: 128px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
  overflow-wrap: break-word;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: 5.7rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.6rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  color: var(--white);
  background: var(--green-900);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.intro-grid > div {
  padding: 26px 28px;
  background: var(--green-900);
}

.intro-grid strong,
.intro-grid span {
  display: block;
}

.intro-grid strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.intro-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-light {
  background: var(--ivory);
}

.section-muted {
  background: var(--warm);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  max-width: 700px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(15, 33, 26, 0.08);
}

.service-card-featured {
  grid-row: span 2;
}

.service-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.service-card-featured img {
  height: 560px;
}

.service-card-body {
  padding: 26px;
}

.service-kicker {
  margin-bottom: 8px;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card p:last-child,
.project-item p,
.process-grid p,
.materials-grid p,
.contact-grid p {
  color: var(--muted);
}

.brand-statement {
  color: var(--white);
  background: var(--green-950);
}

.statement-grid,
.materials-grid,
.quote-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.statement-grid p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--gold-500);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

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

.project-item {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.project-item span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold-700);
  font-weight: 800;
}

.materials {
  background: var(--white);
}

.gallery-section {
  background: var(--ivory);
}

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

.gallery-grid figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 33, 26, 0.08);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-grid figcaption {
  min-height: 84px;
  padding: 14px 16px;
  color: var(--green-900);
  font-weight: 800;
}

.gallery-grid figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-actions {
  margin-top: 22px;
  text-align: center;
}

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

.materials-list li {
  padding: 22px;
  border-left: 4px solid var(--gold-700);
  background: var(--green-100);
}

.materials-list strong,
.materials-list span {
  display: block;
}

.materials-list strong {
  margin-bottom: 5px;
}

.materials-list span {
  color: var(--muted);
}

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

.process-grid article {
  position: relative;
  padding: 26px 22px;
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.process-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-900);
  font-weight: 800;
}

.seo-section {
  color: var(--white);
  background: var(--green-950);
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.seo-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.seo-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.faq-section {
  background: var(--ivory);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid details {
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 33, 26, 0.06);
}

.faq-grid summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--green-900);
  font-weight: 800;
}

.faq-grid p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.quote-section {
  color: var(--white);
  background:
    linear-gradient(rgba(24, 49, 39, 0.94), rgba(24, 49, 39, 0.94)),
    url("assets/living-room.webp") center/cover;
}

.quote-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(192, 138, 75, 0.24);
}

.contact-section {
  background: var(--ivory);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(15, 33, 26, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(15, 33, 26, 0.08);
  font-style: normal;
}

.instagram-link {
  color: var(--gold-700);
  font-weight: 800;
}

.contact-phone {
  color: var(--green-900);
  font-size: 1.7rem;
  font-weight: 800;
}

.site-footer {
  padding: 30px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.footer-main a {
  color: var(--gold-500);
  font-weight: 800;
}

.footer-main p,
.footer-bottom p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  white-space: nowrap;
}

.footer-credit span {
  color: rgba(255, 255, 255, 0.48);
}

.footer-credit-logo {
  width: 82px;
  height: auto;
  opacity: 0.58;
  filter: grayscale(1) brightness(0) invert(1);
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

.footer-credit:hover span,
.footer-credit:focus-visible span,
.footer-credit:hover .footer-credit-logo,
.footer-credit:focus-visible .footer-credit-logo {
  opacity: 0.82;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 22;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(18, 140, 83, 0.32);
  font-size: 1.35rem;
  font-weight: 800;
}

.floating-whatsapp .whatsapp-icon {
  width: 30px;
  height: 30px;
}

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

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(15, 33, 26, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .header-cta {
    justify-self: end;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3.3rem;
  }

  .intro-grid,
  .services-grid,
  .statement-grid,
  .materials-grid,
  .quote-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    grid-row: auto;
  }

  .service-card-featured img,
  .service-card img {
    height: 340px;
  }

  .project-grid,
  .process-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid img {
    height: 205px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-brand-logo {
    max-width: 240px;
  }

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

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 54px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    width: min(178px, 60vw);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    order: 0;
  }

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 33, 26, 0.92), rgba(15, 33, 26, 0.72)),
      linear-gradient(0deg, rgba(15, 33, 26, 0.28), rgba(15, 33, 26, 0.12));
  }

  .hero-content {
    padding-top: 112px;
  }

  h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-grid {
    gap: 0;
  }

  .intro-grid > div {
    padding: 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 64px 0;
  }

  .service-card-featured img,
  .service-card img {
    height: 250px;
  }

  .service-card-body,
  .quote-form,
  .contact-card {
    padding: 22px;
  }

  .project-grid,
  .process-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 190px;
  }

  .project-item {
    min-height: auto;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
