/* ==========================================================================
   GIL CONSTRUCTION LLC - Premium Wyoming Contractor Theme
   Design System & Styling
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary-navy: #0f172a;
  --navy-darker: #090d16;
  --navy-light: #1e293b;
  --navy-muted: #334155;
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.18);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-slate {
  background-color: var(--primary-navy);
}

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

.text-gold {
  color: var(--accent-gold) !important;
}

.text-white {
  color: var(--text-white) !important;
}

.text-slate-light {
  color: var(--text-light);
}

.text-highlight {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Section Headings --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold-hover);
  background: var(--accent-gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag.text-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold) !important;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--primary-navy);
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-navy);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --- Top Verification Bar --- */
.top-bar {
  background: var(--navy-darker);
  color: var(--text-light);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-tag {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-phone {
  color: var(--text-white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-phone:hover {
  color: var(--accent-gold);
}

.top-cta-btn {
  background: var(--navy-light);
  color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.top-cta-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

/* --- Main Navigation Header --- */
.main-header {
  background: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 2px 8px var(--accent-gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--text-white);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}

.nav-btn-cta {
  background: var(--accent-gold) !important;
  color: var(--primary-navy) !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.nav-btn-cta:hover {
  background: var(--accent-gold-hover) !important;
  color: var(--text-white) !important;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1541888946425-d0fbb1861593?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 6rem 0;
  color: var(--text-white);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-pill i {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.trust-pill strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-white);
}

.trust-pill small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Hero Card / Quick Form --- */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.card-header p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-quick-form .input-group {
  margin-bottom: 1rem;
}

.hero-quick-form label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.hero-quick-form input,
.hero-quick-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

.hero-quick-form input:focus,
.hero-quick-form select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.hero-quick-form select option {
  background: var(--primary-navy);
  color: var(--text-white);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

/* --- Stats Strip --- */
.stats-strip {
  background: var(--navy-darker);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-card {
  text-align: center;
  padding: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.775rem;
  color: var(--text-light);
}

/* --- About Us Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-main-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-sub-img {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border: 6px solid var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-sub-img img {
  border-radius: calc(var(--radius-lg) - 6px);
  height: 220px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary-navy);
  color: var(--text-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--accent-gold);
}

.exp-icon {
  font-size: 1.75rem;
  color: var(--accent-gold);
}

.exp-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.exp-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.section-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-paragraph {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.founder-card {
  background: var(--bg-light);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.founder-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.founder-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.founder-role {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.founder-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--navy-muted);
}

/* --- Services Grid Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-navy);
  color: var(--accent-gold);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-icon-bubble {
  width: 46px;
  height: 46px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: -2.85rem;
  margin-bottom: 1rem;
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.service-bullets {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-bullets li {
  font-size: 0.825rem;
  color: var(--navy-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-bullets li i {
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-link:hover {
  color: var(--accent-gold-hover);
  gap: 0.65rem;
}

/* --- Interactive Estimator Section --- */
.estimator-section {
  background: var(--primary-navy);
  color: var(--text-white);
  position: relative;
}

.estimator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.estimator-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.estimator-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.estimator-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.perk-item i {
  font-size: 1.15rem;
}

.estimator-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.calc-step {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.type-pill {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.type-pill:hover,
.type-pill.active {
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-color: var(--accent-gold);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sqft-val-display {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
}

.custom-range {
  width: 100%;
  height: 8px;
  background: var(--primary-navy);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
  margin: 1rem 0 0.5rem;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent-gold);
  border: 3px solid var(--text-white);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.tier-card {
  cursor: pointer;
}

.tier-card input {
  display: none;
}

.tier-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  transition: var(--transition);
}

.tier-card input:checked + .tier-box,
.tier-card.active .tier-box {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
}

.tier-name {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-white);
}

.tier-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.calc-result-box {
  background: var(--primary-navy);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.calc-result-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.calc-result-price {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* --- Featured Projects & Portfolio --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  color: var(--text-white);
  border-color: var(--primary-navy);
}

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

.portfolio-item {
  transition: var(--transition);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

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

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--text-white);
  transition: var(--transition);
}

.portfolio-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
}

.portfolio-item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.portfolio-item-location {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.portfolio-view-btn {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-view-btn {
  opacity: 1;
  transform: translateY(0);
}

/* --- Why Choose Us Section --- */
.why-us-section {
  background: var(--primary-navy);
  color: var(--text-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.pillar-icon {
  font-size: 1.65rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pillar-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.pillar-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}

.service-area-box {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}

.service-area-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.service-area-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.area-tag {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.area-tag i {
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.headquarters-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--primary-navy);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-gold);
}

.hq-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.hq-details strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.hq-details span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.hq-details small {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.call-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.call-banner strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-white);
}

.call-banner p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.testi-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.3);
}

.testi-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--navy-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testi-author strong {
  display: block;
  font-size: 0.925rem;
  color: var(--primary-navy);
}

.testi-author small {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-accordion-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--accent-gold-hover);
}

.faq-icon {
  font-size: 1rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.925rem;
  color: var(--navy-muted);
  line-height: 1.6;
}

/* --- Comprehensive Contact Section --- */
.contact-section {
  color: var(--text-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-detail-card {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.cd-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.contact-detail-card p,
.contact-detail-card a {
  font-size: 0.875rem;
  color: var(--text-light);
}

.contact-detail-card a:hover {
  color: var(--accent-gold);
}

.quote-form-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.quote-form-header {
  margin-bottom: 2rem;
}

.quote-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.quote-form-header p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--accent-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

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

.form-group select option {
  background: var(--primary-navy);
  color: var(--text-white);
}

.submit-btn {
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* --- Project Detail Modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.modal-img-wrapper {
  height: 300px;
  overflow: hidden;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 2rem;
}

.modal-badge {
  background: var(--accent-gold-light);
  color: var(--accent-gold-hover);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0.5rem 0 0.25rem;
}

.modal-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--navy-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --- Notification Toast --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: var(--primary-navy);
  color: var(--text-white);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast i {
  font-size: 1.5rem;
}

.toast-content strong {
  display: block;
  font-size: 0.925rem;
}

.toast-content span {
  font-size: 0.825rem;
  color: var(--text-light);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-darker);
  color: var(--text-light);
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.filing-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.filing-badge i {
  font-size: 1.5rem;
}

.filing-badge strong {
  display: block;
  font-size: 0.825rem;
  color: var(--text-white);
}

.filing-badge small {
  font-size: 0.725rem;
  color: var(--text-light);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-nav li {
  margin-bottom: 0.65rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav a i {
  font-size: 0.65rem;
  color: var(--accent-gold);
}

.footer-nav a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-info li i {
  margin-top: 0.25rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid,
  .estimator-wrapper,
  .why-us-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
  }
  
  .stat-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--navy-darker);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  
  .nav-menu.open {
    transform: translateY(0);
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .about-sub-img {
    position: static;
    width: 100%;
    margin-top: 1rem;
    border: none;
  }
}
