/* ============================================
   D One Builders - Styles
   ============================================ */

:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F9F9F9;
  --gray-100: #F3F3F3;
  --gray-200: #E8E8E8;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0A0A0A;
  
  /* Brand accent - warm coral/orange */
  --accent: #E85A30;
  --accent-hover: #D14A22;
  --accent-light: #FEF2EE;
  
  /* Legacy aliases */
  --charcoal: #171717;
  --charcoal-light: #404040;
  --warm-white: #FFFFFF;
  --warm-gray: #F3F3F3;
  --gold: #E85A30;
  --gold-light: #F06A42;
  --slate: #525252;
  --slate-light: #737373;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.7;
}

/* ============================================
   Utilities
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-gray { color: var(--gray-600); }
.text-light { color: var(--gray-500); }

.hidden { display: none !important; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--white);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--gray-100);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.5rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gray-900);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--gray-900);
}

.mobile-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-phone {
  color: var(--gray-600);
  transition: color 0.2s;
}

.mobile-phone:hover {
  color: var(--gray-900);
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.menu-toggle:hover {
  color: var(--gray-900);
}

.menu-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 40;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 20rem;
  max-width: 85vw;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: var(--gray-900);
}

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.mobile-menu-link:hover {
  background: var(--gray-50);
  color: var(--accent);
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-phone-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.mobile-phone-cta:hover {
  color: var(--accent);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-logo {
  height: 2.25rem;
  width: auto;
}

.footer-about {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.footer-license {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.footer-address {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

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

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-cta {
  margin-top: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-divider {
  color: var(--gray-700);
}

.footer-marketing {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-marketing:hover {
  color: var(--gray-300);
}

.footer-marketing img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.gullstack-name {
  font-family: Georgia, serif;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: var(--white);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 36rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.hero-title span {
  display: block;
  color: var(--gray-500);
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.hero-link:hover {
  color: var(--gray-900);
}

.hero-meta {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-image {
  position: relative;
  aspect-ratio: 4/3;
  min-height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--gray-100);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero-image {
    min-height: 500px;
  }
}

/* Auto-scrolling image bar */
.scroll-bar {
  width: 100%;
  overflow: hidden;
  padding-bottom: 2rem;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

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

.scroll-item {
  position: relative;
  width: 12rem;
  height: 8rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}

.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.scroll-item:hover img {
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (min-width: 1024px) {
  .scroll-item {
    width: 16rem;
    height: 11rem;
  }
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  padding: 3rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.trust-item {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  color: var(--accent);
}

.trust-stars span {
  font-weight: 500;
  color: var(--gray-700);
}

@media (min-width: 1024px) {
  .trust-items {
    gap: 4rem;
  }
}

/* ============================================
   Section Styles
   ============================================ */

.section {
  padding: 6rem 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-dark {
  background: var(--gray-900);
  color: var(--white);
}

.section-dark .section-description {
  color: var(--gray-400);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}

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

.section-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--accent-hover);
}

@media (min-width: 640px) {
  .section-header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ============================================
   Cards & Grid
   ============================================ */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.2s;
}

.card:hover .card-title {
  color: var(--accent);
}

.card-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  transition: all 0.2s;
}

.card:hover .card-link {
  opacity: 1;
}

/* Project Card */
.project-card {
  display: block;
  text-decoration: none;
}

.project-image {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  color: var(--gray-700);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.2s;
}

.project-card:hover .project-title {
  color: var(--accent);
}

.project-location {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.project-description {
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}

.project-card:hover .project-link {
  gap: 0.5rem;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  background: var(--white);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-project {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ============================================
   Meet Kyle Section
   ============================================ */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 3/4;
  min-height: 500px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--gray-100);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

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

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .about-image {
    min-height: 600px;
  }
}

/* ============================================
   Process Section
   ============================================ */

.process-grid {
  display: grid;
  gap: 2rem;
}

.process-item {
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-200);
}

.process-title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.process-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

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

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

/* ============================================
   Gallery Grid
   ============================================ */

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--gray-100);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

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

/* ============================================
   Service Areas Tags
   ============================================ */

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s;
  text-decoration: none;
}

.tag-primary {
  background: var(--gray-900);
  color: var(--white);
}

.tag-primary:hover {
  background: var(--accent);
}

.tag-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.tag-secondary:hover {
  background: var(--gray-200);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: 6rem 0;
  background: var(--gray-900);
}

.cta-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
}

.cta-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray-400);
}

.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}

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

.cta-meta {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   Page Hero
   ============================================ */

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 0 7rem;
}

.page-hero-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(232, 90, 48, 0.1);
  border: 1px solid rgba(232, 90, 48, 0.3);
  border-radius: 9999px;
  color: var(--gold-light);
}

.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--slate-light);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================
   Values Section (About page)
   ============================================ */

.value-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
}

.value-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.value-description {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================
   Credentials Section
   ============================================ */

.credential-card {
  background: var(--warm-gray);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.credential-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
  margin: 0 auto 0.75rem;
}

.credential-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.credential-description {
  font-size: 0.875rem;
  color: var(--slate);
}

/* ============================================
   Contact Info
   ============================================ */

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

.contact-icon-wrap {
  width: 3rem;
  height: 3rem;
  background: rgba(232, 90, 48, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
}

.contact-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.2s;
}

.contact-value:hover {
  color: var(--gold-light);
}

.contact-text {
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================
   Form Placeholder
   ============================================ */

.form-placeholder {
  border: 2px dashed rgba(82, 82, 82, 0.2);
  border-radius: 0.5rem;
  padding: 2.5rem;
  text-align: center;
}

.form-placeholder-icon {
  width: 3rem;
  height: 3rem;
  color: rgba(82, 82, 82, 0.3);
  margin: 0 auto 1rem;
}

.form-placeholder-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.form-placeholder-description {
  font-size: 0.75rem;
  color: rgba(82, 82, 82, 0.6);
}

/* ============================================
   Map Placeholder
   ============================================ */

.map-placeholder {
  aspect-ratio: 4/3;
  background: var(--warm-gray);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-content {
  text-align: center;
}

.map-placeholder-icon {
  width: 3rem;
  height: 3rem;
  color: rgba(82, 82, 82, 0.3);
  margin: 0 auto 0.75rem;
}

.map-placeholder-title {
  font-size: 0.875rem;
  color: var(--slate);
}

.map-placeholder-address {
  font-size: 0.75rem;
  color: rgba(82, 82, 82, 0.6);
  margin-top: 0.25rem;
}

/* ============================================
   Location Cards
   ============================================ */

.location-card {
  border: 2px solid var(--warm-gray);
  border-radius: 0.75rem;
  background: var(--white);
  padding: 1.5rem;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.location-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.location-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(232, 90, 48, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.location-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
}

.location-city {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.2s;
}

.location-card:hover .location-city {
  color: var(--gold);
}

.location-state {
  font-size: 0.875rem;
  color: var(--slate-light);
  margin-top: 0.25rem;
}

.location-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
}

/* Compact location link */
.location-link-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--warm-gray);
  border-radius: 0.5rem;
  background: var(--white);
  transition: all 0.2s;
  text-decoration: none;
}

.location-link-compact:hover {
  border-color: var(--gold);
}

.location-link-compact svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate);
  flex-shrink: 0;
  transition: color 0.2s;
}

.location-link-compact:hover svg {
  color: var(--gold);
}

.location-link-compact span {
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
}

.location-link-compact:hover span {
  color: var(--gold);
}

/* ============================================
   Blog Cards
   ============================================ */

.blog-card {
  border: 2px solid var(--warm-gray);
  border-radius: 0.75rem;
  background: var(--white);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-image {
  aspect-ratio: 16/9;
  background: var(--warm-gray);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-category {
  padding: 0.125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(232, 90, 48, 0.1);
  border-radius: 9999px;
  color: var(--gold);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--slate-light);
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.2s;
  margin-bottom: 0.5rem;
}

.blog-card:hover .blog-title {
  color: var(--gold);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   Empty State
   ============================================ */

.empty-state {
  max-width: 32rem;
  margin: 0 auto;
  padding: 3rem;
  border: 2px solid var(--warm-gray);
  border-radius: 1rem;
  background: var(--white);
  text-align: center;
}

.empty-state-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: rgba(232, 90, 48, 0.1);
  border-radius: 50%;
}

.empty-state-icon svg {
  width: 100%;
  height: 100%;
  color: var(--gold);
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.empty-state-description {
  color: var(--slate-light);
  margin-bottom: 1.5rem;
}

/* ============================================
   Estimator (Interactive)
   ============================================ */

.estimator-progress {
  width: 100%;
  height: 0.375rem;
  background: var(--warm-gray);
}

.estimator-progress-bar {
  height: 100%;
  background: var(--gold);
  transition: width 0.5s ease-out;
}

.estimator-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.estimator-header {
  text-align: center;
  margin-bottom: 3rem;
}

.estimator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(232, 90, 48, 0.1);
  border-radius: 9999px;
  color: var(--gold);
}

.estimator-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--charcoal);
}

.estimator-subtitle {
  margin-top: 0.75rem;
  color: var(--slate-light);
}

.estimator-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.estimator-section-description {
  color: var(--slate-light);
  margin-bottom: 2rem;
}

/* Project Type Buttons */
.project-type-grid {
  display: grid;
  gap: 1rem;
}

.project-type-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--warm-gray);
  border-radius: 0.75rem;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.project-type-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.project-type-icon {
  width: 3rem;
  height: 3rem;
  background: var(--warm-gray);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.project-type-btn:hover .project-type-icon {
  background: rgba(232, 90, 48, 0.1);
  color: var(--gold);
}

.project-type-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--slate);
}

.project-type-btn:hover .project-type-icon svg {
  color: var(--gold);
}

.project-type-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
}

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

/* Square Footage Input */
.sqft-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  border: 2px solid var(--warm-gray);
  border-radius: 0.5rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.sqft-input:focus {
  outline: none;
  border-color: var(--gold);
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.preset-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid var(--warm-gray);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s;
}

.preset-btn:hover {
  border-color: var(--gold);
}

.preset-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* Finish Level Buttons */
.finish-level-grid {
  display: grid;
  gap: 1rem;
}

.finish-level-btn {
  padding: 1.5rem;
  border: 2px solid var(--warm-gray);
  border-radius: 0.75rem;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.finish-level-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.finish-level-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.finish-level-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
}

.finish-level-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
}

.finish-level-description {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.6;
}

/* Results Card */
.results-card {
  border: 2px solid var(--warm-gray);
  border-radius: 1rem;
  background: var(--white);
  padding: 2rem;
}

.results-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.results-meta {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-light);
  margin-bottom: 2rem;
}

.results-amount {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.results-breakdown {
  background: var(--warm-gray);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.results-breakdown-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.results-breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.results-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--slate-light);
}

.results-breakdown-value {
  font-weight: 500;
  color: var(--charcoal);
}

.results-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-bottom: 1.5rem;
}

.results-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.results-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.results-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

.results-link:hover {
  color: var(--charcoal);
}

/* Navigation Buttons */
.estimator-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--charcoal);
}

.nav-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-next:hover {
  background: var(--gold-light);
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 640px) {
  .show-mobile { display: none !important; }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}
