/* ============================================
   RADIANT HOMES - Construction & Remodeling
   Color Theme: Black + Copper/Bronze
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --copper: #C17F4E;
  --copper-light: #D4A574;
  --copper-dark: #A66B3C;
  --copper-glow: rgba(193, 127, 78, 0.15);
  --copper-glow-strong: rgba(193, 127, 78, 0.25);
  --black: #1A1A1A;
  --charcoal: #2D2D2D;
  --dark-gray: #3D3D3D;
  --gray: #6B6B6B;
  --light-gray: #E8E8E8;
  --off-white: #F5F0EB;
  --warm-white: #FDF8F4;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-copper: 0 4px 20px rgba(193, 127, 78, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px; /* fixed-navbar height; grows on phones (two-row nav) */
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.2;
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-copper {
  color: var(--copper);
}

/* Route inline copper-stroked icons through the palette variable so they
   switch to the commercial blue along with the rest of the page. The inline
   stroke="#C17F4E" presentation attribute is overridden by this rule. */
svg[stroke="#C17F4E"] {
  stroke: var(--copper);
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 60px;
}

/* ============ MODE VISIBILITY SYSTEM ============ */
html[data-site-mode="residential"] .com-only,
html:not([data-site-mode]) .com-only {
  display: none !important;
}
html[data-site-mode="commercial"] .res-only {
  display: none !important;
}
html[data-site-mode="residential"] .res-only,
html[data-site-mode="commercial"] .com-only {
  animation: modeFadeIn 0.4s ease-out;
}
@keyframes modeFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ COMMERCIAL MODE COLOR SHIFT ============ */
html[data-site-mode="commercial"] body {
  --copper: #4A7C9B;
  --copper-light: #6B9DB8;
  --copper-dark: #3A6680;
  --copper-glow: rgba(74, 124, 155, 0.15);
  --copper-glow-strong: rgba(74, 124, 155, 0.25);
  --shadow-copper: 0 4px 20px rgba(74, 124, 155, 0.3);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  box-shadow: var(--shadow-copper);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.nav-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--copper);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
  position: absolute;
  left: 6px;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -7px;
}

.hamburger::after {
  content: '';
  top: 7px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============ MODE TOGGLE ============ */
.mode-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  padding: 3px;
  flex-shrink: 0;
}
.mode-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background: var(--copper);
  border-radius: 50px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  box-shadow: 0 2px 8px rgba(193, 127, 78, 0.3);
}
.mode-toggle.commercial .mode-toggle-slider {
  transform: translateX(100%);
}
html[data-site-mode="commercial"] .mode-toggle-slider {
  background: #4A7C9B;
  box-shadow: 0 2px 8px rgba(74, 124, 155, 0.3);
}
.mode-toggle-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
  border-radius: 50px;
}
.mode-toggle-btn svg {
  transition: stroke 0.3s ease;
}
.mode-toggle-btn.active {
  color: var(--white);
}
.mode-toggle-btn.active svg {
  stroke: var(--white);
}
.mode-toggle-btn:not(.active):hover {
  color: var(--copper);
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 50%, var(--dark-gray) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, var(--copper-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(193,127,78,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--nav-h);
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: var(--copper-glow);
  border: 1px solid rgba(193, 127, 78, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.trust-icon {
  color: var(--copper);
  font-size: 1.1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ============ ABOUT SECTION ============ */
.about {
  background: var(--warm-white);
}

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

.about-image-placeholder {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed var(--copper-light);
}

.about-image-placeholder p {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copper);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============ SERVICES SECTION ============ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--copper-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper-glow);
  border-radius: var(--radius-md);
  color: var(--copper);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--copper);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}

.service-card > p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper);
}

.service-link:hover {
  gap: 12px;
  color: var(--copper-dark);
}

/* ============ WHY CHOOSE US ============ */
.why-us {
  background: var(--black);
}

.why-us .section-tag {
  color: var(--copper-light);
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--dark-gray);
}

.why-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(193, 127, 78, 0.15);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(193, 127, 78, 0.1);
  border-radius: 50%;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============ SERVICE AREAS ============ */
.service-areas {
  background: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.area-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.area-card:hover {
  border-color: var(--copper-light);
  box-shadow: var(--shadow-copper);
  transform: translateY(-4px);
}

.area-icon {
  margin-bottom: 20px;
}

.area-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.area-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ GALLERY SECTION ============ */
.gallery {
  background: var(--warm-white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item.hidden {
  display: none;
}

.gallery-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--light-gray) 0%, #D8D8D8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(193, 127, 78, 0.8), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-placeholder:hover::before {
  opacity: 1;
}

.gallery-placeholder span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-gray);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.gallery-placeholder small {
  font-size: 0.8rem;
  color: var(--gray);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.gallery-placeholder:hover span,
.gallery-placeholder:hover small {
  color: var(--white);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--white);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}

.testimonial-stars {
  color: var(--copper);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--black);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gray);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--light-gray);
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--copper);
  width: 28px;
  border-radius: 5px;
}

/* ============ FAQ SECTION ============ */
.faq {
  background: var(--warm-white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--copper);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--copper);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer a {
  color: var(--copper);
  font-weight: 600;
}

.faq-answer a:hover {
  color: var(--copper-dark);
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper) 50%, var(--copper-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner .btn-primary {
  background: var(--black);
  border-color: var(--black);
}

.cta-banner .btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============ CONTACT SECTION ============ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--copper-light);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper-glow);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-card a {
  color: var(--copper);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-card a:hover {
  color: var(--copper-dark);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0B0B0;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 12px;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 48px;
}

.form-success.show {
  display: flex;
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--black);
}

.form-success p {
  color: var(--gray);
  font-size: 1rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--dark-gray);
}

.footer-logo {
  height: 45px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-gray);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--copper);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.footer-contact a:hover {
  color: var(--copper);
}

.footer-contact svg {
  flex-shrink: 0;
  stroke: var(--copper);
}

.footer-bottom {
  padding: 28px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-copper);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--copper-dark);
  transform: translateY(-4px);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about-grid {
    gap: 48px;
  }

  .services-grid {
    gap: 24px;
  }

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Nav — two rows on phones: [logo+name | hamburger] then the mode toggle.
     This keeps the company name visible on phone landings. */
  :root {
    --nav-h: 104px;
  }
  .nav-toggle {
    display: block;
    order: 2;
  }
  .nav-container {
    flex-wrap: wrap;
    padding: 10px 0;
    row-gap: 6px;
  }
  .nav-logo {
    order: 1;
  }
  .logo-img {
    height: 44px; /* shrink the full lockup so name + hamburger fit row 1 */
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    /* The navbar's backdrop-filter makes it the containing block for this
       fixed element, so `bottom:0` would resolve against the short navbar.
       Size from the viewport height instead (dvh accounts for mobile chrome). */
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: var(--transition);
  }

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

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-placeholder {
    aspect-ratio: 16 / 9;
  }

  .about-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Mode Toggle — wraps onto its own second row, centered. order:3 places it
     after logo+hamburger so it's the item pushed to the next line; auto side
     margins center it on that line. Keep position:relative so the absolute
     slider stays anchored to the toggle (not the fixed navbar). */
  .mode-toggle {
    order: 3;
    position: relative;
    transform: none;
    margin: 0 auto;
    flex-shrink: 0;
  }
  .mode-toggle-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    gap: 4px;
  }
  .mode-toggle-btn svg {
    width: 12px;
    height: 12px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Service Areas */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 32px;
  }

  /* Why Us */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-filters {
    gap: 8px;
  }

  .gallery-filter {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-card p {
    font-size: 1rem;
  }

  /* CTA */
  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .mode-toggle-btn { padding: 7px 18px; font-size: 0.72rem; }
  .mode-toggle { margin: 0 auto; }

  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}
