/* =============================================
   MAKAYTA CONSULTING — Premium Stylesheet v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --maroon:       #6B0F05;
  --maroon-dark:  #3E0802;
  --maroon-mid:   #7A1A0C;
  --orange:       #C65A1E;
  --orange-hot:   #E07232;
  --rust:         #A14A2A;
  --cream:        #F7EFE6;
  --beige:        #E6D3C3;
  --offwhite:     #FAF7F4;
  --white:        #FFFFFF;
  --text:         #1C0F0A;
  --text-mid:     #4A2015;
  --text-muted:   #7A4A35;
  --border:       rgba(107,15,5,.12);
  --border-warm:  rgba(198,90,30,.2);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:        76px;
  --max-w:        1200px;
  --r:            3px;
  --ease:         cubic-bezier(.4,0,.2,1);

  --shadow-sm:    0 4px 16px rgba(62,8,2,.08);
  --shadow-md:    0 16px 48px rgba(62,8,2,.14);
  --shadow-lg:    0 32px 80px rgba(62,8,2,.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }

/* ── TYPOGRAPHY ── */
h1 { font-family: var(--font-display); font-size: clamp(2.8rem,5.5vw,5rem); font-weight: 600; line-height: 1.05; }
h2 { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); font-weight: 600; line-height: 1.1; }
h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
p  { color: var(--text-muted); line-height: 1.78; font-size: .92rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--orange); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before, .eyebrow.center::after { content: ''; display: block; width: 28px; height: 1.5px; background: var(--orange); }
.eyebrow.center::before { order: -1; }

.section-divider {
  width: 52px; height: 3px; background: var(--orange);
  border-radius: 2px; margin: 1.2rem 0 1.8rem;
}
.section-divider.center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2.2rem; border: none; border-radius: var(--r);
  background: var(--maroon); color: var(--white);
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: background .28s var(--ease), transform .22s var(--ease), box-shadow .28s var(--ease);
}
.btn:hover { background: var(--maroon-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-orange {
  background: var(--orange); color: var(--white);
}
.btn-orange:hover { background: var(--orange-hot); }

.btn-outline {
  background: transparent; color: var(--maroon);
  border: 1.5px solid var(--maroon); box-shadow: none;
}
.btn-outline:hover { background: var(--maroon); color: var(--white); }

.btn-white {
  background: var(--white); color: var(--maroon);
}
.btn-white:hover { background: var(--cream); color: var(--maroon); }

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--maroon-dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  animation: pulse 1.5s ease-in-out infinite;
}
/* Real logo */
#loaderLogo {
  height: 300px;
}
/* Text always visible below logo */
.lm-text { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.lm-name {
  font-family: var(--font-display); color: var(--white);
  font-size: 1.6rem; font-weight: 600; letter-spacing: .06em; line-height: 1;
}
.lm-sub {
  font-family: var(--font-body); color: rgba(255,255,255,.5);
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
}
/* M fallback (kept for when absolutely no logo) */
.lm-box {
  width: 88px; height: 88px; background: var(--orange); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--white);
  box-shadow: 0 12px 40px rgba(198,90,30,.5);
}
#page-loader .loader-bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
}
#page-loader .loader-bar::after {
  content: ''; display: block; width: 50%; height: 100%;
  background: var(--orange); border-radius: 2px;
  animation: loadBar 1.2s var(--ease) infinite;
}
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── NAVBAR ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  /* NO border — this was causing the white line */
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(62,8,2,.1); /* shadow only, no border */
}
header.dark-nav { background: transparent; }
header.dark-nav.scrolled { background: rgba(255,255,255,.97); }

.navbar {
  height: var(--nav-h); display: flex;
  align-items: center; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 70px; width: auto; transition: transform .4s var(--ease); flex-shrink: 0; }
.brand:hover img { transform: scale(1.03); }

/* Brand label — always shown next to logo */
.brand-label { display: flex; flex-direction: column; line-height: 1; }
.brand-label .bl-name {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em; line-height: 1.1;
  transition: color .3s;
}
.brand-label .bl-sub {
  font-family: var(--font-body); font-size: .54rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-top: 2px;
}
header.scrolled .brand-label .bl-name { color: var(--maroon-dark); }

/* Fallback M icon (when no logo.png yet) */
.brand-fallback { display: flex; align-items: center; gap: .7rem; }
.brand-icon {
  width: 44px; height: 44px; background: var(--maroon); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.brand-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--white); line-height: 1.1; }
.brand-text span { display: block; font-family: var(--font-body); font-size: .56rem; font-weight: 600; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; margin-top: 2px; }
header.scrolled .brand-text { color: var(--maroon-dark); }

nav { display: flex; align-items: center; gap: .3rem; }
nav a {
  padding: .5rem .9rem; font-size: .78rem; font-weight: 500;
  letter-spacing: .05em; color: var(--white); text-decoration: none;
  border-radius: var(--r); position: relative; transition: color .25s var(--ease);
}
header.scrolled nav a { color: var(--text-mid); }
nav a:hover { color: var(--orange) !important; }
nav a.active { color: var(--orange) !important; }
nav a::after {
  content: ''; position: absolute; bottom: 0; left: .9rem; right: .9rem;
  height: 1.5px; background: var(--orange);
  transform: scaleX(0); transform-origin: center;
  transition: transform .28s var(--ease);
}
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.portal-link {
  margin-left: .5rem;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  border-radius: var(--r) !important;
}
header.scrolled .portal-link { border-color: var(--border-warm) !important; }
.portal-link:hover { background: var(--maroon) !important; color: var(--white) !important; border-color: var(--maroon) !important; }

.nav-cta {
  margin-left: .4rem;
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: .5rem 1.3rem !important;
  border-radius: var(--r) !important;
}
.nav-cta:hover { background: var(--orange-hot) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--ease) .3s; }
header.scrolled .hamburger span { background: var(--maroon); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding: 1.5rem 2.5rem 2rem;
  z-index: 499;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu a {
  font-size: .9rem; font-weight: 500; color: var(--text-mid);
  padding: .7rem 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ── HERO (homepage) ── */
.hero-home {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 2.5s ease, transform 9s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(62,8,2,.82) 0%,
    rgba(62,8,2,.65) 50%,
    rgba(62,8,2,.3) 100%
  );
}
.hero-home-content {
  position: relative; z-index: 2;
  max-width: 660px; padding-top: var(--nav-h);
}
.hero-home-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-home-content h1 em { font-style: italic; color: var(--beige); }
.hero-home-content p { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.75; max-width: 520px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(62,8,2,.6); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1rem 2.5rem;
  display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap;
  justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .74rem; color: rgba(255,255,255,.78); white-space: nowrap; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* Slide indicators */
.slide-dots {
  position: absolute; bottom: 80px; right: 2.5rem; z-index: 3;
  display: flex; flex-direction: column; gap: .5rem;
}
.slide-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
  transition: background .3s, height .3s;
}
.slide-dot.active { background: var(--orange); height: 20px; border-radius: 3px; }

/* Scroll indicator — removed (was confusing) */
.scroll-indicator { display: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 64vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  /* Gradient fallback when no image is loaded */
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--rust) 100%);
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(62,8,2,.85) 0%, rgba(62,8,2,.65) 55%, rgba(62,8,2,.4) 100%);
}
/* Centered hero variant — used on Services page */
.page-hero.centered { text-align: center; }
.page-hero.centered .container { display: flex; justify-content: center; }
.page-hero.centered .page-hero-content { max-width: 760px; }
.page-hero.centered .page-hero-content p { max-width: 600px; margin: 0 auto; }
.page-hero.centered .breadcrumb { justify-content: center; }

.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content h1 em { font-style: italic; color: var(--beige); }
.page-hero-content p { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.75; max-width: 540px; margin-top: .8rem; }
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; color: rgba(255,255,255,.45);
  letter-spacing: .06em; margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .25s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ── SECTIONS ── */
.section { padding: 7rem 0; }
.section.tight { padding: 4rem 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }
.section.dark {
  background: var(--maroon-dark);
  color: var(--white);
}
.section.dark p { color: rgba(255,255,255,.72); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.warm {
  background: linear-gradient(135deg, var(--offwhite) 0%, var(--cream) 100%);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--maroon);
  padding: 3.5rem 0;
  border-top: 3px solid var(--orange);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item { text-align: center; padding: 1rem 1.5rem; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--orange); line-height: 1; }
.stat-lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: .3rem; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-warm); }
.card-pad { padding: 2.2rem; }
.card-icon { width: 52px; height: 52px; border-radius: 10px; background: rgba(198,90,30,.1); border: 1px solid rgba(198,90,30,.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.3rem; }
.card h3 { margin-bottom: .6rem; color: var(--maroon-dark); }
.card-accent { border-top: 3px solid var(--orange); }
.card-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card-dark:hover { border-color: rgba(198,90,30,.4); background: rgba(255,255,255,.08); }
.card-dark h3 { color: var(--white); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split.reverse > *:first-child { order: 2; }

/* ── IMAGE FRAME ── */
.image-frame {
  border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.image-frame:hover img { transform: scale(1.04); }
.image-badge {
  position: absolute; bottom: -18px; right: -18px; z-index: 2;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 8px 32px rgba(198,90,30,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem;
}
.image-badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--white); }
.image-badge small { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.85); line-height: 1.3; margin-top: .2rem; }

/* ── PROCESS STEPS ── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: var(--border-warm); }
.step-card { text-align: center; padding: 0 1rem 1.5rem; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.3rem;
  background: var(--white); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--orange);
  box-shadow: var(--shadow-sm); position: relative;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step-card p { font-size: .8rem; }

/* ── TESTIMONIALS ── */
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
}
.testi-card:hover { border-color: var(--border-warm); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--orange); font-size: .9rem; margin-bottom: 1rem; letter-spacing: .05em; }
.testi-q { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--maroon-dark); line-height: 1.65; margin-bottom: 1.5rem; }
.testi-auth { display: flex; align-items: center; gap: .8rem; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--rust), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: var(--white);
}
.testi-nm { font-size: .84rem; font-weight: 600; color: var(--maroon-dark); }
.testi-rl { font-size: .72rem; color: var(--text-muted); }

/* ── BLOG CARDS ── */
.blog-card { display: flex; flex-direction: column; }
.blog-thumb { height: 200px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.blog-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--maroon-dark); line-height: 1.3; margin-bottom: .6rem; }
.blog-exc { font-size: .8rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .72rem; color: var(--text-muted); }
.read-more { color: var(--orange); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; transition: gap .2s; display: inline-flex; align-items: center; gap: .3rem; }
.read-more:hover { gap: .5rem; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 6rem 2.5rem; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--rust) 100%);
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(198,90,30,.2), transparent 70%); }
.cta-banner h2 { color: var(--white); position: relative; z-index: 1; margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.72); position: relative; z-index: 1; font-size: .95rem; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* ── TOOLS BAR ── */
.tools-strip {
  background: var(--cream); padding: 2.5rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.tools-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.tools-lbl { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); white-space: nowrap; font-weight: 600; }
.tools-div { width: 1px; height: 32px; background: var(--border-warm); flex-shrink: 0; }
.tools-list { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.tool-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.tool-ic { width: 28px; height: 28px; background: rgba(198,90,30,.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }

/* ── FAQ ── */
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; margin-bottom: 1px;
  transition: border-color .25s;
}
.faq-item.open { border-color: var(--border-warm); }
.faq-q {
  padding: 1.3rem 1.8rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--maroon-dark);
  transition: color .25s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon { font-size: 1.1rem; color: var(--orange); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.8rem 1.3rem; font-size: .84rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── FORM ── */
.form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.f-group { display: flex; flex-direction: column; gap: .38rem; margin-bottom: 1.1rem; }
.f-group label { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.f-group input, .f-group select, .f-group textarea {
  background: var(--offwhite); border: 1px solid var(--border);
  border-radius: var(--r); padding: .78rem 1rem;
  font-family: var(--font-body); font-size: .88rem; color: var(--text); outline: none;
  transition: border-color .25s, background .25s; -webkit-appearance: none;
}
.f-group input::placeholder, .f-group textarea::placeholder { color: rgba(74,32,21,.35); }
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--orange); background: var(--white); }
.f-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.2rem; }
.form-check input { accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.form-check a { color: var(--orange); }

/* ── FOOTER ── */
.site-footer {
  background: var(--maroon-dark); padding: 5.5rem 0 2rem;
  border-top: 3px solid var(--orange);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.5rem; margin-bottom: 4rem; }
.footer-brand-desc { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-top: 1.2rem; max-width: 270px; }
.footer-col h4 { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { font-size: .8rem; color: rgba(255,255,255,.5); transition: color .25s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.soc { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: rgba(255,255,255,.5); transition: border-color .25s, color .25s; text-decoration: none; }
.soc:hover { border-color: var(--orange); color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.8rem; display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: rgba(255,255,255,.32); flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: var(--orange); }

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--maroon); color: var(--white); font-size: 1rem;
  cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease); box-shadow: var(--shadow-md);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--orange); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.show { opacity: 1; transform: translateY(0); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 400;
  width: 50px; height: 50px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }

/* ── SECTION HEADER CENTER ── */
.sh-center { text-align: center; margin: 0 auto 4rem; width: 100%; }
.sh-center h2 { margin-bottom: 0; }
.sh-center p { margin: .8rem auto 0; max-width: 560px; }

/* ── MISC ── */
.pill { display: inline-block; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(198,90,30,.1); border: 1px solid rgba(198,90,30,.25); color: var(--orange); padding: .25rem .65rem; border-radius: 2px; font-weight: 600; }
ul.check-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
ul.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .86rem; color: var(--text-muted); line-height: 1.55; }
ul.check-list li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.text-orange { color: var(--orange) !important; }
.text-white { color: var(--white) !important; }


/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile First, Tablet, Desktop
═══════════════════════════════════════════════ */

/* ── TABLET: 601px – 960px ── */
@media (min-width: 601px) and (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .stats-bar { grid-template-columns: repeat(3,1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-trust { gap: 1.4rem; flex-wrap: wrap; padding: .8rem 2rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding: 5rem 0; }
  .sh-center { margin-bottom: 3rem; }
  nav { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 2rem; }
  .page-hero { min-height: 55vh; padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem; }
  .hero-home { min-height: 90vh; }
  .cta-banner { padding: 4.5rem 2rem; }
  .process-steps::before { display: none; }
}

/* ── MOBILE: max 600px ── */
@media (max-width: 960px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 4.5rem 0; }
  nav { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse > *:first-child { order: 0; }
  .stats-bar { grid-template-columns: repeat(3,1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 1rem; flex-wrap: wrap; padding: .8rem 1.5rem; }
  .sh-center { margin-bottom: 2.5rem; }
  .cta-banner { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.08; }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  h3 { font-size: 1.15rem; }
  p  { font-size: .88rem; }

  /* Container */
  .container { padding: 0 1.1rem; }
  .section { padding: 3.5rem 0; }
  .sh-center { margin-bottom: 2rem; }
  .section-divider { margin: 1rem 0 1.4rem; }

  /* HOMEPAGE HERO */
  .hero-home { min-height: 100svh; }
  .hero-home-content { padding-top: calc(var(--nav-h) + 1rem); max-width: 100%; }
  .hero-home-content h1 { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 1rem; }
  .hero-home-content p { font-size: .88rem; margin-bottom: 1.8rem; max-width: 100%; }
  .hero-btns { flex-direction: column; gap: .75rem; }
  .hero-btns .btn { width: 100%; justify-content: center; text-align: center; padding: .9rem 1.5rem; }
  .hero-trust { gap: .6rem; padding: .65rem 1.1rem; justify-content: flex-start; }
  .trust-item { font-size: .65rem; gap: .4rem; }
  .trust-item:nth-child(4), .trust-item:nth-child(5) { display: none; }
  .slide-dots { right: 1rem; }

  /* PAGE HERO (inner pages) */
  .page-hero { min-height: 52vh; padding: calc(var(--nav-h) + 2rem) 0 2.5rem; }
  .page-hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .page-hero-content p { font-size: .86rem; }
  .breadcrumb { font-size: .65rem; }

  /* NAV */
  .navbar { height: 64px; }
  :root { --nav-h: 64px; }
  .brand img { height: 46px; }
  .mobile-menu { padding: 1.2rem 1.5rem 1.8rem; }
  .mobile-menu a { font-size: .88rem; padding: .65rem 0; }

  /* STATS — always 3 columns even on mobile (scaled smaller text) */
  .stats-bar { grid-template-columns: repeat(3,1fr) !important; }
  .stat-num { font-size: 1.8rem; }
  .stat-lbl { font-size: .55rem; letter-spacing: .06em; }
  .stat-item { padding: 1rem .6rem; }

  /* CARDS */
  .card-pad { padding: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .card-pad .svc-icon-wrap { width: 44px; height: 44px; }

  /* PROCESS STEPS */
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .step-card { padding: 0 0 1rem; }
  .step-num { width: 58px; height: 58px; font-size: 1.3rem; }

  /* SPLIT / IMAGE FRAME */
  .split { gap: 2rem; }
  .image-frame { height: 260px !important; }
  .image-badge { width: 90px; height: 90px; bottom: -12px; right: -8px; }
  .image-badge strong { font-size: 1.5rem; }
  .image-badge small { font-size: .5rem; }

  /* CTA */
  .cta-banner { padding: 3.5rem 1.2rem; }
  .cta-banner h2 { font-size: 1.7rem; }
  .cta-btns { flex-direction: column; align-items: center; gap: .8rem; }
  .cta-btns .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .site-footer { padding: 3.5rem 0 1.5rem; }
  .footer-brand-desc { max-width: 100%; font-size: .8rem; }

  /* FORM */
  .form-row { grid-template-columns: 1fr; gap: .8rem; }
  .form-wrap { padding: 1.8rem 1.2rem; }
  .f-group { margin-bottom: .85rem; }

  /* CONTACT LAYOUT */
  .contact-layout { gap: 2rem; }

  /* WHATSAPP FLOAT */
  .wa-float { left: 1rem; bottom: 1rem; width: 46px; height: 46px; }
  #backToTop { right: 1rem; bottom: 1rem; width: 40px; height: 40px; }

  /* TOOLS */
  .tools-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* ACCREDITATIONS */
  .accred-lbl { display: none; }
  .accred-div { display: none; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: .6rem; }
  .gallery-cell.wide { grid-column: span 1 !important; }

  /* PLAN GRID (services) */
  .plan-grid { gap: 1.2rem; }
  .plan-card.featured { transform: none; }

  /* TEAM CAROUSEL */
  .team-carousel-section { padding: 3.5rem 0; }

  /* TESTIMONIALS */
  .testi-q { font-size: .92rem; }

  /* SOCIAL GRID */
  .social-grid { grid-template-columns: 1fr 1fr !important; gap: .8rem; }
  .soc-card { padding: 1.4rem .8rem; }

  /* SH CENTER */
  .sh-center p { font-size: .86rem; }

  /* PAGE HERO CENTERED */
  .page-hero.centered .page-hero-content { text-align: left; }
  .page-hero.centered .breadcrumb { justify-content: flex-start; }
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 600px) {
  body, html { overflow-x: hidden; max-width: 100vw; }
  /* Exclude SVG elements — max-width:100% collapses inline SVG icons to zero */
  *:not(svg):not(path):not(circle):not(rect):not(use) { max-width: 100%; }
  img { max-width: 100%; height: auto; }
  /* Explicit sizing for all social/UI icons on mobile */
  .soc svg, .soc-card svg, .footer-col svg,
  .wa-float svg, #backToTop svg, .cq-icon svg,
  nav svg, .hamburger svg { 
    width: 22px !important; height: 22px !important; 
    min-width: 16px; flex-shrink: 0; 
  }
}

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; padding: .9rem 2rem; }
  nav a, .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
  .carousel-btn { min-height: 48px; min-width: 48px; }
  .carousel-dot { padding: .5rem; width: auto; height: auto; }
  input, select, textarea { font-size: 16px !important; } /* prevents iOS zoom */
}


/* ═══════════════════════════════════════════════
   PERFORMANCE & SMOOTHNESS
═══════════════════════════════════════════════ */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* GPU acceleration for animated elements */
.hero-slide, .wa-float, #backToTop, .carousel-track, .team-card-inner,
.card, .btn, .mobile-menu { will-change: transform; }

/* Smoother transitions across the board */
.card { transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s cubic-bezier(.4,0,.2,1), border-color .3s ease; }
.btn { transition: background .25s ease, transform .2s cubic-bezier(.4,0,.2,1), box-shadow .25s ease; }
a { transition: color .2s ease, opacity .2s ease; }

/* Better font rendering */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* Image smoothness */
img { image-rendering: -webkit-optimize-contrast; }

/* Reveal animation tuning — staggered, smoother */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.show { opacity: 1; transform: translateY(0); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.delay-1.show { transition-delay: .08s; }
.reveal.delay-2.show { transition-delay: .16s; }
.reveal.delay-3.show { transition-delay: .24s; }

/* No pageIn body animation — the page loader handles the reveal cleanly */

/* Sticky nav smooth shadow on scroll */
header { transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, border-color .35s ease; }

/* Smoother mobile menu — uses max-height transition, not show/hide */
.mobile-menu {
  display: none; /* hidden by default on desktop */
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding: 1.5rem 2rem 2rem;
  z-index: 499; flex-direction: column; gap: .3rem;
  transform: translateY(-8px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0); opacity: 1;
}

/* Input focus smoothness */
.f-group input, .f-group select, .f-group textarea {
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(198,90,30,.12);
}

/* Button press feedback on mobile */
.btn:active { transform: translateY(1px) scale(.98); }
