/* =============================================
   STARSNATION SERVICES AUSTRALIA
   Premium Design System
   ============================================= */

:root {
  --primary: #15803D;
  --primary-dark: #166534;
  --primary-light: #16A34A;
  --primary-subtle: rgba(21, 128, 61, 0.08);
  --accent: #F97316;
  --accent-dark: #EA580C;
  --accent-light: #FB923C;
  --accent-subtle: rgba(249, 115, 22, 0.08);
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gold: #F97316;
  --gold-dark: #EA580C;
  --red: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.25);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--gray-600); line-height: 1.7; }
.section-dark p { color: var(--gray-300); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.container-sm { max-width: 768px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-white { background: white; color: var(--gray-900); }
.btn-white:hover { background: var(--gray-100); }

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

.btn-green { background: var(--primary); color: white; }
.btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

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

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

.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-subtle); }

.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: visible;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.header.scrolled .logo { color: var(--gray-900); }

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 24px; height: 24px; fill: white; }

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  position: relative;
  transition: all 0.3s ease;
}

/* Scrolled white navbar — logo grows out the bottom */
.header.scrolled .logo-img {
  height: 85px;
  top: 12px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; }

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active { color: white; }

.header.scrolled .nav-link { color: var(--gray-600); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active { color: var(--primary); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: var(--radius);
}

.nav-dropdown-link:hover { background: var(--gray-50); color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-phone {
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.nav-phone svg { width: 18px; height: 18px; fill: var(--primary-light); transition: fill 0.3s ease; }

.header.scrolled .nav-phone { color: var(--gray-900); }
.header.scrolled .nav-phone svg { fill: var(--primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.header.scrolled .menu-toggle span { background: var(--gray-900); }

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  z-index: 1001;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
}

.mobile-menu.active {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 16px 24px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link:hover { color: var(--primary); }

/* Mobile Dropdown */
.mobile-nav-dropdown {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-dropdown-toggle:hover { color: var(--primary); }

.mobile-nav-dropdown-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gray-400);
  stroke-width: 2;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-toggle {
  color: var(--primary);
}

.mobile-nav-dropdown-menu {
  display: none;
  padding: 0 0 12px 16px;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-menu {
  display: block;
}

.mobile-nav-dropdown-menu a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50, #f9fafb);
  transition: color 0.2s;
}

.mobile-nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.mobile-nav-dropdown-menu a:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .logo-img {
    height: 60px;
  }
  .header.scrolled .logo-img {
    height: 64px;
    top: 8px;
  }
}

/* HERO */
.hero {
  padding: 76px 0 16px;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.8) 50%, rgba(17,24,39,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-text { color: white; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 128, 61, 0.2);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  color: white;
}

.hero-title span { color: var(--primary-light); }

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-features { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.hero-feature svg { width: 20px; height: 20px; fill: var(--primary-light); }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero { padding: 90px 0 32px; }
}

@media (max-width: 768px) {
  .hero { padding: 84px 0 28px; }
  .hero-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .hero-subtitle { font-size: 1rem; margin-bottom: 16px; }
  .hero-features { gap: 12px; margin-bottom: 20px; }
  .hero-badge { font-size: 12px; margin-bottom: 12px; }
}

/* HERO PANELS (3-panel image hero) */
.hero-panels {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.hero-panels-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
  height: 340px;
}

.hero-panels-images.hero-single-image {
  display: block;
  height: 480px;
}

.hero-single-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-panel {
  overflow: hidden;
  position: relative;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-panels-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0.3) 0%, rgba(17,24,39,0.65) 50%, rgba(17,24,39,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-panels-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panels-text {
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hero-panels-text h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 8px;
}

.hero-panels-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

/* Floating seal badge */
.hero-seal-badge {
  position: absolute;
  top: 80px;
  right: 40px;
  z-index: 5;
  transform: rotate(12deg);
  animation: sealBounce 3s ease-in-out infinite;
  pointer-events: none;
  display: none;
}

@media (min-width: 1100px) {
  .hero-seal-badge { display: block; }
}

.hero-seal-inner {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: white;
  text-align: center;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45), inset 0 -2px 6px rgba(0,0,0,0.15);
  border: 3px solid rgba(255,255,255,0.3);
  position: relative;
}

.hero-seal-inner::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.35);
}

.hero-seal-inner svg {
  fill: #FDE68A;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.hero-seal-line1 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.hero-seal-line2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

@keyframes sealBounce {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-6px); }
}

.hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-promo-badge svg { fill: white; }

.hero-panels-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-panels-images { height: 360px; }
  .hero-panels-images.hero-single-image { height: 400px; }
  .hero-panels-text h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .hero-panels-text p { font-size: 0.95rem; margin-bottom: 20px; }
  .hero-promo-badge { font-size: 12px; padding: 5px 12px; }
  .hero-seal-inner { width: 95px; height: 95px; }
  .hero-seal-line1 { font-size: 10px; }
  .hero-seal-line2 { font-size: 11px; }
  .hero-seal-inner svg { width: 15px; height: 15px; }
}

@media (max-width: 480px) {
  .hero-panels-images { height: 280px; grid-template-columns: 1fr; }
  .hero-panels-images.hero-single-image { height: 320px; }
  .hero-single-image > img { object-position: center 30%; }
  .hero-panel:nth-child(2),
  .hero-panel:nth-child(3) { display: none; }
  .hero-panel img { object-fit: cover; object-position: center 35%; }
  .hero-promo-badge { display: none; }
  .hero-seal-badge { display: none; }
  .hero-panels-text h1 { font-size: 1.3rem; margin-bottom: 4px; }
  .hero-panels-text p { font-size: 0.8rem; margin-bottom: 10px; }
  .hero-panels-cta { gap: 10px; flex-wrap: nowrap; }
  .hero-panels-cta .btn { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
}

/* SIMPLE SERVICE CARD */
.service-card-simple {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card-simple:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-simple-img {
  overflow: hidden;
  height: 140px;
}

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

.service-card-simple:hover .service-card-simple-img img {
  transform: scale(1.05);
}

.service-card-simple-body {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-simple-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.service-card-simple-desc {
  display: none;
}

.service-card-simple-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-card-simple-link svg {
  fill: currentColor;
  transition: transform var(--transition);
}

.service-card-simple:hover .service-card-simple-link svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  /* Hide section header on mobile */
  #services .section-header { display: none; }
  #services { padding-top: 12px; }
  #services .grid { gap: 14px; }

  /* Horizontal card layout on mobile */
  .service-card-simple {
    display: flex;
    flex-direction: row;
    border-radius: var(--radius-md);
  }

  .service-card-simple-img {
    width: 110px;
    min-width: 110px;
    height: auto;
    min-height: 110px;
  }

  .service-card-simple-img img {
    height: 100%;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }

  .service-card-simple-body {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    flex: 1;
  }

  .service-card-simple-body h3 {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .service-card-simple-desc {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    line-height: 1.3;
    margin: 0;
  }

  .service-card-simple-link {
    font-size: 13px;
  }

  .service-card-simple:hover {
    transform: none;
  }
}

/* PAGE HERO */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .hero-bg { opacity: 0.65; background-position: top center; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(17,24,39,0.55) 0%, rgba(17,24,39,0.75) 100%); }

.page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gray-400);
}

.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: white; }
.breadcrumb svg { width: 16px; height: 16px; fill: var(--gray-500); }

.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { font-size: 1.25rem; color: var(--gray-300); max-width: 600px; margin: 0 auto; }

/* QUOTE CARD */
.quote-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xl);
}

.quote-card-header { text-align: center; margin-bottom: 12px; }
.quote-card-header h3 { font-size: 1.25rem; color: var(--gray-900); margin-bottom: 2px; }
.quote-card-header p { color: var(--gray-500); font-size: 13px; }

/* FORMS */
.form-group { margin-bottom: 10px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: white;
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  padding: 10px 16px;
  background: white;
  color: var(--gray-900);
}

.form-select:invalid,
.form-select option[value=""] {
  color: var(--gray-400);
}

.form-select option:not([value=""]) {
  color: var(--gray-900);
}

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

.form-file {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-500);
}

.form-file::file-selector-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.2s;
}

.form-file::file-selector-button:hover {
  background: var(--primary-dark);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--gray-400);
}

.form-row .form-textarea {
  min-height: auto;
  height: 40px;
  resize: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.quote-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-500);
}

.quote-guarantee svg { width: 16px; height: 16px; fill: var(--primary); }

/* TRUST BAR */
.trust-bar {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
}

.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.trust-item svg { width: 20px; height: 20px; fill: var(--primary-light); }

@media (max-width: 768px) {
  .trust-bar { display: none; }
  .trust-items { gap: 24px; }
  .trust-item { font-size: 13px; }
}

/* SECTIONS */
.section { padding: 60px 0; }
#services { padding-top: 12px; padding-bottom: 48px; }
#services .section-header { margin: 0 auto 12px; }
#services .section-subtitle { font-size: 0.95rem; margin-bottom: 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--gray-900); color: white; }
.section-green { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 32px; }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-dark .section-label { color: var(--primary-light); }
.section-title { margin-bottom: 12px; }
.section-dark .section-title { color: white; }
.section-subtitle { font-size: 1.125rem; color: var(--gray-500); }
.section-dark .section-subtitle { color: var(--gray-400); }

/* CARDS */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.card-hover:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-shadow { box-shadow: var(--shadow); }
.card-border { border: 1px solid var(--gray-200); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-title { font-size: 1.25rem; margin-bottom: 12px; }
.card-text { color: var(--gray-600); font-size: 15px; }

/* SERVICE CARD */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 28px; }
.service-card-title { font-size: 1.25rem; margin-bottom: 12px; }
.service-card-text { color: var(--gray-600); font-size: 15px; margin-bottom: 20px; }
.service-card-features { margin-bottom: 20px; }

.service-card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.service-card-feature svg { width: 18px; height: 18px; fill: var(--primary); flex-shrink: 0; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.service-card-link svg { width: 18px; height: 18px; fill: currentColor; transition: transform var(--transition); }
.service-card-link:hover svg { transform: translateX(4px); }

/* GRIDS */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-header { margin: 0 auto 32px; }
}

/* FEATURE LIST */
.feature-list { display: grid; gap: 24px; }

.feature-item { display: flex; gap: 16px; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.feature-content h4 { margin-bottom: 6px; }
.feature-content p { font-size: 15px; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.8); }

/* TESTIMONIALS */
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars svg { width: 20px; height: 20px; fill: var(--gold); }
.testimonial-text { font-size: 1.125rem; color: var(--gray-700); margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.testimonial-location { font-size: 14px; color: var(--gray-500); }

/* PROCESS STEPS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

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

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.process-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-card h4 { margin-bottom: 12px; }
.process-card p { font-size: 15px; }

/* BEFORE & AFTER GALLERY */
.gallery-grid { display: flex; flex-direction: column; gap: 40px; }

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-label-before {
  background: rgba(220, 38, 38, 0.9);
  color: white;
}

.gallery-label-after {
  background: rgba(21, 128, 61, 0.9);
  color: white;
}

.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .gallery-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    width: 44px;
    height: 44px;
  }
  .gallery-arrow svg { width: 24px; height: 24px; }
  .gallery-showcase { grid-template-columns: 1fr; }
  .gallery-item img { height: 220px; }
}

/* SERVICE AREAS */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 768px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
}

.area-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.area-card:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }
.area-card svg { width: 20px; height: 20px; fill: var(--primary-light); }
.area-card span { font-weight: 500; color: white; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
}

.faq-question svg { width: 24px; height: 24px; fill: var(--gray-400); transition: transform 0.3s ease; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding-bottom: 24px; color: var(--gray-600); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* CTA SECTION */
.cta-section { padding: 100px 0; background: var(--gray-900); position: relative; overflow: hidden; }
.cta-section .hero-bg { opacity: 0.2; }
.cta-section .hero-overlay { background: rgba(17,24,39,0.85); }
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { font-size: 1.25rem; color: var(--gray-300); max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-contact { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.cta-contact-item { display: flex; align-items: center; gap: 10px; color: white; font-weight: 500; }
.cta-contact-item svg { width: 20px; height: 20px; fill: var(--primary-light); }

/* FOOTER */
.footer { background: var(--gray-900); color: white; padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p { color: var(--gray-400); margin: 16px 0 24px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 20px; height: 20px; fill: white; }

.footer-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 15px;
  padding: 8px 0;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-400);
  font-size: 15px;
}

.footer-contact-item svg { width: 20px; height: 20px; fill: var(--primary-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 14px;
  color: var(--gray-500);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--gray-500); }
.footer-legal a:hover { color: white; }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* MOBILE STICKY BOTTOM BAR */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px 16px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
  border-top: 1px solid var(--gray-200);
  z-index: 999;
}

.mobile-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.mobile-cta-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.mobile-cta-phone-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.mobile-cta-phone-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}

.mobile-cta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.mobile-cta-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.mobile-cta-badge svg { width: 12px; height: 12px; fill: var(--primary); flex-shrink: 0; }

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 64px; }
}

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 24px; height: 24px; fill: white; }
.contact-info-content h4 { margin-bottom: 4px; }
.contact-info-content p, .contact-info-content a { color: var(--gray-600); font-size: 15px; }
.contact-info-content a:hover { color: var(--primary); }

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-header { margin-bottom: 32px; }
.contact-form-header h3 { margin-bottom: 8px; }

/* ABOUT PAGE */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

@media (max-width: 1024px) {
  .about-content { grid-template-columns: 1fr; }
}

.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; height: 500px; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.value-card h4 { margin-bottom: 12px; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 13px; color: var(--gray-500); }
.blog-card-title { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 15px; color: var(--gray-600); margin-bottom: 16px; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.blog-card-link svg { width: 16px; height: 16px; fill: currentColor; }

/* BLOG POST */
.blog-post { max-width: 800px; margin: 0 auto; }
.blog-post-header { text-align: center; margin-bottom: 48px; }
.blog-post-meta { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; font-size: 14px; color: var(--gray-500); }
.blog-post-title { font-size: 2.5rem; margin-bottom: 24px; }
.blog-post-featured { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 48px; }
.blog-post-content { font-size: 1.125rem; line-height: 1.8; color: var(--gray-700); }
.blog-post-content h2 { margin: 48px 0 24px; font-size: 1.75rem; }
.blog-post-content h3 { margin: 32px 0 16px; font-size: 1.5rem; }
.blog-post-content p { margin-bottom: 24px; }
.blog-post-content ul, .blog-post-content ol { margin: 24px 0; padding-left: 24px; }
.blog-post-content li { margin-bottom: 12px; list-style: disc; color: var(--gray-700); }
.blog-post-content ol li { list-style: decimal; }

.blog-post-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-700);
}

/* LEGAL PAGES */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.legal-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal-content p { margin-bottom: 16px; color: var(--gray-700); }
.legal-content ul { margin: 16px 0; padding-left: 24px; }
.legal-content li { list-style: disc; margin-bottom: 8px; color: var(--gray-700); }

/* QUOTE MODAL */
.quote-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quote-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.quote-modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.quote-modal-header h3 {
  font-size: 1.35rem;
  color: var(--gray-900);
}

.quote-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  cursor: pointer;
  color: var(--gray-500);
  transition: all var(--transition);
}

.quote-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.quote-modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.quote-modal-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  padding: 4px 28px 0;
}

.quote-modal-body {
  padding: 20px 28px 28px;
}

@media (max-width: 480px) {
  .quote-modal-overlay { padding: 16px; }
  .quote-modal-header { padding: 20px 20px 0; }
  .quote-modal-subtitle { padding: 4px 20px 0; }
  .quote-modal-body { padding: 16px 20px 20px; }
}

/* UTILITIES */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

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