/* =========================================================
   PRIME WOOD
   Premium Carpentry & Furniture Website
   ========================================================= */

/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
  --color-primary: #402718;
  --color-primary-hover: #5a3523;

  --color-accent: #c28a52;
  --color-accent-light: #e0a066;

  --color-dark: #191614;
  --color-dark-soft: #241913;

  --color-white: #ffffff;
  --color-off-white: #f9f6f2;

  --color-text: #3d3936;
  --color-text-light: #6f6964;

  --color-border: rgba(35, 25, 18, 0.08);

  --font-heading: "Cormorant Garamond", Georgia, serif;

  --font-body: "Inter", sans-serif;

  --container-width: 1340px;

  --header-height: 72px;

  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* =========================================================
   02. RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;

  color: var(--color-text);
  background: var(--color-off-white);

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

/* =========================================================
   03. GLOBAL CONTAINER
========================================================= */

.container {
  width: min(calc(100% - 64px), var(--container-width));

  margin-inline: auto;
}

/* =========================================================
   04. GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;

  font-family: var(--font-heading);

  font-weight: 600;

  line-height: 1.05;
}

p {
  margin: 0;
}

/* =========================================================
   05. GLOBAL BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid transparent;

  text-decoration: none;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-dark {
  color: #fff;

  background: var(--color-primary);

  border-color: var(--color-primary);

  border-radius: var(--radius-sm);
}

.btn-dark:hover {
  color: #fff;

  background: var(--color-primary-hover);

  border-color: var(--color-primary-hover);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px; /* increased from 30px */
  width: 100%;
  margin: 0;
  padding: 0 48px 0 0; /* no left inset — logo sits flush against the edge */
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 42px;
}

/* =========================
   DESKTOP LOGO
========================= */

.brand {
  display: flex;
  align-items: center;
  width: 300px; /* increased from 260px */
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================
   DESKTOP NAV
========================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 85px; /* increased from 30px */
}

.nav-link {
  position: relative;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #b88624;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #c79a3b;
  transition: 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
/* =====================================================
   MOBILE HAMBURGER
===================================================== */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 0;
  outline: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: #222;
  transition: all 0.3s ease;
}

/* Hamburger animation */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px 25px 30px;
  border-top: 1px solid #eee;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  box-sizing: border-box;
}

/* OPEN */

.mobile-menu.active {
  display: block;
}


/* =====================================================
   MOBILE MENU HEADER
===================================================== */

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}


/* =====================================================
   MOBILE LOGO
===================================================== */

.mobile-logo {
  display: flex;
  align-items: center;
}

.mobile-logo a {
  display: block;
  width: 190px;
}

.mobile-logo img {
  width: 100%;
  height: auto;
  display: block;
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.mobile-close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close span {
  position: absolute;
  width: 27px;
  height: 2px;
  background: #222;
  transition: 0.3s ease;
}

.mobile-close span:first-child {
  transform: rotate(45deg);
}

.mobile-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-close:hover span {
  background: #b88624;
}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

.mobile-links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.mobile-links a {
  display: block;
  padding: 15px 5px;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.mobile-links a:hover {
  color: #b88624;
  padding-left: 12px;
}


/* =====================================================
   MOBILE QUOTE
===================================================== */

.mobile-quote {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  box-sizing: border-box;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

  .nav-wrap {
    padding: 0 30px 0 0;
    gap: 30px;
  }

  .brand {
    width: 220px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .nav-link {
    font-size: 14px;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 850px) {

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-wrap {
    min-height: 75px;
    padding: 0 20px;
  }

  .brand {
    width: 190px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-logo a {
    width: 190px;
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

  .nav-wrap {
    min-height: 70px;
    padding: 0 16px;
  }

  .brand {
    width: 165px;
  }

  .mobile-menu {
    padding: 18px 18px 25px;
  }

  .mobile-logo a {
    width: 170px;
  }

  .mobile-links a {
    padding: 14px 5px;
    font-size: 15px;
  }
}

/* =========================================================
   09. HERO
========================================================= */

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Hero background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../Images/HERO.png") center center / cover no-repeat;
  transform: scale(1.03);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.03);
  }
}

/* Hero overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(20, 15, 12, 0.78) 0%,
      rgba(20, 15, 12, 0.6) 40%,
      rgba(20, 15, 12, 0.45) 70%,
      rgba(20, 15, 12, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 8, 6, 0.18) 0%,
      rgba(10, 8, 6, 0.2) 55%,
      rgba(10, 8, 6, 0.72) 100%
    );
}

/* ============ CONTAINER ============ */
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* ============ CONTENT WRAPPER ============ */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 120px 0 60px;
}

/* ============ EYEBROW ============ */
.hero .eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 1px;
  margin-right: 12px;
  margin-bottom: 3px;
  background: var(--color-accent);
}

/* ============ HEADLINE ============ */
.hero-title {
  font-family: var(--font-serif, "Playfair Display", "Georgia", serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-white, #ffffff);
  margin: 0 0 28px;
}

/* ============ DESCRIPTION ============ */
.hero-copy {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 1700px;
  margin: 0 0 40px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============ CTA BUTTONS ============ */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-light {
  background-color: #ffffff;
  color: #1a1a1a;
  border: none;
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #1a1a1a;
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ============ STATS ROW ============ */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.stat-icon {
  font-size: 18px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat strong {
  font-family: var(--font-serif, "Playfair Display", "Georgia", serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-white, #ffffff);
  line-height: 1.1;
}

.hero-stat span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
  padding: 64px 0 100px;
  background: var(--color-white, #ffffff);
}

/* =========================================================
   SERVICES CONTAINER — EXTRA WIDE
========================================================= */

.services-container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  text-align: center;
  max-width: 1700px;
  margin: 0 auto 48px;
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--color-accent, #c28a52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark, #191614);
  margin: 0 0 14px;
  white-space: nowrap;
}

.section-heading h2 span,
.section-heading h2 em {
  color: var(--color-accent, #c28a52);
}

.section-heading h2 em {
  font-style: italic;
}

.section-heading > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-light, #6f6964);
  max-width: 1700px;
  margin: 0 auto;
}

/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
  padding: 70px 0 110px;
  background: var(--color-white, #ffffff);
}

/* =========================================================
   SERVICES CONTAINER — EXTRA LARGE
========================================================= */

.services-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  text-align: center;
  max-width: 1700px;
  margin: 0 auto 52px;
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;

  color: var(--color-accent, #c28a52);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;

  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.15;

  color: var(--color-dark, #191614);

  margin: 0 0 16px;

  white-space: nowrap;
}

.section-heading h2 span,
.section-heading h2 em {
  color: var(--color-accent, #c28a52);
}

.section-heading h2 em {
  font-style: italic;
}

.section-heading > p {
  font-size: 16px;
  line-height: 1.65;

  color: var(--color-text-light, #6f6964);

  max-width: 1700px;
  margin: 0 auto;
}

/* =========================================================
   SERVICES GRID — EXTRA SPACE BETWEEN CARDS
========================================================= */

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

  column-gap: 70px;
  row-gap: 70px;

  width: 100%;
}
/* =========================================================
   SERVICE CARD — LARGE
========================================================= */

.service-card {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;

  background: var(--color-off-white, #f9f6f2);

  border-radius: 16px;

  overflow: hidden;

  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 24px 55px rgba(31, 21, 15, 0.15);
}

/* =========================================================
   CARD IMAGE — LARGER
========================================================= */

.card-image {
  width: 100%;

  /* Larger image */
  aspect-ratio: 1.7 / 1;

  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .card-image img {
  transform: scale(1.07);
}

/* =========================================================
   CARD BODY — MORE SPACE
========================================================= */

.card-body {
  padding: 32px 34px 38px;
}

.card-body span {
  display: block;

  font-family: "Playfair Display", Georgia, serif;

  font-size: 14px;
  font-weight: 600;

  color: var(--color-accent, #c28a52);

  letter-spacing: 0.07em;

  margin-bottom: 10px;
}

.card-body h3 {
  font-family: "Playfair Display", Georgia, serif;

  font-size: 27px;
  font-weight: 600;

  color: var(--color-dark, #191614);

  line-height: 1.25;

  margin: 0 0 11px;
}

.card-body p {
  font-size: 16px;

  line-height: 1.65;

  color: var(--color-text-light, #6f6964);

  margin: 0;
}

/* ============ CRAFT SECTION ============ */
.craft-section {
  padding: 100px 0;
  background: var(--color-off-white, #f9f6f2);
}

.container.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ============ IMAGE SIDE ============ */
.craft-image {
  width: 100%;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
}

.craft-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 5.5;
  object-fit: cover;
  display: block;
}

/* ============ CONTENT SIDE ============ */
.craft-content {
  display: flex;
  flex-direction: column;
}

.craft-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--color-accent, #c28a52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.craft-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--color-dark, #191614);
  margin: 0 0 22px;
}

.craft-content h2 em {
  color: var(--color-accent, #c28a52);
  font-style: italic;
}

.craft-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text, #3d3936);
  margin: 0 0 20px;
}

.craft-content p:last-of-type {
  margin-bottom: 32px;
}

.craft-content .btn-dark {
  align-self: flex-start;
  padding: 16px 30px;
  background: var(--color-primary, #402718);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.craft-content .btn-dark:hover {
  background: var(--color-primary-hover, #5a3523);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53, 31, 19, 0.2);
}


/* why */

.why-section {
  padding: 90px 0;
  background: var(--color-off-white, #f9f6f2);
}
 
/* ============ HEADING ============ */
.why-section .section-heading {
  text-align: center;
  max-width: 1700px;
  margin: 0 auto 48px;
}
 
.why-section .section-heading .eyebrow {
  display: block;
  width: 100%;
  text-align: center;
  /* explicit display:block + width:100% guards against other .eyebrow
       rules elsewhere on the site (e.g. a flex-based one in another
       section's CSS) leaking in and breaking centering here, since
       this selector doesn't otherwise touch `display`. */
  color: var(--color-accent, #c28a52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  /* was 12px — more breathing room before the heading below */
}
 
.why-section .section-heading .eyebrow::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-accent, #c28a52);
  margin: 14px auto 0;
  position: relative;
}
 
.why-section .section-heading .eyebrow::before {
  content: "";
  display: none;
}
 
.why-section .section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  color: var(--color-dark, #191614);
  margin: 12px 0 16px;
}
 
.why-section .section-heading h2 em {
  color: var(--color-accent, #c28a52);
  font-style: italic;
}
 
.why-section .section-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-light, #6f6964);
  margin: 0 auto;
}
 
/* ============ FEATURES GRID ============ */
.why-section .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* was 26px 22px (row-gap column-gap) — close in value, but the
       card's box-shadow only bleeds downward into the row gap (nothing
       below to offset it), so rows visually read wider than columns
       even with near-equal numbers. Single value keeps both axes
       consistent. */
  margin-bottom: 56px;
}
 
/* ============ FEATURE CARD ============ */
.why-section .feature-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 118px;
  /* was min-height: 150px — the reference cards are noticeably more
       compact than that; 118px comfortably fits 2–3 lines of body
       text without the extra empty space that made cards feel loose. */
  overflow: visible;
}
 
/* Inner wrapper does the rounding/shadow/clipping so it doesn't
     cut off the icon circle that overlaps the left edge */
.why-section .card-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--color-white, #fff);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(31, 21, 15, 0.06);
  overflow: hidden;
}
 
/* Icon circle overlapping the left edge */
.why-section .icon-circle {
  position: absolute;
  top: 28px;
  left: -23px;
  /* was 52px at top:36 / left:-26 — the reference icon reads smaller
       relative to the more compact card, and sits a bit higher,
       roughly level with the number/heading line. */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-dark, #191614);
  border: 2px solid var(--color-accent, #c28a52);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent, #c28a52);
  z-index: 3;
  flex-shrink: 0;
}
 
.why-section .icon-circle svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: var(--color-accent, #c28a52);
  fill: none;
}
 
/* Text portion */
.why-section .card-content {
  flex: 0 0 58%;
  padding: 20px 16px 16px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
 
/* Number + dash now sit inline on the same row (matches reference:
     "01 —" side by side, not a dash-underline beneath the number) */
.why-section .card-number {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-accent, #c28a52);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
 
.why-section .card-number::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-border, rgba(35, 25, 18, 0.2));
  flex-shrink: 0;
}
 
.why-section .card-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-dark, #191614);
  margin: 5px 0 5px;
  line-height: 1.25;
}
 
.why-section .card-content p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-light, #6f6964);
  margin: 0;
}
 
/* Image portion — diagonal cut */
.why-section .card-image {
  flex: 0 0 42%;
  position: relative;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
 
.why-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* if an image fails to load, show a plain warm fill instead of
       overflowing alt text so the layout never breaks */
  color: transparent;
  background: var(--color-off-white, #f9f6f2);
}
 
/* ============ STATS BAR ============ */
.why-section .stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-dark, #191614);
  border-radius: 14px;
  padding: 24px 40px;
  gap: 20px;
  flex-wrap: wrap;
}
 
.why-section .stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
 
.why-section .stat-item:last-child {
  border-right: none;
  padding-right: 0;
}
 
.why-section .stat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent, #c28a52);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent, #c28a52);
}
 
.why-section .stat-icon svg {
  width: 18px;
  height: 18px;
}
 
.why-section .stat-text {
  display: flex;
  flex-direction: column;
}
 
.why-section .stat-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}
 
.why-section .stat-text span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  white-space: nowrap;
}
 
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
/* ============ project ============ */
/* ============ GLOBAL (merged — was duplicated 3x, causing background conflicts) ============ */
:root {
  --cream-bg: #f7f2ec;
  --cream-card: #efe8d8;
  --cream-100: #f7f1e6;
  --cream-200: #efe6d5;
  --ink: #241a10;
  --sub: #6f6151;
  --gold-500: #c9954b;
  --gold-600: #b8823a;
  --gold-400: #d9ac66;
  --line: rgba(36, 26, 16, 0.1);

  --brown-950: #1c1109;
  --brown-900: #241609;
  --brown-800: #2e1a0d;
  --brown-700: #3a2513;
  --text-muted: #c9b7a4;
  --text-faint: #a58a70;
  --radius-lg: 14px;
  --radius-md: 10px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  /* page-level fallback color — each section below sets its OWN background,
     so this only shows in the gaps/margins between sections */
  background: var(--cream-bg);
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.projects-section {
  padding: 100px 0 110px;
  background: var(--cream-bg); /* was missing — this is the fix */
}

/* ---- head ---- */
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-600);
  margin: 0 0 14px;
}
.projects-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.projects-head h2 em {
  font-style: italic;
  color: var(--gold-500);
  font-weight: 500;
}
.projects-head > div > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sub);
  max-width: 440px;
  margin: 0;
}
.text-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201, 149, 75, 0.45);
  color: var(--gold-600);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.text-link:hover {
  background: var(--gold-500);
  color: #fff;
  border-color: var(--gold-500);
}

/* ---- filters ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--sub);
  cursor: pointer;
  padding: 6px 16px;
  position: relative;
  transition: color 0.2s ease;
}
.filter:first-child {
  padding-left: 0;
}
.filter:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -2px;
  color: var(--line);
}
.filter:hover {
  color: var(--ink);
}
.filter.active {
  color: var(--gold-600);
  font-weight: 600;
}
.filter.active::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -19px;
  height: 2px;
  background: var(--gold-500);
}
.filter:first-child.active::before {
  left: 0;
}

/* ---- bento grid ---- */
.projects-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-bottom: 18px;
}
.project {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  min-height: 230px;
  background: var(--cream-card);
}
.project-large {
  grid-row: 1 / 3;
}
.project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project:hover img {
  transform: scale(1.05);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 13, 6, 0) 35%,
    rgba(18, 11, 5, 0.82) 100%
  );
  pointer-events: none;
}
.project-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
  z-index: 2;
}
.project-info small {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.project-info h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
}
.project-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.project-view {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.project-view:hover {
  background: var(--gold-500);
  transform: translateY(-2px);
}

/* large card gets the full text button style */
.project-large .project-info {
  padding: 32px;
}
.project-large .project-info h3 {
  font-size: 28px;
}
.project-large .project-info p {
  font-size: 14px;
  margin-bottom: 20px;
}
.project-large .project-view {
  position: static;
  width: auto;
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.project-wide {
  grid-column: span 1;
}

.row-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
}

/* ---- cta ---- */
.project-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 28px;
}
.cta-icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.project-cta > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.project-cta strong {
  font-size: 16.5px;
  font-weight: 700;
}
.project-cta span {
  font-size: 14px;
  color: var(--sub);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 24px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn-dark {
  background: var(--gold-500);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(201, 149, 75, 0.65);
}
.btn-dark:hover {
  transform: translateY(-2px);
}

/* ============ testimonials ============ */
.testimonials-section {
  padding: 110px 0 100px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.section-heading {
  text-align: center;
  max-width: 1700px;
  margin: 0 auto 72px;
  position: relative;
}
.section-heading h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-heading h2 em {
  font-style: normal;
  color: var(--gold-400);
  font-weight: 500;
}
.section-heading .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.section-heading .eyebrow::before,
.section-heading .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
}

/* ============ CAROUSEL ============ */
.testimonial-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.viewport {
  overflow: hidden;
  flex: 1;
  padding-top: 38px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0.2, 1);
  will-change: transform;
}
.testimonial {
  flex: 0 0 calc((100% - 2 * 24px) / 3);
  margin-right: 24px;
  border-radius: 16px;
  padding: 56px 26px 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(44, 33, 20, 0.06);
  box-shadow: 0 16px 36px -20px rgba(44, 33, 20, 0.25);
}
.testimonial.tint-a {
  background: linear-gradient(160deg, #f8ecd8, #f1e0bc);
}
.testimonial.tint-b {
  background: linear-gradient(160deg, #f7e6da, #f2d7c3);
}
.testimonial.tint-c {
  background: linear-gradient(160deg, #f2ecd6, #e7dfc0);
}

.avatar {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 22px -6px rgba(44, 33, 20, 0.35);
}
.testimonial strong {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.testimonial span.role {
  display: block;
  font-size: 12px;
  color: var(--sub);
  margin-top: -12px;
  margin-bottom: 16px;
}
.testimonial p {
  font-family: "Work Sans", sans-serif;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--sub);
  margin: 0 0 20px;
}
.stars {
  letter-spacing: 3px;
  font-size: 16px;
}
.stars .filled {
  color: var(--gold-500);
}
.stars .empty {
  color: rgba(44, 33, 20, 0.22);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 149, 75, 0.35);
  background: rgba(201, 149, 75, 0.08);
  color: var(--gold-400);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.18s ease,
    border-color 0.2s ease;
  flex: none;
}
.slider-btn:hover {
  background: var(--gold-500);
  color: var(--brown-950);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(44, 33, 20, 0.15);
  cursor: pointer;
  transition:
    background 0.2s ease,
    width 0.3s ease;
}
.dots button.active {
  background: var(--gold-400);
  width: 26px;
  border-radius: 6px;
}

/* ============ CONTACT SECTION ============ */

/* ===== Reset (scoped to the form only) ===== */
#contact-form,
#contact-form * {
  box-sizing: border-box;
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: #2b1710;
  padding: 100px 20px;
}

.contact-section .container {
  max-width: 1700px;
  margin: 0 auto;
}

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Left Copy ===== */
.contact-copy .eyebrow {
  color: #c9974d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 44px;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 20px;
}

.contact-copy h2 em {
  color: #c9974d;
  font-style: normal;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 0 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details span,
.contact-details a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-decoration: none;
}

.contact-details a:hover {
  color: #c9974d;
}

.icon-plain {
  font-size: 16px;
  color: #c9974d;
}

/* ===== Form Card ===== */
#contact-form {
  background: #f7f3ee !important;
  border-radius: 20px !important;
  padding: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
  width: 100% !important;
}

/* ===== Form Groups (label + input wrapper) ===== */
#contact-form .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

#contact-form .form-group label {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6b5644 !important;
  margin: 0 !important;
}

/* ===== Inputs, Select, Textarea ===== */
#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100% !important;
  display: block !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #2c2420 !important;
  background-color: #f0eae1 !important;
  border: 1px solid #e2d9cb !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  outline: none !important;
  margin: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #9a9086;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: #c9974d !important;
  box-shadow: 0 0 0 3px rgba(201, 151, 77, 0.15) !important;
}

#contact-form textarea {
  resize: vertical !important;
  min-height: 110px !important;
}

#contact-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23555' stroke-width='2' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

/* ===== Fix Chrome/Edge Autofill Blue Highlight ===== */
#contact-form input:-webkit-autofill,
#contact-form input:-webkit-autofill:hover,
#contact-form input:-webkit-autofill:focus,
#contact-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #f0eae1 inset !important;
  -webkit-text-fill-color: #2c2420 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ===== Submit Button ===== */
#contact-form button[type="submit"] {
  background: linear-gradient(135deg, #8a5a2b, #6f4622) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  padding: 16px 24px !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #a56a34, #8a5a2b) !important;
  transform: translateY(-2px);
}

/* ===== Form Status Message (optional — add a div with this class in your HTML) ===== */
#contact-form .form-status {
  font-size: 14px;
  text-align: center;
  min-height: 18px;
}

#contact-form .form-status.success {
  color: #2e7d32;
}

#contact-form .form-status.error {
  color: #c62828;
}

/* ===== Honeypot (hidden spam trap, if used) ===== */
#contact-form .hidden-field {
  display: none !important;
}
/* ============ FOOTER ============ */
.footer {
  background: #130d09;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {
  font-family: "Fraunces", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--cream-100);
  text-decoration: none;
  font-weight: 600;
}
.footer-grid > div > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-faint);
  margin: 16px 0 22px;
  max-width: 280px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin: 0 0 20px;
  font-weight: 600;
}
.footer-grid a,
.footer-grid span {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 2.15;
}
.footer-grid a:hover {
  color: var(--gold-400);
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.socials a.ig {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.socials a.fb {
  background: #1877f2;
}
.socials a.yt {
  background: #ff0000;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
}
.copyright a {
  color: var(--text-faint);
  text-decoration: none;
}
.copyright a:hover {
  color: var(--gold-400);
}

/* ============ FLOATING BUTTONS ============ */
.whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  z-index: 40;
}
.back-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 60px 0;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    padding: 24px;
    justify-content: flex-start;
  }
  .stat-item {
    flex: 0 0 100%;
    border-right: none;
    padding-right: 0;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
/* =========================================================
   09. RESPONSIVE
========================================================= */

/* ============================================
   RESPONSIVE — 1200px (small desktops/laptops)
   ============================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 48px;
  }
  .desktop-nav {
    gap: 28px;
  }
  .services-section {
    padding: 56px 0 80px;
  }
  .hero-title {
    font-size: 56px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
}

/* ============================================
   RESPONSIVE — 960px (tablets, nav collapses)
   ============================================ */
@media (max-width: 960px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .brand {
    font-size: 26px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-content {
    padding: 100px 0 50px;
  }
  .hero-title {
    font-size: 46px;
  }
  .hero-stats {
    gap: 36px;
  }
}

/* ============================================
   RESPONSIVE — 768px (hero + services tighten)
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .hero {
    min-height: 100vh;
    padding-top: 90px;
  }
  .hero-bg {
    background-position: 70% center;
  }
  .hero-content {
    padding: 24px 0 40px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .hero-title br {
    display: none;
  }
  .hero-copy {
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .services-section {
    padding: 44px 0 60px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 26px;
    white-space: normal;
    line-height: 1.3;
  }
  .section-heading > p {
    font-size: 14px;
    max-width: 100%;
  }
  .card-body {
    padding: 18px 18px 22px;
  }
  .card-body h3 {
    font-size: 19px;
  }
}

/* ============================================
   RESPONSIVE — 640px (small tablets / large phones)
   ============================================ */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }
  .brand {
    font-size: 22px;
  }
  .mobile-menu {
    padding: 16px 20px 22px;
  }
  .mobile-menu > a:not(.btn) {
    font-size: 15px;
  }
}

/* ============================================
   RESPONSIVE — 480px (phones)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
  }
  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
  .hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    row-gap: 0;
    flex-wrap: nowrap;
    width: 100%;
  }
  .hero-stat {
    flex: 1;
    align-items: flex-start;
  }
  .stat-icon {
    font-size: 15px;
    margin-bottom: 3px;
  }
  .hero-stat strong {
    font-size: 19px;
  }
  .hero-stat span {
    font-size: 9px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

/* ============================================
   RESPONSIVE — 400px (small phones, nav only)
   ============================================ */
@media (max-width: 400px) {
  .brand {
    font-size: 19px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
  .mobile-menu {
    padding: 14px 16px 18px;
  }
}

/* ============================================
   RESPONSIVE — 360px (smallest phones)
   ============================================ */
@media (max-width: 360px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-stat strong {
    font-size: 17px;
  }
  .hero-stat span {
    font-size: 8.5px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading > p {
    font-size: 13px;
  }
}

/* carft section  */
/* Small desktops / laptops */
@media (max-width: 1200px) {
  .craft-section {
    padding: 80px 0;
  }
  .container.split {
    gap: 56px;
  }
  .craft-content h2 {
    font-size: 34px;
  }
}

/* Tablets — image on top, content below */
@media (max-width: 900px) {
  .craft-section {
    padding: 64px 0;
  }
  .container.split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .craft-image img {
    aspect-ratio: 16 / 10;
  }
  .craft-content h2 {
    font-size: 30px;
  }
  .craft-content p {
    font-size: 15px;
  }
}

/* Small tablets / large phones */
@media (max-width: 640px) {
  .craft-section {
    padding: 48px 0;
  }
  .container.split {
    gap: 28px;
  }
  .craft-content .eyebrow {
    font-size: 11px;
  }
  .craft-content h2 {
    font-size: 26px;
    line-height: 1.28;
    margin-bottom: 16px;
  }
  .craft-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .craft-content p:last-of-type {
    margin-bottom: 24px;
  }
  .craft-image img {
    aspect-ratio: 4 / 3;
  }
  .craft-content .btn-dark {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }
}

/* Phones */
@media (max-width: 400px) {
  .craft-content h2 {
    font-size: 22px;
  }
  .craft-content p {
    font-size: 13.5px;
  }
}


/* =========================================================
   RESPONSIVE
   Desktop rules above are untouched. Below: tablet (2-col grid)
   then mobile (1-col, cards stack vertically, icon recentres,
   diagonal image cut is dropped since there's no more horizontal
   split to draw it against, stats bar wraps into two rows).
========================================================= */
 
/* ---- Tablet: 2-column grid ---- */
@media (max-width: 900px) {
  .why-section {
    padding: 64px 0;
  }
  .why-section .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 26px;
  }
  .why-section .stats-bar {
    justify-content: center;
    padding: 22px 28px;
  }
  .why-section .stat-item {
    flex: 1 1 45%;
    justify-content: center;
    border-right: none;
    padding-right: 0;
  }
}
 
/* ---- Mobile: 1-column, cards stack ---- */
@media (max-width: 620px) {
  .why-section .section-heading {
    margin: 0 auto 36px;
  }
  .why-section .features-grid {
    grid-template-columns: 1fr;
    gap: 44px 0;
    margin-bottom: 40px;
  }
 
  .why-section .feature-card {
    height: auto;
    flex-direction: column;
    align-items: center;
    /* feature-card was still row-direction here, so icon-circle
         (a sibling of card-inner, not a child of it) stayed beside
         the card instead of stacking above it — this was the cause
         of the top-left overlap in the mobile screenshot. */
  }
  .why-section .card-inner {
    flex-direction: column;
    border-radius: 14px;
    width: 100%;
  }
 
  /* icon moves from overlapping-left to centred above the card */
  .why-section .icon-circle {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto -26px;
  }
 
  .why-section .card-content {
    flex: 1 1 auto;
    order: 2;
    padding: 34px 20px 22px;
    text-align: center;
    align-items: center;
  }
  .why-section .card-number {
    justify-content: center;
  }
 
  /* image moves above the text, full width, no diagonal cut
       (the cut only reads correctly against a side-by-side split) */
  .why-section .card-image {
    flex: 0 0 auto;
    order: 1;
    width: 100%;
    height: 170px;
    clip-path: none;
  }
 
  .why-section .stat-item {
    flex: 1 1 100%;
    justify-content: center;
  }
/* =========================================================
     SERVICES SECTION — all selectors scoped under .services-section
     so class names like .card-image / .card-body / .section-heading
     never collide with the Why Prime Wood section above.
  ========================================================= */

.services-section {
  padding: 70px 0 110px;
  background: var(--color-white, #ffffff);
}

.services-section .services-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.services-section .section-heading {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 52px;
}

.services-section .section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--color-accent, #c28a52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services-section .section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-dark, #191614);
  margin: 0 0 16px;
}

.services-section .section-heading h2 span,
.services-section .section-heading h2 em {
  color: var(--color-accent, #c28a52);
}

.services-section .section-heading h2 em {
  font-style: italic;
}

.services-section .section-heading > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-light, #6f6964);
  max-width: 600px;
  margin: 0 auto;
}

.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 70px;
  row-gap: 70px;
  width: 100%;
}

.services-section .service-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-off-white, #f9f6f2);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(31, 21, 15, 0.15);
}

.services-section .card-image {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
}

.services-section .card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  color: transparent;
  background: var(--color-off-white, #f9f6f2);
}

.services-section .service-card:hover .card-image img {
  transform: scale(1.07);
}

.services-section .card-body {
  padding: 32px 34px 38px;
}

.services-section .card-body span {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent, #c28a52);
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.services-section .card-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--color-dark, #191614);
  line-height: 1.25;
  margin: 0 0 11px;
}

.services-section .card-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-light, #6f6964);
  margin: 0;
}

@media (max-width: 900px) {
  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-section .services-grid {
    grid-template-columns: 1fr;
  }
  .services-section {
    padding: 50px 0 70px;
  }
}

/* project */

@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }
}
@media (max-width: 900px) {
  .projects-section {
    padding: 72px 0 80px;
  }
  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-large {
    grid-row: auto;
  }
  .project {
    min-height: 280px;
  }
  .row-bottom {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .projects-section {
    padding: 56px 0 60px;
  }
  .projects-head h2 {
    font-size: 28px;
  }
  .filters {
    gap: 0;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 26px;
  }
  .filter {
    padding: 6px 12px;
    font-size: 13px;
    flex: none;
  }
  .row-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project {
    min-height: 240px;
  }
  .project-large .project-info {
    padding: 22px;
  }
  .project-large .project-info h3 {
    font-size: 22px;
  }
  .project-cta {
    flex-wrap: wrap;
    padding: 20px;
  }
  .project-cta .btn {
    width: 100%;
  }
}
/* footer */

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .contact-section {
    padding: 64px 0 56px;
  }
  .quote-form {
    padding: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .whatsapp {
    width: 48px;
    height: 48px;
    right: 18px;
    bottom: 18px;
    font-size: 21px;
  }
  .back-top {
    width: 40px;
    height: 40px;
    right: 18px;
    bottom: 76px;
  }
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #fff;

  border-radius: 50%;
  text-decoration: none;

  font-size: 28px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);

  z-index: 9999;

  transition: all 0.3s ease;
}

.whatsapp:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 92px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: #222;
  color: #fff;

  font-size: 16px;
  cursor: pointer;

  z-index: 9998;
}

.back-top:hover {
  background: #fff;
  color: #222;
}

/* tesimonal  */

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }
  .testimonial {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 900px) {
  .testimonials-section {
    padding: 80px 0;
  }
  .section-heading {
    margin-bottom: 48px;
  }
}
@media (max-width: 700px) {
  .testimonial {
    flex: 0 0 100%;
    margin-right: 16px;
  }
  .testimonial-slider {
    gap: 10px;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .testimonials-section {
    padding: 56px 0;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .testimonial {
    padding: 48px 20px 26px;
  }
  .testimonial p {
    font-size: 14px;
  }
  .avatar {
    width: 58px;
    height: 58px;
    top: -29px;
  }
  .dots {
    margin-top: 32px;
  }
}
