/* ============================================
   CSS Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-offset-desktop: 118px;
  --header-offset-mobile: 140px;
  --color-primary: #8b4513;
  --color-primary-dark: #654321;
  --color-primary-light: #a0522d;
  --color-accent: #d4a574;
  --color-bg: #f5e6d3;
  --color-bg-light: #faf5f0;
  --color-text: #3e2723;
  --color-text-light: #5d4037;
  --color-white: #ffffff;
  --color-logo-red: #dc143c;
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset-mobile, 140px);
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Hide mobile drawer close control on desktop */
.menu-close {
  display: none;
}

/* ============================================
   Header Styles
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}

.site-header .top-contact-bar {
  background-color: var(--color-bg);
}

.site-header .main-nav,
.site-header .mobile-search {
  background-color: #422006;
}

.site-header .mobile-social-below {
  background-color: var(--color-primary-dark);
}

/* ============================================
   Sticky Request Callback Button
   ============================================ */

/* hide the original header button (we keep header markup but use a fixed floating button) */
/* #openCallbackModalHeader {
  display: none;
} */

.sticky-callback {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10050;
  display: block;
}

.sticky-callback .request-call-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

.sticky-callback .request-call-btn:hover,
.sticky-callback .request-call-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  outline: none;
}

@media (max-width: 600px) {
  .sticky-callback { right: 14px; bottom: 16px; }
  .sticky-callback .request-call-btn { padding: 10px 14px; font-size: 0.95rem; }
}

/* Top Contact Bar */
.top-contact-bar {
  background-color: var(--color-bg);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  /* Ensure full width for spacing */
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 5px 0;
  font-weight: 700;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.contact-link .icon {
  flex-shrink: 0;
}

/* Social icons in top bar */
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

/* Mobile social container is hidden on desktop by default */
.mobile-social {
  display: none;
}

/* Desktop only adjustments */
@media (min-width: 992px) {
  .desktop-contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
  }

  /* place social icons roughly 30px left of the email by making them appear just before email */
  .desktop-social {
    margin-right: 30px;
  }

  /* move email text 2px up for desktop only */
  .desktop-contact-info .contact-link.email-right span {
    position: relative;
    top: -2px;
    display: inline-block;
  }
}

/* Mobile layout for social icons (below header) */
@media (max-width: 991px) {
  .mobile-social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
  }

  .mobile-social .social-icon img {
    width: 32px;
    height: 32px;
  }

  /* hide desktop social container on mobile */
  .desktop-social {
    display: none;
  }
}


/* Main Navigation */
.main-nav {
  background-color: #422006;
  padding: 15px 0;
}

/* Hide header's Request A Call button to avoid duplicate with sticky button */


.main-nav .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

@media (min-width: 1025px) {
  /* PHASE 1: Desktop header — compact height, left-aligned nav, wide Contact→search gap */
  .site-header .top-contact-bar {
    padding: 6px 0;
  }

  .main-nav {
    padding: 6px 0;
  }

  .main-nav .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px 12px 6px 8px !important;
    max-width: 100%;
  }

  .main-nav .container.container {
    padding-left: 8px !important;
  }

  .logo-image {
    height: 42px;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 0;
  }

  .nav-distribute {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2vw, 24px);
    min-width: 0;
  }

  .logo-link,
  .logo-image,
  .nav-distribute .request-call-btn.open-callback,
  .main-nav .container > .request-call-btn.open-callback {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.9rem;
    margin: 0;
  }

  .nav-menu {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(8px, 1.5vw, 24px);
    flex-wrap: nowrap;
    min-width: 0;
    margin-right: 0;
  }

  .nav-menu li:last-child .nav-link {
    margin-right: 0;
  }
  .nav-menu li,
  .nav-link {
    white-space: nowrap; /* prevent Paid Services / Client Testimonials wrapping */
  }

  /* Hide hamburger on desktop */
  .mobile-menu-toggle {
    display: none !important;
  }

  /* Show nav menu on desktop */
  .nav-menu {
    display: flex !important;
    position: static !important;
    gap: 18px;
    padding: 0 !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: row !important;
    z-index: auto !important;
  }

  .nav-link {
    color: var(--color-white);
    text-decoration: none;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: transparent;
    text-decoration: underline;
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  .nav-link.active {
    background-color: transparent;
    color: var(--color-white);
    text-decoration: underline;
  }

  /* Hide mobile search on desktop */
  .mobile-search {
    display: none !important;
  }

  /* Show desktop search — aligned right within distributed row */
  .desktop-search {
    display: block !important;
    margin-left: 0;
    padding-left: 0;
    flex: 0 0 auto;
    flex-shrink: 0;
    max-width: 220px;
    order: unset;
  }

  .search-component {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  .search-container {
    gap: 10px;
    margin: 0;
    width: 200px;
  }

  html {
    scroll-padding-top: 118px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover,
.logo-link:focus {
  opacity: 0.9;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.brand-text {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-link.active {
  background-color: var(--color-accent);
  color: #422006;
}



/* CTA Buttons Group */
.nav-buttons-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.book-consultation-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.book-consultation-btn:hover,
.book-consultation-btn:focus {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Desktop Nav Menu - Force Horizontal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1199px) {
  .nav-menu {
    gap: 35px;
  }
}

@media (max-width: 991px) {
  .nav-menu {
    gap: 25px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  margin-right: 25px;
  /* Added spacing from right edge */
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  flex: 1 0 auto;
  min-height: calc(100vh - 200px);
  padding: 0 0 40px;
  padding-top: var(--header-offset-measured, var(--header-offset-mobile));
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .main-content {
    padding-top: var(--header-offset-measured, var(--header-offset-desktop));
  }

  html {
    scroll-padding-top: var(--header-offset-desktop);
  }
}

/* Why Me Section */
.why-me-section {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.why-me-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #422006;
  margin-bottom: 20px;
  text-align: center;
}

.why-me-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
  margin: 0 0 1rem 0;
  text-align: left;
}

/* Centered content helper for blocks that should have equal left/right spacing */
.why-me-section .centered-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.why-me-section .centered-content .why-me-text,
.why-me-section .centered-content p {
  text-align: center;
}

.hero-section {
  max-width: 100%;
}

/* PHASE 2: Hero Section Layout Lock (Desktop Only) */
@media (min-width: 1025px) {
  .why-me-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 40px !important;
  }

  .why-me-text-content {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .why-me-heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .why-me-section .centered-content {
    text-align: left;
  }

  .expert-img-container {
    flex: 0 0 35% !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    max-width: 35%;
  }

  .expert-img-responsive {
    max-width: 100% !important;
    width: 100%;
    height: auto !important;
    border-radius: 12px;
    display: block;
  }
}

@media (max-width: 1024px) {
  .expert-img-container {
    display: none !important;
  }

  .why-me-section {
    margin-bottom: 16px;
  }

  .why-me-layout {
    display: block;
  }
}

.main-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
  text-align: center;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.content-left {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Benefits Slider */
.benefits-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.benefits-carousel {
  position: relative;
  padding: 20px 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.benefits-carousel .owl-stage-outer {
  padding: 0;
  overflow: hidden;
}

.benefits-carousel .owl-stage {
  display: flex;
}

.benefits-card {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 150px;
  display: flex;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
}

/* Owl Carousel Navigation Buttons */
.benefits-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 15px;
  box-sizing: border-box;
}

.benefits-carousel .owl-nav button {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: all;
  border: none;
  font-size: 20px;
  line-height: 1;
}

.benefits-carousel .owl-nav button:hover,
.benefits-carousel .owl-nav button:focus {
  background-color: var(--color-primary-dark) !important;
  transform: scale(1.1);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.benefits-carousel .owl-nav button.owl-prev {
  left: 0;
  position: absolute;
}

.benefits-carousel .owl-nav button.owl-next {
  right: 0;
  position: absolute;
}

.benefits-carousel .owl-nav button span {
  display: none;
}

.benefits-carousel .owl-nav button.owl-prev::before {
  content: "‹";
  font-size: 32px;
  line-height: 0.8;
  font-weight: bold;
}

.benefits-carousel .owl-nav button.owl-next::before {
  content: "›";
  font-size: 32px;
  line-height: 0.8;
  font-weight: bold;
}

/* Owl Carousel Pagination */
.benefits-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.benefits-carousel .owl-dots button {
  background-color: var(--color-primary) !important;
  opacity: 0.5;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.benefits-carousel .owl-dots button.active,
.benefits-carousel .owl-dots button:hover {
  opacity: 1;
  background-color: var(--color-primary-dark) !important;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1.4;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

/* Video Section */

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #422006;
  margin-bottom: 20px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.video-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.video-table thead {
  background-color: #422006;
  color: var(--color-white);
}

.video-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}

.video-table td {
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.video-table tbody tr:hover {
  background-color: var(--color-bg-light);
}

.video-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

/* ============================================
   Services Page Styles
   ============================================ */
.page-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #422006;
  margin-bottom: 20px;
  text-align: center;
}

.services-section {
  padding: 0;
}

.services-content-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.services-content-container .services-table {
  width: 100%;
}

.services-content-container .disclaimer {
  max-width: 100%;
}

.services-content-container .table-wrapper {
  max-width: 100%;
}

@media (max-width: 767px) {
  .services-content-container {
    max-width: none;
    width: 100%;
  }
}

.services-description {
  font-size: 1.2rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.disclaimer {
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background-color: var(--color-bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.services-table thead {
  background-color: var(--color-bg-light);
}

.services-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary);
}

.services-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.services-table tbody tr:last-child td {
  border-bottom: none;
}

.services-table tbody tr:hover {
  background-color: var(--color-bg-light);
}

.services-table td:first-child {
  font-weight: 600;
  color: var(--color-primary-dark);
  min-width: 200px;
}

.price-list,
.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li,
.details-list li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.price-list li::before,
.details-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Contact available services: use native list markers and keep bullets close to text.
   Display as an inline-block so the whole list can be centered while items remain left-aligned.
   This ensures the bullet sits ~2-3px from the text visually. */
.contact-available-services {
  padding-left: 0; /* use native marker placement */
  max-width: 760px;
  margin: 0 auto;
  list-style: disc inside; /* native bullet marker inside the content box */
  display: inline-block; /* lets the list be centered while items are left-aligned */
  text-align: left; /* keep text next to bullets */
}
.contact-available-services li {
  padding-left: 0; /* no extra padding - native marker will sit close to text */
  margin: 6px 0; /* small vertical spacing between items */
}

/* Remove any previous pseudo-element offsets for this specific list */
.contact-available-services li::before {
  left: auto;
  content: none;
}

/* Mobile: make the list full-width and left-aligned for legibility */
@media (max-width: 600px) {
  .contact-available-services {
    display: block;
    padding-left: 18px; /* native inside marker space on small screens */
    max-width: 100%;
    text-align: left;
  }
  .contact-available-services li {
    padding-left: 0;
    margin: 8px 0;
  }
  .contact-available-services li::before { content: none; }
}

.services-table td p {
  margin: 0;
  line-height: 1.6;
}

.video-link:hover,
.video-link:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Content Right - Image */
.content-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image-wrapper {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================
   Footer Styles
   ============================================ */
.site-footer {
  margin-top: auto;
  margin-bottom: 0;
}

.footer-content {
  background-color: #422006;
  padding: 30px 0;
}

.footer-description-wrapper {
  background-color: var(--color-bg-light);
  padding: 30px 0;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom {
  background-color: #422006;
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  padding: 10px 0;
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  position: static;
  left: auto;
  transform: none;
  width: auto;
  text-align: center;
}

/* Phase 5: Desktop footer layout - center aligned */
@media (min-width: 769px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  
  .copyright {
    text-align: center;
    margin-right: 0;
  }
  
  .footer-nav {
    text-align: center;
  }
}

.footer-menu {
  flex-wrap: wrap;
  gap: 10px;
}

.footer-menu li:not(:last-child)::after {
  margin: 0 8px;
}

.footer-nav {
  margin: 0;
}

.footer-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  align-items: center;
}

.footer-menu li {
  display: flex;
  align-items: center;
}

.footer-menu li:not(:last-child)::after {
  content: "|";
  color: var(--color-white);
  margin: 0 10px;
  font-size: 1rem;
}

.footer-link {
  color: var(--color-white);
  text-decoration: none;
  text-underline-offset: 4px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Phase 3: Testimonials page footer mobile stacking + center alignment only */
@media screen and (max-width: 768px) {
  .testimonials-footer .footer-bottom-content {
    text-align: center !important;
    align-items: center !important;
  }

  .testimonials-footer .footer-bottom-content .footer-nav {
    text-align: center;
    width: 100%;
  }

  .testimonials-footer .footer-menu {
    justify-content: center !important;
  }

  .testimonials-footer .copyright {
    text-align: center !important;
    width: 100%;
  }
}

/* ============================================
   Responsive Design
   ============================================ */
/* Tablet Styles */
@media screen and (max-width: 968px) {
  body { }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-right {
    order: -1;
  }

  .image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

  .benefits-carousel {
    padding: 15px 0 35px;
    width: 100%;
    box-sizing: border-box;
  }

  .benefits-carousel .owl-nav {
    width: 100%;
    left: 0;
    right: 0;
    padding: 0 10px;
  }

  .benefits-carousel .owl-nav button {
    width: 35px;
    height: 35px;
  }

  .benefits-carousel .owl-nav button.owl-next {
    right: 10px;
  }

  .benefits-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  .benefits-card {
    padding: 20px;
  }

  .footer-bottom-content {
    display: flex;
    /* Ensure flex is active */
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  /* Footer Order: Nav Top, Copyright Bottom */
  .footer-bottom-content .footer-nav {
    order: 1;
    margin-bottom: 15px;
  }

  .footer-bottom-content .copyright {
    order: 2;
    position: static;
    transform: none;
    margin: 0;
  }

  .footer-menu {
    justify-content: center;
  }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }

  /* Footer bottom - left align on mobile across all pages */
  .footer-bottom-content {
    display: flex;
    flex-direction: column;
    text-align: left !important;
    justify-content: flex-start;
    align-items: stretch;
  }

  .footer-bottom-content .footer-nav {
    order: 1;
    margin-bottom: 8px;
    text-align: left;
  }

  .footer-bottom-content .copyright {
    order: 2;
    position: static;
    transform: none;
    margin: 0;
    text-align: left;
    width: 100%;
  }

  .footer-menu {
    justify-content: flex-start;
  }

  .why-me-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0 15px;
  }

  .why-me-heading {
    font-size: 1.5rem;
  }

  .why-me-text {
    font-size: 0.95rem;
  }

  .main-heading {
    font-size: 1.5rem;
  }

  .section-heading {
    font-size: 1.3rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }



  .main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    padding-right: 15px;
  }

  .nav-brand {
    flex-shrink: 1;
    min-width: 0;
    margin-right: 2px;
  }

  /* Compact button for mobile */
  .request-call-btn {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 5px 8px;
    margin: 0 2px;
    flex-shrink: 0;
  }

  /* Compact phone for mobile */
  .mobile-header-phone a {
    font-size: 0.7rem !important;
  }







  /* Consolidated Mobile Toggle */
  .mobile-menu-toggle {
    display: flex !important;
    margin-left: 2px;
    z-index: 10001;
    /* Ultra high z-index */
    color: #fff !important;
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
    /* Prevent shrinking */
    width: 30px;
    /* Explicit width */
    height: 30px;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #422006;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    padding: 48px 20px 20px;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    z-index: 1010;
    color: #fff;
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav-link {
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
  }


}

.contact-info {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contact-link {
  font-size: 0.85rem;
}

.benefits-list li {
  font-size: 1rem;
}

.page-heading {
  font-size: 1.8rem;
}

.services-description {
  font-size: 1rem;
}

.services-table {
  font-size: 0.9rem;
}

.services-table th,
.services-table td {
  padding: 12px 10px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.services-table td:first-child {
  min-width: 150px;
}

.video-table {
  font-size: 0.9rem;
}

.video-table th,
.video-table td {
  padding: 12px 10px;
}

.main-content {
  padding-bottom: 30px;
  padding-top: var(--header-offset-measured, var(--header-offset-mobile));
}

.footer-description {
  font-size: 0.9rem;
}
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .why-me-section {
    padding: 0 15px;
  }

  .why-me-heading {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .why-me-text {
    font-size: 0.9rem;
  }

  .main-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .benefits-carousel {
    padding: 15px 0 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .benefits-carousel .owl-nav {
    width: 100%;
    left: 0;
    right: 0;
    padding: 0 10px;
  }

  .benefits-carousel .owl-nav button.owl-next {
    right: 10px;
  }

  .benefits-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  .benefits-carousel .owl-nav button {
    width: 30px;
    height: 30px;
  }

  .benefits-carousel .owl-nav button.owl-prev::before,
  .benefits-carousel .owl-nav button.owl-next::before {
    font-size: 24px;
  }

  .benefits-card {
    padding: 15px;
    margin: 0 5px;
  }

  .page-heading {
    font-size: 1.5rem;
  }

  .services-description {
    font-size: 0.95rem;
  }

  .disclaimer {
    font-size: 0.85rem;
    padding: 12px;
  }

  .services-table {
    font-size: 0.85rem;
  }

  .services-table th,
  .services-table td {
    padding: 10px 8px;
  }

  .services-table td:first-child {
    min-width: 120px;
    font-size: 0.9rem;
  }

  .logo-image {
    height: 40px;
    max-width: 120px;
  }

  .brand-text {
    font-size: 0.85rem;
  }

  .footer-menu {
    gap: 10px;
  }
}

/* ============================================
   Accessibility & Focus Styles
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #654321;
    --color-text: #000000;
    --color-bg: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Testimonials Page Styles
   ============================================ */

/* Testimonials Hero Section */
.testimonials-hero {
  background-color: var(--color-bg);
  padding: 0 20px 40px;
  text-align: center;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* -----------------------------
   Header fixes: desktop email right
   and mobile hamburger visibility
   ----------------------------- */
@media (min-width: 769px) {
  /* keep contact items on one line and email pinned to right */
  .top-contact-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .contact-info {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .desktop-contact-info {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .email-right {
    margin-left: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  /* make sure the address and icon are visible and compact */
  .email-right .icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  /* Ensure hamburger/menu toggle is always visible on small screens */
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle span {
    background-color: var(--color-white) !important;
  }

  /* Slight spacing adjustments for compact mobile header */
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-right-group {
    gap: 6px;
  }
}

.testimonials-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--color-bg);
  padding: 0 20px;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Testimonial Card */
.testimonial-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border-left: 4px solid var(--color-accent);
}

.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design for Testimonials */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonials-title {
    font-size: 2rem;
  }

  .testimonials-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .testimonials-hero {
    padding: 0 20px 30px;
  }

  .testimonials-title {
    font-size: 1.75rem;
  }

  .testimonials-subtitle {
    font-size: 0.95rem;
  }

  .testimonials-section {
    padding: 0 15px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-name {
    font-size: 0.95rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

/* ============================================
   Contact Page Styles
   ============================================ */

/* Contact Hero Section */
.contact-hero {
  background-color: var(--color-bg);
  padding: 16px 20px 40px;
  text-align: center;
}

.city-section h1,
.hub-section h1,
.main-content > section:first-child h1,
.page-heading {
  margin-top: 0;
}

.city-hero-wrap {
  max-width: 100%;
  margin: 1rem auto 0;
  overflow: hidden;
}

.city-hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .city-hero-wrap {
    padding: 0 4px;
  }
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.contact-subtitle strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Larger Available Services title on contact page */
.available-services-title {
  font-size: 2rem; /* roughly double the .contact-subtitle size */
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Phone and Email Links */
.phone-link,
.phone-link-small {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.phone-link:hover,
.phone-link:focus,
.phone-link-small:hover,
.phone-link-small:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

.email-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.email-link:hover,
.email-link:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Contact Email Box */
.contact-email-box {
  background-color: #f5f0e8;
  border: 2px solid #d4a574;
  border-radius: 8px;
  padding: 20px 30px;
  max-width: 600px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.logo-icon-contact {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-image-contact {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-email-info {
  flex: 1;
}

.contact-email-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 5px;
}

.contact-email-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 15px;
}

/* Contact Form Section */
.contact-form-section {
  background-color: var(--color-bg);
  padding: 20px 20px 80px;
}

.contact-form {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  margin-bottom: 25px;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  display: block;
}

.required {
  color: #dc143c;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid #d4a574;
  border-radius: 4px;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

/* CAPTCHA */
.form-captcha {
  margin-bottom: 30px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.captcha-input {
  max-width: 200px;
}

.captcha-display {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 12px 25px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  user-select: none;
}

/* Sticky WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  /* keep a slight inset from device safe area (iPhone notch/home bar) */
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  touch-action: manipulation;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  outline: none;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  display: block;
}

@media (max-width: 480px) {

  /* Keep float the same size on small/mobile screens; only adjust inset for tiny screens */
  .whatsapp-float {
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    width: 56px;
    height: 56px;
    bottom: 80px;
    /* Lift up to avoid covering footer content on scroll */
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.btn-refresh-captcha {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-refresh-captcha:hover,
.btn-refresh-captcha:focus {
  background-color: var(--color-primary);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Submit Button */
.form-submit-container {
  margin-top: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-submit {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 14px 40px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.submit-loader {
  display: none;
  margin-left: 5px;
}

.form-message {
  display: none;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-submit:hover,
.btn-submit:focus {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-hero {
    padding: 12px 20px 30px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-email-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .contact-email-info {
    text-align: center;
  }

  .contact-form-section {
    padding: 20px 15px 60px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-input {
    max-width: 100%;
  }

  .captcha-display {
    text-align: center;
  }

  /* Force dark brown CAPTCHA background on mobile (contact page) */
  .captcha-display {
    background-color: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
  }

  .btn-submit {
    width: 100%;
  }
}

.owl-theme .owl-dots .owl-dot span {
  display: none;
}

/* Mobile header: force dark brown header on mobile devices */
@media (max-width: 768px) {
  .site-header {
    background-color: var(--color-primary-dark) !important;
  }

  .top-contact-bar {
    background-color: #422006 !important;
    border-bottom: none;
  }

  .top-contact-bar .contact-link {
    color: var(--color-white) !important;
  }
}

/* WhatsApp floating button - use image instead of inline svg */
.whatsapp-float img.whatsapp-icon {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Keep image the same across devices so mobile matches desktop size */
@media (max-width: 480px) {
  .whatsapp-float img.whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 12px;
    right: 12px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================
   Mobile Header Adjustments
   ============================================ */
.mobile-header-phone {
  display: none;
}

/* Default hidden (Desktop) */
/* Request Call Button (Desktop & Mobile) */
.request-call-btn {
  display: inline-block;
  background-color: #422006;
  color: #fff;
  border: 1px solid #fff;
  font-weight: bold;
  padding: 8px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Form Placeholders - Dark Brown - Forced */
input::placeholder,
textarea::placeholder {
  color: #422006 !important;
  opacity: 1 !important;
}

::-webkit-input-placeholder {
  color: #422006 !important;
  opacity: 1 !important;
}

::-moz-placeholder {
  color: #422006 !important;
  opacity: 1 !important;
}

:-ms-input-placeholder {
  color: #422006 !important;
  opacity: 1 !important;
}

:-moz-placeholder {
  color: #422006 !important;
  opacity: 1 !important;
}

/* Request Call Button Desktop */
.request-call-btn {
  display: inline-block;
  background-color: #422006;
  /* Dark brown background to match header or similar */
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 15px;
  white-space: nowrap;
}

.request-call-btn:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  /* Underline for active/hover */
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media screen and (max-width: 768px) {

  /* Hide Top Contact Bar to decrease header height */
  .top-contact-bar {
    display: none !important;
  }

  /* Hide the desktop brand text */
  .brand-text {
    display: none !important;
  }

  /* Adjust body padding because header is shorter now */
  body { }

  /* Show the mobile phone numbers */
  .mobile-header-phone {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-header-phone a {
    color: var(--color-white);
    text-decoration: none;
    padding: 8px 2px;
  }

  /* Request Call Button Mobile */
  .request-call-btn {
    display: block;
    /* Visible on mobile */
    background-color: #422006;
    /* Dark brown matching header */
    color: #fff;
    border: 1px solid #fff;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0 15px 0 5px;
    /* Added right margin for shifting left */
    white-space: nowrap;
  }
}

/* Fine-tune mobile header: ensure logo + phones + Request button + hamburger
   are all visible and hamburger is pinned to the right with adequate spacing */
@media (max-width: 768px) {
  .main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 0.5px; /* tiny right padding to keep hamburger 0.5px from edge */
    padding-left: 0.5px; /* tiny left padding to keep logo 0.5px from edge */
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 1px; /* small gap between logo and phones */
    min-width: 0;
    flex: 0 1 auto;
    margin-left: 0.5px; /* shift logo slightly left (0.5px) */
  }

  .logo-image {
    height: 42px;
    max-width: 120px;
    margin-left: -0.5px; /* nudge left so visual left space ~0.5px */
    display: block;
  }

  /* Ensure phone numbers are compact and visible next to logo */
  .mobile-header-phone {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 3px; /* ~3px so phones sit ~1px further right */
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 3px; /* shift phones ~1px further right */
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(3px); /* nudge phones ~3px toward Request button */
  }

  .mobile-header-phone a {
    color: var(--color-white);
    text-decoration: none;
    padding: 0 1px; /* very small padding to keep text tight */
    display: inline-block;
  }

/* ============================================
   Mobile Header: 2-Line Layout (max-width: 767px)
   Line 1: Logo | Book & Request buttons | Hamburger
   Line 2: Full-width Search (sticky)
   ============================================ */

@media (max-width: 767px) {
  /* Hide top contact bar */
  .top-contact-bar {
    display: none !important;
  }

  /* Main nav container: horizontal line 1 */
  .main-nav .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
  }

  /* Nav brand (logo) on left */
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 1;
  }

  .logo-image {
    height: 40px;
    max-width: 110px;
    display: block;
  }

  /* Hide phone numbers on mobile */
  .mobile-header-phone {
    display: none !important;
  }

  /* Hide mobile social icons */
  .mobile-social {
    display: none !important;
  }

  /* CTA buttons group - visible on mobile, horizontal line 1 */
  .nav-buttons-group {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 2;
  }

  .book-consultation-btn {
    display: block;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-accent);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
  }

  .book-consultation-btn:hover,
  .book-consultation-btn:focus {
    background-color: var(--color-primary-light);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  .request-call-btn {
    display: block;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-accent);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
    transition: var(--transition);
  }

  .request-call-btn:hover,
  .request-call-btn:focus {
    background-color: var(--color-primary-light);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  /* Hamburger menu on right, line 1 */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    margin: 0;
    flex: 0 0 auto;
    order: 3;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
  }

  /* Navigation menu - initially hidden, shown on hamburger click */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background-color: #422006;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 0 0 0; /* padding top to avoid overlapping with X icon, left/right 0 */
    gap: 0;
    list-style: none;
    margin: 0;
    transition: right 0.3s ease;
    z-index: 1100;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    padding: 10px;
    transition: var(--transition);
    border-radius: 4px;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  .nav-link.active {
    background-color: var(--color-accent);
    color: #422006;
  }

  /* Search component: line 2 (full width, sticky) */
  .search-component {
    position: static;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: var(--color-primary-dark);
    padding: 10px 12px;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--color-primary-dark);
  }

  .desktop-search {
    display: none !important;
  }

  .mobile-search {
    display: block !important;
  }

  .search-container {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    width: 100%;
  }

  .site-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--color-primary-dark);
    border-radius: 5px;
    font-size: 0.95rem;
    background: #fff;
    color: #222;
  }

  .search-results {
    top: 100%;
  }
}

  /* Move social icons downwards by 10px */
  .mobile-social-below .social-icon { top: 0; }
}



/* Modal Styles */
.callback-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: flex-start;
}

.callback-modal.is-open,
.callback-modal[aria-hidden="false"] {
  display: flex;
}

.callback-modal-content {
  background-color: #fefefe;
  margin: auto 0;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  max-height: min(90vh, calc(100vh - 40px));
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.callback-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fefefe;
  padding-bottom: 4px;
}

.callback-modal-title {
  color: #422006;
  font-weight: bold;
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
  width: 100%;
}

.callback-item-close {
  color: #422006;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.callback-item-close:hover,
.callback-item-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.callback-form-group {
  margin-bottom: 15px;
  text-align: left;
}

.callback-label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
}

.callback-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.callback-submit-btn {
  width: 100%;
  background-color: #422006;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.callback-submit-btn:disabled {
  background-color: #6d4c3d;
  cursor: not-allowed;
}

.callback-success-message {
  display: none;
  margin-top: 15px;
  color: #422006;
  font-weight: bold;
  text-align: center;
  border: 1px solid #422006;
  padding: 10px;
  background-color: #f9f9f9;
}

/* Mobile responsiveness for callback modal */
@media (max-width: 768px) {
  .callback-modal-content {
    width: 95%;
    padding: 15px;
  }

  .callback-modal-title {
    font-size: 1.5rem;
  }

  .callback-input {
    padding: 8px;
  }

  .callback-submit-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

.callback-error {
  color: #422006;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: bold;
  display: none;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #422006;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #422006;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #422006;
}

@media screen and (max-width: 768px) {
  .footer-bottom-content {
    display: flex;
    flex-direction: column;
  }

  .footer-nav {
    order: 1;
    width: 100%;
  }

  .copyright {
    order: 2;
    width: 100%;
  }

  /* Ensure links display block/list correctly in mobile */
  .footer-menu {
    justify-content: flex-start;
    /* Alignment */
  }

  /* Additional left alignment force */
  .footer-description,
  .why-me-text {
    text-align: left;
  }
}
/* ===== DESKTOP EMAIL RIGHT ALIGN ===== */
.desktop-contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-right {
  margin-left: auto;
}

/* ===== MOBILE RIGHT SHIFT FOR BUTTON + MENU ===== */
.mobile-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Only Mobile */
@media (max-width: 768px) {
  .nav-mobile-adjust {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-right-group {
    margin-left: auto;
    padding-right: 5px;   /* shift little right */
  }
}

/* ============================================
   Search Component Styles
   ============================================ */
.search-component {
  position: relative;
  width: 100%;
}

.search-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  width: 100%;
  position: relative;
}

.site-search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--color-primary-dark);
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #222;
}

.search-results {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0;
  padding: 6px 0;
  background-color: #FFFFFF;
  border: 1px solid var(--color-primary-dark);
  border-top: none;
  border-radius: 0 0 8px 8px;
  display: none;
  max-height: none;
  overflow-y: hidden;
}

.search-results.active {
  display: block;
}

/* When suggestions are open, visually merge input + dropdown (no gap) */
.search-component.results-open .site-search-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* 3-record rule: scroll only when more than 3 items */
.search-results.scrollable {
  max-height: calc(3 * 48px); /* ~3 items visible before scroll */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.search-results li {
  list-style: none;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-results li:hover,
.search-results li[aria-selected="true"] {
  background-color: #f3efe5;
}

.search-results li a {
  color: #222;
  text-decoration: none;
  display: block;
  width: 100%;
}


.desktop-search {
  display: block;
}

.mobile-search {
  display: none;
}

@media (max-width: 991px) {
  .desktop-search {
    display: none;
  }
  .mobile-search {
    display: block;
  }
}

/* ============================================
   FAQ Section Styles
   ============================================ */

.faq-section {
  padding: 60px 0;
  background-color: var(--color-bg-light);
  width: 100%;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #422006;
  text-align: center;
  margin-bottom: 40px;
}

/* Utility centering for specific headings */
.section-heading.center { text-align: center; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
  border-left: 5px solid var(--color-primary);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.faq-answer {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  display: block;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-question {
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
  }

  .faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
  }

  .faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
  }

  .faq-answer {
    display: none;
    margin-top: 10px;
  }

  .faq-item.active .faq-answer {
    display: block;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

/* Mobile social-below: hidden by default, shown only on small screens
   and positioned left under the fixed header to reduce header height */
.mobile-social-below { display: none; }

@media screen and (min-width: 769px) {
  .mobile-social-below { display: none !important; }
}

@media screen and (max-width: 768px) {
  /* Hide the tall top contact bar to reduce header height */
  .top-contact-bar { display: none !important; }

  /* Show the compact social icons block directly below header */
  .mobile-social-below {
    display: block !important;
    background: transparent;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-social-below .container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* place icons on extreme left */
    padding-left: 0;
  }

  .mobile-social-below .social-icons {
    gap: 10px;
    align-items: center;
  }

  .mobile-social-below .social-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
  }

  /* Ensure no duplicate social icons inside header/nav-brand */
  .nav-brand .mobile-social,
  .nav-brand .desktop-social { display: none !important; }

  /* Reduce body top padding so header appears shorter on mobile */
  body { }
}

/* Also hide older top social icons for slightly larger mobile widths (phones/tablet landscape) */
@media screen and (max-width: 991px) {
  .top-contact-bar .social-icons { display: none !important; }
  /* ensure header remains compact */
  body { }
}

/* Mobile: ensure top contact bar is hidden on small screens and duplicates removed */
@media screen and (max-width: 768px) {
  /* fully hide the top contact bar to reduce header height */
  .top-contact-bar { display: none !important; }

  /* hide any social icons inside the header/nav brand to avoid duplicates */
  .nav-brand .mobile-social,
  .nav-brand .desktop-social,
  .top-contact-bar .social-icons { display: none !important; }

  /* ensure body padding is reduced for compact header */
  body { }

  /* Move the mobile-only social icons upward by 26px and keep left alignment */
  .mobile-social-below { display: block !important; }
  .mobile-social-below .mobile-social-below-inner { justify-content: flex-start !important; }
  /* Restore original upward positioning so icons visually align like earlier */
  .mobile-social-below .social-icon { position: relative; top: 0; margin-right: 8px; }
  .mobile-social-below .social-icon img { width: 32px; height: 32px; display: block; }
}

/* Allow mobile scrolling unless the menu is explicitly open. Use a class-based approach. */
@media screen and (max-width: 768px) {
  html, body { overflow: auto !important; -webkit-overflow-scrolling: touch !important; }
  /* When menu is open we add `.menu-open` to body; that disables scroll. */
  body.menu-open { overflow: hidden !important; }

  /* Make mobile nav links clearly look clickable: white underline/border */
  .nav-menu .nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 2px solid rgba(255,255,255,0.95);
    padding-bottom: 10px;
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:focus {
    background-color: rgba(255,255,255,0.04) !important;
  }
}

/* ============================================
   Services & Video Split Section Styles
   ============================================ */

/* Container Setup */
.services-split-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  width: 100%;
}

.services-wrapper {
  display: flex;
  flex-direction: column-reverse; /* Reverses order on mobile so Video Testimonials sit on top */
  gap: 40px;
}

/* Headings */
.text-left {
  text-align: left;
}

.center {
  text-align: center;
}

/* Desktop Side-by-Side View */
@media (min-width: 992px) {
  .services-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .services-left {
    flex: 1;
    max-width: 55%; /* Takes up roughly half */
    padding-right: 20px;
  }

  .services-right {
    flex: 1;
    max-width: 40%; /* Video section width */
  }
  
  /* Adjust list spacing for left alignment */
  .benefits-list li {
    padding-left: 20px; 
    margin-bottom: 12px;
  }
}

/* ============================================
   Video Testimonial Box Styling
   ============================================ */

/* The Outer Gold/Brown Frame */
.video-testimonial-frame {
  position: relative;
  background-color: #f9f4ec; /* Light beige inside */
  border-radius: 20px;
  padding: 30px 20px;
  margin-top: 10px;
  text-align: center;
  
  /* The Magic "Blade" Gold/Brown Border Effect */
  border: 4px solid #422006; /* Inner dark brown line */
  box-shadow: 
    0 0 0 4px #d4a574, /* Gold middle line */
    0 0 0 8px #a0522d, /* Outer copper/brown line */
    0 10px 20px rgba(0,0,0,0.15); /* Drop shadow */
    
  /* Ensure it doesn't overflow on mobile due to shadow */
  margin-left: 10px;
  margin-right: 10px;
}

.video-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* Typography inside the box */
.video-intro-text {
  font-size: 1.1rem;
  color: #5d4037;
  margin-bottom: 5px;
  font-weight: 500;
}

.video-client-name {
  font-size: 1.5rem;
  color: #422006;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Watch Video Button */
.watch-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #422006;
  border: 2px solid #422006;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.watch-video-btn svg {
  fill: #422006;
}

.watch-video-btn:hover {
  background-color: #422006;
  color: #fff;
}

.watch-video-btn:hover svg {
  fill: #fff;
}

/* Slider Controls (Arrows & Dots) */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  width: 100%;
}

.slider-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #8b4513; /* Lighter brown for arrows */
  cursor: pointer;
  padding: 0 10px;
  transition: transform 0.2s;
}

.slider-arrow:hover {
  transform: scale(1.2);
  color: #422006;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #d4a574; /* Inactive gold */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #422006; /* Active dark brown */
  transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .services-split-container {
    padding: 0 15px;
  }
  
  .video-testimonial-frame {
    margin: 20px 5px 10px; /* Adjust spacing for shadows */
  }
  
  .video-client-name {
    font-size: 1.3rem;
  }
}

/* ============================================
   PROMOTIONAL MODAL STYLES
   ============================================ */
.promo-modal {
  display: none; 
  position: fixed;
  z-index: 3000; /* Highest priority */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-modal.show {
  display: flex;
  opacity: 1;
}

.promo-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleUpPromo 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.promo-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain; /* Prevents truncation */
  display: block;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.promo-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3010;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.promo-close-btn:hover,
.promo-close-btn:focus {
  background-color: #dc143c; /* Red highlight on hover for clear UI */
  transform: scale(1.1);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes scaleUpPromo {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .promo-modal {
    padding: 10px;
  }
  .promo-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  .promo-image {
    max-height: 95vh;
  }
  .promo-close-btn {
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}
/* ============================================
   PHASE 5 & 6: Global Mobile UI Recovery
   ============================================ */
@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: var(--header-offset-mobile);
  }

  .site-header {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-distribute {
    display: contents;
  }

  .site-header .mobile-social-below {
    width: 100%;
    flex-shrink: 0;
  }

  .main-nav .container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center !important;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    gap: 8px;
  }
  
  .nav-brand {
    order: unset;
    margin-right: 0;
    justify-self: start;
    grid-column: 1;
  }
  
  .header-cta-group {
    order: unset;
    margin: 0 auto;
    justify-self: center;
    grid-column: 2;
  }

  .mobile-menu-toggle {
    order: unset;
    margin-left: 0;
    justify-self: end;
    grid-column: 3;
  }

  .site-header .mobile-search {
    position: relative;
    z-index: 1050;
    width: 100%;
    background-color: var(--color-primary-dark);
    padding: 10px;
    display: block !important;
    order: 4;
  }

  .site-header .mobile-search .search-container {
    position: relative;
    z-index: 1051;
    margin: 0;
    width: 100%;
  }

  .site-header .mobile-search .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1052;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .site-header .mobile-search input {
    width: 100%;
  }

  .mobile-social-below {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1;
    order: 5;
  }

  .nav-menu {
    z-index: 1100;
    background-color: var(--color-primary-dark) !important;
    opacity: 1 !important;
  }
  .nav-link {
    background-color: var(--color-primary-dark) !important;
    opacity: 1 !important;
  }
}

@media screen and (max-width: 374px) {
  .hide-mobile-small {
    display: none !important;
  }
}

/* Phase 2: Index Expert Image */
.h1-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.expert-img-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .expert-img-desktop {
    display: block;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
  }
}

/* Phase 5: Global Link Accessibility (Underlining) */
a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Specific context overrides */
.site-header a {
  text-decoration-color: var(--color-accent) !important;
}

.site-footer a {
  text-decoration-color: #FFFFFF !important;
}

.main-content a {
  text-decoration-color: currentColor !important;
}

/* Prevent underline on pure image/icon links */
a.logo-link,
a.social-icon {
  text-decoration: none !important;
}

/* ============================================
   Global Cookie Consent Banner (GDPR/CCPA)
   Isolated under #global-cookie-banner. Mobile-first.
   ============================================ */
#global-cookie-banner.gcb-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  box-sizing: border-box;
  background: #4a2c11;
  color: #fdf6ec;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.28);
  font-family: inherit;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#global-cookie-banner.gcb-banner.gcb-hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}

#global-cookie-banner .gcb-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #fdf6ec;
  flex: 1 1 auto;
}

#global-cookie-banner .gcb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#global-cookie-banner .gcb-accept {
  background: #d4a574;
  color: #4a2c11;
  border: 1px solid #d4a574;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
}

#global-cookie-banner .gcb-accept:hover,
#global-cookie-banner .gcb-accept:focus {
  background: #e8c9a0;
}

#global-cookie-banner .gcb-close {
  background: transparent;
  border: none;
  color: #fdf6ec;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex: 0 0 auto;
}

#global-cookie-banner .gcb-close:hover,
#global-cookie-banner .gcb-close:focus {
  background: rgba(255, 255, 255, 0.12);
}

/* Lift the floating WhatsApp button above the banner while it is visible. */
body.has-cookie-banner .whatsapp-float {
  bottom: calc(var(--cookie-banner-height, 96px) + 18px + env(safe-area-inset-bottom, 0px));
  transition: bottom 0.3s ease;
}

/* Mobile: stack text over a prominent, full-width Accept button. */
@media (max-width: 768px) {
  #global-cookie-banner.gcb-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  #global-cookie-banner .gcb-text {
    font-size: 0.85rem;
    padding-right: 40px; /* keep clear of the close icon */
  }
  #global-cookie-banner .gcb-actions {
    width: 100%;
  }
  #global-cookie-banner .gcb-accept {
    flex: 1 1 auto;
    width: 100%;
  }
  /* Close icon pinned to the top-right corner of the banner on mobile. */
  #global-cookie-banner .gcb-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  #global-cookie-banner .gcb-text {
    font-size: 0.8rem;
  }
}
