/* S&M Construction LLC - Lead Generation Site */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --blue: #1a6ef5;
  --blue-dark: #0d4db5;
  --blue-light: #4a90f5;
  --accent: #f59e0b;
  --dark: #0a0f1a;
  --dark2: #111827;
  --dark3: #1f2937;
  --text: #111827;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

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

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: white;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-text span { color: var(--blue-light); }

.nav-menu {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--blue-light); }
.nav-menu a.active { color: var(--blue-light); }

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 110, 245, 0.4);
}

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

.btn-accent:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.25);
}

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

.btn-large { padding: 1.2rem 2.5rem; font-size: 1.05rem; }

/* ===== PAGE LAYOUT ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: white;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(26, 110, 245, 0.18) 0%, transparent 70%);
}

.page-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-hero h1 .accent { color: var(--blue-light); }

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin: 0 auto 2rem;
}

section { padding: 5rem 2rem; }

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(26, 110, 245, 0.1);
  color: var(--blue);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
}

/* ===== HOMEPAGE HERO ===== */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: white;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(26, 110, 245, 0.20) 0%, transparent 60%);
}

.home-hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 110, 245, 0.15);
  border: 1px solid rgba(26, 110, 245, 0.4);
  color: var(--blue-light);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.home-hero h1 .accent {
  color: var(--blue-light);
  display: block;
}

.home-hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 480px;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

.hero-image-stack {
  position: relative;
  aspect-ratio: 1/1.2;
}

.hero-image-stack .img-main {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.hero-image-stack .img-sub {
  position: absolute;
  width: 50%;
  aspect-ratio: 4/5;
  bottom: -5%;
  right: -8%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
  border: 6px solid var(--dark);
}

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

.hero-badge-floating {
  position: absolute;
  top: 5%;
  left: -8%;
  background: var(--white);
  color: var(--dark);
  padding: 1rem 1.4rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  transform: rotate(-3deg);
}

.hero-logo-floating {
  position: absolute;
  top: -5%;
  left: -10%;
  width: 200px;
  height: 200px;
  z-index: 3;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
  transition: transform 0.4s ease;
}

.hero-logo-floating img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-logo-floating:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-badge-floating .icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.hero-badge-floating .text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1;
}

.hero-badge-floating small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: none;
  margin-top: 0.2rem;
  letter-spacing: 0;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gray-light);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--blue);
  font-size: 1.2rem;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.svc-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.svc-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.svc-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.svc-card .arrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.svc-card:hover .arrow { transform: translateX(4px); transition: transform 0.2s; }

/* ===== FEATURED WORK ===== */
.featured-work { background: var(--gray-light); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.work-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--dark);
  transition: all 0.3s;
}

.work-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

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

.work-item:hover img { transform: scale(1.06); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,0.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: white;
}

.work-overlay .cat {
  font-size: 0.75rem;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.work-overlay h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--dark);
  color: white;
}

.why-us .section-header h2 { color: white; }
.why-us .section-header p { color: rgba(255,255,255,0.7); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-item {
  text-align: left;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.3s;
}

.why-item:hover {
  background: rgba(26, 110, 245, 0.1);
  border-color: rgba(26, 110, 245, 0.4);
  transform: translateY(-4px);
}

.why-item .icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.why-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* ===== TIKTOK SECTION ===== */
.tiktok-section {
  background: var(--gray-light);
  text-align: center;
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
  gap: 3.5rem 3rem;
  margin-top: 2.5rem;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tiktok-grid blockquote {
  margin: 0 auto !important;
  width: 100% !important;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== ABOUT (homepage block) ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

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

.about-block h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.about-block p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.feature-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list i {
  color: var(--blue);
  font-size: 1.1rem;
}

/* ===== PORTFOLIO PAGE ===== */
.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  font-family: inherit;
}

.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== SERVICES PAGE ===== */
.svc-detail {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s;
}

.svc-detail:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.svc-detail .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.svc-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.svc-detail p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ===== FAQ PAGE ===== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover { border-color: var(--blue); }
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-sm); }

.faq-q {
  padding: 1.4rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.faq-q .toggle {
  width: 32px;
  height: 32px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-item.open .toggle {
  background: var(--blue);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 1.5rem 1.4rem;
}

.faq-a p {
  color: var(--gray);
  margin-bottom: 0.8rem;
}

.faq-a a.inline-cta {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.faq-a a.inline-cta:hover { text-decoration: underline; }

.faq-cta-box {
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.08), rgba(26, 110, 245, 0.02));
  border: 1px solid rgba(26, 110, 245, 0.2);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 0.8rem;
}

.faq-cta-box strong { color: var(--blue); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-card .icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card .label {
  font-size: 0.75rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-card .value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

/* ===== LEAD FORM ===== */
.lead-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.lead-form h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.lead-form .subtitle {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1.1rem;
}

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

.form-group label .req { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 110, 245, 0.1);
}

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

.form-helper {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.3rem;
}

.lead-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
}

.lead-form button[type="submit"]:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ===== MAP ===== */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ===== REVIEWS PAGE ===== */
.reviews-stats {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.review-stat {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border);
}

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

.review-stat .number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.review-stat .stars {
  color: #f59e0b;
  font-size: 1.3rem;
  margin: 0.4rem 0;
  letter-spacing: 3px;
}

.review-stat .label {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.05), rgba(26, 110, 245, 0.02));
  border: 1px solid rgba(26, 110, 245, 0.2);
  padding: 2.5rem;
  border-radius: 16px;
  margin-top: 2rem;
}

.review-cta-box h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.review-cta-box p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* ===== PROCESS PAGE ===== */
.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.process-step:nth-child(even) { direction: rtl; }
.process-step:nth-child(even) > * { direction: ltr; }

.process-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.process-step p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.process-step-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

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

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col p { font-size: 0.9rem; margin-bottom: 0.8rem; }

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-light); }

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-links a:hover { background: var(--blue); transform: translateY(-2px); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
}

/* ===== FLOATING BUTTONS ===== */
.float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.float-btn:hover { transform: scale(1.1); }
.float-call { background: var(--blue); }
.float-text { background: #22c55e; }
.float-chat { background: var(--accent); color: var(--dark); }

/* ===== AI CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: min(380px, calc(100vw - 2rem));
  height: 560px;
  max-height: calc(100vh - 3rem);
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-widget.open { display: flex; }

.chat-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1rem;
}

.chat-title { font-weight: 700; font-size: 1rem; }
.chat-status { font-size: 0.75rem; opacity: 0.85; display: flex; align-items: center; gap: 0.3rem; }
.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-close:hover { background: rgba(255,255,255,0.15); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--gray-light);
}

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  animation: msgIn 0.3s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  background: white;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.chat-msg.user {
  background: var(--blue);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg.typing {
  background: white;
  align-self: flex-start;
  display: flex;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
}

.chat-msg.typing span {
  width: 8px;
  height: 8px;
  background: var(--gray);
  border-radius: 50%;
  animation: bounce 1.3s infinite;
}

.chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input {
  padding: 0.8rem;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-family: inherit;
}

.chat-input input:focus { outline: none; border-color: var(--blue); background: white; }

.chat-send {
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-send:hover { background: var(--blue-light); transform: scale(1.05); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.chat-quick-btn {
  background: white;
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.chat-quick-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-close { top: 2rem; right: 2rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .home-hero-grid,
  .about-block,
  .contact-grid,
  .process-step,
  .svc-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .process-step:nth-child(even) { direction: ltr; }
  
  .hero-image-stack { max-width: 480px; margin: 0 auto; aspect-ratio: 1/1; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .reviews-stats { grid-template-columns: 1fr; }
  .review-stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
  .review-stat:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 1.5rem; }
  .home-hero { padding: 6rem 1.5rem 3rem; }
  .page-hero { padding: 7rem 1.5rem 3.5rem; }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .float-cta { bottom: 1rem; right: 1rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.1rem; }
  
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
  .stat-num { font-size: 1.8rem; }
  
  .lead-form { padding: 1.5rem; }
}
