/*
Theme Name: Design And Boost
Theme URI: https://designandboost.com
Author: Design And Boost
Author URI: https://designandboost.com
Description: Premium WordPress theme for Design And Boost — a WordPress and Shopify development agency serving the Gulf and Middle East. Fully customizable, SEO-optimized, with editable content, colors, contact details, and images via Customizer and ACF.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: design-and-boost
Tags: business, portfolio, agency, custom-colors, custom-logo, custom-menu, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ============================================
   DESIGN AND BOOST — PREMIUM WORDPRESS THEME
   Navy #0A1F44 + Teal #0E7C7B
   ============================================ */

/* ---------- DESIGN TOKENS (editable via Customizer) ---------- */
:root {
  --navy-900: #050d24;
  --navy-800: #0a1f44;
  --navy-700: #112a5a;
  --navy-600: #1a3a78;
  --teal-900: #053f3e;
  --teal-700: #0e7c7b;
  --teal-500: #14a8a6;
  --teal-300: #5fd4d2;
  --teal-100: #d4f5f4;

  --ink-900: #0a0e1a;
  --ink-700: #2d3548;
  --ink-500: #5b6478;
  --ink-300: #a8b0c2;
  --ink-200: #d6dae3;
  --ink-100: #eef0f5;
  --ink-50: #f7f8fb;
  --white: #ffffff;

  --bg-primary: var(--white);
  --bg-dark: var(--navy-800);
  --bg-darker: var(--navy-900);
  --bg-subtle: var(--ink-50);
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-500);
  --accent: var(--teal-700);
  --accent-bright: var(--teal-500);
  --border: var(--ink-200);

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10,31,68,0.06);
  --shadow-md: 0 8px 24px rgba(10,31,68,0.08);
  --shadow-lg: 0 24px 56px rgba(10,31,68,0.12);
  --shadow-xl: 0 40px 80px rgba(10,31,68,0.18);
  --shadow-teal: 0 12px 32px rgba(14,124,123,0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms; --t-base: 350ms; --t-slow: 600ms;

  --container: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --header-height: 84px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }
p { font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); }
p.lead { font-size: 1.25rem; line-height: 1.6; color: var(--text-primary); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.eyebrow.light { color: var(--teal-300); }
.eyebrow.light::before { background: var(--teal-300); }

.accent-word, .italic-accent {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.accent-word::after, .italic-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--teal-500);
  border-radius: 2px;
  opacity: 0.6;
}

/* LAYOUT */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-6); }

section { position: relative; padding: var(--space-24) 0; }
section.tight { padding: var(--space-16) 0; }

.section-head { max-width: 720px; margin-bottom: var(--space-16); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: var(--space-3) 0 var(--space-4); }
.section-head p { font-size: 1.125rem; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--ink-200); background: rgba(255,255,255,0.95); }
.site-header.on-dark { background: rgba(10,31,68,0.6); border-bottom-color: rgba(255,255,255,0.05); }
.site-header.on-dark.scrolled { background: rgba(5,13,36,0.92); }

.nav-wrap { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }

.brand { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; color: var(--navy-800); }
.site-header.on-dark .brand { color: var(--white); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 { font-weight: 400; font-size: 1.25rem; }
.brand-text .b2 { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: var(--space-2); list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: var(--space-3) var(--space-4); font-size: 0.9375rem; font-weight: 500; color: var(--text-primary); border-radius: var(--r-sm); transition: all var(--t-fast) var(--ease-out); }
.site-header.on-dark .nav-menu > li > a { color: rgba(255,255,255,0.85); }
.nav-menu > li > a:hover { color: var(--accent); }
.nav-menu > li.menu-item-has-children > a::after,
.nav-menu > li.has-mega > a::after { content: '↓'; display: inline-block; margin-left: 6px; font-size: 0.7em; transition: transform var(--t-fast) var(--ease-out); }
.nav-menu > li.menu-item-has-children:hover > a::after,
.nav-menu > li.has-mega:hover > a::after { transform: rotate(180deg); }

/* Sub-menus */
.nav-menu .sub-menu, .mega {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 280px;
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-3);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease-out);
  list-style: none;
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:hover > .mega,
.nav-menu > li:focus-within > .sub-menu,
.nav-menu > li:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .sub-menu li a, .mega a {
  display: block; padding: var(--space-3); border-radius: var(--r-sm);
  font-size: 0.9375rem; color: var(--text-primary); font-weight: 500;
  transition: all var(--t-fast) var(--ease-out);
}
.mega a small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.nav-menu .sub-menu li a:hover, .mega a:hover { background: var(--teal-100); color: var(--accent); }

.mega { min-width: 640px; left: 50%; transform: translateX(-50%) translateY(10px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); padding: var(--space-6); }
.nav-menu > li:hover > .mega { transform: translateX(-50%) translateY(0); }
.mega-title { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); padding: 0 var(--space-3) var(--space-2); border-bottom: 1px solid var(--ink-200); margin-bottom: var(--space-2); }

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-phone { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500; color: var(--navy-800); padding: var(--space-2) var(--space-3); border-radius: var(--r-sm); }
.site-header.on-dark .nav-phone { color: var(--teal-300); }
.nav-phone:hover { color: var(--accent); }


/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 14px 28px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em; border-radius: var(--r-full); transition: all var(--t-base) var(--ease-out); cursor: pointer; position: relative; overflow: hidden; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-900); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,124,123,0.35); }
.btn-primary .arrow { transition: transform var(--t-base) var(--ease-out); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary { background: var(--navy-800); color: var(--white); }
.btn-secondary:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--ink-200); }
.btn-outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }

/* On dark backgrounds — make sure outline button is fully visible */
.site-header.on-dark .btn-outline,
.page-hero .btn-outline,
.hero .btn-outline,
.section-dark .btn-outline,
.cta-banner .btn-outline {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.4);
	background: transparent;
}
.site-header.on-dark .btn-outline:hover,
.page-hero .btn-outline:hover,
.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.cta-banner .btn-outline:hover {
	background: var(--white);
	color: var(--navy-800);
	border-color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-24);
  background: var(--navy-900); color: var(--white);
  overflow: hidden; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(14,124,123,0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(20,168,166,0.18), transparent 60%),
    linear-gradient(180deg, #050d24 0%, #0a1f44 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(95,212,210,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,212,210,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(20,168,166,0.4), transparent 70%);
  filter: blur(60px); top: -200px; right: -200px;
  animation: float 20s ease-in-out infinite; z-index: 1;
}
.hero-orb-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(95,212,210,0.3), transparent 70%);
  filter: blur(80px); bottom: -150px; left: -100px;
  animation: float 25s ease-in-out infinite reverse; z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.1); }
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero h1 { color: var(--white); margin: var(--space-6) 0 var(--space-8); }
.hero h1 .accent-word { font-style: italic; font-weight: 300; color: var(--teal-300); }
.hero-lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 720px; margin-bottom: var(--space-10); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-16); }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); padding-top: var(--space-10); border-top: 1px solid rgba(255,255,255,0.1); max-width: 900px; }
.hero-meta-item .num { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; color: var(--teal-300); letter-spacing: -0.02em; line-height: 1; display: block; margin-bottom: var(--space-2); }
.hero-meta-item .label { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); }
.service-card { grid-column: span 6; padding: var(--space-10); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-lg); transition: all var(--t-base) var(--ease-out); position: relative; overflow: hidden; }
.service-card.featured { background: var(--navy-800); color: var(--white); border-color: transparent; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card.featured:hover { box-shadow: var(--shadow-xl); }
.service-card .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.15em; }
.service-card.featured .num { color: var(--teal-300); }
.service-card h3 { margin: var(--space-4) 0 var(--space-3); }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin-bottom: var(--space-6); }
.service-card.featured p { color: rgba(255,255,255,0.75); }
.service-card .arrow-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; color: var(--accent); font-size: 0.9375rem; }
.service-card.featured .arrow-link { color: var(--teal-300); }
.service-card .arrow-link svg { transition: transform var(--t-base) var(--ease-out); }
.service-card:hover .arrow-link svg { transform: translateX(6px); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }

/* FEATURE */
.feature { padding: var(--space-8); background: var(--white); border-radius: var(--r-md); border: 1px solid var(--ink-200); transition: all var(--t-base) var(--ease-out); }
.feature:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); border-radius: var(--r-sm); margin-bottom: var(--space-5); }
.feature h4 { margin-bottom: var(--space-3); }
.feature p { font-size: 0.9375rem; margin: 0; }

/* DARK SECTION */
.section-dark { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark .feature { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.section-dark .feature:hover { border-color: var(--teal-500); background: rgba(255,255,255,0.05); }
.section-dark .feature-icon { background: rgba(20,168,166,0.15); color: var(--teal-300); }
.section-dark .feature p { color: rgba(255,255,255,0.65); }
.section-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(14,124,123,0.15), transparent 50%), radial-gradient(circle at 100% 100%, rgba(20,168,166,0.1), transparent 50%); pointer-events: none; }
.section-dark > * { position: relative; z-index: 1; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); margin-top: var(--space-12); }
.process-step { padding: var(--space-6); border-left: 2px solid var(--ink-200); position: relative; transition: all var(--t-base) var(--ease-out); }
.process-step:hover { border-left-color: var(--accent); }
.process-step .step-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--accent); line-height: 1; display: block; margin-bottom: var(--space-4); }
.process-step h4 { font-size: 1.0625rem; margin-bottom: var(--space-2); }
.process-step p { font-size: 0.875rem; margin: 0; }

/* INDUSTRIES */
.industries-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-200); border-left: 1px solid var(--ink-200); }
.industry { padding: var(--space-8); border-right: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); transition: all var(--t-base) var(--ease-out); cursor: default; }
.industry:hover { background: var(--navy-800); color: var(--white); }
.industry:hover h4 { color: var(--white); }
.industry:hover p { color: rgba(255,255,255,0.7); }
.industry-icon { font-size: 1.5rem; margin-bottom: var(--space-4); display: block; }
.industry h4 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.industry p { font-size: 0.875rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink-200); }
.faq-item summary { padding: var(--space-6) 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--navy-800); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); transition: color var(--t-fast) var(--ease-out); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform var(--t-base) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-body { padding: 0 0 var(--space-6); color: var(--text-secondary); }
.faq-item .faq-body p { margin-bottom: var(--space-3); }

/* CTA BANNER */
.cta-banner { background: var(--navy-900); color: var(--white); padding: var(--space-24) 0; position: relative; overflow: hidden; text-align: center; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(20,168,166,0.25), transparent 60%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--white); max-width: 880px; margin: 0 auto var(--space-6); }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.125rem; max-width: 640px; margin: 0 auto var(--space-10); }
.cta-banner-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: var(--space-20) 0 var(--space-8); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-16); }
.footer-col h5 { color: var(--white); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; margin-bottom: var(--space-5); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a { font-size: 0.9375rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--teal-300); }
.footer-brand .brand { color: var(--white); margin-bottom: var(--space-5); }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin-bottom: var(--space-6); max-width: 320px; }
.footer-contact { list-style: none; margin-top: var(--space-4); }
.footer-contact li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.9375rem; margin-bottom: var(--space-3); }
.footer-contact .label { font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal-300); min-width: 60px; padding-top: 4px; }
.footer-bottom { padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-bottom ul { list-style: none; display: flex; gap: var(--space-6); }

/* WHATSAPP STICKY */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: white; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: all var(--t-base) var(--ease-out); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* BREADCRUMBS */
.breadcrumbs { padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-6); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: var(--space-2); color: var(--ink-300); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--navy-800); font-weight: 500; }

/* PAGE HERO */
.page-hero { background: var(--navy-900); color: var(--white); padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(14,124,123,0.3), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(20,168,166,0.12), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: var(--space-6); max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,0.78); max-width: 720px; margin-bottom: var(--space-8); }
.page-hero .breadcrumbs { padding-top: 0; margin-bottom: var(--space-8); color: rgba(255,255,255,0.6); }
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumbs a:hover { color: var(--teal-300); }
.page-hero .breadcrumbs [aria-current="page"] { color: var(--white); }
.page-hero .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,0.3); }

/* CONTENT */
.content-body { max-width: 760px; }
.content-body h2 { margin: var(--space-12) 0 var(--space-4); }
.content-body h3 { margin: var(--space-8) 0 var(--space-3); }
.content-body p { margin-bottom: var(--space-4); }
.content-body ul, .content-body ol { margin: var(--space-4) 0 var(--space-6) var(--space-6); }
.content-body li { margin-bottom: var(--space-2); color: var(--text-secondary); }
.content-body a { color: var(--accent); border-bottom: 1px solid transparent; }
.content-body a:hover { border-bottom-color: var(--accent); }
.content-body strong { color: var(--text-primary); font-weight: 600; }
.content-body blockquote { border-left: 3px solid var(--accent); padding: var(--space-4) var(--space-6); margin: var(--space-8) 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--navy-800); }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-16); align-items: start; }
.sidebar-card { position: sticky; top: calc(var(--header-height) + var(--space-6)); padding: var(--space-8); background: var(--navy-800); color: var(--white); border-radius: var(--r-lg); }
.sidebar-card h4 { color: var(--white); margin-bottom: var(--space-3); }
.sidebar-card p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; margin-bottom: var(--space-6); }
.sidebar-card .btn { width: 100%; }

/* CHECK LIST */
.check-list { list-style: none; margin: 0 !important; }
.check-list li { padding-left: var(--space-8); position: relative; margin-bottom: var(--space-3); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; background: var(--teal-100); border-radius: 50%; }
.check-list li::after { content: ''; position: absolute; left: 5px; top: 12px; width: 8px; height: 4px; border-left: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); transform: rotate(-45deg); }

/* FORM */
.form-card { background: var(--white); padding: var(--space-12); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--ink-200); }
.form-row { display: grid; gap: var(--space-4); }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: var(--space-2); color: var(--text-primary); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--ink-200); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 1rem; color: var(--text-primary); background: var(--white); transition: all var(--t-fast) var(--ease-out); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,123,0.1); }
.field textarea { min-height: 140px; resize: vertical; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s var(--ease-out) backwards; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* WP-SPECIFIC */
.alignleft { float: left; margin-right: var(--space-6); }
.alignright { float: right; margin-left: var(--space-6); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--text-muted); margin-top: var(--space-2); text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* WP Pagination */
.pagination { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-12); list-style: none; }
.pagination .page-numbers { padding: var(--space-3) var(--space-4); border-radius: var(--r-sm); border: 1px solid var(--ink-200); color: var(--text-primary); font-size: 0.9375rem; }
.pagination .page-numbers.current { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* Blog cards */
.post-card { background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-lg); padding: var(--space-8); transition: all var(--t-base) var(--ease-out); display: block; }
.post-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card .meta { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: var(--space-3); }
.post-card h3 { margin-bottom: var(--space-4); font-size: 1.375rem; }
.post-card .date { margin-top: var(--space-6); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .industries-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-height: 72px; }
  section { padding: var(--space-16) 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-8); }
  .service-card, .service-card.featured { grid-column: span 12; padding: var(--space-8); }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row.cols-2 { grid-template-columns: 1fr; }
  .industries-list { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-6); }
}

/* RTL Support */
body.rtl { direction: rtl; }
body.rtl .alignleft { float: right; margin-right: 0; margin-left: var(--space-6); }
body.rtl .alignright { float: left; margin-left: 0; margin-right: var(--space-6); }
body.rtl .eyebrow::before { margin-left: var(--space-2); margin-right: 0; }
body.rtl .check-list li { padding-left: 0; padding-right: var(--space-8); }
body.rtl .check-list li::before, body.rtl .check-list li::after { left: auto; }
body.rtl .check-list li::before { right: 0; }
body.rtl .check-list li::after { right: 5px; }

/* ============================================
   IMPORTED CONTENT ENHANCEMENTS
   Makes auto-imported pages look premium
   ============================================ */

/* Content body styling improvements */
.content-body h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin: var(--space-16) 0 var(--space-6);
	padding-top: var(--space-8);
	border-top: 1px solid var(--ink-100);
	position: relative;
}
.content-body h2:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
.content-body h2::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--accent);
}

.content-body h3 {
	font-size: 1.5rem;
	margin: var(--space-10) 0 var(--space-4);
	color: var(--navy-800);
}

.content-body p {
	font-size: 1.0625rem;
	line-height: 1.75;
	margin-bottom: var(--space-5);
	color: var(--text-secondary);
}

.content-body p.lead {
	font-size: 1.375rem;
	line-height: 1.5;
	color: var(--text-primary);
	font-weight: 400;
	margin-bottom: var(--space-12);
}

.content-body ul,
.content-body ol {
	margin: var(--space-6) 0 var(--space-8) 0;
	padding-left: 0;
}

.content-body ul li,
.content-body ol li {
	margin-bottom: var(--space-3);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* Style FAQ details blocks */
.content-body details {
	border-bottom: 1px solid var(--ink-200);
	margin-bottom: 0;
}
.content-body details summary {
	padding: var(--space-6) 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--navy-800);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
}
.content-body details summary::-webkit-details-marker { display: none; }
.content-body details summary::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--accent);
	transition: transform var(--t-base) var(--ease-out);
	flex-shrink: 0;
}
.content-body details[open] summary::after { transform: rotate(45deg); }
.content-body details[open] summary { color: var(--accent); }
.content-body details p {
	padding: 0 0 var(--space-6);
	margin-bottom: 0;
	color: var(--text-secondary);
}

/* Buttons inside content */
.content-body p .btn,
.content-body .btn {
	margin: var(--space-2) var(--space-2) var(--space-2) 0;
}

/* Strong/bold text */
.content-body strong, .content-body b {
	color: var(--navy-800);
	font-weight: 600;
}

/* Style links nicely */
.content-body a {
	color: var(--accent);
	border-bottom: 1px solid rgba(14, 124, 123, 0.2);
	transition: all var(--t-fast) var(--ease-out);
}
.content-body a:hover {
	border-bottom-color: var(--accent);
	color: var(--teal-900);
}

/* Mega menu / dropdown — ensure WordPress menus display properly */
.nav-menu li.menu-item-has-children {
	position: relative;
}
.nav-menu li.menu-item-has-children > .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	padding: var(--space-3);
	list-style: none;
	margin: 0;
	z-index: 100;
}
.nav-menu li.menu-item-has-children:hover > .sub-menu {
	display: block;
}
.nav-menu .sub-menu li {
	margin: 0;
}
.nav-menu .sub-menu li a {
	display: block;
	padding: var(--space-3) var(--space-4);
	font-size: 0.9375rem;
	color: var(--text-primary);
	font-weight: 500;
	border-radius: var(--r-sm);
	border-bottom: none;
}
.nav-menu .sub-menu li a:hover {
	background: var(--teal-100);
	color: var(--accent);
}

.site-header.on-dark .nav-menu .sub-menu {
	background: var(--navy-800);
	border-color: rgba(255,255,255,0.1);
}
.site-header.on-dark .nav-menu .sub-menu li a {
	color: rgba(255,255,255,0.85);
}
.site-header.on-dark .nav-menu .sub-menu li a:hover {
	background: rgba(20,168,166,0.15);
	color: var(--teal-300);
}

/* Mobile menu sub-menu */
@media (max-width: 768px) {
	.nav-menu.is-open li.menu-item-has-children > .sub-menu {
		position: static;
		display: block;
		background: transparent;
		border: none;
		box-shadow: none;
		padding-left: var(--space-4);
		min-width: 100%;
	}
	.nav-menu.is-open .sub-menu li a {
		color: rgba(255,255,255,0.8);
		font-size: 0.9375rem;
	}
}

/* Page hero — better mobile sizing */
@media (max-width: 768px) {
	.page-hero {
		padding-top: calc(var(--header-height) + var(--space-12));
		padding-bottom: var(--space-12);
	}
	.page-hero h1 {
		font-size: clamp(2rem, 8vw, 3rem);
	}
}

/* Two-col responsive */
@media (max-width: 1024px) {
	.two-col {
		grid-template-columns: 1fr;
		gap: var(--space-10);
	}
	.sidebar-card {
		position: static;
		max-width: 480px;
		margin: 0 auto;
	}
}

/* ============================================
   IMPORTED CONTENT ENHANCEMENTS
   Makes auto-imported pages look premium
   ============================================ */

/* Content body styling improvements */
.content-body h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin: var(--space-16) 0 var(--space-6);
	padding-top: var(--space-8);
	border-top: 1px solid var(--ink-100);
	position: relative;
}
.content-body h2:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
.content-body h2::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--accent);
}

.content-body h3 {
	font-size: 1.5rem;
	margin: var(--space-10) 0 var(--space-4);
	color: var(--navy-800);
}

.content-body p {
	font-size: 1.0625rem;
	line-height: 1.75;
	margin-bottom: var(--space-5);
	color: var(--text-secondary);
}

.content-body p.lead {
	font-size: 1.375rem;
	line-height: 1.5;
	color: var(--text-primary);
	font-weight: 400;
	margin-bottom: var(--space-12);
}

.content-body ul,
.content-body ol {
	margin: var(--space-6) 0 var(--space-8) 0;
	padding-left: 0;
}

.content-body ul li,
.content-body ol li {
	margin-bottom: var(--space-3);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* Style FAQ details blocks */
.content-body details {
	border-bottom: 1px solid var(--ink-200);
	margin-bottom: 0;
}
.content-body details summary {
	padding: var(--space-6) 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--navy-800);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
}
.content-body details summary::-webkit-details-marker { display: none; }
.content-body details summary::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--accent);
	transition: transform var(--t-base) var(--ease-out);
	flex-shrink: 0;
}
.content-body details[open] summary::after { transform: rotate(45deg); }
.content-body details[open] summary { color: var(--accent); }
.content-body details p {
	padding: 0 0 var(--space-6);
	margin-bottom: 0;
	color: var(--text-secondary);
}

/* Buttons inside content */
.content-body p .btn,
.content-body .btn {
	margin: var(--space-2) var(--space-2) var(--space-2) 0;
}

/* Strong/bold text */
.content-body strong, .content-body b {
	color: var(--navy-800);
	font-weight: 600;
}

/* Style links nicely */
.content-body a {
	color: var(--accent);
	border-bottom: 1px solid rgba(14, 124, 123, 0.2);
	transition: all var(--t-fast) var(--ease-out);
}
.content-body a:hover {
	border-bottom-color: var(--accent);
	color: var(--teal-900);
}

/* Mega menu / dropdown — ensure WordPress menus display properly */
.nav-menu li.menu-item-has-children {
	position: relative;
}
.nav-menu li.menu-item-has-children > .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	padding: var(--space-3);
	list-style: none;
	margin: 0;
	z-index: 100;
}
.nav-menu li.menu-item-has-children:hover > .sub-menu {
	display: block;
}
.nav-menu .sub-menu li {
	margin: 0;
}
.nav-menu .sub-menu li a {
	display: block;
	padding: var(--space-3) var(--space-4);
	font-size: 0.9375rem;
	color: var(--text-primary);
	font-weight: 500;
	border-radius: var(--r-sm);
	border-bottom: none;
}
.nav-menu .sub-menu li a:hover {
	background: var(--teal-100);
	color: var(--accent);
}

.site-header.on-dark .nav-menu .sub-menu {
	background: var(--navy-800);
	border-color: rgba(255,255,255,0.1);
}
.site-header.on-dark .nav-menu .sub-menu li a {
	color: rgba(255,255,255,0.85);
}
.site-header.on-dark .nav-menu .sub-menu li a:hover {
	background: rgba(20,168,166,0.15);
	color: var(--teal-300);
}

/* Mobile menu sub-menu */
@media (max-width: 768px) {
	.nav-menu.is-open li.menu-item-has-children > .sub-menu {
		position: static;
		display: block;
		background: transparent;
		border: none;
		box-shadow: none;
		padding-left: var(--space-4);
		min-width: 100%;
	}
	.nav-menu.is-open .sub-menu li a {
		color: rgba(255,255,255,0.8);
		font-size: 0.9375rem;
	}
}

/* Page hero — better mobile sizing */
@media (max-width: 768px) {
	.page-hero {
		padding-top: calc(var(--header-height) + var(--space-12));
		padding-bottom: var(--space-12);
	}
	.page-hero h1 {
		font-size: clamp(2rem, 8vw, 3rem);
	}
}

/* Two-col responsive */
@media (max-width: 1024px) {
	.two-col {
		grid-template-columns: 1fr;
		gap: var(--space-10);
	}
	.sidebar-card {
		position: static;
		max-width: 480px;
		margin: 0 auto;
	}
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
	:root { --header-height: 68px; }

	/* Containers */
	.container, .container-narrow, .container-wide {
		padding: 0 var(--space-4);
	}

	/* Section padding */
	section { padding: var(--space-12) 0; }
	section.tight { padding: var(--space-10) 0; }
	.cta-banner { padding: var(--space-16) 0; }

	/* Hero & page-hero */
	.hero {
		min-height: auto;
		padding-top: calc(var(--header-height) + var(--space-12));
		padding-bottom: var(--space-16);
	}
	.hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.1; }
	.hero-lead { font-size: 1rem; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.hero-meta {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-6);
	}
	.hero-meta-item .num { font-size: 1.75rem; }

	.page-hero {
		padding-top: calc(var(--header-height) + var(--space-10));
		padding-bottom: var(--space-12);
	}
	.page-hero h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.15; }
	.page-hero .lead { font-size: 1rem; }
	.page-hero > .container > div[style*="display:flex"] {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: var(--space-3) !important;
	}
	.page-hero .btn { width: 100%; justify-content: center; }

	/* Typography */
	h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
	h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); }
	h3 { font-size: 1.375rem; }
	h4 { font-size: 1.125rem; }
	p { font-size: 1rem; }
	p.lead { font-size: 1.125rem; }

	/* Section heads */
	.section-head { margin-bottom: var(--space-10); }
	.section-head p { font-size: 1rem; }

	/* Grids — all stack on mobile */
	.grid-2, .grid-3, .grid-4 {
		grid-template-columns: 1fr;
		gap: var(--space-4);
	}

	.services-grid { gap: var(--space-4); }
	.service-card, .service-card.featured {
		grid-column: span 12 !important;
		padding: var(--space-6);
	}

	.process-grid { grid-template-columns: 1fr; gap: var(--space-3); }
	.process-step { padding: var(--space-4); }
	.process-step .step-num { font-size: 2rem; }

	.industries-list { grid-template-columns: 1fr; }
	.industry { padding: var(--space-6); }

	.footer-grid {
		grid-template-columns: 1fr;
		gap: var(--space-8);
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-4);
	}

	.two-col {
		grid-template-columns: 1fr;
		gap: var(--space-8);
	}
	.sidebar-card {
		position: static;
		padding: var(--space-6);
	}

	.form-card { padding: var(--space-6); }
	.form-row.cols-2 { grid-template-columns: 1fr; }

	/* CTA Banner mobile */
	.cta-banner h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
	.cta-banner-actions {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-3);
	}
	.cta-banner-actions .btn { width: 100%; justify-content: center; }

	/* Feature cards */
	.feature { padding: var(--space-6); }

	/* FAQ */
	.faq-item summary {
		font-size: 1.0625rem;
		padding: var(--space-5) 0;
	}

	/* Content body */
	.content-body h2 {
		font-size: 1.625rem;
		margin: var(--space-10) 0 var(--space-4);
	}
	.content-body h3 { font-size: 1.25rem; margin: var(--space-6) 0 var(--space-3); }

	/* Page hero buttons stack */
	.page-hero > .container > div:last-child {
		flex-direction: column !important;
		gap: var(--space-3) !important;
		align-items: stretch !important;
	}
	.page-hero > .container > div:last-child .btn {
		width: 100% !important;
		justify-content: center !important;
	}

	/* Breadcrumbs */
	.breadcrumbs ol { font-size: 0.75rem; }

	/* WhatsApp */
	.whatsapp-float {
		width: 52px;
		height: 52px;
		bottom: 16px;
		right: 16px;
	}
	.whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
	.hero-meta { grid-template-columns: 1fr; }
	.brand-text .b1 { font-size: 1.0625rem; }
	.brand-text .b2 { font-size: 0.5625rem; }
}

/* Better tap targets on touch devices */
@media (hover: none) {
	.btn { min-height: 48px; }
	.nav-menu > li > a { min-height: 48px; display: flex; align-items: center; }
	.faq-item summary { min-height: 56px; }
}


/* ============================================================
   NAVIGATION — COMPLETELY REBUILT (v3)
   Clean, working mobile menu + premium mega menu
   ============================================================ */

/* Reset any old conflicting styles */
.nav-toggle { display: none; }
.primary-nav { display: block; }

/* === DESKTOP NAV (1025px+) === */
.primary-nav .nav-menu {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav .nav-menu > li {
	position: static;
}

.primary-nav .nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: var(--space-3) var(--space-4);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-primary);
	border-radius: var(--r-sm);
	transition: color var(--t-fast) var(--ease-out);
	text-decoration: none;
}

.site-header.on-dark .primary-nav .nav-menu > li > a {
	color: rgba(255, 255, 255, 0.9);
}

.primary-nav .nav-menu > li > a:hover,
.primary-nav .nav-menu > li.has-mega:hover > a {
	color: var(--accent);
}

.site-header.on-dark .primary-nav .nav-menu > li > a:hover {
	color: var(--teal-300);
}

.primary-nav .nav-menu > li.has-mega > a svg {
	margin-left: 4px;
	transition: transform var(--t-fast) var(--ease-out);
}

.primary-nav .nav-menu > li.has-mega:hover > a svg {
	transform: rotate(180deg);
}

/* === MEGA MENU (Desktop only — 1025px+) === */
.mega {
	position: absolute;
	top: calc(var(--header-height) - 8px);
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	width: min(1100px, calc(100vw - 48px));
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--r-lg);
	box-shadow: 0 30px 80px rgba(10, 31, 68, 0.18);
	padding: var(--space-8);
	opacity: 0;
	visibility: hidden;
	transition: all var(--t-base) var(--ease-out);
	display: grid;
	gap: var(--space-8);
	z-index: 100;
	pointer-events: none;
}

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

.primary-nav .nav-menu > li.has-mega:hover > .mega,
.primary-nav .nav-menu > li.has-mega:focus-within > .mega {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.mega-col { display: flex; flex-direction: column; gap: var(--space-1); }

.mega-title {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--accent);
	padding-bottom: var(--space-3);
	margin-bottom: var(--space-2);
	border-bottom: 1px solid var(--ink-100);
	font-weight: 600;
}

.mega-col a {
	display: block;
	padding: var(--space-3);
	border-radius: var(--r-sm);
	font-size: 0.9375rem;
	color: var(--text-primary);
	font-weight: 500;
	text-decoration: none;
	transition: all var(--t-fast) var(--ease-out);
	line-height: 1.3;
	border: none;
}

.mega-col a small {
	display: block;
	font-weight: 400;
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-top: 3px;
}

.mega-col a:hover {
	background: var(--teal-100);
	color: var(--accent);
	transform: translateX(4px);
}

.mega-col a:hover small { color: var(--teal-700); }

.mega-cta {
	background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
	color: var(--white);
	padding: var(--space-6);
	border-radius: var(--r-md);
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.mega-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 100% 0%, rgba(20, 168, 166, 0.25), transparent 70%);
}
.mega-cta > * { position: relative; }
.mega-cta-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--teal-300);
	margin-bottom: var(--space-2);
}
.mega-cta h4 { color: var(--white); margin: 0 0 var(--space-2); font-size: 1.125rem; }
.mega-cta p { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; margin: 0 0 var(--space-5); line-height: 1.5; }
.mega-cta .btn { width: 100%; padding: 12px 20px; font-size: 0.875rem; }

/* === NAV CTA === */
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-phone {
	display: inline-flex; align-items: center; gap: var(--space-2);
	font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500;
	color: var(--navy-800); padding: var(--space-2) var(--space-3); border-radius: var(--r-sm);
	text-decoration: none; transition: color var(--t-fast) var(--ease-out);
}
.site-header.on-dark .nav-phone { color: var(--teal-300); }
.nav-phone:hover { color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 0.8125rem; }

/* === HAMBURGER ICON === */
.nav-toggle {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: var(--r-sm);
	background: transparent;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 1001;
}
.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy-800);
	margin: 5px auto;
	transition: all 0.3s var(--ease-out);
	transform-origin: center;
}
.site-header.on-dark .nav-toggle span,
body.menu-open .nav-toggle span { background: var(--white); }

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   TABLET (1024px and below)
   ============================================================ */
@media (max-width: 1024px) {
	.primary-nav .nav-menu > li > a { padding: var(--space-3); font-size: 0.875rem; }
	.nav-phone-text { display: none; }
	.nav-phone { padding: var(--space-2); }
	.mega { width: calc(100vw - 32px); padding: var(--space-6); }
}

/* ============================================================
   MOBILE (960px and below) — FULL SCREEN OVERLAY
   ============================================================ */
@media (max-width: 960px) {

	/* Hide desktop nav, show hamburger */
	.primary-nav {
		display: none;
	}
	.nav-toggle {
		display: block !important;
	}
	.nav-cta .btn-sm { display: none; }

	/* Force header to white when mobile menu is open (so hamburger is visible) */
	body.menu-open .site-header {
		background: var(--navy-900) !important;
		border-bottom-color: rgba(255, 255, 255, 0.1) !important;
	}

	/* MOBILE MENU OVERLAY — fixed full screen */
	.primary-nav.is-open {
		display: block !important;
		position: fixed !important;
		top: var(--header-height) !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		height: calc(100vh - var(--header-height)) !important;
		height: calc(100dvh - var(--header-height)) !important; /* dynamic viewport for iOS */
		background: var(--navy-900) !important;
		z-index: 999 !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		-webkit-overflow-scrolling: touch !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.primary-nav.is-open .nav-menu {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		align-items: stretch !important;
		padding: var(--space-4) var(--space-6) var(--space-16) !important;
		margin: 0 !important;
		list-style: none !important;
		width: 100% !important;
	}

	.primary-nav.is-open .nav-menu > li {
		width: 100% !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		position: static !important;
	}

	.primary-nav.is-open .nav-menu > li:last-child {
		border-bottom: none !important;
	}

	.primary-nav.is-open .nav-menu > li > a {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		color: var(--white) !important;
		padding: var(--space-5) var(--space-2) !important;
		font-size: 1.125rem !important;
		font-weight: 500 !important;
		border-radius: 0 !important;
		background: transparent !important;
	}

	.primary-nav.is-open .nav-menu > li.has-mega > a svg {
		transition: transform 0.3s var(--ease-out);
		opacity: 0.7;
		width: 14px;
		height: 14px;
	}

	.primary-nav.is-open .nav-menu > li.mobile-open > a {
		color: var(--teal-300) !important;
	}

	.primary-nav.is-open .nav-menu > li.mobile-open > a svg {
		transform: rotate(180deg);
		opacity: 1;
		color: var(--teal-300);
	}

	/* MOBILE MEGA — fully visible inline accordion */
	.primary-nav.is-open .mega {
		display: none !important;
		position: static !important;
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		grid-template-columns: 1fr !important;
		gap: var(--space-6) !important;
		top: auto !important;
		left: auto !important;
	}

	.primary-nav.is-open .nav-menu > li.mobile-open > .mega {
		display: grid !important;
		padding: 0 0 var(--space-6) var(--space-4) !important;
	}

	.primary-nav.is-open .mega-col {
		gap: 0;
	}

	.primary-nav.is-open .mega-title {
		color: var(--teal-300) !important;
		border-bottom-color: rgba(255, 255, 255, 0.15) !important;
		margin-bottom: var(--space-3) !important;
		padding-top: var(--space-2);
	}

	.primary-nav.is-open .mega-col a {
		color: rgba(255, 255, 255, 0.85) !important;
		padding: var(--space-3) var(--space-3) !important;
		font-size: 0.9375rem !important;
		background: transparent !important;
	}

	.primary-nav.is-open .mega-col a small {
		color: rgba(255, 255, 255, 0.5) !important;
		font-size: 0.75rem;
		margin-top: 2px;
	}

	.primary-nav.is-open .mega-col a:hover,
	.primary-nav.is-open .mega-col a:active {
		background: rgba(20, 168, 166, 0.15) !important;
		color: var(--teal-300) !important;
		transform: none !important;
	}

	/* Hide CTA card on mobile (saves space) */
	.primary-nav.is-open .mega-cta { display: none !important; }

	/* Lock body scroll when mobile menu open */
	body.menu-open {
		overflow: hidden !important;
		position: fixed !important;
		width: 100% !important;
	}
}

/* ============================================================
   MOBILE — General Optimizations (768px and below)
   ============================================================ */
@media (max-width: 768px) {
	:root { --header-height: 64px; }

	/* Containers */
	.container, .container-narrow, .container-wide {
		padding: 0 var(--space-4);
	}

	/* Section padding */
	section { padding: var(--space-12) 0; }
	.cta-banner { padding: var(--space-16) 0; }

	/* HERO */
	.hero {
		min-height: auto;
		padding-top: calc(var(--header-height) + var(--space-10));
		padding-bottom: var(--space-12);
	}
	.hero h1 { font-size: clamp(1.875rem, 8vw, 2.5rem) !important; line-height: 1.1 !important; }
	.hero-lead { font-size: 1rem; margin-bottom: var(--space-8); }
	.hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
	.hero-actions .btn { width: 100%; justify-content: center; padding: 14px 24px; }
	.hero-meta { grid-template-columns: 1fr 1fr; gap: var(--space-6); padding-top: var(--space-8); }
	.hero-meta-item .num { font-size: 1.5rem; }
	.hero-meta-item .label { font-size: 0.8125rem; }

	/* PAGE HERO */
	.page-hero {
		padding-top: calc(var(--header-height) + var(--space-8));
		padding-bottom: var(--space-10);
	}
	.page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem) !important; line-height: 1.15 !important; }
	.page-hero .lead { font-size: 1rem; }

	/* Page hero button containers — force them to stack */
	.page-hero > .container > div[style*="flex"],
	.cta-banner-actions {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: var(--space-3) !important;
	}
	.page-hero .btn,
	.cta-banner-actions .btn {
		width: 100% !important;
		justify-content: center !important;
	}

	/* TYPOGRAPHY */
	h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
	h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
	h3 { font-size: 1.25rem; }
	h4 { font-size: 1.0625rem; }
	p { font-size: 1rem; }
	p.lead { font-size: 1.0625rem; }

	/* Section heads */
	.section-head { margin-bottom: var(--space-10); }
	.section-head p { font-size: 1rem; }

	/* GRIDS — all stack */
	.grid-2, .grid-3, .grid-4 {
		grid-template-columns: 1fr !important;
		gap: var(--space-4) !important;
	}

	.services-grid { gap: var(--space-4); }
	.service-card,
	.service-card.featured {
		grid-column: 1 / -1 !important;
		padding: var(--space-6);
	}

	.process-grid { grid-template-columns: 1fr !important; gap: var(--space-3); }
	.process-step { padding: var(--space-4) var(--space-5); }
	.process-step .step-num { font-size: 1.75rem; }

	.industries-list { grid-template-columns: 1fr !important; }
	.industry { padding: var(--space-5) var(--space-6); }

	/* FOOTER */
	.footer-grid {
		grid-template-columns: 1fr !important;
		gap: var(--space-8);
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-4);
	}

	/* TWO COL */
	.two-col {
		grid-template-columns: 1fr !important;
		gap: var(--space-8);
	}
	.sidebar-card {
		position: static;
		padding: var(--space-6);
	}

	/* FORM */
	.form-card { padding: var(--space-6); }
	.form-row.cols-2 { grid-template-columns: 1fr !important; }

	/* CTA BANNER */
	.cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
	.cta-banner p { font-size: 1rem; margin-bottom: var(--space-8); }

	/* FEATURE CARDS */
	.feature { padding: var(--space-5); }

	/* FAQ */
	.faq-item summary {
		font-size: 1rem;
		padding: var(--space-4) 0;
	}

	/* CONTENT BODY */
	.content-body { max-width: 100%; }
	.content-body h2 {
		font-size: 1.5rem;
		margin: var(--space-10) 0 var(--space-4);
		padding-top: var(--space-6);
	}
	.content-body h3 { font-size: 1.1875rem; margin: var(--space-6) 0 var(--space-3); }

	/* BREADCRUMBS */
	.breadcrumbs ol { font-size: 0.75rem; flex-wrap: wrap; }

	/* WHATSAPP */
	.whatsapp-float {
		width: 52px;
		height: 52px;
		bottom: 16px;
		right: 16px;
	}
	.whatsapp-float svg { width: 26px; height: 26px; }

	/* Better tap targets */
	.btn { min-height: 48px; }
}

@media (max-width: 480px) {
	.hero-meta { grid-template-columns: 1fr; gap: var(--space-4); }
	.brand-text .b1 { font-size: 1rem; }
	.brand-text .b2 { font-size: 0.5rem; }
	.brand-mark { width: 32px; height: 32px; }
	.hero h1, .page-hero h1 { font-size: clamp(1.625rem, 7vw, 2rem) !important; }
	h2 { font-size: clamp(1.375rem, 6vw, 1.75rem); }
}

/* Better touch interactions */
@media (hover: none) and (pointer: coarse) {
	.btn { min-height: 48px; }
	.nav-menu > li > a { min-height: 48px; display: flex; align-items: center; }
	.faq-item summary { min-height: 56px; }
	.mega-col a { min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
}

/* Prevent iOS rubber-band scrolling when menu open */
html.menu-open, body.menu-open {
	height: 100%;
	overflow: hidden;
	-webkit-overflow-scrolling: auto;
}

