:root {
  --bg-base: #0a0a0c; 
  --bg-surface: #151518;
  --bg-surface-light: #1f1f23;
  --brand-orange: #f97316;
  --brand-orange-hover: #ea580c;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', system-ui, sans-serif;
  --transition-speed: 0.4s; 
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-base); color: var(--text-primary); font-family: var(--font-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.5; }

/* --- SPA TAB ROUTING LOGIC --- */
.tab-view { display: none; }
.active-view { display: block; animation: hologramFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* --- 1. ADVANCED TEXT GLOW UTILITY --- */
.text-glow-orange {
  color: #ffffff !important;
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.6), 
    0 0 15px var(--brand-orange), 
    0 0 30px var(--brand-orange), 
    0 0 50px var(--brand-orange-hover) !important;
}

/* --- NAVIGATION & MOBILE MENU --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 5%; background-color: rgba(10, 10, 12, 0.95); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: 1000; }
.nav-logo img { height: clamp(40px, 5vw, 55px); width: auto; filter: drop-shadow(0 0 10px rgba(249,115,22,0.3)); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all var(--transition-speed); }
.nav-links a:hover, .nav-links a.active { color: var(--brand-orange); border-bottom: 2px solid var(--brand-orange); padding-bottom: 4px; text-shadow: 0 0 10px rgba(249, 115, 22, 0.8), 0 0 20px rgba(249, 115, 22, 0.4); }

.nav-cta { background-color: var(--brand-orange); color: var(--text-primary); padding: 0.85rem 1.5rem; border-radius: 6px; font-weight: 800; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; animation: pulse-glow 2.5s infinite; transition: all var(--transition-speed); border: none; text-align: center;}
.nav-cta:hover { background-color: var(--brand-orange-hover); transform: scale(1.05); animation: none; box-shadow: 0 0 30px rgba(249, 115, 22, 0.9); }

.nav-checkbox { position: absolute; opacity: 0; pointer-events: none; z-index: -1; }
.nav-toggle-btn, .mobile-only-cta { display: none; }
.nav-toggle-btn i { font-size: 1.8rem; cursor: pointer; color: var(--brand-orange); }

/* --- INTERNAL HEADERS --- */
.internal-hero { background: linear-gradient(rgba(10,10,12,0.7), rgba(10,10,12,0.9)), url('https://raw.githubusercontent.com/sethk727-crypto/tiger-roofing-masonry/main/Roof.jpg') center/cover; padding: 6rem 5% 4rem 5%; text-align: center; border-bottom: 1px solid var(--border-subtle); }
.internal-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
.internal-hero p { color: var(--text-secondary); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 600px; margin: 0 auto;}

/* --- HERO SECTION (Home) --- */
.hero { position: relative; min-height: 80vh; padding-top: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(to bottom, rgba(10, 10, 12, 0.4), rgba(10, 10, 12, 0.85)), url('https://raw.githubusercontent.com/sethk727-crypto/tiger-roofing-masonry/main/Roof.jpg') center/cover no-repeat; }
.hero-content { position: relative; z-index: 2; padding: 0 1rem; margin-bottom: 3rem; }
.hero-content h1 { font-size: clamp(1.8rem, 4.5vw, 4rem); font-weight: 800; line-height: 1.15; max-width: 900px; margin-bottom: 2rem; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
.hero-btn { background-color: #ffffff; color: #111827; padding: 1rem 2rem; border-radius: 6px; font-weight: 800; text-decoration: none; text-transform: uppercase; transition: all var(--transition-speed); display: inline-block; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.hero-btn:hover { background-color: var(--brand-orange); color: white; box-shadow: 0 0 35px rgba(249, 115, 22, 0.8); transform: translateY(-3px); }

.trust-anchor { display: flex; gap: clamp(1rem, 3vw, 2rem); z-index: 2; font-size: clamp(0.75rem, 1.5vw, 0.9rem); font-weight: 600; color: #e5e7eb; text-shadow: 0 2px 4px rgba(0,0,0,0.9); flex-wrap: wrap; justify-content: center;}
.trust-anchor i { color: var(--brand-orange); margin-right: 5px; }

.stats-badge { position: absolute; bottom: 2.5rem; right: 5%; background: rgba(20, 20, 22, 0.7); backdrop-filter: blur(12px); border-left: 4px solid var(--brand-orange); padding: 1.25rem 1.5rem; border-radius: 8px; max-width: 250px; z-index: 2; display: none; }
@media (min-width: 1024px) { .stats-badge { display: block; } }
.stats-badge h2 { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem;}
.stats-badge p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.3;}

/* --- FLUID RESPONSIVE LOGO BLENDING --- */
.overlap-container { position: relative; height: 0; display: flex; justify-content: center; z-index: 20; pointer-events: none; }
.center-emblem { width: clamp(200px, 30vw, 350px); transform: translateY(-50%); filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.75)); pointer-events: auto; }
.float-anim { animation: levitate 4s ease-in-out infinite; }

.features-bar { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max-width); margin: 0 auto; padding: clamp(3rem, 5vw, 4rem) 5% 2rem 5%; gap: 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
.feature-item i { color: var(--brand-orange); font-size: 1.75rem; filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4)); }
.feature-item p { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); }

/* --- SERVICES & GLOWS --- */
.services-section { padding: 5rem 5%; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.services-section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.glow-effect { background-color: var(--bg-surface); border: 1px solid var(--border-subtle); border-bottom: 3px solid var(--brand-orange); border-radius: 10px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.glow-effect:hover { border-color: var(--brand-orange); background-color: var(--bg-surface-light); transform: translateY(-5px) scale(1.02); box-shadow: 0 0 30px rgba(249, 115, 22, 0.4), inset 0 0 15px rgba(249, 115, 22, 0.1); }

.service-card { padding: 2.5rem 1.5rem; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.card-top i { color: var(--brand-orange); font-size: 3rem; margin-bottom: 1.5rem; }
.glow-effect:hover .card-top i { filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.8)); }
.card-top h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; transition: color 0.3s; }
.glow-effect:hover .card-top h3 { color: var(--brand-orange); text-shadow: 0 0 10px rgba(249, 115, 22, 0.6); }
.card-top p { color: var(--text-secondary); font-size: 0.9rem; }
.card-link { margin-top: 2rem; color: var(--brand-orange); text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; transition: text-shadow var(--transition-speed); }
.card-link:hover { text-shadow: 0 0 15px rgba(249, 115, 22, 0.9); }

.hover-context-box { position: absolute; top: 15%; right: -5%; background: rgba(21, 21, 24, 0.98); backdrop-filter: blur(10px); border: 2px solid var(--brand-orange); border-radius: 6px; padding: 1.2rem; text-align: left; z-index: 50; box-shadow: 0 15px 35px rgba(0,0,0,0.9), 0 0 20px rgba(249,115,22,0.3); opacity: 0; visibility: hidden; transform: translateX(-10px); transition: all 0.3s; }
.service-card:hover .hover-context-box { opacity: 1; visibility: visible; right: -15%; transform: translateX(0); }
.hover-context-box span { display: block; font-size: 0.85rem; font-weight: 700; color: #9ca3af; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.2s; }
.hover-context-box span.highlight-item, .hover-context-box span:hover { color: #ffffff; text-shadow: 0 0 8px rgba(249, 115, 22, 0.9); }
.hover-context-box span:last-child { border-bottom: none; }

/* --- FULL-WIDTH MAP & UTILITY ROW --- */
.utility-row { display: block; max-width: var(--max-width); margin: 0 auto 5rem auto; padding: 0 5%; }
.utility-row h4 { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 800; color: #fff;}
.map-box { width: 100%; height: 350px; background: linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.85)), url('https://placehold.co/800x400/242426/f97316?text=Live+Map'); background-size: cover; background-position: center; border-radius: 10px; border: 1px solid var(--border-subtle); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.map-box iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; filter: invert(100%) hue-rotate(180deg) contrast(110%) brightness(90%); }
.radar-core { position: absolute; width: 12px; height: 12px; background-color: var(--brand-orange); border-radius: 50%; z-index: 4; box-shadow: 0 0 10px var(--brand-orange); left: 25%; }
.radar-ping { position: absolute; left: 25%; width: 12px; height: 12px; background-color: var(--brand-orange); border-radius: 50%; z-index: 3; animation: radar-wave 2s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* --- MODERN PORTFOLIO IMAGE GRID --- */
.advanced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: var(--max-width); margin: 4rem auto; padding: 0 5%; grid-auto-rows: 250px; grid-auto-flow: dense; }
.portfolio-item { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; cursor: pointer; }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay { position: absolute; bottom: -60px; left: 0; width: 100%; background: linear-gradient(transparent, rgba(249,115,22,0.95)); padding: 2rem 1rem 1rem 1rem; transition: bottom 0.3s ease; }
.portfolio-item:hover .portfolio-overlay { bottom: 0; }
.portfolio-overlay h4 { color: #fff; font-size: 1.1rem; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

/* --- ABOUT TAB CONTENT --- */
.about-content { display: flex; flex-wrap: wrap; gap: 4rem; max-width: var(--max-width); margin: 5rem auto; padding: 0 5%; align-items: center; }
.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--brand-orange); margin-bottom: 1.5rem; line-height: 1.2;}
.about-text p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; }
.about-stats { display: flex; gap: 2rem; flex: 1; min-width: 300px; justify-content: center; }
.stat-box { padding: 2rem; text-align: center; width: 100%; }
.stat-box h3 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1;}

/* --- CONTACT TAB CONTENT --- */
.contact-section { display: flex; flex-wrap: wrap; gap: 4rem; max-width: var(--max-width); margin: 5rem auto; padding: 0 5%; }
.contact-form-container { flex: 2; min-width: 320px; padding: clamp(1.5rem, 4vw, 3rem); }
.contact-form-container h2 { color: var(--brand-orange); margin-bottom: 2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; }
.input-group input, .input-group textarea { width: 100%; background: #0a0a0c; border: 1px solid var(--border-subtle); color: #fff; padding: 1rem; border-radius: 6px; font-family: var(--font-main); transition: all 0.3s; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 15px rgba(249,115,22,0.4); }
.submit-btn { width: 100%; background: var(--brand-orange); color: #fff; padding: 1.2rem; border: none; border-radius: 6px; font-weight: 800; font-size: 1rem; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.submit-btn:hover { background: var(--brand-orange-hover); box-shadow: 0 0 25px rgba(249,115,22,0.8); }
.contact-direct { flex: 1; min-width: 300px; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.contact-direct h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-direct p { font-size: 1.1rem; color: var(--text-secondary); display: flex; align-items: center; gap: 1rem; }
.contact-direct i { color: var(--brand-orange); font-size: 1.3rem; }

.footer-trust { border-top: 1px solid var(--border-subtle); background-color: #050505; padding: 4rem 5%; display: flex; justify-content: space-between; align-items: center; max-width: 100%; margin: 0 auto; flex-wrap: wrap; gap: 2rem;}
.google-rating { display: flex; align-items: center; gap: 1rem; }

/* --- PHYSICS ANIMATION ENGINE --- */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
@keyframes levitate {
  0% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); filter: drop-shadow(0 25px 35px rgba(0,0,0,0.9)); }
  100% { transform: translateY(-50%); }
}
@keyframes radar-wave {
  75%, 100% { transform: scale(6); opacity: 0; }
}
@keyframes hologramFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* --- SUBTEXT & DYNAMIC ESTIMATOR STYLING --- */
.hero-subtext {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.roi-section-container {
  padding: 4rem 5%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.roi-section {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 12px;
  text-align: left;
}

.roi-header {
  margin-bottom: 2.5rem;
}

.badge-accent {
  background: rgba(249, 115, 22, 0.12);
  color: var(--brand-orange);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.roi-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.roi-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 750px;
  line-height: 1.5;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-label, .select-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Custom range input styling */
#home-value-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface-light);
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

#home-value-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 2px solid #fff;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.8);
  cursor: pointer;
  transition: transform 0.2s;
}

#home-value-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

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

.project-selectors {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.roi-select-btn {
  flex: 1;
  min-width: 140px;
  padding: 1rem;
  background: var(--bg-surface-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.roi-select-btn:hover {
  border-color: rgba(249, 115, 22, 0.5);
  color: #fff;
}

.roi-select-btn.active {
  background: rgba(249, 115, 22, 0.1);
  color: #fff;
  border-color: var(--brand-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-box {
  padding: 2rem;
  text-align: center;
}

.result-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.result-box h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.result-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-mini {
  background: var(--bg-surface-light);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.stat-mini p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.stat-mini strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.roi-cta-btn {
  background: var(--brand-orange);
  color: #fff;
  text-align: center;
  padding: 1.2rem;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.roi-cta-btn:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
}

/* --- CONTACT OPTIMIZATIONS STYLING --- */
.form-urgency-banner {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.contact-roi-badge {
  background: rgba(52, 168, 83, 0.08);
  border: 1px solid rgba(52, 168, 83, 0.25);
  color: #fff;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.1);
}

.input-micro-text {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-weight: 500;
}

.form-security-guarantee {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-security-guarantee span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Authority Trust Card */
.authority-card {
  padding: 2rem;
  text-align: left;
  border-radius: 10px;
  background: var(--bg-surface);
  margin-bottom: 2rem;
}

.authority-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.seal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.seal-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seal-icon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.seal-icon-item i {
  font-size: 1.5rem;
  color: var(--brand-orange);
  width: 25px;
  text-align: center;
}

/* --- RESPONSIVE BREAKPOINTS (Mobile & Tablet) --- */
@media screen and (max-width: 900px) {
  .features-bar { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .footer-trust { flex-direction: column; text-align: center; justify-content: center; }
  .portfolio-item.wide { grid-column: span 1; }
  .roi-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media screen and (max-width: 768px) {
  .nav-toggle-btn { display: block; }
  .desktop-cta { display: none; }
  .mobile-only-cta { display: block; margin-top: 1rem; }
  
  .nav-links { 
    position: absolute; top: 100%; left: 0; width: 100%; background: #151518; 
    flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; 
    transition: max-height 0.3s ease-in-out; border-bottom: 1px solid var(--brand-orange);
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a.active { border-bottom: 1px solid var(--brand-orange); background: rgba(249, 115, 22, 0.05); }
  
  .nav-checkbox:checked ~ .nav-links { max-height: 500px; }
}

/* --- PHONE SUPPORT & HEADER ACTIONS --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-phone-support {
  display: none;
}

@media screen and (min-width: 1024px) {
  .desktop-phone-support {
    display: flex;
    align-items: center;
  }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  transition: transform 0.3s ease;
}

.phone-link:hover {
  transform: translateY(-2px);
}

.phone-link i {
  font-size: 1.25rem;
  color: var(--brand-orange);
  background: rgba(249, 115, 22, 0.1);
  padding: 0.6rem;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.pulse-ring {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(249, 115, 22, 0.4);
  z-index: 1;
  animation: radar-pulse 2s infinite ease-out;
}

@keyframes radar-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

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

.phone-number {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.phone-subtext {
  font-size: 0.7rem;
  color: var(--brand-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- MOBILE STICKY BAR --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.6);
  padding: 0.5rem;
  gap: 0.5rem;
}

@media screen and (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 70px;
  }
  
  .desktop-cta {
    display: none !important;
  }
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.sticky-call {
  background: var(--bg-base);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.sticky-call:hover {
  background: var(--bg-surface-light);
}

.sticky-quote {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.sticky-quote:hover {
  background: var(--brand-orange-hover);
}

/* --- TRUST BADGES --- */
.live-support-badge {
  background: rgba(52, 168, 83, 0.08);
  color: #34A853;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(52, 168, 83, 0.25);
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.1);
}

.form-badge {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  width: fit-content;
}

.pulse-icon {
  animation: pulse-color 2s infinite;
}

@keyframes pulse-color {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@media screen and (max-width: 900px) {
  .header-actions {
    display: none;
  }
}

/* ==========================================================
   V2 AGENCY REFACTOR LAYER
   Storm CRO Unit / Drop-In Photo Architecture / Micro-Interactions
   ========================================================== */

/* --- STORM DAMAGE CONVERSION SECTION (Glassmorphism + Pulsing Border) --- */
.storm-section {
  padding: 0 5%;
  max-width: var(--max-width);
  margin: 4rem auto 1rem auto;
}

.storm-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 31, 35, 0.55), rgba(21, 21, 24, 0.7));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(249, 115, 22, 0.4);
  animation: storm-border-pulse 3.2s ease-in-out infinite;
  overflow: hidden;
}

.storm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px circle at 0% 0%, rgba(249, 115, 22, 0.14), transparent 45%),
    radial-gradient(500px circle at 100% 100%, rgba(249, 115, 22, 0.08), transparent 40%);
}

@keyframes storm-border-pulse {
  0%, 100% {
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.25), 0 20px 45px rgba(0, 0, 0, 0.55);
  }
  50% {
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: 0 0 42px 4px rgba(249, 115, 22, 0.22), 0 20px 45px rgba(0, 0, 0, 0.55);
  }
}

.storm-copy { position: relative; z-index: 2; }
.storm-badge { margin-bottom: 1rem; }

.storm-copy h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.storm-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--brand-orange);
  padding-left: 1rem;
}

.storm-points { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.storm-points li { color: var(--text-secondary); font-size: 0.92rem; font-weight: 600; display: flex; align-items: center; gap: 0.6rem; }
.storm-points i { color: var(--brand-orange); filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6)); }

.storm-action {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.storm-cta-btn {
  display: inline-block;
  width: 100%;
  background: var(--brand-orange);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  animation: pulse-glow 2.5s infinite;
  transition: all var(--transition-speed);
}

.storm-cta-btn:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-3px) scale(1.02);
  animation: none;
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.9);
}

.storm-phone-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.storm-phone-link i { color: var(--brand-orange); margin-right: 0.4rem; }
.storm-phone-link:hover { text-shadow: 0 0 12px rgba(249, 115, 22, 0.8); }

.storm-subnote { font-size: 0.75rem; color: var(--text-secondary); font-weight: 600; }
.storm-subnote i { color: #34A853; margin-right: 0.3rem; }

@media screen and (max-width: 900px) {
  .storm-card { grid-template-columns: 1fr; }
}

/* Compact storm strip above the contact form */
.storm-strip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(249, 115, 22, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  animation: storm-border-pulse 3.2s ease-in-out infinite;
}
.storm-strip-icon { color: var(--brand-orange); font-size: 1.5rem; margin-top: 0.15rem; filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6)); }
.storm-strip p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.storm-strip strong { color: var(--text-primary); }

/* --- INFINITE SCROLLING PROJECT MARQUEE --- */
.marquee-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 2.5rem 0 3rem 0;
  margin-top: 2rem;
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}
.marquee-label i { color: var(--brand-orange); margin-right: 0.5rem; }

.marquee-viewport { position: relative; overflow: hidden; }

/* Edge fades so photos melt into the dark surface */
.marquee-viewport::before,
.marquee-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.marquee-viewport::before { left: 0; background: linear-gradient(to right, var(--bg-surface), transparent); }
.marquee-viewport::after { right: 0; background: linear-gradient(to left, var(--bg-surface), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
  will-change: transform;
}

.marquee-track img {
  width: clamp(200px, 24vw, 300px);
  height: clamp(140px, 16vw, 200px);
  object-fit: cover;
  border-radius: 10px;
  margin-right: 1.25rem;
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-track img:hover {
  transform: scale(1.05);
  border-color: var(--brand-orange);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
}

.marquee-viewport:hover .marquee-track { animation-play-state: paused; }

/* Track holds two identical sets; -50% lands exactly on set two = seamless loop */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- SCROLL REVEAL ENGINE (driven by IntersectionObserver in script.js) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 1.25rem; width: 100%; }
  .storm-card, .storm-strip { animation: none; }
}

/* --- GOOGLE REVIEWS CAROUSEL (About Tab) --- */
.testimonials-section {
  max-width: 900px;
  margin: 0 auto 6rem auto;
  padding: 0 5%;
  text-align: center;
}

.testimonials-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  margin: 0.75rem 0 1rem 0;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.testimonials-rating strong { font-size: 2rem; font-weight: 800; }
.rating-stars i { color: var(--brand-orange); font-size: 0.95rem; }
.rating-count { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }

.review-carousel {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom: 3px solid var(--brand-orange);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.review-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: left;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; }
.review-meta strong { font-size: 1rem; }
.review-meta span { font-size: 0.8rem; color: var(--text-secondary); }

.review-stars { margin-left: auto; }
.review-stars i { color: var(--brand-orange); font-size: 0.85rem; filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.5)); }

.review-body {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-primary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-source { font-size: 0.78rem; color: var(--text-secondary); font-weight: 600; }
.review-source i { color: #4285F4; margin-right: 0.35rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 0 1.5rem 0;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
  transform: scale(1.2);
}

/* --- STICKY MOBILE "GET A QUOTE" CTA (glow upgrade) --- */
@media screen and (max-width: 768px) {
  .sticky-quote {
    animation: pulse-glow 2.5s infinite;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.55);
  }
}

/* --- FORM HONEYPOT (anti-spam field, invisible to humans) --- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Final gallery tile always stretches the full row — no trailing gaps
   regardless of how many photos are live or how many columns render. */
.advanced-grid .portfolio-item:last-child {
  grid-column: 1 / -1;
}
