/* ==========================================================================
   Vincreations  — Design System
   Palette: Brown & White (Blueprint-Editorial)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  /* --brown-950: #1c130c; */
  --brown-950: #3b2417;
  --brown-900: #251a11;
  --brown-800: #3b2417;
  --brown-700: #523320;
  --brown-600: #6b4530;
  --brown-500: #8a5c3d;
  --brown-400: #a87b54;
  --brown-300: #c9a37a;
  --brown-200: #e2cba8;
  --brown-100: #efdfc4;
  --cream: #faf6ef;
  --cream-dim: #f2ead9;
  --white: #ffffff;
  --line: rgba(28, 19, 12, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 2px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown-700);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--brown-950);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 300;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
}
.lede {
  font-size: 1.15rem;
  color: var(--brown-700);
  max-width: 52ch;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}
section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.7em;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--brown-950);
  border-radius: var(--radius);
  background: var(--brown-900);
  color: var(--cream);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.btn:hover {
  background: var(--brown-700);
  border-color: var(--brown-700);
  transform: translateY(-2px);
}
.btn.outline {
  background: transparent;
  color: var(--brown-900);
}
.btn.outline:hover {
  background: var(--brown-900);
  color: var(--cream);
}
.btn.on-dark {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--brown-950);
}
.btn.on-dark:hover {
  background: var(--brown-300);
  border-color: var(--brown-300);
}
.btn.on-dark.outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-light);
}
.btn.on-dark.outline:hover {
  background: var(--cream);
  color: var(--brown-950);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}
/* ---------- Logo ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo on the left */
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

/* Name + line + tagline */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

/* Company name */
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown-950);
  line-height: 1;
}

/* Line under company name */
.brand-line {
  width: 100%;
  height: 1px;
  background: var(--brown-500);
  margin: 5px 0 4px;
}

/* Tagline */
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brown-500);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

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

.brand-tagline {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brown-800);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--brown-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--brown-950);
  font-weight: 600;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-900);
  margin: 5px 0;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

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

@media (max-width: 860px) {
  /* Keep header visible while scrolling */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
  }

  .nav {
    position: relative;
    min-height: 76px;
  }

  /* Mobile menu */
  .nav-links {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100vw;
    height: 100dvh;

    margin: 0;
    padding: 100px 32px 40px;

    background: var(--brown-950);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 1.2rem;

    overflow-y: auto;
    overflow-x: hidden;

    transform: translateX(100%);
    visibility: hidden;
    opacity: 1;

    pointer-events: none;

    z-index: 10001;

    transition:
      transform 280ms ease,
      visibility 280ms ease;
  }

  /* OPEN MENU */
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Menu links */
  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a {
    display: block;

    width: 100%;

    padding: 0.5rem 0;

    color: var(--cream) !important;

    font-size: 1.25rem;
  }

  /* Hamburger / close button */
  .nav-toggle {
    display: block;

    position: relative;

    width: 44px;
    height: 44px;

    padding: 8px;

    background: transparent;
    border: none;

    z-index: 10002;
  }

  .nav-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--brown-900);

    transition:
      transform 280ms ease,
      opacity 280ms ease,
      background 280ms ease;
  }

  /* When menu is open → X */
  body.menu-open .nav-toggle span {
    background: var(--cream);
  }

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

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

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

  /* Prevent the website underneath from scrolling */
  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--brown-800);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 0 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
  align-items: end;
  padding-bottom: 3.5rem;
}
.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--brown-300);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--white);
  max-width: 14ch;
}
.hero .lede {
  color: var(--brown-200);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-media {
  aspect-ratio: 4/5;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--brown-700), var(--brown-900));
  position: relative;
  overflow: hidden;
}
.hero-media .tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: var(--cream);
  color: var(--brown-950);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
}
.hero-stats {
  position: relative;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats div {
  padding: 1.6rem var(--gap);
  border-left: 1px solid var(--line-light);
}
.hero-stats div:first-child {
  border-left: none;
  padding-left: 0;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  font-weight: 500;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--brown-300);
  margin-top: 0.3rem;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    aspect-ratio: 16/10;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats div {
    border-left: none;
    border-top: 1px solid var(--line-light);
    padding: 1.4rem 0;
  }
  .hero-stats div:nth-child(odd) {
    padding-right: 1rem;
  }
  .hero-stats div:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line-light);
  }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--brown-950);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 3rem;
}
.page-header .kicker {
  color: var(--brown-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.page-header h1 {
  color: var(--white);
  max-width: 20ch;
}
.page-header .lede {
  color: var(--brown-200);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--brown-400);
  margin-bottom: 1.4rem;
}
.breadcrumb a {
  color: var(--brown-300);
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Section heading pattern ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.6rem;
}
.section-head .lede {
  margin-bottom: 0;
}
.section-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brown-400);
  margin-bottom: 0.6rem;
}

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brown-400);
  box-shadow: 0 18px 34px -22px rgba(28, 19, 12, 0.35);
}
.card .num {
  font-family: var(--font-display);
  color: var(--brown-300);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ---------- Reveal on scroll (single orchestrated pattern) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Project / Gallery tiles ---------- */
.project-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--brown-300), var(--brown-600));
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-tile .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(0deg, rgba(28, 19, 12, 0.86), transparent 70%);
  color: var(--cream);
}
.project-tile .info h3 {
  color: var(--white);
  margin-bottom: 0.15em;
  font-size: 1.1rem;
}
.project-tile .info span {
  font-size: 0.78rem;
  color: var(--brown-200);
}

/* ---------- Testimonials ---------- */
.quote-card {
  border-left: 2px solid var(--brown-400);
  padding-left: 1.6rem;
}
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-900);
  font-weight: 500;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--brown-500);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brown-950);
  color: var(--cream);
  text-align: left;
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.3em;
}

/* ---------- Footer ---------- */
footer {
  background: var(--brown-950);
  color: var(--brown-200);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
.footer-grid ul li {
  margin-bottom: 0.6rem;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--brown-400);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: 1.3rem;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brown-800);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--brown-950);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brown-500);
  box-shadow: 0 0 0 3px rgba(168, 123, 84, 0.18);
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-msg {
  margin-top: 1rem;
  font-size: 0.92rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  display: none;
}
.form-msg.show {
  display: block;
}
.form-msg.ok {
  background: #eaf2e6;
  color: #33522c;
  border: 1px solid #b9d3ae;
}
.form-msg.err {
  background: #f5e6e2;
  color: #7a2f20;
  border: 1px solid #e0b6a9;
}

/* ---------- Utility ---------- */
.pill {
  display: inline-block;
  padding: 0.35em 0.9em;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brown-600);
}
.muted {
  color: var(--brown-500);
}
.center {
  text-align: center;
}
.mt-lg {
  margin-top: 3rem;
}
.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 3rem 0;
}

/* Drop down styles */
/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.75rem;
  transition: transform 280ms ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.service-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 280px;
  padding: 0.6rem;

  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(28, 19, 12, 0.14);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 150;

  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

/* Invisible hover bridge between Services and dropdown */

.has-dropdown:hover .service-dropdown,
.has-dropdown:focus-within .service-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.service-dropdown li {
  margin: 0;
}

.service-dropdown li a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;

  padding: 0.9rem 1rem;

  color: var(--brown-900);
  border-radius: 2px;

  transition:
    background 200ms ease,
    color 200ms ease;
}

.service-dropdown li a::after {
  display: none;
}

.service-dropdown li a:hover {
  background: var(--cream-dim);
  color: var(--brown-950);
}

.service-dropdown strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.service-dropdown span {
  font-size: 0.72rem;
  color: var(--brown-500);
  line-height: 1.4;
}
/* dropdown for mobile */
/* =========================================================
   MOBILE SERVICES DROPDOWN
========================================================= */

/* @media (max-width: 860px) {
  .has-dropdown {
    position: relative;
    width: 100%;
  }

  .has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .service-dropdown {
    position: static;

    width: 100%;

    margin: 0.5rem 0 0;

    padding: 0 0 0 1rem;

    background: transparent;

    border: none;
    box-shadow: none;

    display: none;

    opacity: 1;
    visibility: visible;

    transform: none;

    pointer-events: auto;
  }

  .has-dropdown:hover .service-dropdown,
  .has-dropdown:focus-within .service-dropdown {
    display: block;
  }

  .service-dropdown li a {
    display: flex;
    flex-direction: column;

    padding: 0.55rem 0;
  }

  .service-dropdown strong {
    color: var(--cream);
  }

  .service-dropdown span {
    color: var(--brown-300);
  }
} */

/* =========================================================
   NEW SERVICES / ARCHITECTURE / CONSTRUCTION / INTERIORS CSS
   Add this at the END of your existing style.css
========================================================= */

/* =========================================================
   SERVICES MAIN PAGE
========================================================= */

.service-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-main-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service-main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.service-main-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.service-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.service-main-content {
  padding: 30px;
}

.service-main-content .section-tag {
  display: inline-block;
  margin-bottom: 10px;
}

.service-main-content h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.service-main-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* =========================================================
   SERVICE CARDS
========================================================= */

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

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.service-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* =========================================================
   SERVICE PAGE HERO
========================================================= */

.service-page-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.service-page-intro p {
  color: #666;
  line-height: 1.8;
}

/* =========================================================
   SERVICE PROCESS
========================================================= */

.service-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 45px;
}

.process-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.process-number {
  width: 55px;
  height: 55px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.process-card h3 {
  margin-bottom: 10px;
}

.process-card p {
  color: #666;
  line-height: 1.6;
}

/* =========================================================
   CONSTRUCTION PACKAGES
========================================================= */

.package-section {
  background: #f7f7f7;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 45px;
}

.package-card {
  position: relative;
  background: #fff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.package-name {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 15px;
}

.package-price {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.package-price span {
  font-size: 14px;
  font-weight: 400;
  color: #777;
}

.package-description {
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
}

.package-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  padding: 8px 0;
  color: #555;
  border-bottom: 1px solid #eee;
}

.package-card li:last-child {
  border-bottom: none;
}

.featured-package {
  border: 2px solid #c9a227;
  transform: translateY(-8px);
}

.featured-package:hover {
  transform: translateY(-15px);
}

.package-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 30px;
  background: #c9a227;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.package-note {
  text-align: center;
  margin-top: 35px;
  color: #666;
  line-height: 1.7;
}

/* =========================================================
   ARCHITECTURE PAGE
========================================================= */

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}

.architecture-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
}

.architecture-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.architecture-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.architecture-card-content {
  padding: 25px;
}

.architecture-card-content h3 {
  margin-bottom: 12px;
}

.architecture-card-content p {
  color: #666;
  line-height: 1.7;
}

/* =========================================================
   INTERIOR PAGE
========================================================= */

.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}

.interior-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
}

.interior-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.interior-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.interior-card-content {
  padding: 25px;
}

.interior-card-content h3 {
  margin-bottom: 12px;
}

.interior-card-content p {
  color: #666;
  line-height: 1.7;
}

/* =========================================================
   CTA SECTION FOR NEW SERVICE PAGES
========================================================= */

.service-cta {
  text-align: center;
  padding: 70px 20px;
}

.service-cta h2 {
  margin-bottom: 15px;
}

.service-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #666;
  line-height: 1.7;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1100px) {
  .service-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {
  .service-main-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

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

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

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

  .service-main-image {
    height: 230px;
  }

  .service-image {
    height: 220px;
  }

  .architecture-card img,
  .interior-card img {
    height: 220px;
  }

  .service-main-content {
    padding: 25px;
  }

  .service-content {
    padding: 22px;
  }

  .featured-package {
    transform: none;
  }

  .featured-package:hover {
    transform: translateY(-8px);
  }

  /* Mobile dropdown */

  .service-dropdown {
    position: static;

    width: 100%;

    margin-top: 10px;

    box-shadow: none;
    border-radius: 8px;

    display: none;

    opacity: 1;
    visibility: visible;

    transform: none;
  }

  .has-dropdown.active .service-dropdown {
    display: block;
  }
}

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

@media (max-width: 480px) {
  .service-main-content h3 {
    font-size: 24px;
  }

  .package-card {
    padding: 30px 20px;
  }

  .package-price {
    font-size: 26px;
  }

  .process-card {
    padding: 25px 18px;
  }
}

/* ------------ */

/* =========================================================
   FIX SERVICES DROPDOWN CREATING PAGE HEIGHT
========================================================= */

.service-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;

  width: 280px;

  transform: translateX(-50%) translateY(10px);

  background: var(--white);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 150;

  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.has-dropdown:hover .service-dropdown,
.has-dropdown:focus-within .service-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}

footer .service-dropdown,
footer .dropdown-arrow {
  display: none !important;
}

footer {
  overflow: hidden;
}

/* MOBILE FIX (added last so it wins the cascade)
   1. Off-canvas menu used translateX(100%), which makes Android
      browsers widen the layout and shrink the page to half width.
      It now fades in place instead of sliding from off-screen.
   2. The late .service-dropdown block overrode the mobile
      position:static rule; restored here for <=860px.
   3. Header no longer crowds the brand on small phones.
========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 860px) {
  .nav-links {
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 240ms ease,
      visibility 240ms ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links .service-dropdown {
    position: static;
    display: block;
    width: 100%;
    margin: 0.2rem 0 0.4rem;
    padding: 0 0 0 1rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-links .service-dropdown li a {
    padding: 0.4rem 0;
    background: transparent;
  }
  .nav-links .service-dropdown strong {
    color: var(--cream);
    font-size: 1rem;
  }
  .nav-links .service-dropdown span {
    color: var(--brown-300);
  }
  .nav-links .dropdown-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    gap: 0.6rem;
  }
  .nav-cta .btn {
    padding: 0.6em 0.9em;
    font-size: 0.78rem;
    line-height: 1.2;
  }
}

/* DESKTOP DROPDOWN HOVER FIX */
@media (min-width: 861px) {
  .service-dropdown {
    top: 100%;
    transform: translateX(-50%);
    transition:
      opacity 160ms ease,
      visibility 160ms ease;
  }
  .has-dropdown:hover .service-dropdown,
  .has-dropdown:focus-within .service-dropdown {
    transform: translateX(-50%);
  }
  .service-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1.2rem;
    height: 1.2rem;
  }
  .has-dropdown > a {
    display: inline-block;
    padding: 0.9rem 0;
    margin: -0.65rem 0;
  }
}

/* MOBILE MENU POSITION + SCROLL LOCK FIX */
@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  .nav-links {
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    overscroll-behavior: contain;
  }
}

/* Lock page scroll while the menu is open */
html:has(body.menu-open) {
  overflow: hidden;
}
body.menu-open {
  overflow: hidden;
  touch-action: none;
}
body.menu-open .nav-links {
  touch-action: pan-y;
}

/* CLOSE BUTTON ALWAYS VISIBLE WHEN MENU IS OPEN */
@media (max-width: 860px) {
  body.menu-open .nav-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10002;
  }
}

/* SERVICES PAGE — VIDEO HEADER */
.video-header {
  position: relative;
  overflow: hidden;
}
.header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 19, 12, 0.65);
  z-index: 1;
}
.video-header .wrap {
  position: relative;
  z-index: 2;
}

/* HOME — WHAT WE DO: CENTRE THE PARAGRAPH BESIDE THE HEADING */
.what-we-do .section-head {
  align-items: center;
}

/* ABOUT — CERTIFICATE IMAGE */
.certificate {
  display: block;
  text-align: center;
}
.certificate img {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 40px -24px rgba(28, 19, 12, 0.5);
}
.certificate span {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-700);
}

/* ABOUT — TEAM CARDS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.team-card h3 {
  margin-bottom: 0.3rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-600);
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

/* HERO IMAGE */
.hero-media .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .tag {
  z-index: 2;
}

/* HERO IMAGE — shows the full photo, slightly smaller */
.hero-media {
  aspect-ratio: auto;
  max-width: 88%;
  margin-left: auto;
  background: none;
}
.hero-media .hero-img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius);
}
@media (max-width: 860px) {
  .hero-media {
    max-width: 100%;
  }
}

/* HERO IMAGE — align higher */
.hero-grid .hero-media {
  align-self: start;
  margin-top: 1.5rem;
}
@media (max-width: 860px) {
  .hero-grid .hero-media {
    margin-top: 0;
  }
}

/* CONTACT — LOAN CARD */
.loan-list {
  margin: 0.8rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--brown-700);
  font-size: 0.92rem;
  line-height: 1.6;
}
.loan-list li {
  margin-bottom: 0.4rem;
}

/* PROJECT TILE — FIT FULL IMAGE */
.project-tile {
  background: var(--brown-950);
}
.project-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: contain;
}

/* SCROLLING CUSTOMER REVIEWS */
.reviews-section {
  padding: 4rem 0;
  overflow: hidden;
}
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.reviews-track {
  display: flex;
  width: max-content;
  animation: reviews-scroll 45s linear infinite;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
.reviews-group {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
  min-width: 100vw;
  justify-content: space-around;
}
.review-card {
  flex: 0 0 min(420px, 85vw);
  height: auto;
}
@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
  .reviews-marquee {
    overflow-x: auto;
  }
}

/* SCROLLING REVIEWS — SMALLER */
.reviews-section {
  padding: 2.5rem 0;
}
.review-card {
  flex: 0 0 min(340px, 85vw);
  padding-left: 1.1rem;
}
.review-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
}
.review-card cite {
  font-size: 0.78rem;
}
.reviews-group {
  gap: 1.2rem;
}
/*  */

/* CLIENT LOGO STRIP */
.logos-section {
  padding: 4rem 0;
  overflow: hidden;
}
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 30s linear infinite;
}
.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}
.logos-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  min-width: 100vw;
  justify-content: space-around;
}
.logo-item {
  flex: 0 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
}
.logo-item img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    filter 250ms ease,
    opacity 250ms ease;
}
.logo-item img:hover {
  filter: none;
  opacity: 1;
}
@keyframes logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
  }
  .logos-marquee {
    overflow-x: auto;
  }
}
/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 4.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  z-index: 90;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.55);
}
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 1rem;
  }
}

/* SERVICE CARD VIDEO */
.service-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* PROJECTS — CATEGORY INTRO + LIGHTBOX */
.category-intro {
  margin-bottom: 2rem;
}
.category-intro h2 {
  margin-bottom: 0.4rem;
}
.category-intro .lede {
  margin-bottom: 0;
}
.project-tile img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 19, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 300;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.reviews-heading {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 2rem;
  padding: 0 1rem;
}
.reviews-section {
  padding-top: 2rem; /* reduce from your current section padding */
}

.reviews-heading {
  margin: 0 0 2rem;
}

.reviews-heading {
  margin-top: -1.5rem; /* increase the negative value to go higher */
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--brown-300);
  color: var(--brown-300);
  font-size: 1rem;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.footer-social a:hover {
  background: var(--brown-300);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-social a[aria-label='Instagram']:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.footer-social a[aria-label='Facebook']:hover {
  background: #1877f2;
}

.footer-social a[aria-label='LinkedIn']:hover {
  background: #0a66c2;
}

.footer-social a[aria-label='YouTube']:hover {
  background: #ff0000;
}

.footer-social a[aria-label='WhatsApp']:hover {
  background: #25d366;
}

/* ham css error */
@media (max-width: 900px) {
  .nav-links,
  .nav-links .service-dropdown {
    display: none !important;
  }
  .nav-links.open,
  .nav-links.active,
  .nav-links.show {
    display: flex !important;
    flex-direction: column;
  }
  .nav-links.open .service-dropdown,
  .nav-links.active .service-dropdown,
  .nav-links.show .service-dropdown {
    display: block !important;
    position: static;
  }
}

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

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1; /* brand + social icons get a full row */
  }
  .footer-grid a {
    overflow-wrap: anywhere; /* long email wraps instead of overflowing */
  }
  .footer-bottom {
    padding-right: 4.5rem; /* keeps the copyright text clear of the WhatsApp button */
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    font-size: 0.4rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 600px) {
  .brand {
    margin-right: 0.9rem;
  }
  .brand-tagline {
    font-size: 0.4rem;
    letter-spacing: 0.04em;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 600px) {
  .nav-cta .btn {
    padding: 0.55em 0.8em;
    font-size: 0.74rem;
  }
}

/* FAQ */
.faq-list {
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-950);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown-500);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0 0 1.3rem;
  color: var(--brown-700);
  max-width: 68ch;
}
@media (max-width: 600px) {
  .faq-item summary {
    font-size: 1.02rem;
  }
}
