/*!
Theme Name: safetydesk
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: safetydesk
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

safetydesk is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


 
  :root{
    --navy:#0A1B57;
    --navy-deep:#071240;
    --blue:#1D4FD8;
    --paper:#F5F6FA;
    --ink:#12162A;
    --slate:#5B6070;
    --white:#FFFFFF;
    --amber:#F5A524;
    --line: rgba(18,22,42,0.10);
    --line-soft: rgba(18,22,42,0.06);
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0; font-family:'Inter', sans-serif; color:var(--ink); background:var(--white);
    line-height:1.62; -webkit-font-smoothing:antialiased; font-size:17px;
  }
  h1,h2,h3,h4{ font-family:'Space Grotesk', sans-serif; margin:0; font-weight:700; letter-spacing:-0.015em; }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  img{ max-width:100%; display:block; }
  a{ color:inherit; }
  .wrap{ max-width:1240px; margin:0 auto; padding:0 32px; }
  button{ font-family:inherit; cursor:pointer; border:none; background:none; }

  .eyebrow{
    display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono', monospace;
    font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--blue);
    margin-bottom:14px; font-weight:600;
  }
  .eyebrow::before{ content:''; width:16px; height:2px; background:var(--amber); }
  .eyebrow.on-dark{ color:#9DB4F0; }
  .eyebrow.on-dark::before{ background:var(--amber); }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    padding:16px 30px; border-radius:8px; font-weight:600; font-size:1rem;
    text-decoration:none; border:1.5px solid transparent; transition: all 0.2s ease;
  }
  .btn-primary{ background:var(--navy); color:#fff; box-shadow:0 1px 2px rgba(7,18,64,0.3), 0 14px 26px -12px rgba(10,27,87,0.55); }
  .btn-primary:hover{ background:var(--navy-deep); transform:translateY(-2px); box-shadow:0 1px 2px rgba(7,18,64,0.3), 0 20px 32px -12px rgba(10,27,87,0.65); }
  .btn-amber{ background:var(--amber); color:var(--navy-deep); box-shadow:0 1px 2px rgba(197,132,10,0.2), 0 14px 26px -12px rgba(245,165,36,0.55); }
  .btn-amber:hover{ background:#e0951a; transform:translateY(-2px); box-shadow:0 1px 2px rgba(197,132,10,0.2), 0 20px 32px -12px rgba(245,165,36,0.6); }
  .btn-outline{ background:transparent; border-color:var(--line); color:var(--ink); }
  .btn-outline:hover{ border-color:var(--navy); color:var(--navy); background:var(--paper); }
  .btn-outline-white{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.55); color:#fff; backdrop-filter:blur(4px); }
  .btn-outline-white:hover{ border-color:#fff; background:rgba(255,255,255,0.18); }
  .btn-sm{ padding:12px 22px; font-size:0.88rem; }
  .btn-block{ width:100%; }

  /* ---------------- HEADER ---------------- */
  header{ position:sticky; top:0; z-index:200; background:rgba(255,255,255,0.97); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); transition:padding 0.2s ease; }
  header .wrap{ display:flex; align-items:center; justify-content:space-between; padding:16px 32px; gap:24px; }
  header.is-scrolled{ box-shadow:0 8px 24px -20px rgba(18,22,42,0.35); }
  header.is-scrolled .wrap{ padding-top:11px; padding-bottom:11px; }
  .logo-img{ height:70px; width:160px; }
  nav{ display:flex; align-items:center; gap:30px; }
  nav a{ text-decoration:none; font-size:0.95rem; font-weight:500; color:var(--ink); position:relative; padding-bottom:3px; }
  nav a::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--amber); transition:right 0.2s ease; }
  nav a:hover::after{ right:0; }
  .header-cta{ display:flex; align-items:center; gap:18px; }
  .phone-link{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:0.92rem; text-decoration:none; color:var(--ink); }
  @media (max-width:980px){ nav{ display:none; } }

  /* ---------------- HERO (image + lead form) ---------------- */
  .hero{ position:relative; background:var(--navy); color:#fff; overflow:hidden; }
  .hero-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
  .hero-bg::after{ content:''; position:absolute; inset:0; background:linear-gradient(100deg, rgba(7,18,64,0.94) 0%, rgba(7,18,64,0.82) 45%, rgba(7,18,64,0.55) 100%); }
  .hero-inner{ position:relative; z-index:1; padding:64px 0 70px; }
  .hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:50px; align-items:start; }
  .rating-row{ display:flex; align-items:center; gap:10px; margin-bottom:20px; }
  .rating-row .stars{ color:var(--amber); font-size:1rem; letter-spacing:2px; }
  .rating-row .txt{ font-size:0.85rem; color:rgba(255,255,255,0.78); font-weight:500; }
  .hero h1{ font-size:clamp(2.4rem,4.6vw,3.6rem); font-weight:700; line-height:1.06; color:#fff; margin-bottom:20px; }
  .hero h1 em{ font-style:italic; color:var(--amber); }
  .hero p.lede{ font-size:1.14rem; color:rgba(255,255,255,0.8); max-width:50ch; margin-bottom:28px; }
  .hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
  .hero-badges{ display:grid; grid-template-columns:1fr 1fr; gap:14px 28px; max-width:460px; }
  .hero-badges .b{ display:flex; align-items:center; gap:10px; font-size:0.9rem; font-weight:600; color:#fff; }
  .hero-badges .b .tick{ width:20px; height:20px; min-width:20px; border-radius:50%; background:var(--amber); color:var(--navy-deep); display:flex; align-items:center; justify-content:center; font-size:0.66rem; font-weight:700; }

  /* lead form card */
  .lead-form{ background:#fff; border-radius:18px; padding:32px 30px; color:var(--ink); box-shadow:0 40px 80px -30px rgba(0,0,0,0.5); }
  .lead-form h3{ font-size:1.3rem; margin-bottom:4px; }
  .lead-form .sub{ font-size:0.86rem; color:var(--slate); margin-bottom:20px; }
  .lead-form .row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .lead-form label{ display:block; font-size:0.78rem; font-weight:600; color:var(--slate); margin:12px 0 6px; }
  .lead-form input, .lead-form select, .lead-form textarea{
    width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:8px; font-family:inherit; font-size:0.92rem; color:var(--ink);
  }
  .lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus{ outline:none; border-color:var(--navy); }
  .lead-form .checks{ display:grid; grid-template-columns:1fr 1fr; gap:8px 14px; margin-top:12px; }
  .lead-form .chk{ display:flex; align-items:center; gap:8px; font-size:0.86rem; color:var(--ink); }
  .lead-form .chk input{ width:16px; height:16px; }
  .lead-form .submit-note{ font-size:0.72rem; color:var(--slate); margin-top:12px; text-align:center; }
  .lead-form button{ margin-top:16px; }

  @media (max-width:980px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-badges{ grid-template-columns:1fr 1fr; }
  }

  /* ---------------- TRUST STRIP ---------------- */
  .trust-strip{ background:var(--paper); border-bottom:1px solid var(--line); }
  .trust-strip .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; padding:24px 32px; align-items:center; }
  .trust-item{ display:flex; align-items:baseline; gap:10px; }
  .trust-item .n{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.6rem; color:var(--navy); }
  .trust-item .l{ font-size:0.82rem; color:var(--slate); }

  /* ---------------- ABOUT ---------------- */
  .about{ padding:88px 0; }
  .about-grid{ display:grid; grid-template-columns:1fr 0.85fr; gap:56px; align-items:center; }
  .about-copy h2{ font-size:clamp(2rem,3.6vw,2.7rem); margin-bottom:18px; }
  .about-copy p{ color:var(--slate); margin-bottom:16px; font-size:1.04rem; max-width:56ch; }
  .about-photo{ border-radius:18px; overflow:hidden; box-shadow:0 30px 60px -26px rgba(18,22,42,0.35); }
  .about-photo img{ width:100%; height:340px; object-fit:cover; }
  @media (max-width:900px){ .about-grid{ grid-template-columns:1fr; } }

  /* ---------------- SERVICES — alternating image/text ---------------- */
  .services{ padding:88px 0; background:var(--paper); }
  .services-head{ max-width:64ch; margin-bottom:52px; text-align:center; margin-left:auto; margin-right:auto; }
  .services-head h2{ font-size:clamp(2.1rem,3.8vw,2.8rem); margin-bottom:14px; }
  .services-head p{ color:var(--slate); font-size:1.08rem; }
  .svc-feature{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding:56px 0; border-bottom:1px solid var(--line); }
  .svc-feature:last-child{ border-bottom:none; padding-bottom:0; }
  .svc-feature.rev .svc-photo{ order:2; }
  .svc-photo{ border-radius:18px; overflow:hidden; box-shadow:0 30px 60px -26px rgba(18,22,42,0.3); }
  .svc-photo img{ width:100%; height:320px; object-fit:cover; }
  .svc-feature h3{ font-size:1.6rem; margin-bottom:14px; }
  .svc-feature > div p.intro{ color:var(--slate); font-size:1.02rem; margin-bottom:18px; }
  .svc-bullets{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:11px; }
  .svc-bullets li{ display:flex; align-items:flex-start; gap:10px; font-size:0.96rem; color:var(--ink); }
  .svc-bullets li .tick{ width:19px; height:19px; min-width:19px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.62rem; margin-top:2px; }
  .svc-links{ display:flex; gap:12px; flex-wrap:wrap; }
  @media (max-width:860px){ .svc-feature, .svc-feature.rev{ grid-template-columns:1fr; } .svc-feature.rev .svc-photo{ order:0; } }

  .svc-mini-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }
  .svc-mini{ background:linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); border:1px solid transparent; border-radius:14px; padding:22px 24px; display:flex; gap:16px; align-items:flex-start; }
  .svc-mini .ic{ width:46px; height:46px; min-width:46px; border-radius:11px; background:rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:center; color:#fff; }
  .svc-mini .ic svg{ width:23px; height:23px; }
  .svc-mini h4{ font-size:1.02rem; margin-bottom:5px; color:#fff; }
  .svc-mini p{ font-size:0.88rem; color:rgba(255,255,255,0.72); margin:0; }
  @media (max-width:700px){ .svc-mini-row{ grid-template-columns:1fr; } }

  /* ---------------- PACKAGE ---------------- */
  .package{ padding:88px 0; background:var(--navy); color:#fff; position:relative; overflow:hidden; }
  .package-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center; }
  .package-copy h2{ font-size:clamp(2.1rem,3.8vw,2.8rem); margin-bottom:18px; color:#fff; }
  .package-copy p{ color:rgba(255,255,255,0.78); font-size:1.05rem; margin-bottom:24px; max-width:52ch; }
  .pkg-included{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15); border-radius:16px; padding:28px; }
  .pkg-included h4{ font-size:0.82rem; font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; text-transform:uppercase; color:#9DB4F0; margin-bottom:16px; }
  .pkg-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
  .pkg-list li{ display:flex; align-items:flex-start; gap:10px; font-size:0.98rem; color:#fff; }
  .pkg-list li .tick{ width:19px; height:19px; min-width:19px; border-radius:50%; background:var(--amber); color:var(--navy-deep); display:flex; align-items:center; justify-content:center; font-size:0.62rem; font-weight:700; margin-top:2px; }
  @media (max-width:900px){ .package-grid{ grid-template-columns:1fr; } }

  /* ---------------- HOW IT WORKS (8 steps) ---------------- */
  .process{ padding:88px 0; }
  .process-head{ text-align:center; max-width:60ch; margin:0 auto 50px; }
  .process-head h2{ font-size:clamp(2rem,3.6vw,2.6rem); margin-bottom:14px; }
  .process-head p{ color:var(--slate); font-size:1.04rem; }
  .process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px 24px; }
  .proc-item{ background:linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius:14px; padding:26px 22px; position:relative; transition:transform 0.25s ease, box-shadow 0.25s ease; }
  .proc-item:hover{ transform:translateY(-4px); box-shadow:0 26px 50px -22px rgba(10,27,87,0.55); }
  .proc-num{
    width:44px; height:44px; border-radius:11px; background:rgba(255,255,255,0.14); color:#fff;
    display:flex; align-items:center; justify-content:center; margin-bottom:14px;
  }
  .proc-num svg{ width:22px; height:22px; }
  .proc-step{ position:absolute; top:14px; right:16px; font-family:'IBM Plex Mono',monospace; font-size:0.66rem; color:rgba(255,255,255,0.5); letter-spacing:0.04em; }
  .proc-item h4{ font-size:1rem; font-weight:600; margin-bottom:8px; color:#fff; }
  .proc-item p{ font-size:0.88rem; color:rgba(255,255,255,0.72); margin:0; }
  @media (max-width:900px){ .process-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }

  /* ---------------- WHY US (6 items) ---------------- */
  .why{ padding:88px 0; background:var(--paper); }
  .why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .why-item{ background:linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); padding:30px 26px; border-radius:14px; border:1px solid transparent; transition:box-shadow 0.25s ease, transform 0.25s ease; }
  .why-item:hover{ box-shadow:0 26px 50px -22px rgba(10,27,87,0.55); transform:translateY(-4px); }
  .why-item .dot{ width:48px; height:48px; border-radius:12px; background:rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom:18px; }
  .why-item .dot svg{ width:24px; height:24px; }
  .why-item h4{ font-size:1.04rem; font-weight:600; margin-bottom:8px; color:#fff; }
  .why-item p{ font-size:0.92rem; color:rgba(255,255,255,0.72); margin:0; }
  @media (max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

  /* ---------------- QUALIFICATIONS ---------------- */
  .quals{ padding:88px 0; }
  .quals-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
  .quals-copy h2{ font-size:clamp(2rem,3.6vw,2.6rem); margin-bottom:18px; }
  .quals-copy p{ color:var(--slate); font-size:1.05rem; max-width:52ch; margin-bottom:14px; }
  .quals-list{ display:flex; flex-direction:column; gap:1px; background:var(--line); border-radius:14px; overflow:hidden; border:1px solid var(--line); }
  .qual-row{ background:linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); padding:20px 24px; display:flex; align-items:center; gap:16px; }
  .qual-row .check{ width:38px; height:38px; min-width:38px; border-radius:10px; background:rgba(255,255,255,0.14); color:#fff; display:flex; align-items:center; justify-content:center; }
  .qual-row .check svg{ width:20px; height:20px; }
  .qual-row .qt{ font-size:0.96rem; color:#fff; font-weight:500; }
  @media (max-width:900px){ .quals-grid{ grid-template-columns:1fr; } }

  /* ---------------- TESTIMONIAL ---------------- */
  .testimonial{ padding:88px 0; text-align:center; background:var(--paper); }
  .testimonial .wrap{ max-width:800px; }
  .testimonial .stars{ color:var(--amber); font-size:1.1rem; letter-spacing:4px; margin-bottom:24px; }
  .testimonial blockquote{ margin:0 0 26px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(1.4rem,2.8vw,1.9rem); line-height:1.35; color:var(--ink); }
  .testimonial .who{ font-size:0.96rem; color:var(--slate); }
  .testimonial .who b{ color:var(--ink); }

  /* ---------------- INDUSTRIES ---------------- */
  .industries{ padding:88px 0; }
  .industries-head{ margin-bottom:34px; max-width:60ch; }
  .industries-head h2{ font-size:clamp(1.9rem,3.4vw,2.4rem); margin-bottom:12px; }
  .industries-head p{ color:var(--slate); font-size:1.02rem; }
  .ind-row{ display:flex; flex-wrap:wrap; gap:12px; }
  .ind-item{ background:var(--paper); border-radius:100px; padding:14px 24px; font-size:0.96rem; font-weight:600; color:var(--ink); border:1px solid transparent; transition:all 0.2s ease; }
  .ind-item:hover{ border-color:var(--navy); color:var(--navy); background:#fff; transform:translateY(-2px); }

  /* ---------------- FAQ (10 items) ---------------- */
  .faq{ padding:88px 0; background:var(--paper); }
  .faq-head{ text-align:center; max-width:60ch; margin:0 auto 40px; }
  .faq-head h2{ font-size:clamp(2rem,3.6vw,2.6rem); margin-bottom:14px; }
  .faq-head p{ color:var(--slate); font-size:1.02rem; }
  .faq-list{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:1000px; margin:0 auto; }
  .faq-item{ background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; align-self:start; }
  .faq-q{ width:100%; text-align:left; padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:0.96rem; color:var(--ink); }
  .faq-q .plus{ font-size:1.2rem; color:var(--navy); transition:transform 0.25s ease; flex-shrink:0; }
  .faq-item.open .faq-q .plus{ transform:rotate(45deg); }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height 0.3s ease; }
  .faq-a p{ padding:0 20px 18px; margin:0; color:var(--slate); font-size:0.9rem; }
  .faq-item.open .faq-a{ max-height:260px; }
  .faq-foot{ text-align:center; margin-top:34px; }
  @media (max-width:800px){ .faq-list{ grid-template-columns:1fr; } }

  /* ---------------- CTA BANNER ---------------- */
  .cta-banner{ position:relative; padding:90px 0; color:#fff; background-size:cover; background-position:center; }
  .cta-banner::before{ content:''; position:absolute; inset:0; background:linear-gradient(120deg, rgba(10,27,87,0.95) 0%, rgba(7,18,64,0.95) 100%); }
  .cta-banner .wrap{ position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:26px; }
  .cta-banner h3{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:#fff; margin-bottom:8px; }
  .cta-banner p{ color:rgba(255,255,255,0.82); margin:0; font-size:1.04rem; }
  .cta-banner .phone-big{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.8rem; color:#fff; text-decoration:none; }
  .cta-right{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }

  /* ---------------- FOOTER ---------------- */
  footer{ background:var(--navy-deep); color:rgba(255,255,255,0.7); padding:60px 0 0; }
  .footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.12); }
  .footer-logo{ height:70px; width:160px; margin-bottom:16px; filter:brightness(0) invert(1); }
  .footer-grid p{ font-size:0.9rem; color:rgba(255,255,255,0.55); max-width:32ch; }
  .footer-col h5{ font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.5); margin-bottom:14px; }
  .footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
  .footer-col a{ text-decoration:none; font-size:0.92rem; color:rgba(255,255,255,0.78); }
  .footer-col a:hover{ color:var(--amber); }
  .foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:0.82rem; color:rgba(255,255,255,0.5); flex-wrap:wrap; gap:10px; }
  @media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

  .reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible{ opacity:1; transform:translateY(0); }
  @media (prefers-reduced-motion: reduce){ .reveal{ opacity:1 !important; transform:none !important; transition:none !important; } }

  /* ---------------- subtle background photography ---------------- */
  .section-bg{ position:relative; overflow:hidden; }
  .section-bg::before{
    content:''; position:absolute; inset:0; background-image:var(--section-bg-image);
    background-size:cover; background-position:center; opacity:0.17; z-index:0; pointer-events:none;
    filter:grayscale(55%) blur(1.5px) contrast(0.95);
  }
  .section-bg.on-dark::before{ opacity:0.34; filter:grayscale(35%) blur(1.5px) contrast(1.05); }
  .section-bg > .wrap, .section-bg > .hero-inner{ position:relative; z-index:1; }


/* ---- Services dropdown ---- */
.has-dropdown { position: relative; }

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chevron { transition: transform 0.2s ease; }

.has-dropdown:hover .chevron,
.has-dropdown.open .chevron { transform: rotate(180deg); }

.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;                /* CHANGED: gap hata diya (pehle: calc(100% + 12px)) */
  left: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 12px 28px 28px;   /* CHANGED: top padding se visual spacing recreate ki */
  width: max-content;
  max-width: 90vw;
  margin-top: 0;
}

.has-dropdown:hover .mega-dropdown,
.has-dropdown.open .mega-dropdown { display: block; }

.mega-dropdown-inner {
  display: flex;
  flex-wrap: nowrap;       /* NEW: links aur image kabhi wrap na ho */
  gap: 48px;
  align-items: flex-start;
}

.mega-dropdown-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 0 0 auto;           /* CHANGED: flex:1 -> flex:0 0 auto */
  min-width: 200px;
}

.mega-dropdown-group {
  display: flex;
  flex-direction: column;
}

.group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mega-dropdown-group a {
  display: block;
  padding: 6px 0;
  color: #1f2937;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;      /* NEW: link text kabhi break na ho */
}

.mega-dropdown-group a:hover { color: #2563eb; }



.promo-title {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.promo-text {
  margin: 6px 0 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.promo-btn {
  display: inline-block;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

.promo-btn:hover { background: #1f2937; }

@media (max-width: 900px) {
  nav { display: none; }
}

@media (max-width: 720px) {
  .mega-dropdown { width: 92vw; max-width: 92vw; }
  .mega-dropdown-inner { flex-direction: column; }
  .mega-dropdown-groups { min-width: 0; }
  .mega-dropdown-promo { width: 100%; flex-basis: auto; }
  .mega-dropdown-image { height: 140px; }
}