/* ============================================================
   RCV Construction LLC — Shared Stylesheet
   Mountain-Modern Luxury | SEO-Optimized Site
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary:    #2C3E50;
  --secondary:  #34495E;
  --accent:     #D4A574;
  --accent-dark:#B8895A;
  --wood:       #8B6F47;
  --sage:       #A8B5A0;
  --stone:      #E8E4DF;
  --off-white:  #F8F6F3;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #6B7280;
  --border:     rgba(44,62,80,0.12);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --radius:     4px;
  --radius-lg:  8px;
  --max-width:  1200px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: block;
}
.nav-links > li > a:hover { color: var(--accent); background: var(--off-white); }
.nav-links > li > a.active { color: var(--accent); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle::after { content: ' ▾'; font-size: 0.65rem; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 100;
}
.dropdown-menu.mega {
  min-width: 480px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 1rem;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown:hover .dropdown-menu.mega,
.dropdown:focus-within .dropdown-menu.mega { display: grid; }

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.2s, background 0.2s;
}
.dropdown-menu a:hover { color: var(--accent); background: var(--off-white); }

.mega-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.75rem 0.4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 0.55rem 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

.nav-phone {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-phone:hover { color: var(--accent); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(212,165,116,0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; max-width: 720px; }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.hero-meta span strong { color: var(--accent); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--secondary); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}
.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
}
.trust-item .icon { color: var(--accent); font-size: 1rem; }

/* ── Section Base ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin-bottom: 3rem; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.7rem; }

/* ── Service Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.feature-item { padding: 1.75rem; background: var(--off-white); border-radius: var(--radius-lg); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-item h4 { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.88rem; }

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
  margin-top: 2.5rem;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 2.5rem;
  color: var(--accent);
  font-size: 1.5rem;
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h4 { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; }
.process-step p { font-size: 0.82rem; }

/* ── Project Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(44,62,80,0.9), transparent);
  padding: 1.5rem 1rem 1rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.testimonial {
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; font-style: italic; color: var(--secondary); margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.testimonial-location { font-size: 0.78rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--primary);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Page Hero (interior pages) ── */
.page-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; font-size: 1.05rem; }

/* ── Two-column split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img { border-radius: var(--radius-lg); width: 100%; height: 420px; object-fit: cover; }

/* ── Content with sidebar ── */
.content-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.sidebar-widget h4 { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.sidebar-widget ul li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border: none; }
.sidebar-widget ul a { font-size: 0.88rem; color: var(--secondary); transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-widget ul a:hover { color: var(--accent); }
.sidebar-widget ul a::before { content: '›'; color: var(--accent); }
.sidebar-cta { background: var(--primary); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; }
.sidebar-cta h4 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 0.5rem; }
.sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1.25rem; }

/* ── Footer ── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--accent); }
.footer h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-licenses { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ── Shared page sections ── */
.bg-stone { background: var(--off-white); }
.bg-dark  { background: var(--primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split img { height: 300px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .nav-links.open > li > a { padding: 0.75rem 1rem; border-radius: var(--radius); }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--off-white); border-radius: var(--radius); margin-top: 0.25rem; display: block; }
  .dropdown-menu.mega { grid-template-columns: 1fr; display: block; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding-bottom: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
