:root {
  --background: #f8f3ef;
  --surface: #fdf9f5;
  --surface-alt: #f2e9df;
  --text: #372c24;
  --muted: #6c6159;
  --border: #dfd1c2;
  --primary: #9f6322;
  --primary-dark: #69411a;
  --secondary: #3f6b51;
  --timber: #5d371d;
  --gold: #e9b13a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(52, 34, 17, 0.12);
  --radius: 18px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.text-center {
  text-align: center;
}

.site-main {
  min-height: 60vh;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}

.site-nav {
  background: rgba(248, 243, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 209, 194, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 118px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo {
  width: auto;
  height: 5rem;
  max-width: min(18rem, 46vw);
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
}

.brand-text {
  display: block;
  max-width: 15ch;
  line-height: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.menu-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list a,
.nav-desktop > a:not(.button),
.mobile-menu a:not(.button) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.menu-list a:hover,
.nav-desktop > a:not(.button):hover,
.mobile-menu a:not(.button):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
}

.mobile-menu {
  border-top: 1px solid rgba(223, 209, 194, 0.8);
  background: var(--surface);
}

.mobile-menu-inner {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.mobile-menu .menu-list {
  flex-direction: column;
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-block {
  width: 100%;
}

.button-large {
  min-height: 56px;
  padding: 1rem 1.8rem;
  font-size: 1rem;
}

.button-primary {
  background: var(--primary);
  color: var(--white);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.button-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.button-accent {
  background: var(--gold);
  color: var(--timber);
}

.button-accent:hover {
  background: #dba32e;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

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

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

.hero-overlay {
  background: rgba(66, 42, 24, 0.72);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(159, 99, 34, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}

.hero-content h1 {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
  text-wrap: balance;
}

.hero-content p {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-meta {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.section {
  padding: 6rem 0;
}

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

.section-dark {
  background: var(--timber);
  color: var(--white);
}

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
}

.section-heading-left {
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-copy {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
}

.section-copy-left {
  margin-inline: 0;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.card-grid,
.project-grid,
.process-grid,
.service-showcase-grid {
  display: grid;
  gap: 1.75rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 233, 223, 0.9));
  box-shadow: var(--shadow);
}

.metric-value {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.card,
.entry-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3,
.project-body h3,
.process-card h3,
.testimonial-card h3 {
  font-size: 1.35rem;
}

.icon-badge,
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(159, 99, 34, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.service-showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.75rem;
}

.service-showcase-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.service-showcase-body {
  padding: 1.6rem;
}

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

.service-detail-card {
  height: 100%;
}

.service-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.service-list li + li {
  margin-top: 0.75rem;
}

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

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.gallery-card-tall {
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: span 2;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
}

.check-item::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(63, 107, 81, 0.16);
  color: var(--secondary);
  font-size: 0.95rem;
}

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

.process-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.process-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.project-body {
  padding: 1.4rem;
}

.project-body p,
.card p,
.testimonial-card span {
  color: var(--muted);
}

.section-actions {
  margin-top: 2.25rem;
  text-align: center;
}

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

.testimonial-card {
  background: var(--surface-alt);
}

.stars {
  margin-bottom: 1rem;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.testimonial-text {
  font-style: italic;
}

.cta-section {
  background: var(--primary);
  color: var(--white);
}

.cta-section p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-details a,
.contact-details span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(113, 201, 140, 0.18);
  border: 1px solid rgba(113, 201, 140, 0.42);
}

.form-alert-error {
  background: rgba(255, 146, 123, 0.18);
  border: 1px solid rgba(255, 146, 123, 0.42);
}

.site-footer {
  background: var(--timber);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
  color: var(--white);
}

.site-footer h3 {
  font-size: 1.2rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links,
.footer-list {
  display: grid;
  gap: 0.7rem;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.content-shell {
  padding: 8rem 0 4rem;
}

.entry-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.woodcraft-theme .elementor-section.elementor-section-boxed > .elementor-container,
.woodcraft-theme .elementor-container {
  max-width: var(--container);
}

.woodcraft-theme .elementor-widget-container h1,
.woodcraft-theme .elementor-widget-container h2,
.woodcraft-theme .elementor-widget-container h3,
.woodcraft-theme .elementor-widget-container h4,
.woodcraft-theme .elementor-widget-container h5,
.woodcraft-theme .elementor-widget-container h6 {
  font-family: "Playfair Display", serif;
}

@media (max-width: 1180px) {
  .nav-inner {
    min-height: 108px;
  }

  .brand-logo {
    height: 4.5rem;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .hero-section {
    min-height: auto;
    padding: 8.5rem 0 4.5rem;
  }

  .hero-badge {
    font-size: 0.88rem;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-inner {
    min-height: 100px;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-text {
    max-width: 12ch;
    font-size: 1rem;
  }

  .service-showcase-grid,
  .gallery-grid,
  .service-detail-grid,
  .project-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card img,
  .service-showcase-card img {
    min-height: 240px;
    height: 240px;
  }
}

@media (max-width: 782px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .hero-section {
    min-height: auto;
    padding: 7.5rem 0 3.5rem;
  }

  .hero-badge {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 20px;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 3.75rem;
    max-width: min(15rem, 62vw);
  }

  .brand-logo-wrap {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .about-grid,
  .contact-grid,
  .check-grid,
  .service-grid,
  .service-showcase-grid,
  .gallery-grid,
  .service-detail-grid,
  .process-grid,
  .project-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .entry-card,
  .contact-card,
  .process-card {
    padding: 1.4rem;
  }

  .service-showcase-body {
    padding: 1.25rem;
  }

  .gallery-card img,
  .service-showcase-card img {
    min-height: 220px;
    height: 220px;
  }

  .contact-details {
    gap: 0.65rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .gallery-card-tall,
  .gallery-card-wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    min-height: 76px;
  }

  .hero-section {
    padding-top: 7rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .icon-badge,
  .process-number {
    width: 3.2rem;
    height: 3.2rem;
  }

  .gallery-card img,
  .service-showcase-card img {
    min-height: 200px;
    height: 200px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 0.8rem 0.9rem;
  }
}
