/* =========================================================
   DGC Carpentry — Production Styles
   ========================================================= */

:root {
  --gold: #deb86d;
  --gold-dark: #c9a24a;
  --gold-soft: #f0d9a0;
  --gold-bg: #f3ead3;

  --black: #111111;
  --black-soft: #1a1a1a;
  --charcoal: #2a2a2a;

  --white: #ffffff;
  --off-white: #f7f7f5;
  --gray-100: #f0f0ee;
  --gray-200: #e4e4e0;
  --gray-400: #9a9a94;
  --gray-600: #5c5c56;
  --gray-800: #2e2e2a;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --topbar-h: 40px;
  --header-h: 78px;
  --logo-w: 200px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.1);
  --shadow-lg: 0 20px 48px rgba(17, 17, 17, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  position: relative;
  overflow-x: clip;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
  color: var(--black);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

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

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

.btn-primary {
  background: var(--gold);
  color: var(--white) !important;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(222, 184, 109, 0.35);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(222, 184, 109, 0.45);
}

.btn-quote {
  padding: 0.7rem 0.7rem 0.7rem 1.35rem;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.btn-outline-light {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black) !important;
  border-color: var(--white);
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
  overflow-x: clip;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.section-title-light {
  color: var(--white);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 36rem;
}

.section-header {
  margin-bottom: 2.75rem;
}

/* ---------- Masthead / Topbar / Header ---------- */
.site-masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.topbar {
  background: var(--gold);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  padding-left: calc(var(--logo-w) + 1.5rem);
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.topbar-contact a,
.topbar-social a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-contact a:hover,
.topbar-social a:hover {
  color: var(--black);
}

.topbar-social {
  display: flex;
  gap: 0.95rem;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
  padding: 20px 0 10px 0;
}

.site-masthead.is-scrolled .site-header {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-200);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-left: calc(var(--logo-w) + 1.5rem);
}

.site-logo {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  height: calc(var(--topbar-h) + var(--header-h));
  width: var(--logo-w);
  background: var(--black);
  border-radius: 0 999px 999px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.75rem 1.15rem 1rem;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.18);
}

.site-logo img {
  width: 100%;
  height: auto;
  max-height: calc(100% - 0.25rem);
  object-fit: contain;
}


.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1201;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.nav-drawer-top,
.nav-drawer-cta,
.nav-close {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel,
.hero-slide {
  height: 100%;
}

.hero-carousel .owl-stage-outer,
.hero-carousel .owl-stage,
.hero-carousel .owl-item {
  height: 100%;
}

.hero-bg img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.55) 48%,
    rgba(10, 10, 10, 0.35) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
  padding: 4rem 0;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-slider-nav {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.65rem;
}

.hero-prev,
.hero-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(17, 17, 17, 0.35);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- About ---------- */
.about-section {
  background: var(--white);
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-main {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--black-soft);
}

.feature-grid i {
  color: var(--gold);
  margin-top: 0.2rem;
}

/* ---------- Services ---------- */
.services-section {
  background: var(--off-white);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.4rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.service-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-dark);
  margin-top: 0.5rem;
}

.service-link:hover {
  color: var(--black);
}

.service-card.is-featured {
  background: var(--gold);
}

.service-card.is-featured .service-title,
.service-card.is-featured .service-body p,
.service-card.is-featured .service-link {
  color: var(--white);
}

.service-card.is-featured .service-link:hover {
  color: var(--black);
}

.service-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.service-detail-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body {
  padding: 1.5rem;
}

.service-detail-body h3 {
  font-size: 1.5rem;
}

/* ---------- Process ---------- */
.process-section {
  background: var(--black-soft);
  color: rgba(255, 255, 255, 0.78);
}

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

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

.process-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step h3 span {
  color: var(--gold);
}

.process-step p {
  font-size: 0.92rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Works ---------- */
.works-section {
  background: var(--white);
}

.works-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.works-nav {
  display: flex;
  gap: 0.65rem;
}

.works-prev,
.works-next,
.testi-prev,
.testi-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.works-prev:hover,
.works-next:hover,
.testi-prev:hover,
.testi-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.works-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.works-item:hover img {
  transform: scale(1.04);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.4rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------- Quote + Testimonials ---------- */
.quote-section {
  background: var(--off-white);
}

.quote-form .form-control,
.quote-form .form-select,
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  box-shadow: none;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus,
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.18);
}

.quote-form .form-control.is-invalid,
.quote-form .form-select.is-invalid,
.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #c0392b;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-feedback.success {
  color: #1e7a3a;
}

.form-feedback.error {
  color: #c0392b;
}

.testimonial-card {
  background: var(--gold-bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  min-height: 320px;
  height: 100%;
}

.testimonial-card .stars {
  color: var(--gold);
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
}

.testimonial-card blockquote p {
  font-size: 1.02rem;
  color: var(--gray-800);
  margin: 0;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--black);
  display: block;
}

.testimonial-card .role {
  font-size: 0.88rem;
  color: var(--gray-600);
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 1.25rem;
}

.owl-carousel .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  background: var(--gray-200);
  display: block;
  border-radius: 50%;
  transition: background var(--transition);
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
  background: var(--gold);
}

/* ---------- Contact page extras ---------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.contact-details li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-details i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.contact-details a,
.contact-details span {
  color: var(--black);
  font-weight: 500;
}

.contact-map {
  margin-top: 3rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.68);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-hero-label {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.page-hero-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a {
  color: var(--gold);
}

/* ---------- Values / about extras ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.value-card i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.value-card h3 {
  font-size: 1.3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-steps .process-step {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
}

.process-steps .process-step h3 {
  color: var(--black);
}

.process-steps .process-step p {
  color: var(--gray-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: auto;
  width: 150px;
  max-width: 100%;
}

.footer-about p {
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 0.2rem;
  width: 1rem;
  text-align: center;
}

.footer-bottom-bar {
  background: #9a6b2f;
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  margin: 0;
  color: var(--white);
  font-size: 0.88rem;
}

.footer-bottom-inner a {
  color: var(--white);
  text-decoration: underline;
}

.footer-social-btns {
  display: flex;
  gap: 0.55rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
}

.social-fb { background: #1877f2; }
.social-ig { background: #e1306c; }
.social-x { background: #1da1f2; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  :root {
    --logo-w: 150px;
    --header-h: 68px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  body.nav-open .nav-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1202;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    margin-right: 0;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--white);
    padding: 1.25rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-drawer-label {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--black);
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--black);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }

  .nav-close:hover {
    background: var(--gold);
    color: var(--white);
  }

  .nav-drawer-cta {
    display: inline-flex;
    margin-top: auto;
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
    z-index: 1190;
  }

  .topbar-inner,
  .header-inner {
    padding-left: calc(var(--logo-w) + 0.85rem);
  }

  .site-logo {
    padding: 0.85rem 1.35rem 0.85rem 0.75rem;
  }

  .process-grid,
  .process-steps,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-img-main {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  :root {
    --logo-w: 118px;
    --topbar-h: 52px;
    --header-h: 60px;
  }

  .topbar-contact a {
    font-size: 0.72rem;
  }

  .topbar-contact {
    gap: 0.65rem;
  }

  .topbar-social {
    display: none;
  }

  .topbar-inner {
    padding-left: calc(var(--logo-w) + 0.5rem);
  }

  .header-inner {
    padding-left: calc(var(--logo-w) + 0.5rem);
  }

  .site-logo {
    padding: 0.7rem 1rem 0.7rem 0.55rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding: 3rem 0;
  }

  .feature-grid,
  .process-grid,
  .process-steps,
  .values-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .works-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }
}
