:root {
  --primary: #0b3b5c;
  --primary-dark: #021827;
  --accent: #f9a825;
  --accent-dark: #f57f17;
  --bg: #f4f6f8;
  --text: #111827;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --border-subtle: #e5e7eb;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.section {
  padding: 32px 0;
}

.section-heading {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 650px;
}

/* Header & navigation */

.site-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  padding-bottom: 8px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, #1e293b, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name {
  margin: 0;
  font-size: clamp(1.2rem, 2vw + 1rem, 1.6rem);
}

.tagline {
  margin: 0;
  color: #d1d5db;
  font-size: 0.9rem;
}

/* Booking block under name */

.booking-wrapper {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-label {
  font-size: 0.8rem;
  color: #bfdbfe;
}

/* Style Housecall Pro button a bit more like your site */

.hcp-button {
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #111827;
  box-shadow: 0 8px 18px rgba(249, 168, 37, 0.35);
}

.hcp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(249, 168, 37, 0.45);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 190px;
}

.header-phone-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.header-phone {
  font-weight: 600;
  text-decoration: none;
  color: #f9fafb;
  font-size: 1.05rem;
}

.header-email {
  font-size: 0.85rem;
  color: #e5e7eb;
  text-decoration: none;
}

.header-email:hover,
.header-phone:hover {
  text-decoration: underline;
}

/* Nav */

.main-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #fde68a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

/* Hero (home only) */

.hero {
  background: radial-gradient(circle at top left, #1d4ed8 0, transparent 50%),
    radial-gradient(circle at bottom right, #0f766e 0, transparent 55%),
    linear-gradient(135deg, var(--primary-dark), #020617);
  color: #f9fafb;
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bfdbfe;
  margin-bottom: 10px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.8vw + 1rem, 2.6rem);
}

.hero-text {
  margin: 0 0 18px;
  color: #d1d5db;
  max-width: 560px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 6px;
}

.hero-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.hero-highlight-card {
  background: rgba(15, 23, 42, 0.72);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
}

.hero-highlight-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.hero-highlight-text {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.15s ease-out,
    color 0.15s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #111827;
  box-shadow: 0 10px 20px rgba(249, 168, 37, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(249, 168, 37, 0.45);
}

.btn-outline {
  border: 1px solid rgba(191, 219, 254, 0.8);
  color: #e5e7eb;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.45);
}

.service-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.service-title {
  margin: 4px 0 4px;
  font-size: 1rem;
}

.service-text {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.service-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.service-photo {
  border-radius: 12px;
  border: 1px dashed var(--border-subtle);
  background: repeating-linear-gradient(
    45deg,
    #f9fafb,
    #f9fafb 10px,
    #e5e7eb 10px,
    #e5e7eb 11px
  );
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 26px;
}

.contact-card,
.info-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-subtle);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
}

.contact-card p {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

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

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  font: inherit;
  resize: vertical;
  min-height: 42px;
}

textarea {
  min-height: 90px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* Info card */

.info-card h3 {
  margin: 0 0 8px;
}

.info-row {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.info-label {
  font-weight: 600;
}

.info-value {
  color: var(--muted);
}

/* Gallery */

.page-header {
  padding: 28px 0 8px;
}

.page-title {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-thumb {
  border-radius: 12px;
  border: 1px dashed var(--border-subtle);
  background: repeating-linear-gradient(
    135deg,
    #f9fafb,
    #f9fafb 12px,
    #e5e7eb 12px,
    #e5e7eb 13px
  );
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Privacy / generic content card */

.privacy-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px 22px 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-subtle);
}

.privacy-card h2 {
  margin-top: 0;
}

.privacy-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* City / service-areas */

.city-section {
  margin-bottom: 26px;
}

.city-section h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.city-section p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.city-section a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Google Maps embed */

.map-embed {
  margin-top: 6px;
  margin-bottom: 8px;
}

.map-embed iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* Why choose us */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.why-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA banner */

.cta-banner {
  margin-top: 32px;
  background: radial-gradient(circle at top left, #1d4ed8 0, transparent 60%),
    linear-gradient(135deg, #020617, var(--primary-dark));
  border-radius: 18px;
  padding: 18px 20px;
  color: #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.65);
}

.cta-banner h3 {
  margin: 0 0 4px;
}

.cta-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  background: #020617;
  color: #9ca3af;
  padding: 18px 16px;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */

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

  .hero-highlight-card {
    order: -1;
  }

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

@media (max-width: 720px) {
  .top-bar {
    align-items: flex-start;
  }

  .header-contact {
    align-items: flex-start;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* CTA banner on home page */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f9fafb;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-banner .cta-text h2 {
  margin: 0 0 6px;
}
.cta-banner .cta-text p {
  margin: 0;
  font-size: 0.95rem;
}
.cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Brochure note */
.why-brochure-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-content {
  position: relative;
  background: #0b1120;
  padding: 12px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-close {
  position: absolute;
  top: 4px;
  right: 8px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
  cursor: pointer;
}
.lightbox-inner {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile tweaks for CTA */
@media (max-width: 720px) {
  .cta-banner-inner {
    align-items: flex-start;
  }
  .cta-buttons {
    width: 100%;
  }
}

.slideshow-container {
  max-width: 900px;
  position: relative;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 16px;
}

/* Buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: 0.3s;
  user-select: none;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.3);
}

/* Dots */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #717171;
}

/* Fade animation */
.fade {
  animation-name: fadeEffect;
  animation-duration: 1.0s;
}

@keyframes fadeEffect {
  from {opacity: .4}
  to {opacity: 1}
}

.service-photo {
  margin-top: 12px;
  text-align: center;
}

.service-photo img {
  width: 100%;
  max-width: 260px;  /* adjust this number smaller or larger */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

/* Fix service card images */
.service-photo {
  margin-top: 15px;
  text-align: center;
}

.service-photo img {
  width: 100%;
  max-width: 240px;   /* Change to 200px if you want them smaller */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.medium-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.medium-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
