/* --- Global Styles & Variables --- */
:root {
    --font-primary: 'Manrope', sans-serif;
    
    --color-dark: #111111;
    --color-dark-secondary: #1A1A1A;
    --color-light: #ffffff;
    --color-light-secondary: #cccccc;
    --color-accent: #f97316; /* Orange */
    --color-accent-hover: #ea580c;
    --color-border: #e9ecef; /* Updated border color */
    --color-light-gray-bg: #f8f9fa; /* New light background color */
}

/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/manrope-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/manrope-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/manrope-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/manrope-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/montserrat-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* --- Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light);
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 2.7rem;
    padding-right: 2.7rem;
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.3rem;
        padding-right: 1.3rem;
    }
}

h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; 
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { 
    margin-bottom: 1.5em; 
    max-width: 65ch;
}
p:last-child { margin-bottom: 0; }

a { 
    color: var(--color-accent); 
    text-decoration: none;
    font-weight: 600;
}

/* --- Buttons --- */
.cta-button, .secondary-button, .cta-button-light {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.cta-button {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 101%;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button:hover {
    color: var(--color-light);
}


.secondary-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    border-color: rgba(255, 255, 255, 0.2);
}
.secondary-button:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.cta-button-light {
    background-color: var(--color-light);
    color: var(--color-dark);
}
.cta-button-light:hover {
    background-color: #ddd;
    transform: translateY(-3px);
}


/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background-color: var(--color-light);
    border-bottom: 1px solid transparent;
    transition: padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.main-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid #eee;
}
.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo img {
    height: 60px;
    transition: height 0.3s ease;
    display: block; /* Fixes the vertical alignment issue */
}
.main-header.scrolled .logo img {
    height: 50px;
}

.main-nav ul { 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}
.main-nav a {
    color: var(--color-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}
.main-nav a:not(.cta-button):hover {
    color: var(--color-accent);
}

.mobile-cta {
    display: none;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-dark); 
    color: var(--color-light);
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    padding-top: 80px; 
    overflow: hidden; 
    box-shadow: 0 3px 15px -5px rgba(0, 0, 0, 0.1); 
    z-index: 2;
}
.hero-container {
    flex-grow: 1;
    display: flex;
    align-items: center; 
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 300px
        ),
        repeating-linear-gradient(
            to right,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 300px
        ),
        linear-gradient(to right, rgba(17,17,17,0.9) 10%, rgba(17,17,17,0.1) 100%);
    z-index: 1;
}
.hero-content {
    max-width: 650px; /* Adjusted for better balance */
    position: relative;
    text-align: left; /* Align text to the left */
}

.hero-content .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-light);
    margin-bottom: 0em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5em;
    text-shadow: none;
}

.hero-content h1 + p {
    font-size: 1.25rem;
    color: var(--color-light-secondary);
    margin-bottom: em;
    max-width: 55ch; 
}


.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start; 
}

.reviews-section {
    display: ;
  margin-top: 20px; 
  padding-left: 8px;
}

.review-stars {
  width: 100px; 
  height: auto;
}

.review-text {
  font-size: 0.6em; 
  color: #717070; 
  margin-top: -10px;
  padding-left: 4px
}

.page-about .hero-section .hero-background-image {
        object-position: 50% 20%; 
        
    }

/* --- Section Styles --- */
.section-padding { padding: 100px 0; }
/* --- Section header (balanced two-column) --- */
.section-header {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(460px, 1fr);
  align-items: start;
  gap: 48px;
  text-align: left;
  margin-bottom: 64px; /* a bit tighter above the cards */
}

.section-header h2 {
  margin: 0;
  position: relative;
  line-height: 1.15;
}

/* Accent line under the heading */
.section-header h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background-color: var(--color-accent);
  margin-top: 16px;
}

/* Right column content block */
.section-header-content {
  display: flex;
  flex-direction: column;
  gap: 16px;              /* even rhythm between p and button */
  max-width: 60ch;        /* copy line length */
}

/* Make the paragraph slightly calmer and give it air */
.section-header-content p {
  font-size: 1.05rem;
  color: #666;
  margin: 0;
}

/* Keep the button snug to the paragraph and left-aligned */
.section-header .cta-button {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 993px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* Mobile: stack cleanly and center */
@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

  .section-header {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .section-header h2::after {
    margin-left: auto;
    margin-right: auto;
  }
  .section-header .cta-button {
    align-self: center;
  }
}



/* --- Trust Badges --- */
.trust-badges {
    width: 100%;
    z-index: 2;
    background-color: var(--color-light);
    padding: 25px 0;
    margin-top: auto; /* Pushes to the bottom of the flex container */
}
.trust-badges .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #444;
}
.badge svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

@media (max-width: 768px) {
    
    .trust-badges {
        padding: 5px;
    }
    .trust-badges .container {
        gap: 10px;
        
    }

    .badge {
        flex-basis: calc(50% - 10px); 
        justify-content: center;
        text-align: center;
        font-size: 0.705rem; 
        gap: 8px; /* Tighter spacing between icon and text */
    }

    /* ADD this new rule inside the (max-width: 768px) media query */
    .badge svg {
        width: 20px;
        height: 20px;
    }

    /* ... other styles ... */
}

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

.services-grid p {
    font-weight: 400;
}

.service-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--color-light);
}

.service-card {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border: 2px solid var(--color-accent);
}

.service-card:hover .service-icon-container {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 0.75em;
    color: var(--color-dark);
    font-weight: 800; /* Bolder heading */
}

.service-card p {
    color: #555;
}



/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.about-content h2 {
    margin-bottom: 1em;
}
.about-content p {
    color: #555;
}


/* --- CTA Section --- */
.cta-section {
    background: var(--color-dark) url('https://images.unsplash.com/photo-1543362242-37a52a033578?q=80&w=1974&auto=format=fit=crop') center/cover no-repeat;
    color: var(--color-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cta-content h2 { margin-bottom: 0.5em; }
.cta-content p { color: var(--color-light-secondary); margin-bottom: 2em; }

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    background-color: #f9f9f9;
    padding: 60px;
    border-radius: 10px;
}
.contact-info h3 { margin-bottom: 0.75em; }
.contact-info p { margin-bottom: 2em; color: #555; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 20px;}
.contact-info li { display: flex; align-items: center; gap: 15px; }
.contact-info li svg { width: 24px; color: var(--color-accent); }
.contact-info li a { color: #333; }

.contact-form, .contact-form form {
    display: grid;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* --- Footer --- */
/* =========================
   Footer (White, Modern)
   ========================= */

/* Canvas */
.site-footer--light{
  background: #fff;
  color: #0f172a;
  border-top: 1px solid var(--color-border, #e5e7eb);
  padding: 56px 0 24px;
}

/* Grid: brand | links | contact */
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; 
  gap: clamp(16px, 3.5vw, 32px);
  align-items: start;
  margin-bottom: 24px;
}

/* Brand */
.footer-logo img{
  height: 72px;
  width: auto;
  display: block;
}

.footer-tag{
  margin: 12px 0 0;
  max-width: 35ch;                
  font-size: .98rem;
  line-height: 1.6;
  color: #475569;
}

.site-footer--light h3{
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 12px 0;
  font-weight: 700;
  color: #0f172a;
}

.footer-links ul,
.footer-contact ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer-links a,
.footer-contact a{
  font-weight: 400;               
  color: #334155;
  text-decoration: none;
}

.footer-contact {
  font-style: normal;     
}

.footer-links a:hover,
.footer-contact a:hover{
  color: var(--color-accent, #f97316);
}

.footer-bottom{
  border-top: 1px solid var(--color-border, #e5e7eb);
  padding-top: 16px;
}

.footer-bottom--center{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-bottom--center p{
  margin: 0;
  color: #475569;
}




.footer-legal a:hover{
  color: var(--color-accent, #f97316);
}

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

@media (max-width: 768px){
  .footer-grid{
    grid-template-columns: 1fr; text-align: center;
  }
  .footer-tag{ display: none; }
  .footer-links ul,
  .footer-contact ul{ justify-items: center; }
  .footer-brand{ 
    text-align: center;              
  }
  .footer-logo{
    display: inline-block; margin: 0 auto;                  
  }
  .footer-logo img{
    display: block; margin: 0 auto; height: 64px;
  }
}






/* --- Mobile Navigation --- */
.nav-toggle {width: 28px; height: 28px; display: none; background: transparent; border: 0; cursor: pointer; z-index: 3000; }
.hamburger { display: block; position: relative; width: 28px; height: 3px; background: var(--color-dark); transition: background-color 0.25s; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 100%; height: 3px; background: var(--color-dark); transition: transform 0.25s, top 0.25s, bottom 0.25s; }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }
body.nav-open .hamburger { background: transparent; }
body.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
body.nav-open .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* --- Reveal on Scroll Animation --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { padding: 40px; }
    .about-image { order: -1; }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        max-width: 600px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .homepage .hero-section .hero-background-image {
        object-position: 70% 50%; 
        
    }
}

@media (max-width: 768px) {
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(80vw, 350px); background: rgba(255,255,255, 0.95); backdrop-filter: blur(15px); transform: translateX(100%); transition: transform 350ms ease-out; z-index: 2000; padding: 100px 30px; }
    body.nav-open .main-nav { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .main-nav a { font-size: 1.25rem; }
    .nav-toggle { display: block; }

    .desktop-cta { 
        
    }
    .mobile-cta { 
        display: list-item; 
    }

    .hero-section { 
        padding-bottom: 0;
        justify-content: flex-start;
        min-height: 85vh;
    }
     .hero-content {
        margin-top: 5vh;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
    }

    .section-header h2 {
        margin-bottom: 0.5em;
    }

    .section-header p {
        max-width: 600px;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.4) 100%);
    }
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; /* Center buttons on mobile */
    }

    .trust-badges {
        position: relative;
        padding: 30px 10px;
    }
    .trust-badges .container {
        gap: 20px;
    }
    .badge {
        flex-basis: calc(50% - 20px);
        justify-content: center;
        text-align: center;
    }
}


.microdots{
  position: relative;
  isolation: isolate;         
  background:#fff;           
}


.microdots::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;                  
  background:
    radial-gradient(circle at center, rgba(0,0,0,.08) 1px, transparent 1px)
    0 0/14px 14px,
    #fff;

  -webkit-mask-image: radial-gradient(1200px 800px at 50% 30%, #000 70%, transparent 100%);
          mask-image: radial-gradient(1200px 800px at 50% 30%, #000 70%, transparent 100%);
  opacity:.6;
}

/* ensure the section’s children sit above the dots */
.microdots > .container,
.microdots > *{
  position: relative;
  z-index: 1;
}

/* if cards are translucent, make them solid so dots don't show inside */
.service-card{
  background:#fff;   /* keep your existing radius/shadow */
}


/* --- About (Dark, Modern, No stats) --- */
.about-dark{
  position: relative;
  background:
    radial-gradient(1200px 800px at 12% 0%, rgba(255,255,255,.06), transparent 60%)
    var(--color-dark-secondary, #0f172a);
  color: var(--color-light, #f8fafc);
  overflow: clip;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* slim accent edge (left) */
.about-dark::before{
  content:"";
  position:absolute; inset:0 0 0 auto; left:0; width:8px;
  background: linear-gradient(var(--color-accent, #f97316), var(--color-accent-hover, #ea580c));
  opacity:.9;
}

/* layout */
.about-wrap{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.eyebrow{
  display:inline-block;
  text-transform: uppercase;
  letter-spacing:.14em;
  font-weight:800;
  color: var(--color-accent, #f97316);
  font-size:.85rem;
  margin-bottom:.75rem;
}

.about-copy h2{ margin:0 0 .6em 0; line-height:1.15; }
.about-copy .lead{
  color: rgba(255,255,255,.8);
  font-size: 1.125rem;
  margin-bottom: 1.2em;
  max-width: 60ch;
}

/* simple benefits list */
.about-list{
  list-style:none; margin:0 0 1.1rem 0; padding:0;
  display:grid; gap:12px;
}
.about-list li{
  display:flex; gap:10px; align-items:flex-start; color:#d8d8d8;
}
.about-list svg{
  width:20px; height:20px; flex:0 0 20px;
  fill:none; stroke: currentColor; stroke-width:2.5;
  color: var(--color-accent, #f97316);
  margin-top:2px;
}



/* media */
.about-media{ margin:0; position:relative; }
.about-media img{
  width:100%; height:auto; display:block; object-fit:cover;
  border-radius:14px;
  box-shadow: 0 18px 50px -20px rgba(0,0,0,.8);
  outline: 1px solid rgba(255,255,255,.12);
  outline-offset: -1px;
  background: radial-gradient(600px 400px at 70% 20%, rgba(255,255,255,.05), transparent 60%);
}
.about-media::after{
  content:""; position:absolute; inset:-10px; z-index:-1; border-radius:20px;
  background: conic-gradient(from 180deg, rgba(249,115,22,.25), rgba(234,88,12,.18), rgba(249,115,22,.25));
  filter: blur(26px); opacity:.35;
}
.about-media figcaption{ margin-top:12px; color:#bdbdbd; font-size:.9rem; }

/* responsive */
@media (max-width: 992px){
  .about-wrap{ grid-template-columns: 1fr; }
  .about-media{ order:-1; } /* show image first on mobile */
}


/* ------------------------------------------------------------------------------------------------------ PLACEHOLDER --- */
.reviews-slider{ background:#fff; }

.reviews-header{
  display:grid; grid-template-columns: 1fr auto; align-items:center; gap:16px; margin-bottom:16px;
}
.reviews-title h2{ margin:0 0 6px 0; }
.rating-row{ display:flex; align-items:center; gap:12px; }
.stars{ letter-spacing:3px; font-size:1.2rem; color:#f59e0b; }
.rating-text{ color:#475569; }

.review-cta{
  display:inline-flex; align-items:center; justify-content:center;
  background:#1a73e8; color:#fff; text-decoration:none; font-weight:700;
  padding:.7rem 1rem; border-radius:12px; transition:filter .2s, transform .2s;
}
.review-cta:hover{ filter:brightness(1.05); transform:translateY(-1px); }

/* slider shell */
.slider{ position:relative; }
.track{
  display:flex; gap:16px; overflow:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none; padding:6px 2px 10px;  /* breathing room for shadows */
}
.track::-webkit-scrollbar{ display:none; }

.review-card{
  scroll-snap-align:start;
  flex: 0 0 clamp(260px, 42vw, 360px);
  background:#fff; border:1px solid #e5e7eb; border-radius:16px;
  box-shadow: 0 5px 30px -18px rgba(2,6,23,.2);
  padding:14px;
}
.review-card p{ color:#475569; margin:.4rem 0 0; }

/* card header */
.review-head{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; }
.avatar{ width:34px; height:34px; border-radius:50%; overflow:hidden; background:#f1f5f9; }
.avatar img{ width:100%; height:100%; object-fit:cover; }
.person strong{ display:block; line-height:1.1; }
.person time{ display:block; font-size:.85rem; color:#94a3b8; }
.g-mark{ width:18px; height:18px; opacity:.85; }

.review-stars{ color:#f59e0b; letter-spacing:3px; margin:.4rem 0; }

/* nav buttons */
.nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center;
  background:#fff; color:#0f172a; border:1px solid #e5e7eb;
  box-shadow:0 8px 24px -12px rgba(2,6,23,.25);
  cursor:pointer; transition:transform .2s, box-shadow .2s, background .2s;
}
.nav:hover{ transform:translateY(-50%) scale(1.03); box-shadow:0 12px 30px -14px rgba(2,6,23,.3); }
.nav:active{ transform:translateY(-50%) scale(.98); }
.prev{ left:-30px; } .next{ right:-30px; }

/* compact on small screens */
@media (max-width: 768px){
  .reviews-header{ grid-template-columns:1fr; gap:8px; }
  .review-cta{ justify-self:start; }
  .prev{ left:-4px; } .next{ right:-4px; }
}


/* ------------------------------------------------------------------------------------------------------ PLACEHOLDER --- */



/* --- Suitability Check (Lead Magnet) --- */
.suitability{
  background:var(--color-light-gray-bg);
}
.sc-wrap{
  display:grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 80px); align-items:center;
}

/* copy column */
.sc-copy h2{ margin:0 0 .55em 0; line-height:1.15; }
.sc-copy .lead{ color:#475569; font-size:1.1rem; margin:0 0 1rem 0; max-width:60ch; }

.sc-bullets{ list-style:none; margin:0 0 1.1rem 0; padding:0; display:grid; gap:10px; }
.sc-bullets li{ display:flex; gap:10px; align-items:flex-start; color:#334155; }
.sc-bullets svg{ width:20px; height:20px; flex:0 0 20px; fill:none; stroke: currentColor; stroke-width:2.5; color:var(--color-accent); margin-top:2px; }

.sc-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-top:.5rem; }

/* preview card */
.sc-card{
  background:#ffffff; border:1px solid #e5e7eb; border-radius:16px;
  box-shadow:0 14px 40px -22px rgba(2,6,23,.28);
  padding:16px; max-width:540px; margin-left:auto;
}
.sc-card-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;
}
.sc-card-head .badge{
  font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:#0f172a; background:#f1f5f9; border:1px solid #e2e8f0; border-radius:999px; padding:4px 8px;
}
.sc-card-head .dots span{ display:inline-block; width:6px; height:6px; border-radius:50%; background:#e5e7eb; margin-left:4px; }
.sc-row{ display:grid; gap:6px; margin:10px 0; }
.sc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:4px 0 8px; }
.sc-row label, .sc-grid label{ font-size:.85rem; color:#64748a; }
.sc-row input, .sc-grid input{
  width:100%; padding:.6rem .7rem; border:1px solid #e5e7eb; border-radius:10px; background:#f8fafc;
  color:#0f172a; font-weight:600;
}

.sc-result{
  display:flex; gap:10px; align-items:flex-start; border-radius:12px; padding:10px; margin:8px 0 12px;
  border:1px solid #e5e7eb; background:#f8fafc;
}
.sc-result .pill{
  display:inline-block; font-size:.75rem; font-weight:800; letter-spacing:.08em; padding:4px 8px; border-radius:999px;
  background:#eafaf1; color:#166534; border:1px solid #bbf7d0;
}
.sc-result.ok p{ margin:0; color:#1f2937; }

.sc-button{
  width:100%; border:1px solid #e5e7eb; background:#fff; color:#0f172a; font-weight:700;
  padding:.7rem 1rem; border-radius:10px; cursor:pointer;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.sc-button:hover{ border-color:#cbd5e1; box-shadow:0 10px 24px -16px rgba(2,6,23,.18); transform:translateY(-1px); }

.sc-note{ margin-top:10px; font-size:.9rem; color:#64748a; }

/* responsive */
@media (max-width: 992px){
  .sc-wrap{ grid-template-columns:1fr; }
  .sc-card{ order:-1; margin-left:0; }

  #leadmag-img {
    display: none;
  }
}


/* --- Service Areas  --- */
.areas-elegant{
  background:
    radial-gradient(1200px 800px at 12% 0%, rgba(255,255,255,.06), transparent 60%)
    var(--color-dark-secondary);
  color: var(--color-light);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.areas-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.areas-header h2{ margin: 4px 0 ; line-height: 1.12; color: var(--color-light);}
.areas-header .kicker{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

/* primary regions  */
.areas-chips{
  list-style: none;
  padding: 0;
  margin: 14px auto 10px;          
  max-width: 1000px;                 
  display: flex;                     
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;           
}
.areas-chips li{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}

/* regional note (centered line) */
.areas-note{
  margin: 12px 0 0;
  color: var(--color-light-gray-bg);
  font-size: .98rem;
  text-align: center;
  width: 100%;
}

.container.area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

















/* --- Services Page Specific Styles --- */


/* =======================================
   Services Page Hero - BANNER STYLE
   ======================================= */


.services-hero {
    height: auto;
    min-height: 70vh; 
    justify-content: center; 
}

.services-hero .hero-overlay {
    background: 
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 300px
        ),
        repeating-linear-gradient(
            to right,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 300px
        ),
        
        linear-gradient(rgba(17,17,17,0.75), rgba(17,17,17,0.75));
}


.services-hero .hero-content {
    text-align: center;
    margin: 0 auto; 
    max-width: 900px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.services-hero .hero-buttons {
    justify-content: center;
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 90vh;
        justify-content: flex-start; 
    }

    .caravanpage .services-hero .hero-background-image {
        object-position: 40% 50%; 
    }

    .trailerpage .services-hero .hero-background-image {
        object-position: 90% 50%; 
    }
    .page-specialist-weighing .services-hero .hero-background-image {
        object-position: 60% 50%; 
    }

    .services-hero .hero-overlay {
        background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.4) 100%);
    }
}

/* --- Why Weigh Section --- */
.why-weigh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.why-weigh-card {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
}
.why-weigh-card svg {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.why-weigh-card h3 {
    margin-bottom: 15px;
}
.why-weigh-card p {
    color: #555;
    font-size: 0.95rem;
}



/* --- Process Section --- */
.process-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-light);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}
.process-content h3 {
    margin-bottom: 10px;
    color: var(--color-dark);
}
.process-content p {
    color: #555;
    max-width: 60ch;
}

/* --- Report Section (Uses .about-dark) --- */
/* Re-using .sc-bullets from style.css for the bullet list */
#report .sc-bullets {
    margin-top: 2rem;
}
#report .sc-bullets li {
    color: var(--color-light-secondary);
}
#report .sc-bullets svg {
    color: var(--color-accent);
}

/* RESPONSIVE FIX FOR REPORT IMAGE */
#reportphoto {
    border: none;
    background: transparent;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

@media (max-width: 993px) {
    #reportphoto {
    width: 100%;
    max-width: 200px;
    }
}

/* --- Glossary Section (NEW) --- */

.glossary-section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.glossary-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--color-accent-hover);
    color: var(--color-light);
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.glossary-header-eyebrow svg {
    width: 16px;
    height: 16px;
}
.glossary-section-header h2 {
    margin-bottom: 0.5em;
}
.glossary-section-header p {
    font-size: 1.05rem;
    color: #666;
    margin: 0 auto;
}

.glossary-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.glossary-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.glossary-item[open] {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

/* Mobile Accordion Header */
.glossary-term {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px 25px;
    cursor: pointer;
    list-style: none; /* Remove default marker */
}
.glossary-term::-webkit-details-marker {
    display: none; /* Hide for Webkit */
}
.glossary-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Prevent shrinking */
    min-width: 0;
}
.glossary-acronym {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-light);
    background-color: var(--color-accent);
    border-radius: 6px;
    padding: 4px 8px;
    line-height: 1.2;
    flex-shrink: 0;
}
.glossary-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    color: var(--color-dark);
    /* Truncate if too long */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.glossary-icon {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}
.glossary-item[open] .glossary-icon {
    transform: rotate(45deg);
}

/* Mobile Accordion Content */
.glossary-content {
    padding: 0 25px 25px 25px;
    overflow: hidden;
    /* Animation */
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease-out;
}
.glossary-item[open] .glossary-content {
    opacity: 1;
    max-height: 500px; /* arbitrary large number */
    transform: translateY(0);
}
.glossary-definition {
    color: #333;
    line-height: 1.8;
    max-width: 75ch;
    margin-bottom: 1.5em; /* Space before button */
}
.glossary-definition strong {
    color: var(--color-dark);
}
.glossary-button {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    border: 2px solid var(--color-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}
.glossary-button:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
    border-color: var(--color-accent);
}


/* --- Glossary Tablet (2-col) & Desktop (3-col) --- */
@media (min-width: 768px) {
    .glossary-container {
        max-width: 1200px; /* Widen container */
        flex-direction: row; /* Switch to horizontal */
        flex-wrap: wrap;
        justify-content: center; /* Center the items */
        gap: 20px;
    }

    .glossary-item {
        /* Base size for 2-col layout */
        flex-basis: calc(50% - 20px);
        max-width: 400px; /* Max width for 2-col */
        
        /* Card styles */
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.07);
        border-color: var(--color-border);
        transition: all 0.3s ease;
        /* Force open styles */
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.07);
        border-color: var(--color-border);
    }
    
    .glossary-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px -10px rgba(0,0,0,0.12);
        border-color: var(--color-accent);
    }

    /* Override mobile accordion behavior */
    .glossary-term {
        padding: 0;
        cursor: default;
        pointer-events: none;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }
    .glossary-icon {
        display: none; /* Hide '+' icon */
    }
    
    /* New Desktop Card Title Style (ORANGE PILL) */
    .glossary-title-group {
        gap: 12px;
    }
    .glossary-acronym {
        font-size: 1.25rem;
        padding: 4px 12px;
        border-radius: 8px;
    }
    .glossary-title {
        font-size: 1.4rem;
        /* Allow wrapping */
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Force definition to be visible */
    .glossary-content {
        display: contents; /* Removes wrapper so flexbox works */
    }
    .glossary-definition {
        display: block;
        opacity: 1;
        transform: none;
        padding: 0;
        line-height: 1.7;
        margin-bottom: 1.5em;
    }

    /* Show and style button */
    .glossary-button {
        display: inline-block;
        margin-top: auto; /* Pushes button to bottom of card */
    }
}

/* --- Glossary Desktop (3-col) --- */
@media (min-width: 1024px) {
    .glossary-item {
        /* Base size for 3-col layout */
        flex-basis: 300px;
        flex-grow: 1;
        max-width: 350px;
    }
    #reportphoto {
        max-width: 600px;
}
}


/* ===== Service Intro (description) ===== */
.intro-wrap{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.intro-copy .lead{
  color:#475569;
  font-size:1.1rem;
  margin: 0 0 1rem 0;
  max-width: 62ch;
}

.intro-copy h2{
  margin: 0 0 .55em 0;
  line-height:1.15;
}
/* KPI chips */
.intro-kpis{
  list-style:none; padding:0; margin: 12px 0 18px;
  display:flex; flex-wrap:wrap; gap:10px 12px;
}
.intro-kpis li{
  background:#fff; border:1px solid var(--color-border);
  border-radius:12px; padding:12px 14px;
  box-shadow: 0 12px 28px -20px rgba(2,6,23,.16);
  min-width: 180px;
}
.intro-kpis strong{ display:block; font-weight:800; color:#0f172a; line-height:1.1; }
.intro-kpis span{ display:block; font-size:.9rem; color:#64748a; }

/* Media frame */
.intro-media{ margin:0; position:relative; }
.intro-media img{
  width:100%; height:auto; display:block; object-fit:cover;
  border-radius:14px; background:#000;
  box-shadow: 0 18px 48px -22px rgba(2,6,23,.45);
  outline: 1px solid rgba(0,0,0,.08); outline-offset: -1px;
}
.intro-media::after{
  content:""; position:absolute; inset:-10px; z-index:-1; border-radius:20px;
  background: conic-gradient(from 180deg, rgba(249,115,22,.18), rgba(234,88,12,.12), rgba(249,115,22,.18));
  filter: blur(28px); opacity:.5;
}
.media-label{
  position:absolute; left:14px; bottom:14px;
  background: rgba(17,17,17,.7); color:#fff; border:1px solid rgba(255,255,255,.2);
  padding:6px 10px; border-radius:10px; font-size:.9rem; backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 992px){
  .intro-wrap{ grid-template-columns: 1fr; }
  .intro-media{ order:-1; }
}

/* --- Intro Slider --- */
.intro-slider {
  margin: 0;
  position: relative;
  /* Grab the existing glow effect from .intro-media::after */
}

.intro-slider::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 20px;
  background: conic-gradient(from 180deg, rgba(249, 115, 22, 0.18), rgba(234, 88, 12, 0.12), rgba(249, 115, 22, 0.18));
  filter: blur(28px);
  opacity: 0.5;
}

/* Responsive order */
@media (max-width: 992px) {
  .intro-slider {
    order: -1;
  }
}

/* Slider mechanism */
.intro-slider {
    overflow: hidden;
    border-radius: 14px; /* Apply radius to the container */
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.intro-media-slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0; /* Reset figure margin */
}

.intro-media-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  /* These styles are inherited from .intro-media img */
  box-shadow: 0 18px 48px -22px rgba(2, 6, 23, 0.45);
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    
    background: rgba(17, 17, 17, 0.6); /* Dark overlay */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(17, 17, 17, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev {
    left: 16px;
}

.slider-nav.next {
    right: 16px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

/* --- Heading Resize --- */
.services-hero .hero-content h1 {

    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-light);
    margin-bottom: 0em; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    text-transform: none;
    letter-spacing: normal;
}
.services-hero .hero-content .hero-title {
 
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5em; 
    text-shadow: none;
    line-height: 1.3;
}

.hero-content {
    max-width: 900px;
}

.page-specialist-weighing #services {
    background: var(--color-light-gray-bg);
}

.page-specialist-weighing #services.microdots::before {
    background:
        radial-gradient(circle at center, rgba(0,0,0,.08) 1px, transparent 1px)
        0 0/14px 14px,
        var(--color-light-gray-bg); 
}

/* --- NAV ---------------------------------------------------------------------- */
.main-nav a {
    font-weight: 600;
}/* --- Dropdown Navigation --- */
.main-nav .dropdown {
    position: relative;
}

.main-nav a.active {
    color: var(--color-accent);
    position: relative;
}
.main-nav a.active::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--color-accent);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.main-nav .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; 
    left: 0;
    min-width: 240px;
    background-color: var(--color-light);
    border: 1px solid #eee;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    z-index: 1001; /* Above header z-index */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block; /* Show on hover */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    /* Override flex styles from parent */
    display: block; 
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-dark);
    font-weight: 600;
    white-space: nowrap;
}

.main-nav .dropdown-menu a:hover {
    color: var(--color-accent);
    background-color: #f9f9f9;
}

/* --- Mobile Nav Dropdown --- */
@media (max-width: 768px) {
    .main-nav .dropdown {
        position: static;
        display: flex; /* Allow flex column */
        flex-direction: column;
        align-items: flex-start;
        width: 100%; /* Ensure it takes full width */
    }

    .main-nav .dropdown-toggle::after {
        display: none; /* Hide arrow on mobile */
    }

    .main-nav .dropdown-menu {
        display: flex; /* Show by default in mobile nav */
        flex-direction: column;
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem; /* Indent sub-menu */
        gap: 1.5rem; /* Space out sub-items */
        margin-top: 1.5rem; /* Space from parent "Services" link */
        width: 100%;
        
        /* Reset desktop styles */
        min-width: 0;
        padding: 0;
        padding-left: 1.5rem; /* Re-apply indent */
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav .dropdown-menu a {
        padding: 0;
        font-size: 1.1rem; /* Slightly smaller than main links */
        color: var(--color-dark);
    }

    .main-nav .dropdown-menu a:hover {
        background: none;
        color: var(--color-accent);
    }
}

/* --- Mobile Nav Dropdown Fix --- */
@media (max-width: 768px) {
  
  .main-nav .dropdown-menu {
    display: block;           
    position: static;
    background: transparent;
    box-shadow: none;
    border: 0;
    margin-top: 1rem;
    padding: 0 0 0 1.5rem;   
  }

  .main-nav .dropdown-menu li + li {
    margin-top: 12px;     
  }

  .main-nav .dropdown-menu a {
    display: block;
    padding: 8px 0;       
    line-height: 1.25;       
    font-size: 1.1rem;
    color: var(--color-dark);
  }

  .main-nav .dropdown-menu a:hover {
    background: transparent;
    color: var(--color-accent);
  }
}














/* --- Contact Page Specific Styles --- */

/* Darker overlay for the contact hero */
.page-contact .services-hero .hero-overlay {
    background: linear-gradient(rgba(17,17,17,0.85), rgba(17,17,17,0.85));
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details-col .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2em;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}
.contact-icon-bg {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-light-gray-bg);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-accent);
}
.contact-icon-bg svg {
    width: 24px;
    height: 24px;
}
.item-content span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    line-height: 1.4;
}
.item-content a,
.item-content strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
}
.item-content a:hover {
    color: var(--color-accent);
}

/* Business Hours CSS has been removed */

.contact-form-col h2 {
    margin-bottom: 10px;
}
.contact-form-col p {
    color: #555;
    margin-bottom: 1.5em;
}

/* Style for the new <select> element */
.contact-form select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23666' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}
.contact-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
/* Style for the placeholder option */
.contact-form select:invalid {
    color: #666;
}


/* --- Contact Page Responsive --- */
@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* This rule is no longer needed */
    /* .hours-list li strong {
        min-width: 120px;
    } */
}

/* --- NEW: FAQ Section on Contact Page --- */
/* This section is now independent of the glossary */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.faq-item[open] {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

/* FAQ Accordion Header */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px 25px;
    cursor: pointer;
    list-style: none; /* Remove default marker */
}
.faq-question::-webkit-details-marker {
    display: none; /* Hide for Webkit */
}
.faq-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}
.faq-icon {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* FAQ Accordion Content */
.faq-answer {
    padding: 0 25px 25px 25px;
    overflow: hidden;
    color: #333;
    line-height: 1.7;
    /* Animation */
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease-out;
}
.faq-item[open] .faq-answer {
    opacity: 1;
    max-height: 500px; /* arbitrary large number */
    transform: translateY(0);
}
.faq-answer p {
    margin: 0;
    max-width: 75ch;
}
.faq-answer a {
    font-weight: 700; /* Make links in answer stand out */
}









/* --- NEW: About Page Specific Styles --- */

/* Darker overlay for the about hero */
.page-about .services-hero .hero-overlay {
    background: linear-gradient(rgba(17,17,17,0.85), rgba(17,17,17,0.85));
}

/* Re-using .about-dark for the "Our Experience" section is already in the main CSS */

/* Equipment Section */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.equipment-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.equipment-card .icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-light);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: 20px;
}
.equipment-card .icon-bg svg {
    width: 30px;
    height: 30px;
}
.equipment-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.equipment-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5em;
}
.equipment-card .specs {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto; /* Pushes specs to the bottom */
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.equipment-card .specs li {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.equipment-card .specs li::before {
    content: '✓';
    font-weight: 800;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* About CTA Section - Re-using .areas-elegant */
#about-cta {
    /* Re-uses .areas-elegant for background */
    text-align: center;
}
#about-cta .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#about-cta h2 {
    color: var(--color-light);
    margin-bottom: 0.5em;
}
#about-cta p {
    color: var(--color-light-secondary);
    margin: 0 auto 1.5em;
}











/* --- Shop Page Specific Styles --- */
/* Make the hero shorter for blog posts */
.page-blog .services-hero {
    min-height: 40vh;
    height: 40vh;
    background-color: rgb(56, 56, 56);
}
.page-blog .services-hero .hero-content {
    max-width: 800px; /* Widen content for blog title */
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* NEW: Two-column layout for the article */
.article-layout-grid {
    display: grid;
    grid-template-columns: 240px 1fr; /* Sidebar and main content */
    gap: 60px; /* Space between sidebar and content */
    align-items: flex-start;
}

/* NEW: Sticky Table of Contents Sidebar */
.article-toc {
    position: sticky;
    top: 120px; /* 80px header + 40px padding */
    align-self: start; /* Stick to the top of the grid cell */
}
.article-toc h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.25em;
    padding-bottom: 0.75em;
    border-bottom: 1px solid var(--color-border);
}
.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.article-toc a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    padding: 6px 0 6px 15px;
    border-left: 3px solid var(--color-border);
    line-height: 1.4;
}
.article-toc a:hover {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    transform: translateX(3px);
}
/* This class would be added by JS, but we can style it now */
.article-toc a.is-active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 700;
}


/* MODIFIED: Center the article content like a blog post */
.article-content {
    max-width: 1000px; /* MODIFIED: Was 800px */
    margin: 0; /* MODIFIED: Was 0 auto */
}

.article-content h2 {
    font-size: 2rem; /* Slightly smaller than main section H2 */
    margin-top: 2.5em;
    margin-bottom: 0.75em;
    line-height: 1.2;
    color: var(--color-dark);
    scroll-margin-top: 100px;
}

.article-content h2:first-of-type {
    margin-top: 0; /* No top margin on the first heading */
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em;
}

.article-content strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* Center the final CTA button */
.article-content .article-cta {
    text-align: center;
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid var(--color-border);
}

/* NEW: Responsive styles for the article layout */
@media (max-width: 992px) {
    .article-layout-grid {
        grid-template-columns: 1fr; /* Stack columns on tablet/mobile */
        gap: 40px;
    }
    
    .article-toc {
        position: static; /* Un-stick the TOC */
        top: auto;
        border: 1px solid var(--color-border);
        border-radius: 12px;
        padding: 20px 25px;
        background: #fdfdfd;
    }

    .article-content {
        max-width: 100%; /* Use full width in the single column */
    }
}

.page-shop .services-hero {
    min-height: 40vh;
    height: 40vh;
    background-color: rgb(56, 56, 56);
}

#shop-hero {
    display: flex;
    justify-content: center;
    align-items: center;
}


.reviews-header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.reviews-title {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .reviews-title {
    text-align: center;
    }

}



/* reviews. */

/* --- New Review Section Styles --- */

/* 1. For the new centered heading */
.reviews-main-header {
    text-align: center;
    margin-bottom: 2rem; 
}

/* 2. Style the rating row in its new position */
#reviews .rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem; /* Space above slider */
    justify-content: center;
}
/* You likely already have styles for .stars, but add if needed */
#reviews .rating-row .stars {
    color: #fbbc05; /* Google yellow */
    font-size: 1.2rem;
}


/* 3. For the new centered button at the bottom */
.reviews-bottom-cta {
    text-align: center;
    margin-top: 2rem; /* Space below slider */
}

/* 4. Make the track scrollable and hide the scrollbar */
#reviews .track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth; /* Enables smooth scrolling */
    scrollbar-width: none; /* Firefox */
}

#reviews .track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* --- New Rating Row Styles --- */

/* This replaces your previous '#reviews .rating-row' style */
#reviews .rating-row {
    display: flex;
    align-items: center; /* Vertically center the score and the details block */
    gap: 1rem; /* Space between "5.0" and the star/text block */
    margin-bottom: 1.5rem; /* Space above slider */
}

/* 1. Style for the new "5.0" */
.rating-score {
    font-size: 3.5rem;
    font-weight: 800; /* Matches your bold Manrope font */
    line-height: 1;
}

/* 2. Container for the stars and the text */
.rating-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem; /* Space between stars and text */
}

/* 3. Style for the stars (you may need to adjust font-size) */
#reviews .rating-details .stars {
    color: #fbbc05; /* Google yellow */
    font-size: 1.3rem;
    line-height: 1;
}

/* 4. Style for the "74 reviews on Google" text */
#reviews .rating-details .rating-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}

.review-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;  /* Size for the letter */
    font-weight: 600;   /* Make the letter bold */
    color: #ffffff;     /* White letter */
    background-color: #7986CB; /* Default color (JS will override) */
}

/* 5. Google Logo styling */
.google-logo {
    font-weight: 600; 
    letter-spacing: 0.5px;
}
.g-blue   { color: #4285F4; }
.g-red    { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green  { color: #34A853; }

/* --- Read More Button Style --- */
.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color); /* Uses your site's main blue */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 0 0 4px; /* A little space before it */
    cursor: pointer;
    text-decoration: underline;
}

/* --- Review Modal Styles --- */

/* This class will be toggled on the <body> tag */
body.modal-open {
    overflow: hidden; /* Prevents background scrolling when modal is open */
}

/* 1. The full-screen dark overlay */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.modal-open .review-modal-overlay {
    opacity: 1;
    visibility: visible;
}


.review-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 600px; 
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translate(-50%, -45%); 
}

body.modal-open .review-modal {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%); 
}


.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.modal-close:hover {
    color: #333;
}


.modal-content {
    max-height: 70vh; 
    overflow-y: auto; 
}

.modal-content .review-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.modal-content .review-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.modal-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

/* Re-style the avatar for the modal */
.modal-content .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-content .person strong {
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Mobile Slider Sizing --- */
@media (max-width: 767px) {
    #reviews .review-card {
        flex-basis: 85%;
    }
}

/* --- Mobile Only: Move Buttons Outside --- */
@media (max-width: 767px) {
    

    #reviews .slider {
        display: flex;
        align-items: center;
        gap: 5px; 
        padding: 0 5px; 
    }

    #reviews .track {
        flex-grow: 1;
        width: auto; 
        margin: 0;

        min-width: 0; 
    }

    #reviews .nav {
        position: static; 
        transform: none; 
        width: 32px;
        height: 32px;
        flex-shrink: 0; 
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    #reviews .nav svg {
        width: 18px;
        height: 18px;
    }
}