/* ==========================================================================
   HUNTINGTON BEACH PLUMBING PROS - RANK & RENT DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-blue-light: #e0f2fe;
  --cta-orange: #f97316;
  --cta-orange-hover: #ea580c;
  --cta-yellow: #eab308;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success-green: #16a34a;
  --success-bg: #dcfce7;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 16px 32px rgba(15,23,42,0.12);
  --shadow-glow: 0 0 24px rgba(249, 115, 22, 0.4);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-cta {
  background: linear-gradient(135deg, var(--cta-orange), #f97316);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--cta-orange-hover), #d97706);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.55);
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

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

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

.btn-phone {
  background: #16a34a;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 0.875rem 1.75rem;
}

.btn-phone:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
}

/* TOP EMERGENCY ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.4);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
}

/* HEADER & NAVBAR */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-blue), #0369a1);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

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

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

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

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

/* DROPDOWN MENU */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 200;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.dropdown a:hover {
  background-color: var(--bg-light);
  color: var(--accent-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.phone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.phone-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* BREADCRUMBS */
.breadcrumbs {
  background-color: var(--bg-light);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-blue);
}

.breadcrumbs .current {
  color: var(--primary);
  font-weight: 600;
}

/* HERO & SUBHERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.subhero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.875rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}

.stars {
  color: #f59e0b;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #f8fafc;
  font-size: 0.95rem;
}

.hero-bullet-icon {
  width: 22px;
  height: 22px;
  background: rgba(22, 163, 74, 0.25);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.1);
}

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

/* LEAD CAPTURE FORM CARD */
.lead-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.lead-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lead-card-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.lead-card-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

.form-input, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* TRUST BAR */
.trust-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

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

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

.trust-icon {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

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

.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.trust-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SERVICES SILO SECTION */
.section {
  padding: 4.5rem 0;
}

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

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

.section-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* SILO CONTENT BLOCKS */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-blue-light);
}

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

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.sidebar-links a:hover {
  color: var(--accent-blue);
  transform: translateX(4px);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-features li svg {
  color: var(--success-green);
  flex-shrink: 0;
}

/* INSTANT PLUMBING COST ESTIMATOR WIDGET */
.estimator-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.estimator-header h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.estimator-header p {
  color: #94a3b8;
  font-size: 1.05rem;
}

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

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.estimator-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  display: block;
}

.estimator-output-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.estimator-price-tag {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 0.5rem 0;
}

.estimator-breakdown {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* NEIGHBORHOOD COVERAGE GRID */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.area-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

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

.area-icon {
  color: var(--accent-blue);
  font-size: 1.25rem;
}

.area-info h4 {
  font-size: 1rem;
  color: var(--primary);
}

.area-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PRICING TABLE */
.pricing-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.pricing-table tr:hover td {
  background-color: #f8fafc;
}

.pricing-table .price-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-blue);
}

/* REVIEWS GRID */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 700;
  color: var(--primary);
}

.review-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-body {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1rem;
  flex-grow: 1;
}

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

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  background-color: #fafafa;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* FOOTER */
.footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* MOBILE STICKY CTA BAR */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--primary);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  gap: 0.75rem;
}

.mobile-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}

/* MODAL QUICK QUOTE */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1001;
  background-color: #15803d;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.toast.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .nav-menu {
    display: none;
  }
  .header-cta .phone-quick {
    display: none;
  }
  .top-bar-info {
    display: none;
  }
  .mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
