/* ==========================================
   THEME VARIABLES (Derived from Logo)
   ========================================== */
:root {
  --purple-primary: #7c1a84;      /* Logo Main Deep Purple */
  --purple-accent: #a342b2;       /* Bright Accent Violet */
  --purple-dark: #280730;         /* Dark Purple for Overlays/Footer */
  --purple-light: #f7eff9;        /* Soft Lavender Background Tint */
  --purple-hover: #5e1164;        /* Dark Hover State */
  --text-dark: #222222;
  --text-muted: #666666;
  --white: #ffffff;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  font-size: 19px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  background: var(--white);
  padding: 1.5rem 5%; /* makes the white header taller */
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--purple-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--purple-primary);
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--purple-accent);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background: var(--purple-accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--purple-hover);
}

.btn {
  display: inline-block;
  background: var(--purple-accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--purple-primary);
}

/* Outlined Read More Buttons */
.btn-read-more {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--purple-primary);
  background-color: transparent;
  color: var(--purple-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

.btn-read-more:hover {
  background-color: var(--purple-primary);
  color: var(--white);
}

.btn-read-more-blue {
  display: inline-block;
  align-self: flex-start;
  margin-top: 15px;
  padding: 10px 22px;
  border: 1px solid var(--white);
  background-color: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-read-more-blue:hover {
  background-color: var(--white);
  color: var(--purple-primary);
}

/* ==========================================
   HERO SLIDER SECTION
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.slides-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover; /* Changed from cover */

  background-position: center;
  filter: grayscale(100%) brightness(80%);
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    
    background-size: contain; /* Changed from cover */
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0;
    transition: opacity 1s ease; /* Removed transform transition */
}

.hero-slide.active {
    opacity: 1;
    /* Removed transform: scale(1); */
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 7, 48, 0.72); /* Rich Purple Tint */
  z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 5.5%; /* Changed from right: 5.5% */
    z-index: 5;
    width: min(620px, 42vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 0;
    text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services {
  padding: 80px 5%;
  background-color: var(--purple-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border: 1px solid #e5d8eb;
  border-top: 4px solid var(--purple-primary);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================
   WHY WRITE A WILL SECTION
   ========================================== */
.why-will-feature {
  padding: 80px 5%;
  background-color: var(--white);
}

.why-will-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
  
}

.why-will-image {
  flex: 1;
}

.why-will-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(90%);
}

.why-will-content {
  flex: 1;
}

.why-will-content h2 {
  font-size: 2.3rem;
  color: var(--purple-primary);
  font-weight: 400;
  margin-bottom: 12px;
  
}

.accent-line {
  width: 70px;
  height: 5px;
  background-color: var(--purple-accent);
  margin-bottom: 25px;
}

.why-will-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Card Grid Variant */
.why-will-section {
  padding: 80px 5%;
  background-color: var(--purple-light);
}

.container {
  max-width: 1000px;
  margin: auto;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);

}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.why-card {
  background: var(--white);
  padding: 30px;
  border-top: 4px solid var(--purple-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.why-card h3 {
  color: var(--purple-primary);
  margin-bottom: 15px;
}

.cta-box {
  text-align: center;
  background: var(--purple-primary);
  padding: 40px;
  border-radius: 8px;
  color: var(--white);
}

.cta-box p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ==========================================
   ABOUT FEATURE SECTION (PURPLE PANEL)
   ========================================== */
.about-feature {
  width: 100%;
  background-color: var(--white);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.about-content {
  flex: 1;
  background-color: var(--purple-primary); /* Logo Purple Background */
  color: var(--white);
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 22px;
  color: var(--white);
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--white);
}

.about-content .life-changes p {
  margin-bottom: 4px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--purple-dark);
  color: var(--white);
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
  .why-will-container,
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}


/* ==========================================
   DESKTOP NAVIGATION DEFAULTS
   ========================================== */
.hamburger {
  display: none; /* Hidden on desktop */
}

.menu-overlay {
  display: none; /* Hidden on desktop */
}

/* ==========================================
   MOBILE SLIDE-OUT MENU (768px & Below)
   ========================================== */
@media (max-width: 768px) {
  /* Show Hamburger Button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002; /* Keeps icon above sidebar */
    padding: 0;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--purple-primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

  /* Hamburger Animation to 'X' */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* Slide-out Sidebar Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen to the right */
    width: 270px;  /* Width of side drawer */
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
  }

  /* Active Sidebar State */
  .nav-menu.active {
    right: 0; /* Slides into view */
  }

  /* Mobile Links Alignment */
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
  }

  .nav-menu ul li {
    width: 100%;
  }

  .nav-menu ul li a {
    display: block;
    font-size: 1.1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--purple-light);
  }

  .nav-menu ul li a.btn-primary {
    text-align: center;
    border-bottom: none;
    margin-top: 10px;
  }

  /* Dark Overlay Behind Sidebar */
  .menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 7, 48, 0.5); /* Dimmed Purple Tint */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ==========================================
   LOGO IMAGE STYLING
   ========================================== */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 50px;           /* Controls the logo height in header */
  width: auto;            /* Maintains proper aspect ratio */
  max-height: 55px;       /* Prevents stretching out the header */
  object-fit: contain;
  display: block;
}

/* Optional adjustment for mobile screens if needed */
@media (max-width: 768px) {
  .site-logo {
    height: 40px;         /* Slightly smaller on mobile phones */
  }
}

/* Header Base */
header {
  background: var(--white);
  padding: 0.5rem 5%;
  position: sticky;
  top: 0;
  border-bottom: 3px solid var(--purple-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* Header Container (Constrains width so logo & menu aren't too far apart) */
.header-container {
  max-width: 1200px; /* Adjust to 1100px if you want them even closer */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Larger, Readable Logo Styling */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 75px;        /* Increased size so text/shield are clearly readable */
  width: auto;
  max-height: 85px;
  object-fit: contain;
  display: block;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .site-logo {
    height: 50px;      /* Fits comfortably on mobile phones */
  }
}



/* ==========================================
   CONTACT PAGE SECTION
   ========================================== */
.contact-section {
  padding: 60px 5%;
  background-color: var(--purple-light);
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-section .section-header h2 {
  font-size: 2.2rem;
  color: var(--purple-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-section .section-header p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Layout Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-grid .card h3 {
  color: var(--purple-primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1c2d6;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(163, 66, 178, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-status {
 min-height: 1.5em;
 color: #246b36;
 font-size: 0.9rem;
}

.contact-form-status.is-error {
 color: #a32626;
}

/* Form Footer & Captcha */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 15px;
  flex-wrap: wrap;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-light);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e5d8eb;
}

.captcha-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-primary);
}

.captcha-input {
  width: 55px !important;
  text-align: center;
  padding: 6px !important;
}

/* Remove spin buttons from number input */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple-primary);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
}

.submit-btn:disabled {
 cursor: wait;
 opacity: 0.7;
 transform: none;
}

/* Address Info Section */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

/* ==========================================
   CONTACT SUBMISSIONS ADMIN
   ========================================== */
.admin-page {
  min-height: 100vh;
  background: var(--purple-light);
  font-size: 16px;
}

.admin-shell {
  width: min(1440px, 94%);
  margin: 0 auto;
  padding: 28px 0 60px;
}

.admin-header,
.admin-dashboard-heading,
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.admin-header {
  margin-bottom: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5d8eb;
}

.admin-brand,
.admin-back-link {
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: 700;
}

.admin-login-card,
.admin-dashboard {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid #e5d8eb;
  border-top: 4px solid var(--purple-primary);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(40, 7, 48, 0.08);
}

.admin-login-card {
  width: min(460px, 100%);
  margin: 7vh auto;
}

.admin-login-card h1,
.admin-dashboard h1 {
  color: var(--purple-primary);
  line-height: 1.2;
}

.admin-login-card > p {
  margin: 12px 0 20px;
  color: var(--text-muted);
}

.admin-login-form {
  display: grid;
  gap: 10px;
}

.admin-login-form label,
.admin-sort span {
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-login-form input,
.admin-search input,
.admin-sort select {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d1c2d6;
  border-radius: 6px;
  background: white;
  color: var(--text-dark);
  font: inherit;
}

.admin-button {
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--purple-primary);
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.admin-button:hover {
  background: var(--purple-hover);
}

.admin-button-secondary {
  margin: 0;
  white-space: nowrap;
  background: #f2e8f4;
  color: var(--purple-primary);
}

.admin-button-secondary:hover {
  background: #e8d7eb;
}

.admin-eyebrow {
  margin-bottom: 6px;
  color: var(--purple-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.admin-muted {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-toolbar {
  margin: 28px 0 12px;
}

.admin-search {
  flex: 1;
}

.admin-search input {
  width: 100%;
}

.admin-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-status {
  min-height: 1.5em;
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-login-card .admin-status {
  color: #a32626;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #eee7f0;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #faf6fb;
  color: var(--purple-dark);
  white-space: nowrap;
}

.admin-table a {
  color: var(--purple-primary);
  overflow-wrap: anywhere;
}

.admin-message-cell {
  min-width: 260px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 700px) {
  .admin-header,
  .admin-dashboard-heading,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header {
    gap: 10px;
  }

  .admin-toolbar {
    gap: 12px;
  }

  .admin-sort {
    justify-content: space-between;
  }
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.info-item .icon {
  font-size: 1.1rem;
  line-height: 1;
}

.info-item a {
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--purple-accent);
  text-decoration: underline;
}

/* Social Buttons */
.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--purple-light);
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  border: 1px solid #e5d8eb;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--purple-primary);
  color: var(--white);
  border-color: var(--purple-primary);
  transform: translateY(-2px);
}

/* Embedded Google Map */
.map-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5d8eb;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   MOBILE RESPONSIVENESS (CONTACT SECTION)
   ========================================== */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-box {
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
  }
}



/* ==========================================
   ABOUT PAGE SECTION
   ========================================== */

.about-page-section {
  width: 100%;
  background-color: #ffffff;
  color: #333333;
}

/* Grayscale Hero Image Banner */
.about-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  /* Applies the black-and-white filter seen in the screenshot */
  filter: grayscale(100%) contrast(95%);
  display: block;
}

/* Main Text Container */
.about-text-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 20px 40px 20px;
}

/* Heading color matches light blue from image */
.about-title {
  color: #7c1a84; /* Replace with var(--purple-primary) if you prefer your site's purple theme */
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 22px;
}

.about-paragraph {
  color: #555555;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Full-Width Off-White Quote Banner */
.about-quote-section {
  width: 100%;
  background-color: #f4f4f6; /* Light gray background */
  padding: 45px 20px;
  text-align: center;
  border-top: 1px solid #eaeaee;
  border-bottom: 1px solid #eaeaee;
}

.about-quote {
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
  color: #111111;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-hero-img {
    height: 240px;
  }
  
  .about-text-container {
    padding: 30px 20px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-quote {
    font-size: 1.25rem;
  }
}
/* ==========================================
   WHY DO I NEED A WILL SECTION
   ========================================== */

.why-will-section {
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  padding: 40px 0;
  font-family: inherit;
}

.why-will-section .container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   STANDARD WILL / TOP CONTENT
   ========================================== */

.top-grid {
    display: block;
    max-width: 1150px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.intro-left {
    display: none;
}

.intro-right {
    width: 100%;
}

.intro-right .accent-title {
    margin-top: 0;
}

.intro-right p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333333;
    margin-bottom: 18px;
}

.intro-right br {
    display: none;
}

.main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 20px;
}

.illustration-wrapper {
  display: flex;
  justify-content: center;
}

.intro-right p {
  font-size: 0.99rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 14px;
}

/* Full Width Dark Risks Banner */
.dark-banner {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 30px 0;
  text-align: center;
  margin-bottom: 40px;
}

.dark-banner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;

}

.risks-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.risks-list li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #e2e2e2;
}

.risks-list strong {
  color: #ffffff;
}

/* Bottom Grid Section */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-left {
    min-width: 0;
}

.content-left {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #333333;
}

.content-left p {
  margin-bottom: 14px;
}

/* Vertical Left Accent Title Bar */
.accent-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    border-left: 4px solid var(--purple-primary, #7c1a84);
    padding-left: 10px;
    margin-top: 25px;
    margin-bottom: 14px;
}

/* Witness Card Box */
.witness-card {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 24px;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.witness-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.witness-card h3 .highlight {
  color: #ffffff;
  text-decoration: underline;
}

.witness-card ul {
  padding-left: 18px;
  margin-bottom: 20px;
}

.witness-card ul:last-child {
  margin-bottom: 0;
}

.witness-card li {
  margin-bottom: 6px;
  color: #d1d1d1;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .top-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .illustration-wrapper {
    margin-bottom: 20px;
  }

  .bottom-grid {
    align-items: start;
  }
}


/* Grayscale Hero Banner */
.hero-image-banner {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-img-grayscale {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(95%);
  display: block;
}

.nextgen-why-will .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 36px;
}

.page-header .badge {
  display: inline-block;
  background: #ffffff;
  color: var(--purple-primary, #7c1a84);
  border: 1px solid rgba(124, 26, 132, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.page-header .subtitle {
  font-size: 1.05rem;
  color: #6b7280;
}

/* --- Intro Grid --- */
.intro-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.intro-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.main-text-card h2 {
  font-size: 1.4rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 16px;
  font-weight: 700;
}

.main-text-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 14px;
}

.main-text-card p:last-child {
  margin-bottom: 0;
}

.highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-light, #f9f5fa) 100%);
  border: 1px solid #e9d8ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6b7280;
}

/* --- Risks Dark Banner --- */
.risks-banner {
  background: #18131d;
  color: #ffffff;
  padding: 48px 36px;
  border-radius: 20px;
  margin-bottom: 48px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.risks-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px auto;
}

.risks-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.risks-header p {
  font-size: 0.95rem;
  color: #a193aa;
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.risk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.risk-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: var(--purple-accent, #a342b2);
}

.risk-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.risk-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.risk-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b3a8bc;
}

/* --- Details & Witness Section --- */
.details-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.info-block {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.info-block:last-child {
  margin-bottom: 0;
}

.block-badge {
  display: inline-block;
  background: var(--purple-light, #f9f5fa);
  color: var(--purple-primary, #7c1a84);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.info-block h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 12px;
}

.info-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 12px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

/* Witness Widget */
.witness-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e9d8ee;
  box-shadow: 0 10px 30px rgba(124, 26, 132, 0.06);
  position: sticky;
  top: 100px;
}

.widget-header {
  border-bottom: 1px solid #f0e6f3;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.widget-header h3 {
  font-size: 1.2rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 4px;
}

.widget-header p {
  font-size: 0.85rem;
  color: #6b7280;
}

.witness-group {
  margin-bottom: 24px;
}

.witness-group:last-child {
  margin-bottom: 0;
}

.witness-group h4 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.green { background-color: #10b981; }
.status-dot.red { background-color: #ef4444; }

.witness-group ul {
  list-style: none;
  padding: 0;
}

.witness-group li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.witness-group li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #9ca3af;
}

.warning-note {
  margin-top: 10px;
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #991b1b;
  line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-img-grayscale {
    height: 220px;
  }

  .intro-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .witness-widget {
    position: static;
  }
}

/* Target your hero section or image wrapper */
.hero-section, 
.hero-image {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header, 
.site-header {
  margin-bottom: 0 !important;
  /* If the purple line is a border-bottom on the header, ensure no bottom padding exists inside */
  padding-bottom: 0 !important; 
}

.hero-section {
  overflow: hidden; /* Prevents child margins from pushing the parent container */
}

.hero-image img {
  display: block; /* Removes inline spacing quirks */
  width: 100%;
}



/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #7c1a84; /* Matches brand theme */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

/* Shown state via JS */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #5b1262;
  transform: translateY(-3px);
}

/* Active Navigation Link Highlight */
.nav-menu ul li a.active {
  color: #7c1a84;
  font-weight: 700;

}

.b1 {
  width: 60px;                    /* Sets the length of the underline */
  border-bottom: 3px solid #7c1a84; /* Line thickness and color */
  margin: 15px auto 20px auto;    /* Centers the line and adds top/bottom spacing */
}















/* ==========================================
   INCREASE FONT SIZES
   ========================================== */

/* General body text */
body {
  font-size: 17px;
}

/* Services / Why Will main content */
.content-left {
  font-size: 1rem;
  line-height: 1.75;
}

.content-left p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Service headings */
.accent-title {
  font-size: 2rem;
  line-height: 1.3;
  margin-top: 30px;
  margin-bottom: 16px;
}

/* Standard Will section */
.intro-right p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* "What it covers" section */
.dark-banner h2 {
  font-size: 1.4rem;
}

.risks-list li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Witness information */
.witness-card {
  font-size: 0.95rem;
  line-height: 1.65;
}

.witness-card h3 {
  font-size: 1.05rem;
}

.witness-card li {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Page title */
.main-title {
  font-size: 1.8rem;
}

/* Subtitle */
.subtitle {
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .content-left p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .accent-title {
    font-size: 1.7rem;
  }

  .intro-right p {
    font-size: 1rem;
  }

  .risks-list li {
    font-size: 0.95rem;
  }

  .witness-card {
    font-size: 0.95rem;
  }
}



/* ==========================================
   DIRECTORS & WILL WRITERS SECTION
   ========================================== */

.team-section {
  padding: 80px 5%;
  background-color: var(--);
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-header h2 {
  color: var(--purple-primary);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Section titles */
.team-category {
  text-align: center;
  margin-bottom: 30px;
}

.team-category h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-category .team-line {
  width: 60px;
  height: 3px;
  background-color: var(--purple-primary);
  margin: 0 auto;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Will writers: 2 centred cards */
.will-writers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 350px));
  justify-content: center;
  gap: 30px;
}

/* Individual team card */
.team-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5d8eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(124, 26, 132, 0.15);
}

/* Face / profile picture */
.team-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #eee;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Card information */
.team-info {
  padding: 22px 20px 25px;
}

.team-info h4 {
  color: var(--purple-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-description {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Purple accent at bottom of card */
.team-card::after {
  content: "";
  display: block;
  height: 4px;
  background-color: var(--purple-primary);
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 350px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .team-section {
    padding: 60px 5%;
  }

  .team-grid,
  .will-writers-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .team-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .team-image {
    height: 280px;
  }

  .team-header h2 {
    font-size: 1.9rem;
  }
}





/* ==========================================
   SERVICES IMAGE
   ========================================== */

.services-image {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  background: #fff;
}

.services-image img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(95%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Subtle colour on hover */
.services-image:hover img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.02);
}

/* Mobile */
@media (max-width: 768px) {
  .services-image {
    margin-bottom: 30px;
    border-radius: 6px;
  }

  .services-image img {
    height: 220px;
  }
}


/* =========================================
   WHATSAPP FLOATING BUTTON
========================================= */

.whatsapp-float {
    position: fixed;

    left: 22px;
    bottom: 22px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;

    border-radius: 50%;

    text-decoration: none;

    z-index: 9998;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* WhatsApp icon */

.whatsapp-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;

    fill: #ffffff;

    display: block;
}


/* Hover */

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.24);
}


/* Text label */

.whatsapp-label {
    position: absolute;

    left: 70px;

    padding: 9px 13px;

    color: #ffffff;

    background: var(--bg-dark);

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transform: translateX(-6px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.15);
}


/* Small arrow */

.whatsapp-label::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 50%;

    width: 10px;
    height: 10px;

    background: var(--bg-dark);

    transform: translateY(-50%) rotate(45deg);
}


/* Show label */

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* =========================================
   SUBTLE PULSE
========================================= */

.whatsapp-float::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 2px solid rgba(37, 211, 102, 0.45);

    animation: whatsappPulse 2.4s infinite;
}

@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .whatsapp-float {
        left: 16px;
        bottom: 18px;

        width: 54px;
        height: 54px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    /* Don't show desktop tooltip on mobile */
    .whatsapp-label {
        display: none;
    }
}


/* Extra small phones */

@media (max-width: 400px) {

    .whatsapp-float {
        left: 14px;
        bottom: 15px;

        width: 52px;
        height: 52px;
    }
}






















/* =========================================================
   PREMIUM HERO SLIDER
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 680px;

    overflow: hidden;

    background: #321032;
}


/* =========================================================
   SLIDES
========================================================= */

.hero-slides {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    background-size: cover;
    background-position: center;

    opacity: 0;

    transform: scale(1.025);

    transition:
        opacity 1s ease,
        transform 7s ease;
}



.hero-slide.active {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(35, 0, 35, .78) 0%,
            rgba(35, 0, 35, .55) 42%,
            rgba(35, 0, 35, .20) 100%
        );
}


/* =========================================================
   GOLD PROGRESS BAR
========================================================= */

.hero-progress {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    z-index: 10;

    background: rgba(255, 255, 255, .18);
}

.hero-progress-bar {
    width: 0%;
    height: 100%;

    background: #f8f7f4;

    box-shadow:
        0 0 10px rgba(200, 163, 75, .45);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: absolute;
    top: 0;
    right: 5.5%;

    z-index: 5;

    width: min(620px, 42vw);
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 40px 0;

    text-align: left;
}
.hero-content h1 {
    max-width: 600px;
}

.hero-content > p:not(.hero-eyebrow) {
    max-width: 570px;
}

.hero-content .btn {
    align-self: center;
    margin-top: 12px;
}
.hero-eyebrow {
    margin-bottom: 18px;

    color: #f8f7f4;

    width: 100%;
    text-align: center;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 22px;

    color: #fff;

    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 600;
}

.hero-content > p:not(.hero-eyebrow) {
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    line-height: 1.75;
}


@media (max-width: 768px) {
    .hero-content {
        position: absolute;
        top: 0;
        right: 0;

        width: 100%;
        max-width: none;

        padding: 70px 25px 100px;

        justify-content: center;
    }

    .hero-content h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.08;
    }

    .hero-content > p:not(.hero-eyebrow) {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-content .btn {
        align-self: center;
    }
}

.hero-content > p:not(.hero-eyebrow) {
    max-width: 650px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, .90);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    color: #ffffff;

    background: var(--bg-surface);

    border-radius: 5px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.hero-content .btn:hover {
    background: var(--bg-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .18);
}


/* =========================================================
   DOT NAVIGATION
========================================================= */

.hero-dots {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    bottom: 38px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(196, 190, 190, 0.48);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        transform .3s ease;
}

.hero-dot:hover {
    background: #ffffff;
}

.hero-dot.active {
    width: 28px;

    border-radius: 10px;

    background: #ffffff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero {
        height: 650px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(35, 0, 35, .35) 0%,
                rgba(35, 0, 35, .68) 55%,
                rgba(35, 0, 35, .88) 100%
            );
    }

    .hero-content {
        max-width: 100%;

        padding:
            80px 25px 100px;

        justify-content: center;
    }

    .hero-eyebrow {
        margin-bottom: 14px;

        font-size: 10px;

        letter-spacing: 2.2px;
    }

    .hero-content h1 {
        margin-bottom: 18px;

        font-size: clamp(36px, 10vw, 48px);

        line-height: 1.08;

        letter-spacing: -0.8px;
    }

    .hero-content > p:not(.hero-eyebrow) {
        margin-bottom: 27px;

        font-size: 15px;

        line-height: 1.65;
    }

    .hero-content .btn {
        min-height: 50px;

        padding: 0 23px;

        font-size: 13px;
    }

    .hero-dots {
        left: 255px;
        bottom: 128px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .hero {
        height: 600px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content > p:not(.hero-eyebrow) {
        font-size: 14px;
    }

    .hero-dots {
        left: 20px;
        bottom: 23px;
    }
}





.brand-ticker {
    width: 100%;
    overflow: hidden;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 15px 0;
}

.brand-ticker-track {
    display: flex;
    width: max-content;
    animation: brandTicker 28s linear infinite;
}

.brand-ticker-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-ticker-content span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0 28px;
}

.brand-ticker-content .ticker-dot {
    color: #f8f7f4;
    padding: 0;
    font-size: 16px;
}

@keyframes brandTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .brand-ticker {
        padding: 13px 0;
    }

    .brand-ticker-content span {
        font-size: 10px;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .brand-ticker-content .ticker-dot {
        padding: 0;
    }
}

.hero-content .btn {
    align-self: flex-start;
    margin-top: 12px;
}


















/* =========================================
   PREMIUM SERVICES DROPDOWN
   ========================================= */

.dropdown {
    position: relative;
}

/* Services link */
.dropdown > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Elegant chevron */
.dropdown > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.35s ease;
}

/* Rotate arrow */
.dropdown:hover > a::after {
    transform: rotate(225deg) translateY(-1px);
}


/* =========================================
   DROPDOWN PANEL
   ========================================= */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 330px;

    margin: 0;
    padding: 14px;

    list-style: none;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(248,247,243,0.98)
        );

    border: 1px solid rgba(20, 32, 48, 0.10);
    border-radius: 16px;

    box-shadow:
        0 30px 70px rgba(12, 24, 40, 0.14),
        0 10px 25px rgba(12, 24, 40, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        visibility 0.3s ease;

    z-index: 9999;
}


/* Little luxury pointer */
.dropdown-menu::before {
    content: "";

    position: absolute;
    top: -7px;
    left: 50%;

    width: 13px;
    height: 13px;

    background: #faf9f6;

    border-left: 1px solid rgba(20, 32, 48, 0.10);
    border-top: 1px solid rgba(20, 32, 48, 0.10);

    transform: translateX(-50%) rotate(45deg);
}


/* Show dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


/* =========================================
   DROPDOWN ITEMS
   ========================================= */

.dropdown-menu li {
    position: relative;
    width: 100%;
}

.dropdown-menu li a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 54px;
    padding: 13px 17px 13px 20px;

    color: #172334;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;

    border-radius: 10px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        padding-left 0.3s ease,
        transform 0.3s ease;
}


/* Subtle gold accent line */
.dropdown-menu li a::before {
    content: "";

    position: absolute;
    left: 8px;
    top: 50%;

    width: 2px;
    height: 0;

    background: #a308a3;

    border-radius: 10px;

    transform: translateY(-50%);

    transition: height 0.3s ease;
}


/* Elegant arrow */
.dropdown-menu li a::after {
    content: "→";

    margin-left: auto;

    font-size: 15px;
    font-weight: 400;

    color: #a308a3;

    opacity: 0;
    transform: translateX(-8px);

    transition:
        opacity 0.25s ease,
        transform 0.3s ease;
}


/* Hover */
.dropdown-menu li a:hover {
    color: #111c2d;

    background:
        linear-gradient(
            90deg,
            rgba(185,154,91,0.10),
            rgba(185,154,91,0.03)
        );

    padding-left: 25px;

    transform: translateX(2px);
}


/* Gold accent appears */
.dropdown-menu li a:hover::before {
    height: 25px;
}


/* Arrow appears */
.dropdown-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================
   TOP & BOTTOM SPACING
   ========================================= */

.dropdown-menu li:first-child a {
    border-radius: 11px 11px 8px 8px;
}

.dropdown-menu li:last-child a {
    border-radius: 8px 8px 11px 11px;
}


/* =========================================
   OPTIONAL: PREMIUM LABEL
   ========================================= */

.dropdown-menu::after {
    content: "WILLS & ESTATE PLANNING";

    display: block;

    margin: 8px 10px 3px;

    color: #ececec;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;

    text-align: right;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .dropdown-menu {
        position: static;

        width: 100%;

        transform: none;

        margin-top: 8px;

        border-radius: 12px;

        box-shadow:
            0 12px 30px rgba(12, 24, 40, 0.10);

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }

    .dropdown-menu li a {
        min-height: 48px;
        font-size: 14px;
    }

}


/* =========================================
   LUXURY MEGA MENU
   ========================================= */

.mega-dropdown {
    position: relative;
}


/* Trigger */

.mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}


/* Chevron */

.mega-chevron {
    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1);
}

.mega-dropdown:hover .mega-chevron {
    transform: rotate(225deg) translateY(-1px);
}


/* =========================================
   MAIN PANEL
   ========================================= */

.mega-menu {
    position: absolute;

    top: calc(100% + 22px);
    left: 50%;

    width: min(1040px, 92vw);

    transform:
        translateX(-50%)
        translateY(16px)
        scale(.98);

    display: grid;
    grid-template-columns: 1fr 310px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf9f5 100%
        );

    border: 1px solid rgba(22, 35, 51, .10);

    border-radius: 22px;

    box-shadow:
        0 40px 100px rgba(171, 11, 219, 0.678),
        0 15px 35px rgba(12, 24, 40, .08),
        inset 0 1px 0 rgba(255,255,255,.95);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.2,.8,.2,1),
        visibility .3s ease;

    z-index: 99999;
}


/* Show */

.mega-dropdown:hover .mega-menu,
.mega-dropdown.menu-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}

/* =========================================
   LEFT SIDE
   ========================================= */

.mega-services {
    padding: 36px 38px 34px;
}


/* Heading */

.mega-heading {
    margin-bottom: 25px;
}

.mega-heading span {
    display: block;

    margin-bottom: 8px;

    color: #7e0a78;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .20em;
}

.mega-heading h3 {
    margin: 0 0 7px;

    color: #172334;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 400;

    letter-spacing: -.02em;
}

.mega-heading p {
    max-width: 530px;

    margin: 0;

    color: #7e0a78;

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================
   SERVICE GRID
   ========================================= */

.services-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;
}


/* Service Card */

.service-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 83px;

    padding: 13px 12px;

    color: inherit;
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 13px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}


/* Hover card */

.service-card:hover {
    background: rgba(255,255,255,.9);

    border-color: rgba(163,138,90,.16);

    box-shadow:
        0 10px 30px rgba(20,32,48,.06);

    transform: translateY(-2px);
}


/* Wide final service */

.service-wide {
    grid-column: span 2;
}


/* =========================================
   ICONS
   ========================================= */

.service-icon {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 13px;

    color: #a126c7;

    background:
        linear-gradient(
            145deg,
            #faf8f1,
            #f2eee4
        );

    border: 1px solid rgba(163,138,90,.16);

    border-radius: 11px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.service-icon svg {
    width: 20px;
    height: 20px;

    stroke: currentColor;

    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:hover .service-icon {
    color: #fff;

    background: #9406b8;

    transform: scale(1.05);
}


/* =========================================
   CONTENT
   ========================================= */

.service-content {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding-right: 20px;
}

.service-content strong {
    margin-bottom: 4px;

    color: #7e0a78;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: -.01em;
}

.service-content small {
    color: #81868d;

    font-size: 10.5px;
    line-height: 1.5;
}


/* =========================================
   ARROW
   ========================================= */

.service-arrow {
    position: absolute;

    right: 12px;
    top: 50%;

    color: #a308a3;

    font-size: 16px;

    opacity: 0;

    transform:
        translate(-5px, -50%);

    transition:
        opacity .25s ease,
        transform .3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;

    transform:
        translate(0, -50%);
}


/* =========================================
   CONSULTATION PANEL
   ========================================= */

.consultation-panel {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 38px 32px;

    color: #fff;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(238, 234, 226, 0.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #a308a3,
            #0d1826
        );

    overflow: hidden;
}


/* Decorative circle */

.consultation-decoration {
    position: absolute;

    width: 190px;
    height: 190px;

    top: -100px;
    right: -85px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;
}

.consultation-decoration::after {
    content: "";

    position: absolute;

    inset: 20px;

    border: 1px solid rgba(163,138,90,.18);

    border-radius: 50%;
}


/* Label */

.consultation-label {
    position: relative;

    color: #fffdff;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .20em;
}


/* Heading */

.consultation-panel h3 {
    position: relative;

    margin: 18px 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;
    line-height: 1.15;
    font-weight: 400;

    letter-spacing: -.025em;
}


/* Text */

.consultation-panel > p {
    position: relative;

    margin: 0;

    color: rgba(255,255,255,.62);

    font-size: 11px;
    line-height: 1.7;
}


/* Divider */

.consultation-line {
    width: 100%;
    height: 1px;

    margin: 25px 0 20px;

    background:
        linear-gradient(
            90deg,
            #7e0a78,
           #7e0a78
        );
}


/* =========================================
   CONSULTATION META
   ========================================= */

.consultation-meta {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.consultation-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(195,169,110,.3);

    border-radius: 50%;

    color: #f1f0f1;
}

.consultation-icon svg {
    width: 17px;
    height: 17px;

    stroke: currentColor;

    stroke-width: 1.3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.consultation-meta span:last-child {
    display: flex;
    flex-direction: column;
}

.consultation-meta small {
    margin-bottom: 3px;

    color: rgba(255,255,255,.4);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: .14em;
}

.consultation-meta strong {
    color: #fff;

    font-size: 11px;
    font-weight: 500;
}


/* =========================================
   CONSULTATION BUTTON
   ========================================= */

.consultation-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 15px;

    color: #fafafa;

    background: #7e0a78;

    border: 1px solid #ffffff;
    border-radius: 8px;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .02em;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.consultation-button span {
    font-size: 16px;

    transition: transform .3s ease;
}

.consultation-button:hover {
    background: #f7f7f7;
    border-color: #e0c992;

    transform: translateY(-2px);
}

.consultation-button:hover span {
    transform: translateX(4px);
}


/* =========================================
   VIEW ALL
   ========================================= */

.view-all {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 17px;

    color: rgba(255,255,255,.55);

    text-decoration: none;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .04em;

    transition: color .25s ease;
}

.view-all span {
    color: #c3a96e;

    transition: transform .25s ease;
}

.view-all:hover {
    color: #fff;
}

.view-all:hover span {
    transform: translate(2px, -2px);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .mega-menu {
        width: 94vw;

        grid-template-columns: 1fr 270px;
    }

    .mega-services {
        padding: 30px 25px;
    }

    .consultation-panel {
        padding: 30px 25px;
    }

}


@media (max-width: 700px) {

    .mega-menu {
        position: static;

        width: 100%;

        display: none;

        transform: none;

        margin-top: 10px;

        border-radius: 14px;

        box-shadow:
            0 15px 40px rgba(12,24,40,.12);
    }

    .mega-dropdown:hover .mega-menu {
        transform: none;
    }

    .mega-services {
        padding: 25px 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-wide {
        grid-column: span 1;
    }

    .consultation-panel {
        display: none;
    }

}























/* =========================================
   MOBILE NAVIGATION
   ========================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;

    width: 22px;
    height: 1.5px;

    background: #172334;

    transition:
        transform .35s ease,
        opacity .25s ease;
}


/* =========================================
   HAMBURGER → X
   ========================================= */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* =========================================
   OVERLAY
   ========================================= */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(8, 17, 29, .42);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MOBILE PANEL
   ========================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(410px, 88vw);
    height: 100vh;

    height: 100dvh;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f7f3
        );

    box-shadow:
        -20px 0 60px rgba(10, 22, 36, .14);

    transform: translateX(100%);

    transition:
        transform .45s cubic-bezier(.22,.8,.2,1);

    z-index: 9999;

    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}


/* =========================================
   HEADER
   ========================================= */

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 26px 25px;

    border-bottom: 1px solid rgba(20, 32, 48, .08);
}

.mobile-menu-header span {
    color: #a308a3;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .22em;
}

.mobile-menu-close {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(20, 32, 48, .10);
    border-radius: 50%;

    background: #fff;

    color: #172334;

    font-size: 25px;
    font-weight: 300;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mobile-menu-close:hover {
    background: #172334;
    color: #fff;

    transform: rotate(90deg);
}


/* =========================================
   NAV
   ========================================= */

.mobile-nav {
    padding: 15px 25px 25px;
}

.mobile-nav > a,
.mobile-services-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 0;

    color: #172334;

    background: transparent;

    border: 0;
    border-bottom: 1px solid rgba(20, 32, 48, .08);

    text-decoration: none;

    font-family: inherit;

    font-size: 15px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.mobile-nav > a:hover,
.mobile-services-toggle:hover {
    color: #a308a3;

    padding-left: 5px;
}


/* =========================================
   SERVICES TOGGLE
   ========================================= */

.mobile-services-toggle {
    appearance: none;
}

.mobile-plus {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: #a308a3;

    font-size: 20px;
    font-weight: 300;

    transition:
        transform .3s ease;
}

.mobile-nav-group.open .mobile-plus {
    transform: rotate(45deg);
}


/* =========================================
   SERVICES SUBMENU
   ========================================= */

.mobile-services {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .45s ease,
        opacity .3s ease;
}

.mobile-nav-group.open .mobile-services {
    max-height: 600px;

    opacity: 1;
}


/* All services */

.mobile-services > a:first-child {
    color: #a308a3;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;

    padding-bottom: 15px;
}


/* Individual services */

.mobile-services a {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 14px 10px 14px 18px;

    color: #263447;

    text-decoration: none;

    border-bottom: 1px solid rgba(20, 32, 48, .055);

    transition:
        background .25s ease,
        padding-left .25s ease;
}

.mobile-services a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 18px;

    width: 2px;
    height: 0;

    background: #a308a3;

    transition: height .25s ease;
}

.mobile-services a:hover {
    padding-left: 24px;

    background: rgba(163,138,90,.05);
}

.mobile-services a:hover::before {
    height: 20px;
}

.mobile-services a span {
    font-size: 12px;
    font-weight: 600;
}

.mobile-services a small {
    margin-top: 4px;

    color: #8a8f96;

    font-size: 10px;
    line-height: 1.45;
}


/* =========================================
   FOOTER CTA
   ========================================= */

.mobile-menu-footer {
    margin-top: auto;

    padding: 25px;

    background: #a308a3;
}

.mobile-menu-footer > span {
    display: block;

    margin-bottom: 12px;

    color: #fafafa;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .18em;
}

.mobile-menu-footer a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    color: #182536;

    background: #a308a3;

    border-radius: 8px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease;
}

.mobile-menu-footer a span {
    font-size: 17px;
}

.mobile-menu-footer a:hover {
    background: #dfc891;

    transform: translateY(-2px);
}


/* =========================================
   MOBILE BREAKPOINT
   ========================================= */

@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop navigation */
    .desktop-nav {
        display: none !important;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

    .mobile-menu {
        width: 92vw;
    }

    .mobile-menu-header,
    .mobile-nav,
    .mobile-menu-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

}







/* =========================================
   MOBILE NAVIGATION
   ========================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;

    width: 22px;
    height: 1.5px;

    background: #172334;

    transition:
        transform .35s ease,
        opacity .25s ease;
}


/* =========================================
   HAMBURGER → X
   ========================================= */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* =========================================
   OVERLAY
   ========================================= */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(8, 17, 29, .42);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MOBILE PANEL
   ========================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(410px, 88vw);
    height: 100vh;

    height: 100dvh;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f7f3
        );

    box-shadow:
        -20px 0 60px rgba(10, 22, 36, .14);

    transform: translateX(100%);

    transition:
        transform .45s cubic-bezier(.22,.8,.2,1);

    z-index: 9999;

    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}


/* =========================================
   HEADER
   ========================================= */

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 26px 25px;

    border-bottom: 1px solid rgba(20, 32, 48, .08);
}

.mobile-menu-header span {
    color: #a308a3;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .22em;
}

.mobile-menu-close {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(20, 32, 48, .10);
    border-radius: 50%;

    background: #fff;

    color: #172334;

    font-size: 25px;
    font-weight: 300;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mobile-menu-close:hover {
    background: #172334;
    color: #fff;

    transform: rotate(90deg);
}


/* =========================================
   NAV
   ========================================= */

.mobile-nav {
    padding: 15px 25px 25px;
}

.mobile-nav > a,
.mobile-services-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 0;

    color: #172334;

    background: transparent;

    border: 0;
    border-bottom: 1px solid rgba(20, 32, 48, .08);

    text-decoration: none;

    font-family: inherit;

    font-size: 15px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.mobile-nav > a:hover,
.mobile-services-toggle:hover {
    color: #a308a3;

    padding-left: 5px;
}


/* =========================================
   SERVICES TOGGLE
   ========================================= */

.mobile-services-toggle {
    appearance: none;
}

.mobile-plus {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: #a308a3;

    font-size: 20px;
    font-weight: 300;

    transition:
        transform .3s ease;
}

.mobile-nav-group.open .mobile-plus {
    transform: rotate(45deg);
}


/* =========================================
   SERVICES SUBMENU
   ========================================= */

.mobile-services {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .45s ease,
        opacity .3s ease;
}

.mobile-nav-group.open .mobile-services {
    max-height: 600px;

    opacity: 1;
}


/* All services */

.mobile-services > a:first-child {
    color: #a308a3;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;

    padding-bottom: 15px;
}


/* Individual services */

.mobile-services a {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 14px 10px 14px 18px;

    color: #263447;

    text-decoration: none;

    border-bottom: 1px solid rgba(20, 32, 48, .055);

    transition:
        background .25s ease,
        padding-left .25s ease;
}

.mobile-services a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 18px;

    width: 2px;
    height: 0;

    background: #a308a3;

    transition: height .25s ease;
}

.mobile-services a:hover {
    padding-left: 24px;

    background: rgba(163,138,90,.05);
}

.mobile-services a:hover::before {
    height: 20px;
}

.mobile-services a span {
    font-size: 12px;
    font-weight: 600;
}

.mobile-services a small {
    margin-top: 4px;

    color: #8a8f96;

    font-size: 10px;
    line-height: 1.45;
}


/* =========================================
   FOOTER CTA
   ========================================= */

.mobile-menu-footer {
    margin-top: auto;

    padding: 25px;

    background: #a308a3;
}

.mobile-menu-footer > span {
    display: block;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .18em;
}

.mobile-menu-footer a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    color: #182536;

    background: #f5f5f4;

    border-radius: 8px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease;
}

.mobile-menu-footer a span {
    font-size: 17px;
}

.mobile-menu-footer a:hover {
    background: #dfc891;

    transform: translateY(-2px);
}


/* =========================================
   MOBILE BREAKPOINT
   ========================================= */

@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop navigation */
    .desktop-nav {
        display: none !important;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

    .mobile-menu {
        width: 92vw;
    }

    .mobile-menu-header,
    .mobile-nav,
    .mobile-menu-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* Mega menu: viewport-safe positioning (JS sets left/width) */
@media (min-width: 701px) {

    .mega-menu {
        left: 0;
        transform: translateY(16px) scale(.98);
        grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
    }

    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.menu-open .mega-menu {
        transform: translateY(0) scale(1);
    }
}

/* Stack the service cards when space is tight */
@media (min-width: 701px) and (max-width: 860px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 701px) {
    .mega-menu {
        transform: translateY(12px) !important;
    }

    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.menu-open .mega-menu {
        transform: translateY(0) !important;
    }
}

@media (min-width: 701px) and (max-width: 1200px) {
    .mega-services { padding: 26px 22px; }
    .consultation-panel { padding: 26px 22px; }
    .mega-heading h3 { font-size: 1.6rem; }
    .service-card small { font-size: .82rem; }
}



/* =========================================
   PREVENT HORIZONTAL / SIDE SCROLLING
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Prevent elements from accidentally extending
   beyond the viewport */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Images and media should never create overflow */
img,
svg,
video,
iframe {
    max-width: 100%;
}

/* Prevent long text/links from forcing the page wider */
body {
    overflow-wrap: break-word;
}

/* Keep the main page within the viewport */
header,
main,
section,
footer,
.nav-menu,
.header-container {
    max-width: 100%;
}