:root {
  --flashbar-brown: #8b4513;
  --flashbar-brown-dark: #5a2d0c;
  --flashbar-cream: #fff7ec;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #111827;
  line-height: 1.6;
}

/* ✅ Global media safety (prevents overflow on small screens) */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top WhatsApp bar */
.top-bar {
  background: var(--flashbar-brown-dark) !important;
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;

  /* NEW: lock the header height */
  height: 80px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* NEW: header-inner fills header height, no extra vertical padding */
  height: 100%;
  padding: 0 0;
}

/* ✅ avoid anchor jump under sticky header */
#contact,
#about,
#privacy-terms {
  scroll-margin-top: 110px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flashbar-brown), var(--flashbar-brown-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.logo-title {
  font-weight: 700;
  font-size: 1rem;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Header right: email + phone */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

.header-phone-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--flashbar-brown);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--flashbar-brown-dark);
}

.header-phone-btn:hover {
  background: var(--flashbar-brown-dark);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 10px;
}

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
  background: radial-gradient(circle at top left, var(--flashbar-cream), #ffffff);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal halves */
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-text p {
  color: #4b5563;
  margin-bottom: 1rem;
}

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

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

/* (kept) older hero-image styles; your HTML uses hero-slider */
.hero-image img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  object-fit: cover;
  height: auto;
  max-height: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
}

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

.btn-primary {
  background: var(--flashbar-brown);
  color: #fff;
  border-color: var(--flashbar-brown-dark);
}

.btn-primary:hover {
  background: var(--flashbar-brown-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--flashbar-brown-dark);
  border-color: #d1b59a;
}

.btn-secondary:hover {
  background: #f3e3d2;
}

.btn-outline {
  background: #fff;
  color: var(--flashbar-brown);
  border-color: #d1b59a;
}

.btn-outline:hover {
  background: #fdf5eb;
}

.full-width {
  width: 100%;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: #4b5563;
  margin-bottom: 1.25rem;
  max-width: 640px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 0.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #16a34a;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card h3 {
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.service-card ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.service-card li {
  margin-bottom: 0.25rem;
}

.service-note {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  margin: 1rem 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form-wrapper {
  /* kept commented as-is */
}

.contact-form-wrapper h3 {
  margin-bottom: 0.25rem;
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Form */
.form-row {
  display: flex;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--flashbar-brown);
  box-shadow: 0 0 0 1px rgba(139, 69, 19, 0.2);
  background: #ffffff;
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: #b91c1c;
  margin-top: 0.15rem;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--flashbar-brown-dark);
  color: #fefce8;
  padding: 1.25rem 0;
}

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

.logo-footer {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-right a {
  color: #fefce8;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 0.75rem;
}

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

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

  .hero-image {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 0 0 0.75rem 0.75rem;
    flex-direction: column;
    min-width: 160px;
  }

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

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

  .header-actions {
    display: none;
  }
}

/* Contact info layout with icon + value only */
.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-info-list {
  list-style: none;
  margin-top: 0.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Simple unicode icons (no extra libraries needed) */
.contact-icon-mail::before {
  content: "✉";
}

.contact-icon-phone::before {
  content: "☎";
}

.contact-icon-city::before,
.contact-icon-location::before {
  content: "📍";
}

.contact-info-text {
  font-size: 0.9rem;
  color: #111827;
}

.contact-info-text a,
.contact-value a {
  color: #111827;
  text-decoration: none;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.contact-location {
  margin-top: 1.4rem;
}

.contact-location h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

/* FORCE SAME RADIAL GRADIENT BACKGROUND FOR ALL SECTIONS */
.section,
.section-alt,
#about,
#services,
#contact,
#services {
  background: radial-gradient(circle at top left, var(--flashbar-cream), #ffffff) !important;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-links,
.footer-contact {
  font-size: 0.85rem;
}

.footer-links a {
  display: block;
  color: #e5e7eb;
  text-decoration: none;
}

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

.footer-contact a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-bottom {
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #8b4513;
}

.site-footer {
  background: var(--flashbar-brown-dark) !important;
  color: #ffffff !important;
}

.site-footer a {
  color: #ffffff !important;
}

/* Image logo in header */
.logo-img {
  height: 79px;
  width: auto;
  display: block;
}

/* Footer logo image */
.footer-logo-img {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons .icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.social-icons .insta {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

.social-icons .fb {
  background: #1877f2;
}

.social-icons .wa {
  background: #25d366;
}

.floating-social {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.float-icon:hover {
  transform: scale(1.12);
  opacity: 0.9;
}

.float-icon.insta {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

.float-icon.fb {
  background: #1877f2;
}

.float-icon.wa {
  background: #25d366;
}

/* ✅ Slightly smaller on mobile */
@media (max-width: 768px) {
  .float-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.hero-text h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.hero-text h3 {
  font-size: 1rem;
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.hero-text p {
  color: #4b5563;
  margin-bottom: 0.6rem;
}

/* Bullet list in hero */
.hero-list {
  list-style: none;
  margin: 0.25rem 0 0.6rem;
  padding-left: 0;
}

.hero-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #374151;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--flashbar-brown);
}

/* Extra hero notes */
.hero-note {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.hero-cta-text {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.7rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.legal-block h3 {
  margin-bottom: 0.6rem;
}

.legal-list,
.legal-steps {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.legal-list li,
.legal-steps li {
  margin-bottom: 0.35rem;
}

.service-points {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  max-width: 800px;
}

.service-points li {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #374151;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.foo {
  background: radial-gradient(circle at top left, var(--flashbar-cream), #ffffff);
}

/* =========================
   HERO SLIDER (HARDENED)
   Fix: some devices showing all 3 images
   ========================= */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;              /* ✅ prevents multi-image bleed */
}

.hero-slide {
  display: none !important;      /* ✅ hard-hide non-active */
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero-slide.active {
  display: block !important;     /* ✅ hard-show active only */
}

/* =========================
   MOBILE + SMALL DEVICES
   ========================= */
@media (max-width: 700px) {
  /* make overall padding tighter so burger doesn’t get cut */
  .container {
    padding: 0 0.75rem;
  }

  /* header + menu icon positioning */
  .site-header {
    height: 68px;
  }

  .logo-img {
    height: 67px;
  }

  .header-inner {
    padding: 0;
    gap: 0.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 0.75rem;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 0 0 0.75rem 0.75rem;
    flex-direction: column;
    min-width: 160px;
    z-index: 100;
  }

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

  .nav-toggle {
    display: inline-flex;
    margin-right: 10px; /* ✅ fixed (was missing px earlier in your file) */
  }

  .header-actions {
    display: none;
  }

  /* HERO MOBILE FIXES */
  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .hero-text p,
  .hero-list li {
    font-size: 0.9rem;
  }

  .hero-note,
  .hero-cta-text {
    font-size: 0.85rem;
  }
}

/* =========================
   Bootstrap-like breakpoints
   (added for full coverage)
   ========================= */

/* <= 1200px (xl down) */
@media (max-width: 1200px) {
  .container {
    max-width: 1040px;
  }
}

/* <= 992px (lg down) */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  /* ensure slider column doesn't squeeze / overflow */
  .hero-slider {
    width: 100%;
  }
}

/* <= 768px (md down) */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  /* slightly tighter header spacing */
  .header-inner {
    gap: 0.5rem;
  }
}

/* <= 576px (sm down) */
@media (max-width: 576px) {
  .top-bar {
    font-size: 0.85rem;
    padding: 0.45rem 0.5rem;
  }

  .hero-text h1 {
    font-size: 1.45rem;
  }

  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }

  /* keep floating icons from eating screen space */
  .floating-social {
    right: 10px;
  }
}

/* <= 475px (xs-ish) */
@media (max-width: 475px) {
  .hero-text h1 {
    font-size: 1.35rem;
  }

  .hero-text p,
  .hero-list li {
    font-size: 0.88rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding: 8px;
  }
}

/* <= 321px (very small devices) */
@media (max-width: 321px) {
  .container {
    padding: 0 0.6rem;
  }

  .site-header {
    height: 64px;
  }

  .logo-img {
    height: 62px;
  }

  .nav-toggle {
    font-size: 1.35rem;
  }
}

@media (max-width: 900px) {
  /* Hide desktop nav and show burger */
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }

  /* Hide right-side pills + icons to avoid overflow */
  .header-actions {
    display: none;
  }

  /* Dropdown positioning for burger menu */
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 80px;          /* matches your header height */
    right: 1.25rem;     /* aligns with container padding */
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 0 0 0.75rem 0.75rem;
    flex-direction: column;
    min-width: 180px;
    z-index: 100;
  }
}



.footer-bottom a {
  color: #8b4513; /* FlashBar brown */
  font-weight: 600;
  text-decoration: none;
}

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