/* Southside Sites — shared styles */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071627;
  --orange: #E85D04;
  --orange-hover: #c44d03;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #e8ecf1;
  --gray-200: #d0d7e0;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --text: #1a2332;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.12);
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; color: var(--gray-700); }
ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--gray-700); }
li { margin-bottom: 0.35rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
}
.logo-link:hover { text-decoration: none; }
.logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--orange); display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}
.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--orange); }
.nav .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.nav .nav-cta:hover { background: var(--orange-hover); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-hover); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #143556 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 280px;
  height: 280px;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 93, 4, 0.35), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(232, 93, 4, 0.2);
  color: #ffb07a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 38rem;
}
.hero-phone {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}
.hero-phone a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); }
.hero-phone a:hover { color: #ffb07a; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-50); }
.section-header { margin-bottom: 2rem; max-width: 40rem; }
.section-header p { font-size: 1.05rem; }

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #1a3a5c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Trades strip */
.trades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.trade-pill {
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* Package teaser / pricing */
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-card .price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
}
.price-card .price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
}
.price-card ul { flex: 1; margin-bottom: 1.25rem; }
.price-card .btn { text-align: center; width: 100%; }

/* Work cards */
.work-card {
  overflow: hidden;
  padding: 0;
}
.work-visual {
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: white;
  font-weight: 700;
}
.work-visual.deck { background: linear-gradient(135deg, #1a3a2a, #2d6a4f); }
.work-visual.plumber { background: linear-gradient(135deg, #0B1F3A, #1e4d7b); }
.work-visual.handyman { background: linear-gradient(135deg, #3d2b1f, #8b5a2b); }
.work-body { padding: 1.25rem 1.5rem 1.5rem; }
.example-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #143556 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 36rem; margin-inline: auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.contact-details a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.contact-details a:hover { color: var(--orange); }
.contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.form-card label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.form-card .field { margin-bottom: 1rem; }
.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.form-card textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 0.75rem;
}

/* About steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.5rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.steps strong { color: var(--navy); display: block; margin-bottom: 0.25rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 2.5rem 0;
}
.page-hero p { max-width: 40rem; margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 2.75rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #ffb07a; }
.site-footer p { color: rgba(255,255,255,0.7); }
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Addon list */
.addon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.addon-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.addon-list li:last-child { border-bottom: none; }
.addon-list strong { color: var(--navy); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

@media (max-width: 640px) {
  .logo-text { display: none; }
  .nav { gap: 0.15rem 0.75rem; }
  .nav .nav-cta { padding: 0.4rem 0.85rem; font-size: 0.9rem; }
  .hero { padding: 2.5rem 0 3rem; }
}

.work-visual.hvac { background: linear-gradient(135deg, #0d3b4c, #1a7a8c); }
.work-visual.electric { background: linear-gradient(135deg, #2a1f5e, #5b4b8a); }
.work-visual.landscape { background: linear-gradient(135deg, #1b4332, #40916c); }
.work-visual.roof { background: linear-gradient(135deg, #3d0000, #9b2226); }
.work-visual.paint { background: linear-gradient(135deg, #4a1942, #9b5de5); }
.work-visual.concrete { background: linear-gradient(135deg, #3d405b, #6c757d); }
.work-visual.garage { background: linear-gradient(135deg, #1d3557, #457b9d); }
.work-visual.fence { background: linear-gradient(135deg, #3c2f2f, #8d6e63); }
.work-visual.clean { background: linear-gradient(135deg, #023e8a, #48cae4); }
.work-visual.auto { background: linear-gradient(135deg, #212529, #495057); }
.work-visual.gc { background: linear-gradient(135deg, #7c2d12, #c2410c); }
.work-card .work-body p { font-size: 0.95rem; margin-bottom: 0; }
.work-visual { height: 110px; font-size: 0.95rem; }

a.example-tag {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
a.example-tag:hover {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}


/* === WORK PREVIEWS (Barlo-style) === */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}
.work-filters button {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: 2px solid var(--gray-200);
  background: #fff;
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.work-filters button[aria-pressed="true"],
.work-filters button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.work-showcase {
  display: grid;
  gap: 2rem;
}
.preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 100%;
}
@media (max-width: 860px) {
  .preview-card { grid-template-columns: 1fr; }
}
.preview-card[hidden] { display: none !important; }
.preview-body { min-width: 0; }
.preview-body .fictional {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.preview-body h3 { margin-bottom: 0.35rem; }
.preview-body .meta {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.preview-body ul { margin-bottom: 1rem; }
.device-frame {
  background: #0b1220;
  border-radius: 18px;
  padding: 0.85rem 0.85rem 1.1rem;
  box-shadow: inset 0 0 0 2px #1f2a3d;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.device-frame .chrome {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.device-frame .chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d4a63;
  display: block;
}
.device-screen {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  position: relative;
  max-width: 100%;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.device-screen .layout-tag {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  z-index: 2;
}

.work-filters { display:flex; flex-wrap:wrap; gap:0.5rem; margin:1.25rem 0 1.5rem; }
.work-filters button, .work-filters .chip {
  appearance:none; border:1px solid #d1d5db; background:#fff; color:#0B1F3A;
  font:inherit; font-weight:700; font-size:0.85rem; padding:0.45rem 0.9rem;
  border-radius:999px; cursor:pointer;
}
.work-filters button.is-active, .work-filters .chip.is-active,
.work-filters button[aria-pressed="true"] {
  background:#0B1F3A; color:#fff; border-color:#0B1F3A;
}
