/* ==========================================================================
   RUDEES DIGITAL — Brand UI & Colour System
   Theme: Clean, professional and modern digital agency look
   Primary Navy: #123B78 | Brand Orange: #F47721 | White: #FFFFFF | Light BG: #F7F9FC
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --primary-navy: #123B78;
  --navy: #123B78;
  --navy-dark: #0A244D;
  --navy-light: #1A4D99;

  --brand-orange: #F47721;
  --orange: #F47721;
  --orange-hover: #DE6416;
  --orange-soft: #FFF4EC;
  --orange-tint: rgba(244, 119, 33, 0.12);

  --white: #FFFFFF;
  --light-bg: #F7F9FC;
  --hero-blue: #EEF4FB;
  --bg: #FFFFFF;
  --cream: #F7F9FC; /* Light grey-blue for alternate sections */

  --text: #202938;        /* Dark charcoal body text */
  --text-muted: #53627A;  /* Balanced secondary text */
  --muted: #53627A;
  --border: #E2E8F0;      /* Clean subtle border */
  --border-subtle: #EDF2F7;
  --border-navy: rgba(18, 59, 120, 0.15);

  /* Aliases for system compatibility */
  --purple: var(--navy);
  --purple-2: var(--navy-dark);
  --lavender: #C2D7EE;
  --lavender-soft: var(--hero-blue);
  --lavender-mid: #D9E7F6;

  /* Typography */
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(18, 59, 120, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow: 0 6px 20px rgba(18, 59, 120, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 36px rgba(18, 59, 120, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(244, 119, 33, 0.25); color: var(--navy); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow, .narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center-text { text-align: center; }
.center-row { display: flex; justify-content: center; margin-top: 2.2rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.icon { flex: none; }

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

/* Primary CTA: Orange fill + white text */
.btn-primary {
  background: var(--orange);
  color: #FFFFFF !important;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(244, 119, 33, 0.32);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(222, 100, 22, 0.42);
}

/* Secondary CTA: White fill + navy border/text */
.btn-ghost, .btn-secondary {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(18, 59, 120, 0.06);
}
.btn-ghost:hover, .btn-secondary:hover {
  background: var(--navy);
  color: #FFFFFF !important;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 59, 120, 0.22);
}

.btn-lg { padding: .95em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--orange); }
.text-link:hover { color: var(--orange-hover); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .2s; }

/* ==========================================================================
   Announcement & Header / Navbar
   ========================================================================== */
.announce { background: var(--navy); border-bottom: 1px solid var(--navy-dark); font-size: .92rem; }
.announce-inner { padding: 9px 0; text-align: center; }
.announce p { margin: 0; color: #FFFFFF; display: flex; flex-wrap: wrap; gap: .4em .6em; align-items: center; justify-content: center; }
.announce .icon { color: var(--orange); }
.announce a { color: var(--orange); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.announce a:hover { color: #FFA35C; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(18, 59, 120, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

/* Brand logo & text */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { border-radius: 8px; flex: none; }
.brand-logo { max-height: 48px; width: auto; object-fit: contain; display: block; }
@media (max-width: 640px) { .brand-logo { max-height: 40px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font: 700 1.5rem/1 var(--font-display);
  color: var(--navy);
  letter-spacing: -.02em;
}
.brand-text span {
  font: 700 .85rem/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 3px;
}

/* Navbar Menu */
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav li a {
  display: block;
  position: relative;
  padding: .55em 1em;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  transition: color .2s, background .2s;
}
.site-nav li a:hover {
  color: var(--orange);
  background: var(--hero-blue);
}
/* Active menu: Navy text + orange underline */
.site-nav li a.is-active {
  color: var(--navy);
  background: transparent;
  font-weight: 700;
}
.site-nav li a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.nav-toggle { display: none; background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; width: 44px; height: 44px; color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + var(--announce-h, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--white); padding: 18px 20px 28px; border-bottom: 2px solid var(--border); box-shadow: 0 20px 36px rgba(18, 59, 120, 0.14);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .22s, transform .22s, visibility .22s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav li a { padding: .85em 1em; font-size: 1.1rem; border-radius: 10px; }
  .site-nav li a.is-active { background: var(--hero-blue); color: var(--navy); }
  .site-nav li a.is-active::after { display: none; }
  .nav-cta { width: 100%; }
}

/* ==========================================================================
   Sections & Layout Helpers
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-cream, .section-services { background: var(--light-bg); }
.eyebrow {
  font: 700 .82rem/1.5 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--orange); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 56ch; }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head h2 { color: var(--navy); font-weight: 700; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-inline: auto; }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; border: 1.5px dashed var(--border); border-radius: var(--radius); background: var(--white); }

.prose { max-width: 68ch; }
.prose p { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; color: var(--navy); }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; color: var(--navy); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose-lg { font-size: 1.12rem; }
.legal h2:first-child { margin-top: 0; }

.ribbon { position: absolute; pointer-events: none; z-index: 0; }
.hero-ribbon { right: -6%; top: -4%; width: min(900px, 90vw); opacity: .7; }
.page-ribbon { right: -10%; top: -30%; width: 760px; opacity: .5; }
.cta-ribbon { right: -6%; bottom: -30%; width: 640px; opacity: .7; }

/* ==========================================================================
   Hero Section: Light Blue #EEF4FB | Navy Headline | Orange CTA
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, var(--hero-blue) 0%, #F5F9FE 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.8rem); line-height: 1.06; margin-bottom: .45em; color: var(--navy); }
.hero h1 em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
  background: none;
  -webkit-background-clip: unset;
  padding-bottom: .06em;
}
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2rem; }
.hero-tags li {
  font-size: .88rem; font-weight: 500; padding: .45em 1em; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  box-shadow: 0 1px 3px rgba(18, 59, 120, 0.05);
}

/* Hero Visual Art */
.hero-visual { position: relative; min-height: 520px; }
.hv-blob { position: absolute; inset: 6% 2% 4% 8%; background: linear-gradient(145deg, #DCE8F7, #EEF4FB); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.hv-card { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hv-browser { top: 7%; left: 4%; width: 74%; overflow: hidden; animation: floaty 9s ease-in-out infinite; }
.hv-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--light-bg); border-bottom: 1px solid var(--border); }
.hv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.hv-bar i:first-child { background: var(--orange); }
.hv-page { padding: 20px; display: grid; gap: 10px; }
.hv-line { display: block; height: 10px; border-radius: 6px; background: var(--border); }
.hv-line.strong { background: var(--navy); height: 14px; }
.hv-line.accent { background: var(--orange); height: 14px; }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w45 { width: 45%; }
.hv-pill { width: 96px; height: 30px; border-radius: 999px; background: var(--orange); margin: 6px 0; }
.hv-img { height: 120px; border-radius: 12px; background: linear-gradient(135deg, #EEF4FB, #D2E4F8); position: relative; overflow: hidden; }
.hv-img::after { content: ""; position: absolute; width: 140%; height: 70%; left: -10%; bottom: -30%; background: var(--navy); opacity: .15; border-radius: 50%; }
.hv-logo { bottom: 12%; left: 0; padding: 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: floaty 8s ease-in-out -3s infinite; }
.hv-logo img { border-radius: 10px; }
.hv-logo span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.hv-social { right: 0; top: 40%; width: 44%; padding: 12px; display: grid; gap: 8px; animation: floaty 10s ease-in-out -5s infinite; }
.hv-social-art { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(140deg, var(--navy), var(--navy-light)); position: relative; overflow: hidden; }
.hv-social-art::after { content: ""; position: absolute; width: 70%; height: 70%; right: -15%; bottom: -15%; border: 10px solid var(--orange); opacity: .7; border-radius: 50%; }
.hv-palette { right: 8%; bottom: 3%; display: flex; gap: 8px; padding: 10px; border-radius: 999px; }
.hv-palette i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); }
.hv-dot { position: absolute; border-radius: 50%; border: 2px solid var(--orange); }
.hv-dot-1 { width: 28px; height: 28px; top: 2%; right: 12%; }
.hv-dot-2 { width: 14px; height: 14px; bottom: 28%; left: 46%; background: var(--orange); border: 0; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; order: 2; max-width: 500px; width: 100%; margin-inline: auto; }
  .hv-browser { top: 3%; left: 3%; width: 80%; }
  .hv-img { height: 90px; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 330px; }
  .hv-logo { padding: 12px 14px; }
  .hv-logo img { width: 44px; height: 44px; }
  .hv-page { padding: 14px; gap: 8px; }
  .hv-img { height: 60px; }
}

/* ==========================================================================
   Page Hero (Subpages)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--hero-blue), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; color: var(--navy); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--orange); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(3, 1fr); }
.grid-projects { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-services, .grid-projects, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-services, .grid-projects, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-soft { background: var(--hero-blue); box-shadow: none; border-color: #D6E5F7; }

/* Service cards: White card + light border | Navy icon + orange accent */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  background: var(--white);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(244, 119, 33, 0.4);
}
.service-card h3 { margin-bottom: .4em; font-size: 1.3rem; }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--text-muted); flex: 1; }
.service-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font: 700 2.5rem/1 var(--font-display);
  color: #EDF3FA;
  -webkit-text-stroke: 1px #D6E5F7;
}
.service-more {
  justify-content: center;
  background: var(--hero-blue);
  border: 1.5px dashed #C2D7EE;
  text-decoration: none;
}
.service-more h3 { color: var(--navy); }
.service-more .text-link { color: var(--orange); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--hero-blue);
  color: var(--navy);
  margin-bottom: 1.2rem;
  border: 1px solid #D6E5F7;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.service-card:hover .icon-tile {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
}

/* ==========================================================================
   Why choose us / stats: Navy background | White text | Orange numbers
   ========================================================================== */
.section-navy, .why.section-navy {
  background: var(--navy);
  color: #FFFFFF;
}
.section-navy .section-head h2 { color: #FFFFFF; }
.section-navy .eyebrow { color: var(--orange); }
.section-navy .eyebrow::before { background: var(--orange); }
.section-navy .lead { color: rgba(255, 255, 255, 0.82); }

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why-list { list-style: none; display: grid; gap: 14px; }
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.why-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--orange);
  transform: translateX(4px);
}
.why-n {
  font: 700 2rem/1 var(--font-display);
  color: var(--orange); /* Orange numbers */
  min-width: 2.2ch;
}
.why-item h3 { font-size: 1.15rem; margin-bottom: .25em; color: #FFFFFF; }
.why-item p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.section-navy .btn-ghost {
  background: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.7);
}
.section-navy .btn-ghost:hover {
  background: #FFFFFF;
  color: var(--navy) !important;
  border-color: #FFFFFF;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Portfolio / Projects: White | Clean project cards | Orange labels
   ========================================================================== */
.project-card { display: flex; flex-direction: column; }
.project-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--hero-blue);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.project-card:hover .project-thumb {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(244, 119, 33, 0.4);
}
.project-card:hover .project-thumb img { transform: scale(1.04); }

.project-arrow {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #FFFFFF;
  opacity: 0; transform: translateY(8px) scale(.9);
  transition: opacity .3s, transform .3s;
}
.project-card:hover .project-arrow, .project-thumb:focus-visible .project-arrow { opacity: 1; transform: none; }

.badge { position: absolute; top: 14px; left: 14px; padding: .35em .85em; border-radius: 999px; font: 700 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.badge-sample {
  background: var(--white);
  color: var(--orange);
  border: 1.5px solid var(--orange);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.project-info { padding: 16px 4px 0; }
.project-cat {
  font: 700 .8rem/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange); /* Orange small labels */
  margin-bottom: .5em;
}
.project-info h3 { margin-bottom: .3em; font-size: 1.25rem; }
.project-info h3 a { color: var(--navy); text-decoration: none; }
.project-info h3 a:hover { color: var(--orange); }
.project-info p { color: var(--muted); font-size: .98rem; margin: 0; }

.filters, .pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.2rem; }
.pagination { justify-content: center; margin: 3rem 0 0; }
.chip {
  display: inline-flex; align-items: center; padding: .55em 1.2em; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--border); color: var(--navy);
  text-decoration: none; font-weight: 600; font-size: .95rem; transition: all .2s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }

/* Project detail */
.project-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.project-media { display: grid; gap: 20px; }
.project-hero-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: var(--hero-blue); box-shadow: var(--shadow-sm); }
.project-side { position: sticky; top: calc(var(--header-h) + 20px); }
.notice { background: var(--hero-blue); border: 1px solid #D6E5F7; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; color: var(--navy); font-weight: 500; }
.meta-list { margin: 0 0 1.4rem; display: grid; gap: 10px; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.meta-list dt { color: var(--muted); font-size: .9rem; }
.meta-list dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy); }
@media (max-width: 900px) { .project-layout { grid-template-columns: 1fr; } .project-side { position: static; } }

/* Lists & Checkmarks */
.check-list { list-style: none; display: grid; gap: 10px; margin: .6rem 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--orange); background: var(--orange-soft); border-radius: 50%; padding: 3px; margin-top: 3px; }

/* Service blocks */
.service-jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 1.8rem 0 0; }
.service-jump a { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.service-jump a:hover { background: var(--orange-soft); color: var(--orange); border-color: var(--orange); }
.service-block.alt { background: var(--light-bg); }
.service-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.service-block.alt .service-art { order: 2; }
.service-art-shape {
  aspect-ratio: 1; max-width: 340px; margin-inline: auto; display: grid; place-items: center;
  color: var(--navy); background: linear-gradient(145deg, #DCE9F8, #EEF4FB);
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; border: 1.5px solid #C2D7EE; position: relative;
}
.service-art-shape::after { content: ""; position: absolute; inset: 14%; border: 1.5px dashed var(--orange); border-radius: inherit; opacity: .7; }
.service-art-shape .icon { width: 96px; height: 96px; stroke-width: 1.3; position: relative; z-index: 1; color: var(--navy); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 1.6rem; }
.two-col h3 { font-size: 1.15rem; margin-bottom: .2em; color: var(--navy); }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } .service-block.alt .service-art { order: 0; } .service-art-shape { max-width: 220px; } .service-art-shape .icon { width: 64px; height: 64px; } }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.philosophy {
  margin: 0 0 2rem; padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--hero-blue); border: 1px solid #D6E5F7;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--orange);
}
.philosophy p { font: italic 600 clamp(1.3rem, 3vw, 1.9rem)/1.35 var(--font-display); color: var(--navy); margin: .6rem 0 0; }
.mv .card h3 { margin-bottom: .4em; color: var(--navy); }
.mv .card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* Process list */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: step; }
.process-list::before { content: ""; position: absolute; top: 28px; left: 6%; right: 6%; border-top: 2px dashed #C2D7EE; z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.process-n {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--white); border: 2px solid var(--navy);
  color: var(--navy); font: 700 1.35rem/1 var(--font-display);
  box-shadow: 0 0 0 8px var(--bg); transition: all .25s ease;
}
.section-cream .process-n, .section-services .process-n { box-shadow: 0 0 0 8px var(--light-bg); }
.process-step:hover .process-n { background: var(--orange); color: #FFFFFF; border-color: var(--orange); transform: scale(1.08); }
.process-step h3 { font-size: 1.15rem; margin-bottom: .3em; color: var(--navy); }
.process-step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr; gap: 6px; }
  .process-list::before { top: 0; bottom: 0; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #C2D7EE; }
  .process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding: 10px 0 18px; }
  .process-n { grid-row: span 2; margin: 0; }
  .process-step h3 { align-self: end; margin: 0; }
}

/* ==========================================================================
   Contact CTA: Light blue background #EEF4FB | Navy heading | Orange button
   ========================================================================== */
.cta-section { padding-block: clamp(2rem, 5vw, 4rem); }
.cta-card {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between; padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--hero-blue) 0%, #E3EDF9 100%);
  border: 1px solid #C9DCF1;
  box-shadow: var(--shadow);
}
.cta-copy, .cta-actions { position: relative; z-index: 1; }
.cta-copy { max-width: 580px; }
.cta-copy h2 { margin-bottom: .3em; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.cta-copy p { margin: 0; color: var(--text); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 1.08rem/1.4 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hero-blue); color: var(--navy); transition: transform .25s, background .25s; }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { padding: 0 24px 20px; color: var(--text); }
.faq-answer p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Testimonials */
.quote-card { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.quote-card blockquote { margin: 0; font: italic 500 1.12rem/1.55 var(--font-display); color: var(--navy); }
.quote-card figcaption { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--text); font-weight: 700; }

/* ==========================================================================
   Contact & Forms
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info h2, .form-card h2 { font-size: 1.6rem; color: var(--navy); }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list.big { gap: 18px; margin: 1.2rem 0 1.6rem; }
.contact-list.big li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list.big .icon { color: var(--orange); background: var(--orange-soft); padding: 10px; width: 46px; height: 46px; border-radius: 12px; }
.contact-list.big span { display: block; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list.big a { font-weight: 600; text-decoration: none; word-break: break-word; color: var(--navy); }
.contact-list.big a:hover { color: var(--orange); }
.mini-steps { padding-left: 1.2em; color: var(--text); display: grid; gap: 6px; }
.form-card { padding: clamp(1.4rem, 3vw, 2.4rem); }
.form { display: grid; gap: 18px; margin-top: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--orange); }
.opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: .85em 1em; font: inherit; color: var(--text); background: var(--white);
  border: 1.5px solid var(--border); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(18, 59, 120, 0.14);
}
.has-error input, .has-error select, .has-error textarea { border-color: #B3261E; background: #FFF8F7; }
.field-error { color: #B3261E; font-size: .88rem; margin: 6px 0 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; color: var(--text); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.alert { padding: 14px 18px; border-radius: 10px; margin: 1rem 0; font-size: .98rem; border: 1px solid; }
.alert-success { background: #F0F8F1; border-color: #BCDDC1; color: #1F5A2B; }
.alert-error { background: #FFF3F1; border-color: #F1C0BB; color: #8F1F18; }
.alert-info { background: var(--hero-blue); border-color: #D6E5F7; color: var(--navy); }
.form-status:empty { display: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* 404 */
.not-found { overflow: hidden; }
.not-found .container { position: relative; z-index: 1; }
.big-404 {
  font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-display);
  background: linear-gradient(135deg, var(--navy), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.not-found .lead { margin-inline: auto; }

/* ==========================================================================
   Footer: Navy Background #123B78 | White text | Orange links/icons
   ========================================================================== */
.site-footer { margin-top: 2rem; background: var(--navy); }
.footer-wave { line-height: 0; margin-bottom: -1px; }
.footer-wave svg { width: 100%; height: clamp(40px, 6vw, 90px); }
.footer-body {
  background: var(--navy);
  color: #FFFFFF;
  padding: 4rem 0 0;
  border-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 36px; padding-bottom: 3rem; }
.footer-brand .brand-logo { max-height: 50px; width: auto; }
.footer-brand .brand-text strong { color: #FFFFFF; }
.footer-brand .brand-text span { color: var(--orange); }
.footer-brand p { color: rgba(255, 255, 255, 0.82); max-width: 34ch; margin-top: 1rem; }
.footer-title {
  font: 700 .82rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.site-footer .contact-list .icon { color: var(--orange); }
.site-footer .contact-list li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.88); }

.social-list { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 1rem; }
.social-list a {
  display: inline-block; padding: .4em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: .88rem; font-weight: 500;
  color: #FFFFFF;
}
.social-list a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: .92rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.65); }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   Animations
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
