/* ================================================================
   ProDigi Media — Main Stylesheet
   Brand: #1D9E75 (blue) · #001F5C (dark) · #B8860B (gold)
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1B2E42;
  --green:      #1D9E75;
  --green-light:#E1F5EE;
  --green-mid:  #0F6E56;
  --amber:      #BA7517;
  --amber-light:#FAEEDA;
  --text:       #1a1a1a;
  --muted:      #5a6472;
  --border:     #e2e6ea;
  --bg:         #FFFFFF;
  --bg-soft:    #f7f9fb;
  --display:    'Playfair Display', Georgia, serif;
  --body:       'DM Sans', system-ui, sans-serif;
  --max-w:      1100px;
  --nav-h:      64px;
  /* Aliases so old blue/gold classes still work */
  --blue:       #0D1B2A;
  --blue-dark:  #0a1520;
  --blue-mid:   #1B2E42;
  --blue-light: #E1F5EE;
  --blue-pale:  #f7f9fb;
  --gold:       #BA7517;
  --gold-light: #FAEEDA;
  --gold-dark:  #8B5010;
}

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  padding-top: var(--nav-h);
  /* Footer always at bottom */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
}
#site-footer {
  flex-shrink: 0;
}

/* ================================================================
   HEADER + NAV  — fixed top, hides on scroll-down, shows on scroll-up
   ================================================================ */


#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#site-header.nav-hidden {
  transform: translateY(-100%);
}
#main-nav {
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 1.5rem;
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* Class added by JS when scrolling down */




/* Logo */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img { display: none; }
.nav-logo-text {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--green); }

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 600; }

/* CTA button */
.nav-cta {
  background: var(--green-mid);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 7px;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--green) !important; }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  display: block;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
/* Hamburger → X animation */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   MOBILE NAV PANEL  — fixed below header, slides down
   ================================================================ */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1rem 5%;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Hidden by default */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.mobile-nav.open {
  max-height: 600px;
  opacity: 1;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover { color: var(--blue-dark); padding-left: 6px; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav-cta {
  background: var(--green-mid) !important;
  color: #fff !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 600 !important;
  margin-top: 0.5rem !important;
  border-bottom: none !important;
}
.mobile-nav-cta:hover { background: var(--blue-dark) !important; padding-left: 1.25rem !important; }

/* ================================================================
   LAYOUT
   ================================================================ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.eyebrow.blue, .eyebrow.green { background: var(--blue-light); color: var(--blue-dark); }
.eyebrow.gold, .eyebrow.amber { background: var(--gold-light); color: var(--gold-dark); }
.eyebrow.white { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.22); }

h1.display { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h2.display { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy); }
.lead { font-size: 1.08rem; line-height: 1.85; font-weight: 300; }
.body-sm { font-size: 0.88rem; line-height: 1.8; color: var(--muted); }
em.highlight { font-style: italic; color: #5DCAA5; }
em.amber { font-style: italic; color: #FAC775; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  font-family: var(--body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-navy, .btn-blue, .btn-green { background: var(--blue); color: #fff; }
.btn-navy:hover, .btn-blue:hover, .btn-green:hover { background: var(--blue-dark); }
.btn-gold, .btn-amber { background: var(--gold); color: #fff; }
.btn-gold:hover, .btn-amber:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.88); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-pale); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.88rem; }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 4px 28px rgba(29,158,117,0.1); }
.card-amber:hover, .card-gold:hover { border-color: var(--gold); box-shadow: 0 4px 28px rgba(184,134,11,0.12); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card-icon.blue, .card-icon.green { background: var(--blue-light); }
.card-icon.blue svg, .card-icon.green svg { stroke: var(--blue); }
.card-icon.gold, .card-icon.amber { background: var(--gold-light); }
.card-icon.gold svg, .card-icon.amber svg { stroke: var(--gold); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; }

/* ================================================================
   NDA STRIP
   ================================================================ */
.nda {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(13,27,42,0.05);
  border: 1px solid rgba(13,27,42,0.12);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  color: var(--navy);
}
.nda svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.nda.dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.88); }
.nda.dark svg { stroke: rgba(255,255,255,0.88); }

/* ================================================================
   HERO  (homepage)
   ================================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 60px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2.5rem; display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-num { font-family: var(--display); font-size: 2rem; font-weight: 600; color: #fff; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero { padding: 70px 5% 60px; }
.page-hero.bg-blue,
.page-hero.bg-navy { background: var(--navy); }
.page-hero.reviews-hero { background: linear-gradient(135deg, #26215C 0%, #412402 100%); }
.page-hero.soft-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.page-hero.soft-hero h1.display,
.page-hero.soft-hero .lead { color: var(--blue); }
.page-hero .lead { color: rgba(255,255,255,0.68); }

/* ================================================================
   SECTOR STRIP
   ================================================================ */
.sector-strip { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 26px 5%; }
.sector-strip-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.sector-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sector-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pill { background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 4px 14px; font-size: 0.78rem; color: var(--navy); font-weight: 500; }

/* ================================================================
   SERVICE LINK
   ================================================================ */
.service-link { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 500; text-decoration: none; margin-top: 1.25rem; }
.service-link.blue, .service-link.green { color: var(--blue); }
.service-link.gold, .service-link.amber { color: var(--gold); }

/* ================================================================
   VERTICAL CARDS
   ================================================================ */
.v-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.v-card.top-blue, .v-card.top-green { border-top: 3px solid var(--blue); }
.v-card.top-gold, .v-card.top-amber { border-top: 3px solid var(--gold); }
.v-card.top-dark, .v-card.top-navy { border-top: 3px solid var(--blue-dark); }
.v-card.top-mid, .v-card.top-teal { border-top: 3px solid var(--blue-mid); }
.v-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.v-stakes { font-size: 0.78rem; color: var(--blue); font-weight: 500; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ================================================================
   RATING BOXES
   ================================================================ */
.rating-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.rating-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center; }
.rating-box.bad { border-top: 3px solid #C0392B; }
.rating-box.good { border-top: 3px solid var(--blue); }
.rating-big { font-family: var(--display); font-size: 2.5rem; font-weight: 600; margin-bottom: 0.25rem; }
.rating-big.bad { color: #C0392B; } .rating-big.good { color: var(--blue); }

/* ================================================================
   VS TABLE
   ================================================================ */
.vs-table { background: var(--bg-soft); border-radius: 14px; border: 1px solid var(--border); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 0.9rem 1.25rem; font-size: 0.85rem; border-bottom: 1px solid var(--border); align-items: center; }
.vs-row:last-child { border-bottom: none; }
.vs-row.head { background: var(--navy); color: #fff; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.04em; }
.vs-yes { color: var(--blue); font-weight: 600; text-align: center; }
.vs-no { color: #C0392B; text-align: center; }

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.steps { margin-top: 3rem; }
.step { display: flex; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-family: var(--display); font-size: 2rem; font-weight: 600; color: #9FE1CB; line-height: 1; min-width: 44px; }
.step h4 { font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: 5px; }
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.8; }

/* ================================================================
   FEAT NUM
   ================================================================ */
.feat-num { font-size: 0.72rem; font-weight: 500; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }

/* ================================================================
   CASE STUDIES
   ================================================================ */
.cases { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.case { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.case-meta { border-right: 1px solid var(--border); padding-right: 2rem; }
.case-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.case-tag.blue, .case-tag.green { color: var(--blue); } .case-tag.gold, .case-tag.amber { color: var(--gold); }
.case-stats { display: flex; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.case-stat-num { font-family: var(--display); font-size: 1.75rem; font-weight: 600; }
.case-stat-num.blue, .case-stat-num.green { color: var(--blue); } .case-stat-num.gold, .case-stat-num.amber { color: var(--gold); }
.case-stat-label { font-size: 0.75rem; color: var(--muted); }
.case-nda { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--muted); margin-top: 1rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; }
.case-nda svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 2; }
.case-content h3, .case-content h4 { font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-bottom: 0.4rem; margin-top: 1rem; }
.case-content h3:first-child, .case-content h4:first-child { margin-top: 0; }

/* ================================================================
   ABOUT
   ================================================================ */
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pillar { background: var(--bg-soft); border-radius: 10px; padding: 1.25rem; border: 1px solid var(--border); }
.pillar h4 { font-size: 0.9rem; font-weight: 600; color: var(--blue); margin-bottom: 3px; }
.about-values { list-style: none; }
.about-values li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0.9rem; font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.65; }
.about-values li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(29,158,117,0.8); margin-top: 8px; flex-shrink: 0; }

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-form-wrap { background: var(--bg-soft); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,158,117,0.08); }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; background: var(--navy); color: #fff; border: none; padding: 0.9rem; border-radius: 8px; font-family: var(--body); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.form-submit:hover:not(:disabled) { background: var(--green-mid); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-success { display: none; background: var(--green-light); border: 1px solid rgba(29,158,117,0.3); border-radius: 8px; padding: 1.25rem; text-align: center; color: var(--green-mid); font-size: 0.9rem; margin-top: 1rem; }
.form-error { display: none; background: #fdecea; border: 1px solid rgba(192,57,43,0.25); border-radius: 8px; padding: 1.25rem; text-align: center; color: #C0392B; font-size: 0.9rem; margin-top: 1rem; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.9rem; }
.contact-item a { color: var(--muted); text-decoration: none; } .contact-item a:hover { color: var(--blue); }
.contact-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.contact-icon.wa { background: #E8FBF0; } .contact-icon.wa svg { stroke: #25D366; }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 1.25rem 1.5rem; text-align: left; font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background 0.2s; }
.faq-q:hover { background: var(--bg-soft); }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s, background 0.2s; }
.faq-icon svg { width: 10px; height: 10px; stroke: var(--green-mid); fill: none; stroke-width: 2.5; transition: transform 0.25s; }
.faq-item.open .faq-icon { background: var(--green); transform: rotate(180deg); }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ================================================================
   LINK STRIP (internal crosslink)
   ================================================================ */
.link-strip { background: var(--green-light); border: 1px solid rgba(29,158,117,0.2); border-radius: 12px; padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.link-strip p { font-size: 0.9rem; color: var(--navy); font-weight: 500; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band { background: var(--navy); padding: 70px 5%; }
.cta-band-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }

/* ================================================================
   CMO CARDS
   ================================================================ */
.cmo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }

/* ================================================================
   FOOTER  — always at bottom (flex child of body)
   ================================================================ */

.footer-top { padding: 3.5rem 5% 2.5rem; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Footer brand (logo + tagline) */
.footer-brand {}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 0.85rem; }
.footer-logo-img { height: 44px; width: 44px; object-fit: contain; border-radius: 5px; display: block; }
.footer-logo-text { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: #fff; line-height: 1.2; }
.footer-logo-text span { color: var(--green); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.6; max-width: 210px; margin-bottom: 0.75rem; }
.footer-email-link { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-email-link:hover { color: #fff; }

/* Footer columns */
.footer-col h4 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col a { display: block; color: rgba(255,255,255,0.42); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-location { font-size: 0.82rem; color: rgba(255,255,255,0.28); margin-top: 0.6rem; }

/* Footer bottom bar */
.footer-bottom { background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.07); padding: 1.1rem 5%; }
.footer-bottom-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-nda-note { color: rgba(255,255,255,0.25); }

/* ================================================================
   UTILITIES
   ================================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue); } .text-gold { color: var(--gold); }
.text-muted { color: var(--muted); } .text-white { color: #fff; }
.bg-soft { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cmo-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hide desktop nav items, show hamburger */
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }

  .grid-2 { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .case { grid-template-columns: 1fr !important; }
  .case-meta { border-right: none !important; padding-right: 0 !important; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }

  .hero { min-height: auto; padding: 70px 5% 50px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 44px 0; }
  .about-pillars { grid-template-columns: 1fr; }
  .rating-grid { grid-template-columns: 1fr; }
  .link-strip { flex-direction: column; }
  .cmo-cards { grid-template-columns: 1fr !important; }

  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 1.75rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr !important; }
  h1.display { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
}

/* ================================================================
   APPLE-STYLE DESIGN ENHANCEMENTS
   ================================================================ */

/* Smooth everything */
*, *::before, *::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection { background: rgba(29,158,117,0.15); color: var(--blue-dark); }

/* ── Apple-style hero floating orbs ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -150px; right: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(184,134,11,0.12) 0%, transparent 70%);
  bottom: 60px; left: -80px;
  animation: orbFloat2 10s ease-in-out infinite;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orbFloat3 7s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translateY(0) translateX(0); }
  33%      { transform: translateY(-15px) translateX(10px); }
  66%      { transform: translateY(10px) translateX(-10px); }
}

/* ── Apple-style stat counter glow ── */
.stat-num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  position: relative;
}
.stat-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 8px;
  background: rgba(29,158,117,0.06);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-stats > div:hover .stat-num::after { opacity: 1; }

/* ── Rotating gradient ring (used on service cards) ── */
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ring-anim {
  position: relative;
  display: inline-block;
}
.ring-anim::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: conic-gradient(from 0deg, var(--blue), var(--gold), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
  animation: ringRotate 3s linear infinite;
  z-index: -1;
}
.ring-anim:hover::before { opacity: 1; }

/* ── Apple-style card hover lift ── */
.card {
  transition: box-shadow 0.3s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.3s ease,
              transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29,158,117,0.1) !important;
}

/* ── Animated underline links ── */
.anim-link {
  position: relative;
  text-decoration: none;
}
.anim-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1.5px;
  background: currentColor;
  transition: right 0.3s ease;
}
.anim-link:hover::after { right: 0; }

/* ── Apple-style number ticker (CSS only) ── */
.ticker-num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}

/* ── Glassmorphism card variant ── */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
}

/* ── Scroll progress bar ── */


/* ── Apple-style section divider ── */
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ── Animated feature icon ── */
.feat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.feat-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-light), transparent);
  transition: opacity 0.3s;
}
.feat-icon-wrap:hover::before { opacity: 0; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); }
.feat-icon-wrap svg { position: relative; z-index: 1; width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; transition: stroke 0.3s; }
.feat-icon-wrap:hover svg { stroke: #fff; }

/* ── FOOTER redesign — Apple footer style ── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.footer-top {
  padding: 4rem 5% 3rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-logo-img { display: none; }
.footer-logo-text {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
  display: inline-block;
  margin-bottom: 0.9rem;
}
.footer-logo-text span { color: var(--green); }
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 220px;
  margin-bottom: 1.5rem;
}

/* ── Professional contact links in footer ── */
/* footer-contact-links replaced by footer-icon-links */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  font-weight: 500;
  width: fit-content;
  min-width: 200px;
}
.footer-contact-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateX(3px);
}
.footer-contact-item .fc-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-contact-item.fc-email .fc-icon { background: rgba(29,158,117,0.4); }
.footer-contact-item.fc-wa .fc-icon { background: rgba(37,211,102,0.2); }
.footer-contact-item .fc-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-contact-item .fc-type {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.footer-contact-item .fc-val {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-contact-item:hover .fc-val { color: #fff; }

/* ── Footer col ── */
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s, transform 0.2s;
  width: fit-content;
}
.footer-col a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col a:hover::before { background: var(--green); transform: scale(1.5); }
.footer-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.6rem;
  padding-left: 10px;
}

/* ── Footer bottom ── */
.footer-bottom {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.2rem 5%;
  position: relative;
  z-index: 1;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.79rem;
  color: rgba(255,255,255,0.25);
}
.footer-nda-note { color: rgba(255,255,255,0.2); }

/* ── Footer bg orbs ── */
.footer-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.footer-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,158,117,0.15) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.footer-orb-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(186,117,23,0.1) 0%, transparent 70%);
  top: 20px; left: 10%;
  animation: orbFloat2 9s ease-in-out infinite;
}

/* ── Responsive footer ── */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-contact-item { min-width: 100%; }
}

/* ── Footer icon-only contact buttons (side by side) ── */
.footer-icon-links {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.footer-icon-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}
.footer-icon-btn.footer-icon-wa {
  color: #25D366;
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.2);
}
.footer-icon-btn.footer-icon-wa:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.4);
  color: #25D366;
}
