/* ============================================================
   503 Home Services — Site Styles
   Palette: navy + green accent (edit :root to tweak)
   ============================================================ */

:root {
  --navy: #0f1c2e;
  --navy-mid: #1a2d47;
  --charcoal: #243447;
  --slate: #3d5166;
  --muted: #5c6f82;
  --border: #d8e0e8;
  --bg: #f7f9fb;
  --bg-alt: #eef3f7;
  --white: #ffffff;
  --amber: #16a34a;        /* primary green accent */
  --amber-hover: #15803d;  /* darker green */
  --amber-soft: #dcfce7;   /* soft green wash */
  --teal: #0d9488;
  --success: #047857;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(15, 28, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 28, 46, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

a {
  color: var(--amber);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-hover);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section-dark {
  background: var(--navy);
  color: var(--white);
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-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);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

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

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 28, 46, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.logo:hover {
  color: var(--white);
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--amber), #22c55e);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 0.5rem !important;
  background: var(--amber) !important;
  color: var(--navy) !important;
  padding: 0.55rem 0.95rem !important;
}

.nav-cta:hover {
  background: var(--amber-hover) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* ---------- Trust strip (under header / top of hero) ---------- */
.trust-strip {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-strip-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--amber);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(217, 119, 6, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(13, 148, 136, 0.1), transparent),
    linear-gradient(160deg, var(--navy) 0%, #152538 50%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #4ade80;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta strong {
  color: #4ade80;
  font-weight: 700;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

.hero-card h2 {
  font-size: 1.1rem;
  font-weight: 750;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

.hero-card-cta {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card-cta a {
  color: #4ade80;
  font-weight: 700;
  text-decoration: none;
}

.hero-card-cta a:hover {
  text-decoration: underline;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-card:hover {
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-hover);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-short {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ---------- Trust section ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  display: grid;
  place-items: center;
}

.trust-card-icon svg {
  width: 28px;
  height: 28px;
}

.trust-card h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.trust-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.trust-callout {
  margin-top: 2rem;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
}

.trust-callout span {
  color: #4ade80;
}

/* ---------- Service area ---------- */
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.city-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  flex-grow: 1;
  position: relative;
  padding-top: 0.25rem;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.5;
  position: absolute;
  top: -0.35rem;
  left: -0.15rem;
  font-family: Georgia, serif;
}

.testimonial-quote p {
  padding-left: 1.1rem;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-author span {
  display: block;
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.75rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-details svg {
  width: 22px;
  height: 22px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  color: #4ade80;
  text-decoration: underline;
}

.contact-details .label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ade80;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: var(--amber-hover);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--success);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-error.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1420;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  color: #4ade80;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.footer-trust span {
  color: #4ade80;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

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

  .logo-tag {
    display: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding: 2.5rem 0 3.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .service-card {
    transition: none;
  }
}


.logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.logo.has-image .logo-mark {
  display: none;
}

.logo.has-image .logo-text {
  display: none;
}

.footer-brand .logo-img {
  height: 52px;
  max-width: 200px;
}
