/* ============================================================
   SlyQuest Theme — Main Stylesheet
   Creative Technology & Marketing Agency
   ============================================================ */

/* ---- Brand Fonts -------------------------------------------
   Renogare & KeepCalm are loaded only in the SVG logo files.
   The website uses Poppins (loaded via Google Fonts in functions.php).

   Weight map:
     400 Regular  → body text, captions
     500 Medium   → nav links, labels, meta text
     600 SemiBold → buttons, sub-headings, badges
     700 Bold     → H3 / H4
     800 ExtraBold→ H2 section headings
     900 Black    → H1 hero headline
   ------------------------------------------------------------ */

/* ---- Variables -------------------------------------------- */
:root {
  --color-light-bg: #eeeeee;
  --color-primary:  #00adb5;
  --color-dark:     #111111;
  --color-white:    #ffffff;
  --color-soft-gray:#d4d4d4;
  --color-accent:   #00dee8;
  --color-deep-blue:#18477f;
  --color-coral:    #ef443b;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --section-py: 100px;
  --container-max: 1280px;
  --container-px: 40px;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 6px rgba(0,0,0,.06);
  --shadow-sm: 0 4px 20px rgba(0,0,0,.08);
  --shadow-md: 0 12px 40px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.16);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: .18s ease;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Utility ---------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-coral);
  background: rgba(239,68,59,.08);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.section-label--light {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}
.text-center { text-align: center; }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--color-dark);
}
/* H1 hero → Poppins Black (900) for maximum impact */
h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 900; }
/* H2 section headings → Poppins ExtraBold (800) */
h2 { font-size: clamp(28px, 3.8vw, 54px); font-weight: 800; }
/* H3 card/subsection → Poppins Bold (700) */
h3 { font-size: clamp(17px, 2vw, 23px);   font-weight: 700; }
/* H4 smaller labels → Poppins SemiBold (600) */
h4 { font-size: 18px; font-weight: 600; }
p  { font-size: 16px; line-height: 1.78; color: #555; }
.lead { font-size: 18px; line-height: 1.72; color: #555; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-coral);
  color: #fff;
  border-color: var(--color-coral);
}
.btn-primary:hover {
  background: #d63830;
  border-color: #d63830;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(239,68,59,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border-color: rgba(17,17,17,.25);
}
.btn-secondary:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
  transform: translateY(-3px);
}
.btn-white {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--color-dark);
  transform: translateY(-3px);
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Section spacing -------------------------------------- */
section { padding: var(--section-py) 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  /* Always white — nav links are readable on any page background */
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .35s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo-img {
  height: 42px;
  width: 42px;
  display: block;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.site-logo:hover .site-logo-img { opacity: .82; }
/* Brand name next to symbol */
.logo-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: .01em;
  line-height: 1;
}
.logo-name em { color: var(--color-primary); font-style: normal; }
/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover { color: var(--color-primary); background: rgba(0,173,181,.06); }
/* Default WordPress walker output — same appearance as .nav-link */
.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a { color: var(--color-primary); background: rgba(0,173,181,.06); }
/* Mobile nav list */
.mobile-nav-list { list-style: none; }
.mobile-nav-list li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-nav-list li a,
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.mobile-nav-list li a:hover,
.mobile-nav-link:hover { color: var(--color-primary); }
.mobile-nav-list li.current-menu-item > a { color: var(--color-primary); }
/* Header CTA */
.header-cta { margin-left: 20px; }
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-xs);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: #fff;
  padding: 20px 24px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  z-index: 8999;
  border-top: 1px solid var(--color-soft-gray);
}
.mobile-menu.is-open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mobile-nav-link:hover { color: var(--color-primary); }
.mobile-cta { display: block; margin-top: 20px; text-align: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-light-bg);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
/* Dot grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.05) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Ambient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-blob-1 {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(0,173,181,.14), transparent 70%);
}
.hero-blob-2 {
  width: 500px; height: 500px;
  bottom: -180px; left: -180px;
  background: radial-gradient(circle, rgba(239,68,59,.09), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
/* Content column */
.hero-content { max-width: 600px; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-heading { margin-bottom: 24px; }
.hero-body {
  font-size: 18px;
  line-height: 1.72;
  color: #555;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
/* Metric pills */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 440px;
}
.metric-pill {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.metric-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.metric-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.metric-value sup { font-size: 16px; }
.metric-label { font-size: 12px; color: #888; font-weight: 500; }

/* Visual column */
.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-image-frame {
  background: linear-gradient(135deg, #18477f 0%, #0d2a5a 55%, #111 100%);
  border-radius: var(--radius-lg);
  height: 520px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* Image frame decorative glows */
.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,222,232,.22), transparent 68%);
  border-radius: 50%;
}
.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(239,68,59,.18), transparent 68%);
  border-radius: 50%;
}
/* Grid lines for frame styling */
.frame-grid-h, .frame-grid-v {
  position: absolute;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.frame-grid-h { left: 0; right: 0; height: 1px; top: 33%; }
.frame-grid-h:last-of-type { top: 66%; }
.frame-grid-v { top: 0; bottom: 0; width: 1px; left: 33%; }
.frame-grid-v:last-of-type { left: 66%; }
/* Placeholder copy inside frame */
.hero-frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
}
.hero-frame-placeholder svg {
  width: 56px; height: 56px;
  color: rgba(255,255,255,.18);
}
.hero-frame-placeholder p {
  font-size: 13px;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
  text-transform: uppercase;
  max-width: 200px;
}
/* Hero image — src: assets/images/hero-marketing-professional.png */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
/* Floating stat cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 165px;
  z-index: 10;
  animation: floatCard 4s ease-in-out infinite alternate;
}
.float-card:nth-child(2) { animation-delay: -2s; animation-direction: alternate-reverse; }
.float-card:nth-child(3) { animation-delay: -1s; }
.float-card:nth-child(4) { animation-delay: -3s; animation-direction: alternate-reverse; }
@keyframes floatCard {
  from { transform: translateY(0px); }
  to   { transform: translateY(-8px); }
}
.float-card-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-icon--teal  { background: rgba(0,173,181,.12); color: var(--color-primary); }
.float-card-icon--coral { background: rgba(239,68,59,.1);  color: var(--color-coral); }
.float-card-icon--blue  { background: rgba(24,71,127,.12); color: var(--color-deep-blue); }
.float-card-icon svg { width: 18px; height: 18px; }
.float-card-value {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}
.float-card-label { font-size: 11px; color: #999; margin-top: 2px; }
.float-card-1 { top: -18px; left: -36px; }
.float-card-2 { bottom: 70px; left: -44px; }
.float-card-3 { top: 36px; right: -36px; }
.float-card-4 { bottom: -18px; right: 16px; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--color-white); }
.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.services-header p { margin-top: 18px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--color-light-bg);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
  border: 1px solid rgba(0,0,0,.04);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
  z-index: 0;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: white;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--color-coral); }
.service-icon svg { width: 26px; height: 26px; stroke: white; }
.service-title {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-desc {
  font-size: 14px; line-height: 1.75;
  color: #666;
  margin-bottom: 26px;
}
.service-link {
  font-size: 14px; font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: 10px; color: var(--color-coral); }
.service-link svg { width: 14px; height: 14px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose { background: var(--color-light-bg); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* Visual side */
.why-visual { position: relative; }
.why-image-frame {
  background: linear-gradient(145deg, #18477f, #0d2a5a);
  border-radius: var(--radius-lg);
  height: 500px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image-frame::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,222,232,.2), transparent 68%);
  border-radius: 50%;
}
.why-frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
}
.why-frame-placeholder svg { width: 52px; height: 52px; color: rgba(255,255,255,.18); }
.why-frame-placeholder p { font-size: 12px; color: rgba(255,255,255,.25); text-transform: uppercase; letter-spacing: .06em; }
/* Agency established badge */
.why-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--color-coral);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 140px;
}
.why-badge-number {
  font-family: var(--font-heading);
  font-size: 38px; font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.why-badge-label { font-size: 12px; opacity: .9; font-weight: 500; }
/* Content side */
.why-content .lead { margin: 20px 0 32px; }
.why-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; }
.why-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.check-badge {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,173,181,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-badge svg { width: 12px; height: 12px; color: var(--color-primary); }

/* ============================================================
   SMART ADVANTAGES
   ============================================================ */
.advantages { background: var(--color-deep-blue); }
.advantages-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.advantages-header h2 { color: var(--color-white); margin-top: 0; }
.advantages-header p  { color: rgba(255,255,255,.6); margin-top: 18px; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.advantage-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.advantage-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,222,232,.35);
  transform: translateY(-6px);
}
.adv-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(0,222,232,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--color-accent);
}
.adv-icon svg { width: 22px; height: 22px; }
.adv-title {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}
.adv-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.55); }
/* Stats row */
.advantages-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 60px;
}
.advantages-stats .adv-stat-item { text-align: center; padding: 0 20px; }
.advantages-stats .adv-stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.1);
}
.adv-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}
.adv-stat-value em { color: var(--color-accent); font-style: normal; }
.adv-stat-label { font-size: 15px; color: rgba(255,255,255,.55); }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process { background: var(--color-white); }
.process-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.process-header p { margin-top: 18px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-coral));
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 0 0 8px rgba(0,173,181,.1);
  transition: background var(--transition), box-shadow var(--transition);
}
.process-step:hover .process-num {
  background: var(--color-coral);
  box-shadow: 0 0 0 8px rgba(239,68,59,.12);
}
.process-step:last-child .process-num {
  background: var(--color-coral);
  box-shadow: 0 0 0 8px rgba(239,68,59,.12);
}
.process-title {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.process-desc { font-size: 14px; line-height: 1.75; color: #666; }

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-preview { background: var(--color-light-bg); }
.blog-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.blog-header-row .blog-header-text { max-width: 520px; }
.blog-header-row h2 { margin-top: 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 210px;
  background: linear-gradient(135deg, #18477f, #0d2a5a);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* Replace with: background-image: url(...); background-size: cover; */
.blog-category-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--color-coral);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 12px; color: #aaa;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-card-excerpt { font-size: 14px; line-height: 1.75; color: #777; flex: 1; margin-bottom: 22px; }
.blog-read-more {
  font-size: 14px; font-weight: 600;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.blog-card:hover .blog-read-more { gap: 10px; color: var(--color-coral); }
.blog-read-more svg { width: 14px; height: 14px; }
.blog-cta-row { text-align: center; margin-top: 52px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #161b2e 50%, #18477f 100%);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -250px; right: -250px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,173,181,.18), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -250px; left: -250px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,68,59,.12), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 { color: var(--color-white); margin-bottom: 20px; }
.cta-inner p  { color: rgba(255,255,255,.65); font-size: 18px; line-height: 1.7; margin-bottom: 44px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d0d0d;
  padding-top: 80px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
/* Brand column */
.footer-brand { }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
  color: var(--color-white);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  display: block;
}
.footer-logo-text em { color: var(--color-primary); font-style: normal; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-contact-stack { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-link {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color var(--transition-fast);
}
.footer-contact-link:hover { color: var(--color-primary); }
.footer-contact-link svg { width: 14px; height: 14px; flex-shrink: 0; }
/* Social icons — brand-colored circles */
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.social-btn svg { width: 18px; height: 18px; display: block; }
/* Individual brand colours */
.social-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}
.social-btn--facebook  { background: #1877F2; }
.social-btn--twitter   { background: #000000; }
.social-btn--linkedin  { background: #0A66C2; }
/* Footer columns */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,.44);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-link:hover { color: var(--color-primary); }
/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 20px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   INTERIOR PAGE STYLES
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #18477f 0%, #0d2a5a 60%, #111 100%);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,222,232,.18), transparent 68%);
  border-radius: 50%;
}
.page-hero-label { margin-bottom: 18px; }
.page-hero-title { color: white; margin-bottom: 20px; }
.page-hero-text { color: rgba(255,255,255,.65); max-width: 580px; margin: 0 auto; }

/* ---- About Page ------------------------------------------ */
.about-story { background: white; }
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  background: linear-gradient(135deg, #18477f, #0d2a5a);
  border-radius: var(--radius-lg);
  height: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-content h2 { margin-bottom: 20px; }
.about-content p + p { margin-top: 16px; }

.about-values { background: var(--color-light-bg); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-num {
  font-family: var(--font-heading);
  font-size: 44px; font-weight: 700;
  color: rgba(0,173,181,.15);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 { margin-bottom: 12px; }
.value-card p { font-size: 14px; }

/* ---- Services Page --------------------------------------- */
.services-page-intro { background: var(--color-white); }
.services-page-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.service-full-card {
  background: var(--color-light-bg);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  border: 1px solid rgba(0,0,0,.04);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-full-card:hover {
  background: var(--color-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-full-card .service-icon { margin-bottom: 28px; }
.service-full-card h3 { font-size: 22px; margin-bottom: 16px; }
.service-full-card p { font-size: 15px; }

/* ---- Contact Page ---------------------------------------- */
.contact-section { background: var(--color-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-card {
  background: linear-gradient(145deg, #18477f, #0d2a5a);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  color: white;
  position: sticky;
  top: 100px;
}
.contact-info-card h2 { color: white; margin-bottom: 14px; }
.contact-info-card > p { color: rgba(255,255,255,.65); margin-bottom: 44px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-detail-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-detail-value { font-size: 16px; font-weight: 500; color: white; }
.contact-detail-value a { color: white; text-decoration: none; }
/* Contact form */
.contact-form-wrap { background: var(--color-light-bg); border-radius: var(--radius-lg); padding: 52px 44px; }
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 36px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: white;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,173,181,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-submit { margin-top: 8px; }
/* Form alerts */
.sq-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.sq-alert--success {
  background: rgba(0,173,181,.1);
  border: 1px solid rgba(0,173,181,.3);
  color: #00747b;
}
.sq-alert--error {
  background: rgba(239,68,59,.08);
  border: 1px solid rgba(239,68,59,.25);
  color: #c0392b;
}
.sq-alert a { color: inherit; font-weight: 600; }
/* CF7 overrides */
.wpcf7-form .form-group input,
.wpcf7-form .form-group textarea { width: 100%; }
.wpcf7-spinner { display: none !important; }

/* ---- Blog Archive ---------------------------------------- */
.blog-archive { background: var(--color-light-bg); }
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
/* ---- Single Post ----------------------------------------- */
.single-post { background: var(--color-white); }
.post-header { background: var(--color-deep-blue); padding: 140px 0 80px; text-align: center; }
.post-header h1 { color: white; max-width: 820px; margin: 0 auto 20px; }
.post-header .post-meta { color: rgba(255,255,255,.55); font-size: 14px; }
.post-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 0;
}
.post-content-wrap .post-featured-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
.post-content { line-height: 1.85; }
.post-content h2, .post-content h3 { margin: 44px 0 18px; }
.post-content p  { margin-bottom: 22px; color: #444; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 22px; }
.post-content li { margin-bottom: 8px; color: #444; }
.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 20px 28px;
  background: var(--color-light-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  font-style: italic;
}
.post-content a { color: var(--color-primary); }
/* ---- 404 ------------------------------------------------- */
.error-404 { background: var(--color-light-bg); min-height: 80vh; display: flex; align-items: center; text-align: center; }
.error-404-inner { padding: 80px 0; }
.error-404-num {
  font-family: var(--font-heading);
  font-size: clamp(100px, 18vw, 200px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,0,0,.1);
  line-height: 1;
  margin-bottom: 20px;
}
/* ---- Search --------------------------------------------- */
.search-results { background: var(--color-white); }
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.search-result-card {
  background: var(--color-light-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all var(--transition);
}
.search-result-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.search-result-card h3 { font-size: 18px; margin-bottom: 10px; }
.search-result-card p { font-size: 14px; color: #777; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-left.is-visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-right.is-visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --container-px: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-inner { gap: 50px; }
  .hero-image-frame { height: 440px; }
}
@media (max-width: 900px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-image-frame { height: 380px; }
  .float-card { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { max-width: 500px; margin: 0 auto; }
  .about-story-inner  { grid-template-columns: 1fr; }
  .services-page-intro-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .blog-archive-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .search-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --section-py: 72px; --container-px: 20px; }
  .nav-list { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header-row { flex-direction: column; align-items: flex-start; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantages-stats { grid-template-columns: 1fr; }
  .advantages-stats .adv-stat-item:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 32px; margin-bottom: 32px; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
