/* =============================================================================
   KCL Interiors Limited — residential.css
   All residential-theme specific styles
   ============================================================================= */

/* Google Fonts loaded via <link> in HTML <head> — no @import needed */

/* ---------------------------------------------------------------------------
   RESIDENTIAL CUSTOM PROPERTIES
   --------------------------------------------------------------------------- */
:root {
  --color-bg:        #FAFAF5;
  --color-surface:   #F5F0EB;
  --color-brand:     #1B2A41;
  --color-accent:    #C9A96E;
  --color-accent-hv: #8B6F47;
  --color-text:      #2C2C2C;
  --color-text-inv:  #FAFAF5;
  --color-trust:     #2D6A4F;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ---------------------------------------------------------------------------
   RESIDENTIAL NAV
   --------------------------------------------------------------------------- */
.res-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 42, 65, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.res-nav.scrolled {
  background: rgba(27, 42, 65, 1);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.res-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.res-nav .nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0;
  text-decoration: none;
}

.res-nav .nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.res-nav .nav-logo-sub {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 2px;
}

.res-nav .nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.res-nav .nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 768px) {
  .res-nav .nav-links {
    display: flex;
  }
}

.res-nav .nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 250, 245, 0.85);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.25s ease;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.res-nav .nav-links a:hover,
.res-nav .nav-links a.active {
  color: #C9A96E;
  border-bottom-color: #C9A96E;
}

.res-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px 8px !important;
  background: #C9A96E;
  color: #fff !important;
  border-radius: 3px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  border: 2px solid #C9A96E !important;
  border-bottom: 2px solid #C9A96E !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.res-nav .nav-cta:hover {
  background: #8B6F47 !important;
  border-color: #8B6F47 !important;
  border-bottom-color: #8B6F47 !important;
  transform: none !important;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250,250,245,0.85);
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: #C9A96E;
  border-bottom-color: #C9A96E;
}

.nav-dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27,42,65,0.98);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 4px;
  padding: 6px 0;
  min-width: 210px;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(250,250,245,0.85);
  text-decoration: none;
  letter-spacing: 0.3px;
  border-bottom: none !important;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: #C9A96E;
  background: rgba(201,169,110,0.08);
}

/* Mobile nav dropdown */
.mobile-nav-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: #FAFAF5;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: color 0.25s ease;
}

.mobile-nav-dropdown-trigger:hover,
.mobile-nav-dropdown.open .mobile-nav-dropdown-trigger {
  color: #C9A96E;
}

.mobile-nav-dropdown-arrow {
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-nav-dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-menu {
  display: flex;
}

.mobile-nav-dropdown-menu a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(250,250,245,0.7);
  text-decoration: none;
  letter-spacing: 0.3px;
  border-bottom: none !important;
  transition: color 0.25s ease;
}

.mobile-nav-dropdown-menu a:hover {
  color: #C9A96E;
}

/* Hamburger */
.res-nav .nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.res-nav .nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FAFAF5;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.res-nav .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.res-nav .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.res-nav .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .res-nav .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.res-nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #1B2A41;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.res-nav-mobile.open {
  display: flex;
}

.res-nav-mobile a {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: #FAFAF5;
  text-decoration: none;
  transition: color 0.25s ease;
}

.res-nav-mobile a:hover {
  color: #C9A96E;
}

.res-nav-mobile .nav-cta-mob {
  display: inline-block;
  padding: 14px 32px;
  background: #C9A96E;
  color: #fff !important;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   RESIDENTIAL HERO
   --------------------------------------------------------------------------- */
.res-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.res-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background-attachment: fixed;
}

/* Parallax via background-image on section */
.res-hero-parallax {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

/* Safari/iOS ignores background-attachment: fixed — fall back to scroll */
@supports (-webkit-touch-callout: none) {
  .res-hero-parallax {
    background-attachment: scroll;
  }
}

.res-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 65, 0.93) 0%,
    rgba(27, 42, 65, 0.70) 50%,
    rgba(27, 42, 65, 0.80) 100%
  );
  z-index: 1;
}

.res-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 96px;
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.res-hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 20px;
}

.res-hero-content h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #FAFAF5;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 720px;
}

.res-hero-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 250, 245, 0.85);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}

.res-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------------------------------------------------------------------
   SERVICES GRID — "The Profit Six"
   --------------------------------------------------------------------------- */
.services-section {
  background: #FAFAF5;
  padding: 96px 0;
}

.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

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

.service-card {
  background: #F5F0EB;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

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

.service-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: #C9A96E;
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 400;
}

.service-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  color: #1B2A41;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #2C2C2C;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.service-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C9A96E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.service-card-link:hover {
  color: #8B6F47;
  gap: 10px;
}

/* ---------------------------------------------------------------------------
   RESIDENTIAL TRUST SECTION
   --------------------------------------------------------------------------- */
.res-trust-section {
  background: #1B2A41;
  padding: 64px 0;
}

.res-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
}

.res-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.res-trust-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  border: 2px solid #C9A96E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.res-trust-badge-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C9A96E;
}

.res-trust-badge-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(250, 250, 245, 0.6);
}

/* ---------------------------------------------------------------------------
   TESTIMONIALS — Residential
   --------------------------------------------------------------------------- */
.res-testimonials {
  background: #FAFAF5;
  padding: 96px 0;
}

.testimonial-card-res {
  background: #F5F0EB;
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card-res::before {
  content: '\201C';
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 5rem;
  color: #C9A96E;
  opacity: 0.2;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}

/* ---------------------------------------------------------------------------
   PROCESS TIMELINE — Residential
   --------------------------------------------------------------------------- */
.res-process {
  background: #1B2A41;
  padding: 96px 0;
}

.res-process .section-header h2 {
  color: #FAFAF5;
}

.res-process .section-header p {
  color: rgba(250, 250, 245, 0.75);
}

.res-process-steps {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .res-process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* Horizontal connector line */
  .res-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 1px;
    background: linear-gradient(90deg, #C9A96E 0%, rgba(201,169,110,0.2) 100%);
    z-index: 0;
  }
}

.res-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.res-process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1B2A41;
  color: #C9A96E;
  border: 2px solid rgba(201, 169, 110, 0.3);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 20px;
}

.res-process-step h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: #FAFAF5;
  margin-bottom: 8px;
}

.res-process-step p {
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.65);
  line-height: 1.6;
  margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   FAQ ACCORDION
   --------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(27,42,65,0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #1B2A41;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #C9A96E;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: #C9A96E;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: rgba(27,42,65,0.72);
  line-height: 1.75;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   CTA BANNER — Residential (gold)
   --------------------------------------------------------------------------- */
.res-cta-banner {
  background: linear-gradient(135deg, #C9A96E 0%, #8B6F47 100%);
  padding: 96px 0;
  text-align: center;
}

.res-cta-banner h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.res-cta-banner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.res-cta-banner .btn-cta-white {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  color: #8B6F47;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  margin: 0 8px;
}

.res-cta-banner .btn-cta-white:hover {
  background: #FAFAF5;
  transform: translateY(-2px);
}

.res-cta-banner .btn-cta-ghost {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 8px;
}

.res-cta-banner .btn-cta-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ---------------------------------------------------------------------------
   RESIDENTIAL FOOTER
   --------------------------------------------------------------------------- */
.res-footer {
  background: #1B2A41;
  padding: 96px 0 40px;
  color: #FAFAF5;
}

.res-footer-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .res-footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 40px;
  }
}

.res-footer-brand .footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.res-footer-brand .footer-logo {
  height: 48px;
}

.res-footer-brand .nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.res-footer-brand p {
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.6);
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 16px;
}

.footer-nav-list a {
  display: block;
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.65);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-nav-list a:hover {
  color: #FAFAF5;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  font-size: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.65);
  text-decoration: none;
  line-height: 1.5;
}

.footer-contact-item a:hover {
  color: #C9A96E;
}

.res-footer-bottom {
  border-top: 1px solid rgba(250, 250, 245, 0.1);
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .res-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.res-footer-bottom p {
  font-size: 0.75rem;
  color: rgba(250, 250, 245, 0.4);
}

.res-footer-bottom a {
  color: rgba(250, 250, 245, 0.4);
  text-decoration: none;
  transition: color 0.25s ease;
}

.res-footer-bottom a:hover {
  color: #C9A96E;
}

/* ---------------------------------------------------------------------------
   ABOUT PAGE — RESIDENTIAL
   --------------------------------------------------------------------------- */
.res-about-intro {
  background: #FAFAF5;
  padding: 96px 0;
}

.res-about-intro .about-lead {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #1B2A41;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.res-about-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2C2C2C;
  margin-bottom: 20px;
}

.promise-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .promise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-card {
  background: #F5F0EB;
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.promise-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.promise-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: #1B2A41;
  margin-bottom: 10px;
}

.promise-card p {
  font-size: 0.875rem;
  color: #2C2C2C;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   PORTFOLIO PAGE — Residential
   --------------------------------------------------------------------------- */
.res-portfolio-section {
  background: #FAFAF5;
  padding: 96px 0;
}

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

@media (min-width: 768px) {
  .res-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .res-portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Span some items for masonry-like effect */
.res-portfolio-grid .port-wide {
  grid-column: span 2;
}

/* ---------------------------------------------------------------------------
   CONTACT PAGE — Residential
   --------------------------------------------------------------------------- */
.res-contact-section {
  background: #FAFAF5;
  padding: 96px 0;
}

.res-contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 1280px) {
  .res-contact-grid {
    grid-template-columns: 1fr 400px;
  }
}

.res-contact-info {
  background: #1B2A41;
  border-radius: 4px;
  padding: 48px 40px;
}

.res-contact-info h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  color: #FAFAF5;
  margin-bottom: 8px;
}

.res-contact-info .info-sub {
  font-size: 0.9rem;
  color: rgba(250, 250, 245, 0.65);
  margin-bottom: 40px;
}

.res-contact-info .contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(250, 250, 245, 0.1);
}

.res-contact-info .contact-detail:last-child {
  border-bottom: none;
}

.res-contact-info .contact-detail .det-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.res-contact-info .contact-detail .det-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 4px;
}

.res-contact-info .contact-detail .det-text p,
.res-contact-info .contact-detail .det-text a {
  font-size: 0.9rem;
  color: rgba(250, 250, 245, 0.75);
  text-decoration: none;
}

.res-contact-info .contact-detail .det-text a:hover {
  color: #C9A96E;
}

/* Form wrapper */
.res-form-wrapper {
  background: #fff;
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.res-form-wrapper h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  color: #1B2A41;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.res-form-wrapper .form-sub {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 32px;
}

/* ---------------------------------------------------------------------------
   SERVICES DETAIL PAGE — Residential
   --------------------------------------------------------------------------- */
.res-services-page {
  background: #FAFAF5;
}

.service-detail-section {
  padding: 96px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-detail-section:nth-child(even) {
  background: #F5F0EB;
}

/* ---------------------------------------------------------------------------
   UTILITY — Page offset for sticky nav
   --------------------------------------------------------------------------- */
.page-offset {
  padding-top: 72px;
}
