:root {
  --color-navy: #071529;
  --color-green: #16a34a;
  --color-light: #f9fafb;
  --color-mid: #e5e7eb;
  --color-dark: #020617;
  --color-accent: #fbbf24;

  --max-width: 1120px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.25);
  --transition-fast: 0.18s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: #0f172a;
  background-color: #020617;
}

/* Layout helpers */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #000 100%);
  color: #e5e7eb;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-logo {
  height: 55px;         /* perfect size for your header */
  width: auto;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e5e7eb;
  text-transform: uppercase;
}





.brand-tagline {
  display: none;
}


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

.nav a {
  font-size: 0.9rem;
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22c55e, #4ade80);
  transition: width var(--transition-fast);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

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

.header-phone {
  display: none;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.header-phone span {
  font-weight: 600;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.55);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.55);
}

.btn-outline:hover {
  border-color: #22c55e;
  background: rgba(15, 23, 42, 0.9);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    inset: 52px 0 auto 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.8rem 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .header-phone {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Hero */

.hero {
  padding: 3.2rem 0 2.8rem;
}


.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
/* Keep the hero kicker on one line on desktop/laptop */
@media (min-width: 1024px) {
  .hero-kicker {
    white-space: nowrap;
  }
}


.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}

.hero-title span {
  color: #22c55e;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-phone-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-photo img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.4s ease-out;
}

.hero-photo:hover img {
  transform: scale(1.08);
}

.hero-photo-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-photo:nth-child(2) {
  transform: translateY(18px);
}

.hero-photo:nth-child(3) {
  transform: translateY(-18px);
}

/* Section base */

.section {
  padding: 2.8rem 0 2.6rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1.6rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 28rem;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Laptops / medium screens → 2x2 */
@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile → stacked */
@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}
/* Make card anchors behave like real cards */
.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* Constrain the image inside the card */
.card-img {
  width: 100%;
  height: 190px;          /* adjust: 160–240 depending on your vibe */
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 14px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Nice hover feedback (optional but clean) */
.card-link:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease-out;
}


.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.card-title {
  font-size: 0.98rem;
  margin: 0;
}

.card-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.card-body {
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-bottom: 0.7rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.pricing-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.85));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.3rem 1.2rem 1.1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pricing-card.featured {
  border-color: #22c55e;
  box-shadow: 0 22px 55px rgba(34, 197, 94, 0.55);
}

.badge-featured {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.9);
  color: #ecfdf3;
  border: 1px solid #4ade80;
}

.price {
  margin: 0.4rem 0;
}

.price-main {
  font-size: 1.4rem;
  font-weight: 700;
}

.price-note {
  font-size: 0.78rem;
  color: #9ca3af;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.9rem;
  font-size: 0.83rem;
  color: #cbd5f5;
}

.pricing-list li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

/* Image rows */

.image-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.image-row-alt {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.image-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-block .image-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.image-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.text-block h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.text-block p {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin: 0 0 0.75rem;
}

/* Lists & pills */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Forms */

.form-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.85));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.3rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.label {
  display: block;
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-bottom: 0.25rem;
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.75rem;
  color: #e5e7eb;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
  background: #020617;
}

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

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  color: #cbd5f5;
}

.table th,
.table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}

.table th {
  text-align: left;
  font-weight: 600;
  color: #e5e7eb;
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at top, #020617 0, #000 45%);
  padding: 1.6rem 0 1.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-cols {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer-link:hover {
  color: #e5e7eb;
}

/* Utility */

.text-center {
  text-align: center;
}

.text-muted {
  color: #9ca3af;
}

.chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.77rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .image-row,
  .image-row-alt {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-photo:nth-child(2),
  .hero-photo:nth-child(3) {
    transform: translateY(0);
  }

  .card-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .section {
    padding: 2.2rem 0 2rem;
  }

  .section-header {
    flex-direction: column;
  }

  .card-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }
}
/* Floating Mobile Call Button */
.mobile-call-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  z-index: 10000;
  display: none; /* Hidden by default – only for mobile */
  transition: transform 0.2s ease, background 0.2s ease;
}

/* Button hover animation */
.mobile-call-btn:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Show only on screens under 768px */
@media (max-width: 768px) {
  .mobile-call-btn {
    display: inline-block;
  }
}




/* ================================
   Service Areas – Mobile Image Fix
   ================================ */

.areas-page .card-img {
  object-position: center 30%;
}

@media (max-width: 640px) {
  .areas-page .card-img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 25%;
  }
}
