/* ==========================================================================
   I Love This (Pty) Ltd — Website Redesign
   Framework: same structure as nowusa.co.za
   Brand palette: ilovethis.co.za colours
   ========================================================================== */

:root {
  /* Brand palette */
  --navy:        #1d1d1d;
  --navy-900:    #111111;
  --navy-800:    #1a1a1a;
  --red:         #e82863;
  --red-dark:    #c61a4f;
  --gold:        #e82863;
  --gold-dark:   #c61a4f;
  --green:       #1f8a4c;

  /* Neutrals */
  --white:   #ffffff;
  --grey-50: #f9f9f9;
  --grey-100:#e5e7eb;
  --grey-200:#d1d5db;
  --grey-300:#9ca3af;
  --grey-500:#6b7280;
  --ink:     #1d1d1d;
  --ink-soft:#424242;

  /* Tokens */
  --maxw: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow:    0 4px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --t: .28s cubic-bezier(.4,0,.2,1);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-btn:  "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3vw, 48px); line-height: 1.15; font-weight: 600; letter-spacing: -.3px; font-family: var(--font-head); }
#process-heading { font-size: clamp(20px, 2vw, 28px); }
[aria-labelledby="process-heading"] .card h3 { font-size: 1.75rem; }
h3 { font-size: 24px; line-height: 31px; font-weight: 600; }
p  { color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2.5px;
  font-weight: 700; font-size: .8rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 3px; }
.eyebrow.center { justify-content: center; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-block: clamp(40px,5vw,64px); }
.section.tighter { padding-block: clamp(28px,4vw,52px); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }
.bg-grey { background: var(--grey-50); }
.bg-navy { background: var(--navy); color: #d0d0d0; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .card h3 { color: var(--navy); }
.bg-navy .card p  { color: var(--ink-soft); }
.grid { display: grid; gap: 16px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 50px; transition: var(--t);
  text-align: center; white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(232,40,99,.30); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--grey-200); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline { border: 2px solid var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: transparent; }
.nav { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 160px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  padding: 9px 14px; border-radius: 8px; color: var(--navy); transition: var(--t);
  text-transform: uppercase; letter-spacing: .4px;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links > * { position: relative; }
.nav-links > *:not(:first-child)::before {
  content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--grey-200) 50%, transparent);
}
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 18px; font-size: .72rem; min-width: 120px; text-transform: uppercase; letter-spacing: .4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: var(--t); }
.mobile-menu { display: none; }

/* Dropdown navigation */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.dropdown-toggle .caret { width: 11px; height: 11px; transition: transform var(--t); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px 0; display: flex; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--t); z-index: 70;
  overflow: hidden;
}
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown a { padding: 11px 20px; border-radius: 0; font-size: .78rem; white-space: nowrap; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; font-family: var(--font-head); }
.dropdown a:hover { background: var(--navy); color: #fff; }

/* Mobile submenu groups */
.m-group-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 13px 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy); border-radius: 8px; text-transform: uppercase; letter-spacing: .4px; font-size: .82rem; }
.m-group-toggle .caret { width: 14px; height: 14px; color: var(--red); transition: transform var(--t); }
.m-group-toggle.open .caret { transform: rotate(180deg); }
.m-group-toggle:hover { background: var(--grey-100); }
.m-sub { display: none; flex-direction: column; padding-left: 12px; border-left: 2px solid var(--grey-200); margin: 2px 0 6px 12px; }
.m-sub.open { display: flex; }
.m-sub a { padding: 11px 12px; font-size: .92rem; color: var(--ink-soft); border-radius: 8px; text-transform: none; letter-spacing: 0; }
.m-sub a:hover { color: var(--red); background: var(--grey-50); }

/* ----- Hero ----- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.42) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px,5vw,56px); align-items: center; padding: clamp(64px,9vw,120px) 0; }
.hero-inner { max-width: 600px; }
.hero h1 { color: #fff; font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: 0; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-top: 20px; max-width: 560px; }
.hero .btn-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats card */
.hero-stats-card {
  background: var(--red);
  padding: clamp(28px,3vw,40px); box-shadow: 0 26px 70px rgba(0,0,0,.30);
  display: flex; flex-direction: column; gap: clamp(14px,2.2vw,24px);
}
.hstat .num { font-family: var(--font-head); font-weight: 600; font-size: 48px; line-height: 48px; color: #fff; }
.hstat .label { color: rgba(255,255,255,.90); font-weight: 600; font-size: .95rem; margin-top: 5px; }
.hstat + .hstat { border-top: 1px solid rgba(255,255,255,.2); padding-top: clamp(14px,2.2vw,24px); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,40,99,.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 600; letter-spacing: 0; line-height: 1.15; }
.page-hero .lead,
.page-hero p.lead { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-top: 14px; max-width: 640px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 16px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
/* Old dark hero variant — same as .page-hero now */
.page-hero-dark { background: var(--navy); }

/* ----- Cards ----- */
.cards { display: grid; gap: 10px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius);
  padding: 30px; transition: var(--t); height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 96px; height: 96px; display: grid; place-items: center;
  background: none; margin-bottom: 18px; transition: var(--t);
}
.card .ico svg { width: 40px; height: 40px; stroke-width: 1.8; fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.card .ico img { width: 100%; height: 100%; object-fit: contain; }
.card:hover .ico { transform: translateY(-4px); }
/* Ghost watermark background icon */
.card-ghost-wrap { position: relative; overflow: hidden; }
.card-ghost {
  position: absolute; bottom: -22px; right: -18px;
  width: 140px; height: 140px;
  pointer-events: none; z-index: 0;
  transform: rotate(-12deg);
  opacity: .08;
  filter: grayscale(100%) brightness(0.4);
  transition: opacity .4s, transform .4s;
}
.card-ghost img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-ghost-wrap:hover .card-ghost { opacity: .13; transform: rotate(-8deg) scale(1.06); }
.card-ghost-wrap > *:not(.card-ghost) { position: relative; z-index: 1; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .97rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.card .more:hover { gap: 10px; }
.card .more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .btn { margin-top: 24px; align-self: flex-start; }

/* ----- Split layout ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split ul.ticks { margin-top: 20px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ----- Testimonials ----- */
.quote { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--grey-100); height: 100%; position: relative; }
.quote::before { content: "\201C"; font-family: Georgia,serif; font-size: 4.5rem; color: var(--gold); line-height: 1; position: absolute; top: 8px; right: 22px; opacity: .35; }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--red)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.quote .who span { font-size: .84rem; color: var(--ink-soft); }

/* ----- FAQ accordion ----- */
.faq { max-width: 820px; margin-inline: auto; }
.faq--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; max-width: 1100px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.faq-q .pm { width: 19px; height: 19px; flex-shrink: 0; position: relative; transition: var(--t); color: var(--red); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding: 0 20px 14px; font-size: .96rem; }

/* ----- CTA band ----- */
.cta-band { position: relative; color: #fff; isolation: isolate; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.88),rgba(0,0,0,.82)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 580px; margin: 16px auto 28px; font-size: 1.1rem; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----- Hosting + domain offer banner (sits inside the hero, below the captions) ----- */
.hosting-offer-banner { background: transparent; border-radius: var(--radius-sm); padding: 14px 20px; margin-top: 24px; max-width: 640px; }
.hosting-offer-banner p { margin: 0; color: #fff; font-size: .92rem; line-height: 1.5; }
.hosting-offer-banner strong { font-weight: 800; color: var(--red); }

/* ----- Footer ----- */
.site-footer { background: var(--navy-900); color: #aaa; padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.5fr; gap: 64px; padding-bottom: 44px; max-width: 1120px; margin-inline: auto; }
.footer-grid > * { position: relative; }
.footer-grid > *:not(:first-child)::before {
  content: ""; position: absolute; left: -32px; top: 4px; bottom: 4px; width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.16) 18%, rgba(255,255,255,.16) 82%, transparent);
}
.site-footer h4 { color: #fff; font-size: 1.35rem; text-transform: none; letter-spacing: 0; margin-bottom: 18px; font-family: var(--font-head); }
.site-footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #888; font-size: .9rem; transition: var(--t); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #888; max-width: 340px; font-size: .9rem; line-height: 1.7; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a { color: #888; }
.footer-contact a:hover { color: var(--gold); }
/* Social icons */
.socials { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.socials a {
  width: 44px; height: 44px; border-radius: 14px; background: var(--gold);
  display: inline-grid; place-items: center; color: var(--navy-900);
  border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 -2px 0 rgba(0,0,0,.16);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.socials a:hover { background: #ffbd3f; transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 10px 22px rgba(0,0,0,.18); }
.socials svg { display: block; width: 22px; height: 22px; fill: currentColor; overflow: visible; }
.site-footer .socials { gap: 8px; margin-top: 16px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 11px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.14); }
.site-footer .socials svg { width: 18px; height: 18px; }
/* Footer bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .85rem; color: #fff; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: #fff; }

/* ----- Reveal animation ----- */
/* Elements are visible by default; JS adds .js-ready to <html> to enable animations */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js-ready .reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =============================================
   I LOVE THIS — Site-specific components
   ============================================= */

/* Work section — alternating split-screen */
.work-section { padding: 0; }
.work-section .section-head { padding: clamp(56px,8vw,104px) 0 48px; }

/* Per-client color variables */
.work-masondo       { --wc: #162040; }
.work-ncrf          { --wc: #0a3320; }
.work-newcastle     { --wc: #1a0830; }
.work-newfrontier   { --wc: #0d2b45; }
.work-nowusa        { --wc: #06224a; }
.work-mpanza        { --wc: #0e1f3a; }
.work-muntomuhle    { --wc: #1e120a; }
.work-newharvest    { --wc: #0e1e10; }
.work-prvhutali     { --wc: #1a1a1a; }
.work-royalmotors   { --wc: #1e0a0a; }
.work-skillpro      { --wc: #0e1e0a; }
.work-swazihlubi    { --wc: #0a1a2c; }
.work-tmsherq       { --wc: #0a1820; }
.work-vhmabasa      { --wc: #180a28; }
.work-vitalsigns    { --wc: #12101c; }
.work-africasun     { --wc: #1e1408; }
.work-alltion       { --wc: #0a0a1e; }
.work-ayamagroup    { --wc: #050f2c; }
.work-ayamalogistics { --wc: #04142c; }
.work-biggain       { --wc: #061408; }
.work-danneil       { --wc: #1a1008; }
.work-foreverawnings { --wc: #0a1218; }
.work-hilsnlent     { --wc: #041a18; }
.work-kbm           { --wc: #090f1e; }
.work-agnel         { --wc: #141414; }
.work-dustkillers   { --wc: #041c14; }
.work-forevercomfy  { --wc: #1c1008; }
.work-globeed       { --wc: #080e1e; }
.work-kandm         { --wc: #0a0c14; }
.work-metrosure     { --wc: #0c1418; }
.work-justice       { --wc: #1e1a08; }
.work-asakheni      { --wc: #0a1a10; }

.work-item {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px; --wc: #1d1d1d;
}

.work-image { position: relative; overflow: hidden; background: #000; }
.work-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.work-item:hover .work-image img { transform: scale(1.04); }

/* Gradient bleed from screenshot into coloured content panel */
.work-image::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 220px;
  pointer-events: none; z-index: 1;
  background: linear-gradient(to right, transparent 0%, var(--wc) 100%);
}
.work-item-reverse .work-image::after {
  right: auto; left: 0;
  background: linear-gradient(to left, transparent 0%, var(--wc) 100%);
}

.work-content { display: flex; flex-direction: column; justify-content: center; padding: 64px 72px; background: var(--wc); }
.work-item-reverse .work-image { order: 2; }
.work-item-reverse .work-content { order: 1; }

.work-tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.14);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px; align-self: flex-start;
}

.work-content h3 { font-size: 30px; line-height: 1.25; margin-bottom: 14px; color: #fff; }
.work-content p { color: rgba(255,255,255,.75); font-size: .94rem; line-height: 1.75; margin-bottom: 32px; max-width: 460px; }

.work-visit {
  display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; color: #fff;
  border: 2px solid rgba(255,255,255,.35); border-radius: var(--radius-sm);
  padding: 12px 22px; align-self: flex-start; transition: background var(--t), border-color var(--t), gap var(--t);
}
.work-visit:hover { background: rgba(255,255,255,.15); border-color: #fff; gap: 14px; }
.work-visit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Clients strip — infinite scroll marquee */
.clients-strip { padding: 48px 0; border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); overflow: hidden; position: relative; }
.clients-strip-label { text-align: center; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: var(--grey-500); margin-bottom: 28px; }
/* Fade edges */
.clients-strip::before,
.clients-strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px; pointer-events: none; z-index: 2;
}
.clients-strip::before { left: 0;  background: linear-gradient(to right, #fff 30%, transparent); }
.clients-strip::after  { right: 0; background: linear-gradient(to left,  #fff 30%, transparent); }
/* Marquee track */
.clients-track { display: flex; width: max-content; animation: clients-scroll 32s linear infinite; will-change: transform; }
.clients-track:hover { animation-play-state: paused; }
.clients-inner { display: flex; align-items: center; gap: 0; }
.clients-inner img {
  height: 72px; width: auto; flex-shrink: 0;
  padding: 0 52px;
  border-right: 2px solid rgba(0,0,0,.18);
}
@keyframes clients-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Skills / Tech stack */
.skills-grid { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.skill-item { text-align: center; }
.skill-item img { height: 46px; width: auto; filter: grayscale(100%); opacity: .55; transition: var(--t); margin: 0 auto 8px; }
.skill-item:hover img { filter: grayscale(0); opacity: 1; }
.skill-item span { display: block; font-size: .8rem; color: var(--grey-500); }

/* Process steps */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--red); color: #fff;
  border-radius: 50%; font-size: 1.1rem; font-weight: 700; font-family: var(--font-head);
  margin-bottom: 14px; flex-shrink: 0;
}

/* Portfolio grid (our-work page) */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 12px; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--grey-50); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.06) 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  opacity: 0; transition: opacity var(--t);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: #fff; font-size: 1.06rem; margin-bottom: 3px; }
.portfolio-overlay .portfolio-type { color: rgba(255,255,255,.70); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

/* Company Profile portfolio — square items, 3-col grid */
.portfolio-grid--3col { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid--4col { grid-template-columns: repeat(4, 1fr); }
.portfolio-item--square { aspect-ratio: 1/1; }
.packages-grid.packages-grid--3col { grid-template-columns: repeat(3, 1fr); }

/* Local SEO section */
.local-seo-section { background: var(--red); padding: 56px 0; }
.local-seo-section h2 { color: #fff; text-align: center; margin-bottom: 8px; }
.local-seo-section .local-sub { text-align: center; color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 28px; }
/* Portfolio page SEO cards */
.cp-card { background: #fff; border: 1.5px solid var(--grey-100); border-radius: 16px; padding: 28px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 0; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.cp-card img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 10px; }
.cp-card h3 { font-size: 1.25rem; margin: 0 0 6px; color: var(--navy); }
.cp-card p { font-size: .88rem; color: var(--grey-600); margin: 0; line-height: 1.65; }
.cp-card--why { text-align: left; align-items: flex-start; border-top: 3px solid var(--red); border-radius: 16px; padding: 32px; box-shadow: 0 6px 28px rgba(0,0,0,.08); }
.cp-card--why h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.cp-card--why p { font-size: .92rem; color: var(--grey-600); line-height: 1.72; margin: 0; }
.cp-grid--3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cp-grid--2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }

/* Local SEO plain-text variant */
.local-text-inline { text-align: center; line-height: 2; }
.local-text-inline span { color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600; }
.local-text-inline span:not(:last-child)::after { content: "\00a0\00a0|\00a0\00a0"; color: rgba(255,255,255,.40); }

.local-links-inline { text-align: center; line-height: 1.7; }
.local-links-inline a {
  color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 500;
  display: inline; white-space: nowrap; transition: color var(--t);
}
.local-links-inline a:hover { color: #fff; text-decoration: underline; }
.local-links-inline a:not(:last-child)::after { content: "\00a0\00a0|\00a0\00a0"; color: rgba(255,255,255,.50); }

/* ===== Company Profile Design — Service Page ===== */
.hero-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-img-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.hero-img-wrap img { display: block; width: 100%; height: auto; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 7px 14px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.9); }
.trust-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.cp-value-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.cp-value-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); }
.cp-value-list li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.text-cta { color: var(--red); font-weight: 700; text-decoration: none; }
.text-cta:hover { text-decoration: underline; }
.cp-service-card { background: #fff; border: 1.5px solid var(--grey-100); border-radius: 14px; padding: 20px 20px; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.cp-service-card img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 14px; display: block; }
.cp-service-card h3 { margin-bottom: 12px; line-height: 1; }
.cp-title-top { display: block; font-size: .85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; line-height: 1; margin-bottom: 6px; }
.cp-title-bot { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1; font-family: var(--font-head); }
.cp-service-card p { font-size: .88rem; color: var(--grey-500); line-height: 1.65; margin: 0; }
.cp-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; padding: 0; margin: 32px auto 0; max-width: 900px; }
.cp-checklist li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink); padding: 11px 0; border-bottom: 1px solid var(--grey-100); }
.cp-checklist li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.cp-process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.cp-step { background: #fff; border: 1.5px solid var(--grey-100); border-radius: 14px; padding: 24px 18px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.cp-step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 14px; font-family: var(--font-head); }
.cp-step h3 { font-size: .97rem; color: var(--navy); margin-bottom: 8px; }
.cp-step p { font-size: .84rem; color: var(--grey-500); line-height: 1.6; margin: 0; }
.cp-industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.cp-industry-item { background: #fff; border: 1.5px solid var(--grey-100); border-radius: 10px; padding: 14px 16px; font-size: .9rem; font-weight: 600; color: var(--navy); text-align: center; }
.cp-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cp-package-cta-card { background: #fff; border: 1.5px solid var(--grey-100); border-radius: 16px; padding: 32px 24px; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.cp-package-cta-card h3 { font-size: 1.15rem; color: var(--navy); margin: 8px 0 12px; }
.cp-package-cta-card p { font-size: .88rem; color: var(--grey-500); line-height: 1.65; margin-bottom: 24px; flex: 1; }
.cp-package-cta-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.cp-portfolio-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 36px; }
.cp-portfolio-mini-item { display: block; border-radius: 0; overflow: hidden; aspect-ratio: 1/1; }
.cp-portfolio-mini-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.cp-portfolio-mini-item:hover img { transform: scale(1.04); }
/* ===== Marquee gallery ===== */
.cp-marquee-wrap { overflow: hidden; padding: 4px 0; }
.cp-marquee-track { display: flex; gap: 6px; width: max-content; animation: cpScroll 24s linear infinite; }
.cp-marquee-wrap:hover .cp-marquee-track { animation-play-state: paused; }
.cp-marquee-item { flex-shrink: 0; width: 380px; height: 380px; border-radius: 0; overflow: hidden; }
.cp-marquee-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.cp-marquee-item:hover img { transform: scale(1.05); }
@keyframes cpScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Packages page */
.packages-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; align-items: start; }
.package-card { border-radius: var(--radius); border: 1.5px solid var(--grey-100); overflow: hidden; transition: var(--t); background: #fff; }
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-card.featured { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.package-header { padding: 28px 28px 22px; background: var(--grey-50); }
.package-card.featured .package-header { background: var(--red); }
.popular-tag { display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.package-card.featured .popular-tag { background: rgba(255,255,255,.22); }
.package-name { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.package-card.featured .package-name { color: #fff; }
.package-price { font-family: var(--font-head); font-size: 52px; font-weight: 900; color: var(--red); line-height: 1; margin: 12px 0 3px; }
.package-card.featured .package-price { color: #fff; }
.package-price-note { font-size: .82rem; color: var(--grey-500); margin: 0; }
.package-card.featured .package-price-note { color: rgba(255,255,255,.70); }
.package-body { padding: 24px 28px 28px; }
.package-desc { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.7; }
.package-features { margin-bottom: 28px; }
.package-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--grey-100); color: var(--ink); }
.package-features li:last-child { border: none; }
.feature-check { width: 18px; height: 18px; background: rgba(232,40,99,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); font-size: .65rem; }
.package-card.featured .feature-check { background: var(--red); color: #fff; }
.package-card.package-gold .feature-check { background: #c9952a; color: #fff; }
.pkg-deposit { font-size: .78rem; font-weight: 700; color: var(--grey-500); text-transform: uppercase; letter-spacing: 1px; border-top: 1px solid var(--grey-100); padding-top: 14px; margin-bottom: 18px; }
.package-card.featured .pkg-deposit { color: rgba(232,40,99,.8); }
.package-gold { border-color: #c9952a; box-shadow: 0 0 0 2px #c9952a; }
.package-gold .package-header { background: linear-gradient(135deg, #1a1200 0%, #3d2900 100%); }
.package-gold .package-name { color: #f5c842; }
.package-gold .package-price { color: #f5c842; }
.package-gold .package-price-note { color: rgba(245,200,66,.65); }
.gold-tag { background: #c9952a !important; }

/* Contact page */
.contact-section { padding-top: 6em; padding-bottom: 6em; }
.contact-redesign { display: grid; grid-template-columns: 1fr 1.4fr; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.12); }
.contact-panel-left { background: var(--navy); padding: 52px 44px; display: flex; flex-direction: column; }
.contact-panel-right { background: #fff; padding: 52px 44px; }
.cp-eyebrow { color: var(--red); margin-bottom: 18px; display: block; }
.cp-heading { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 18px; }
.cp-intro { color: rgba(255,255,255,.65); font-size: .94rem; line-height: 1.8; margin-bottom: 40px; }
.cp-link { color: #fff; }
.cp-form-title { font-size: 1.35rem; margin-bottom: 6px; }
.cp-form-sub { font-size: .9rem; color: var(--grey-600); margin-bottom: 28px; }
.req { color: var(--red); }
.cp-recaptcha { margin-bottom: 6px; }
.cp-recaptcha-error { color: #c0002e; font-size: .82rem; margin-bottom: 12px; }
.cp-submit { width: 100%; justify-content: center; margin-top: 8px; }
.cp-status { margin-top: 14px; font-size: .88rem; text-align: center; }
.cp-info-list { display: flex; flex-direction: column; gap: 0; }
.cp-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cp-info-item:last-child { border-bottom: none; }
.cp-info-icon { width: 40px; height: 40px; background: var(--red); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.cp-info-icon svg { width: 20px; height: 20px; }
.cp-info-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.cp-info-value { font-size: .9rem; color: rgba(255,255,255,.85); line-height: 1.55; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.cf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.cf-group label { font-size: .8rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; }
.cf-group input, .cf-group select, .cf-group textarea { padding: 12px 14px; border: 1.5px solid var(--grey-200); border-radius: 8px; font-size: .9rem; font-family: var(--font-body); color: var(--navy); background: #fff; transition: border-color var(--t); width: 100%; }
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,40,99,.08); }
.cf-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; }
.cf-group textarea { resize: vertical; min-height: 120px; }
@media (max-width: 860px) {
  .packages-grid.packages-grid--3col { grid-template-columns: 1fr; }
  .portfolio-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .hero-split-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { max-width: 500px; margin: 0 auto; }
  .cp-process-steps { grid-template-columns: repeat(3, 1fr); }
  .cp-industry-grid { grid-template-columns: repeat(3, 1fr); }
  .cp-service-card { padding: 22px 20px; }
}
@media (max-width: 860px) {
  .contact-redesign { grid-template-columns: 1fr; }
  .contact-panel-left, .contact-panel-right { padding: 36px 28px; }
  .cf-row { grid-template-columns: 1fr; }
}
/* keep old selectors so other pages don't break */
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--grey-100); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--grey-50); transition: var(--t); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(232,40,99,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
#form-status { margin-top: 12px; font-weight: 500; font-size: .88rem; }

/* Legal / content pages */
.content-prose { max-width: 820px; margin: 0 auto; }
.content-prose h2 { margin: 48px 0 14px; }
.content-prose h3 { margin: 32px 0 10px; }
.content-prose ul, .content-prose ol { padding-left: 20px; margin-bottom: 1.4em; }
.content-prose li { list-style: disc; margin-bottom: 8px; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.breadcrumbs a { color: rgba(255,255,255,.45); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: .35; }
.breadcrumbs .current { color: var(--gold); }

/* 404 page */
.notfound-section { min-height: calc(100vh - 80px); display: flex; align-items: center; text-align: center; }
.notfound-content { max-width: 520px; margin: 0 auto; }
.notfound-code { font-family: var(--font-head); font-size: 140px; font-weight: 700; color: var(--red); line-height: 1; display: block; margin-bottom: 16px; }
.notfound-content h1 { font-size: 2rem; margin-bottom: 12px; }
.notfound-content .lead { margin-bottom: 32px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.28); color: #fff; }
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; fill: #fff; }
@media (max-width: 480px) {
  .wa-float { bottom: 18px; right: 18px; padding: 13px 16px; }
  .wa-float span { display: none; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ----- Utilities ----- */
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 28px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0 !important; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.divider { height: 1px; background: var(--grey-100); border: 0; margin: 0; }

/* =============================================
   Backward-compat aliases (inner pages until updated)
   ============================================= */
/* Header — old structure */
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.site-logo img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-list > li:not(:first-child) { position: relative; margin-left: 1px; padding-left: 1px; }
.nav-list > li:not(:first-child)::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background: rgba(0,0,0,.12); }
.nav-list > li > a { display: flex; align-items: center; gap: 5px; padding: 7px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); border-radius: var(--radius-sm); transition: var(--t); }
.nav-list > li > a:hover, .nav-list > li.active > a { color: var(--red); background: none; }
.nav-arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform var(--t); flex-shrink: 0; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; background: var(--navy); box-shadow: var(--shadow-lg); border-radius: var(--radius); border-top: 3px solid var(--red); min-width: 250px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--t); z-index: 200; }
.nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 11px 20px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.85); transition: var(--t); text-transform: none; letter-spacing: 0; border-radius: 0; }
.dropdown-menu li a:hover { color: #fff; background: rgba(255,255,255,.08); padding-left: 26px; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav-contact { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--radius-sm); font-family: var(--font-btn); font-size: .75rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; border: 1.5px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer; transition: var(--t); white-space: nowrap; text-decoration: none; }
.btn-nav-contact:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-nav-cta { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--radius-sm); font-family: var(--font-btn); font-size: .75rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; border: 1.5px solid var(--red); color: #fff; background: var(--red); cursor: pointer; transition: var(--t); white-space: nowrap; text-decoration: none; }
.btn-nav-cta:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; outline: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; border-top: 1px solid var(--grey-100); border-bottom: 3px solid var(--red); box-shadow: var(--shadow); padding: 12px 0 20px; z-index: 999; }
.mobile-nav.open { display: block; }
.mobile-nav > ul > li > a, .mobile-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; padding: 11px 24px; font-size: .95rem; font-weight: 500; color: var(--navy); cursor: pointer; transition: var(--t); border: none; background: none; width: 100%; text-align: left; font-family: var(--font-body); }
.mobile-nav > ul > li > a:hover, .mobile-dropdown-toggle:hover { color: var(--red); background: rgba(232,40,99,.06); }
.mobile-dropdown-menu { display: none; background: var(--grey-50); padding: 4px 0; }
.mobile-dropdown-menu.open { display: block; }
.mobile-dropdown-menu li a { display: block; padding: 10px 40px; font-size: .88rem; color: var(--ink); transition: var(--t); }
.mobile-dropdown-menu li a:hover { color: var(--red); }
.mobile-nav-cta { padding: 16px 24px 4px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* Section header — old */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(32px,4vw,52px); font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: 16px; }
.section-header .lead { max-width: 620px; margin: 0 auto; color: var(--ink-soft); }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section-label::before { content: ''; display: block; width: 26px; height: 3px; background: var(--gold); border-radius: 3px; flex-shrink: 0; }

/* Dark section — old */
.section-dark { background: var(--navy); color: rgba(255,255,255,.8); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-header h2 { color: #fff; }

/* Feature items — old */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 28px; }
.feature-item { text-align: center; padding: 36px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: var(--t); }
.section-dark .feature-item { background: rgba(255,255,255,.05); box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-dark .feature-item:hover { background: rgba(255,255,255,.08); }
.feature-icon { width: 64px; height: 64px; background: rgba(232,40,99,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--red); }
.section-dark .feature-icon { background: rgba(255,255,255,.1); }
.feature-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature-item h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--navy); }
.section-dark .feature-item h3 { color: #fff; }
.feature-item p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.section-dark .feature-item p { color: rgba(255,255,255,.65); }

/* Service cards — old */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 10px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; border-top: 3px solid var(--red); box-shadow: var(--shadow-sm); transition: var(--t); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { width: 90px; height: 90px; background: none; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.service-icon svg { width: 40px; height: 40px; stroke: var(--red); fill: none; stroke-width: 2; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); flex: 1; margin-bottom: 24px; font-size: .94rem; }
.service-card .btn { align-self: flex-start; }

/* Process — old */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 28px; }
.process-step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: var(--t); overflow: hidden; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* Old fade-in — mapped to reveal */
.fade-in { opacity: 1; transform: none; }
.js-ready .fade-in { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js-ready .fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: .10s; }
.fade-in.delay-2 { transition-delay: .20s; }
.fade-in.delay-3 { transition-delay: .30s; }

/* Old section-bg */
.section-bg { background: var(--grey-50); }

/* Section hero — old (about/inner pages) */
.page-hero-old { background: var(--navy); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero-old::before { content: ''; position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle,rgba(232,40,99,.15) 0%,transparent 70%); }
.page-hero-old::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.page-hero-old .container { position: relative; z-index: 2; }
.page-hero-old h1 { color: #fff; margin-bottom: 12px; }
.page-hero-old .lead { color: rgba(255,255,255,.72); max-width: 580px; margin: 0; }

/* Old footer grid */
.footer-col h4 { color: #fff; font-size: 1.35rem; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #888; font-size: .88rem; transition: var(--t); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: .88rem; color: #888; }
.footer-contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; line-height: 1; }
.footer-contact-item a { color: #888; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 16px; }

/* CTA section — old */
.cta-section { background: var(--red); color: #fff; text-align: center; padding: 88px 0; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section .lead { color: rgba(255,255,255,.88); max-width: 540px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   Website Design Service Page
   ============================================= */
.wd-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; padding: 16px 0 8px; }
.wd-intro-left .eyebrow { margin-bottom: 18px; }
.wd-intro-left h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.0; margin-bottom: 0; }
.wd-intro-right { padding-top: 8px; }
.wd-intro-right p { font-size: .94rem; color: var(--grey-600); margin-bottom: 18px; }
.wd-intro-right p:last-child { margin-bottom: 0; }
.wd-intro-accent { display: inline-block; background: var(--red); color: #fff; border-radius: 4px; padding: 2px 8px; }

.wd-feat-card { position: relative; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--grey-100); border-radius: 14px; overflow: hidden; transition: box-shadow var(--t), transform var(--t); }
.wd-feat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.wd-feat-num { font-family: var(--font-head); font-size: 5rem; font-weight: 900; line-height: 1; color: var(--red); opacity: .07; position: absolute; top: 12px; right: 16px; pointer-events: none; transition: opacity .35s; }
.wd-feat-card:hover .wd-feat-num { opacity: .12; }
.wd-feat-icon { width: 5rem; height: 5rem; background: none; display: grid; place-items: center; margin-bottom: 10px; }
.wd-feat-icon img { width: 100%; height: 100%; object-fit: contain; }
.wd-feat-icon svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 2; fill: none; }
.wd-feat-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.wd-feat-card p { font-size: .9rem; color: var(--grey-600); margin: 0; line-height: 1.6; }

.wd-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.wd-why-left h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 20px; }
.wd-why-left p { color: var(--grey-600); margin-bottom: 16px; font-size: 1rem; }
.wd-why-left p:last-of-type { margin-bottom: 32px; }
.wd-why-points { display: flex; flex-direction: column; gap: 20px; }
.wd-why-point { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--grey-50); border-radius: 12px; border-left: 3px solid var(--red); }
.wd-why-point-icon { width: 56px; height: 56px; background: var(--red); border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.wd-why-point-icon svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 2; fill: none; }
.wd-why-point-text strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.wd-why-point-text span { font-size: .88rem; color: var(--grey-500); line-height: 1.5; }

/* Ecommerce Why Us — stylish 2-col */
.ec-why-section { position: relative; background: #fff; overflow: hidden; }
.ec-why-section::before { content: ''; position: absolute; inset: 0; background: url('../images/dot_map_2.png') center / cover no-repeat; opacity: .07; pointer-events: none; z-index: 0; }
.ec-why-section > .container { position: relative; z-index: 1; }
.ec-why-grid { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.10); }
.ec-why-left { background: var(--navy); color: #fff; padding: 4em; display: flex; flex-direction: column; justify-content: flex-start; }
.ec-why-left .eyebrow { color: var(--red); margin-bottom: 20px; }
.ec-why-left h2 { color: #fff; font-size: clamp(18px, 2vw, 28px); line-height: 1.2; margin-bottom: 22px; white-space: normal; }
.ec-why-left p { color: rgba(255,255,255,.72); font-size: .94rem; margin-bottom: 16px; line-height: 1.75; }
.ec-why-left p:last-of-type { margin-bottom: 36px; }
.ec-why-right { display: flex; flex-direction: column; background: #fff; }
.ec-why-stat { padding: 4em; display: flex; gap: 22px; align-items: flex-start; border-bottom: 1px solid var(--grey-100); flex: 1; }
.ec-why-stat:last-child { border-bottom: none; }
.ec-why-stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--red); line-height: 1; flex-shrink: 0; min-width: 80px; }
.ec-why-stat strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.ec-why-stat span { font-size: .88rem; color: var(--grey-500); line-height: 1.6; }

.industry-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.ind-tag { background: #fff; color: var(--navy); font-size: .82rem; font-weight: 700; padding: 8px 18px; border-radius: 50px; border: 1.5px solid var(--grey-100); font-family: var(--font-head); letter-spacing: .2px; transition: border-color var(--t), background var(--t); }
.ind-tag:hover { border-color: var(--red); background: rgba(232,40,99,.04); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > *::before { display: none; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 80px 0 auto 0; background: #fff; border-bottom: 1px solid var(--grey-100);
    padding: 16px 18px 24px; display: none; flex-direction: column; gap: 5px; z-index: 55; box-shadow: var(--shadow);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a, .m-group-toggle { padding: 11px 12px; font-family: var(--font-head); font-size: .82rem; line-height: 1.2; font-weight: 700; color: var(--navy); border-radius: 7px; text-transform: uppercase; letter-spacing: .4px; }
  .mobile-menu > a:not(.btn):hover, .m-group-toggle:hover { background: var(--navy); color: #fff; }
  .mobile-menu > a.active:not(.btn), .m-sub a.active { background: #000; color: #fff; }
  .m-sub { margin: 1px 0 6px 10px; padding-left: 10px; border-left-color: var(--grey-100); gap: 2px; }
  .m-sub a { padding: 10px 12px; font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--navy); border-radius: 7px; text-transform: uppercase; letter-spacing: .4px; }
  .mobile-menu .btn { margin-top: 8px; padding: 12px 16px; font-family: var(--font-head); font-size: .82rem; }
  /* Old hamburger */
  .main-nav { display: none; }
  .header-actions { display: none; }
  .hamburger { display: flex; }
  /* Grids */
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats-card { max-width: 460px; }
  .hero h1 { font-size: 42px; line-height: 44px; }
  h2 { font-size: 34px; line-height: 38px; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .work-item { grid-template-columns: 1fr; min-height: 0; }
  .work-item-reverse .work-image { order: 0; }
  .work-item-reverse .work-content { order: 1; }
  .work-image { aspect-ratio: unset; min-height: 0; height: auto; overflow: visible; }
  .work-image img { height: auto; object-fit: fill; }
  .work-image::after, .work-item-reverse .work-image::after { display: none; }
  .work-content { padding: 36px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .wd-intro { grid-template-columns: 1fr; gap: 28px; }
  .wd-why-grid { grid-template-columns: 1fr; gap: 40px; }
  .ec-why-grid { grid-template-columns: 1fr; border-radius: 14px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 34px; line-height: 38px; }
  h2 { font-size: 28px; line-height: 32px; }
  .hstat .num { font-size: 38px; line-height: 38px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .btn-row .btn { flex: 1; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .contact-form-wrap { padding: 24px; }
  .local-links-grid { grid-template-columns: repeat(2,1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .packages-grid.packages-grid--3col { grid-template-columns: 1fr; }
  .portfolio-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .faq--2col { grid-template-columns: 1fr; }
  .cp-grid--3col { grid-template-columns: 1fr; }
  .cp-grid--2col { grid-template-columns: 1fr; }
  .cp-card { padding: 28px 20px; }
  .cp-checklist { grid-template-columns: 1fr; gap: 0; }
  .cp-package-grid { grid-template-columns: 1fr; }
  .cp-portfolio-mini { grid-template-columns: 1fr; }
  .cp-process-steps { grid-template-columns: repeat(2, 1fr); }
  .cp-industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .fade-in { opacity: 1; transform: none; }
}
