/* ================================================
   Stellar Enterprises — Stylesheet
   ================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --primary: #0B6675;
  --primary-hover: #084D59;
  --primary-light: #EAF4F3;
  --secondary: #172A3A;
  --accent: #94C11F;
  --bg: #F7F8F6;
  --surface: #FFFFFF;
  --text: #1E2933;
  --text-muted: #66717A;
  --border: #E2E5E8;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}

h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.5vw, 24px); }
h4 { font-size: 18px; }

p { 
  color: var(--text-muted); 
  text-align: justify;
  text-justify: inter-word;
}

.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

.section-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-large {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(11,102,117,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}
.text-link:hover { gap: 14px; color: var(--primary-hover); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.92;
}

.logo img {
  height: 56px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--secondary);
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-wrap img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  margin-left: 36px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}
body.menu-open .mobile-overlay { display: block; opacity: 1; }

/* ---------- Hero (Light / Cream Aesthetic) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 24px;
  background: 
    radial-gradient(circle at 85% 15%, rgba(11, 102, 117, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 85%, rgba(202, 138, 4, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(245, 241, 232, 0.6) 0%, transparent 70%),
    linear-gradient(165deg, #FAF8F5 0%, #F5F1E8 45%, #EDE7D8 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

.hero .section-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 102, 117, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(11, 102, 117, 0.18);
  text-shadow: none;
}

.hero .section-label::before {
  display: none;
}

.hero h1, .hero-title {
  color: var(--secondary);
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-text {
  font-size: 17.5px;
  color: #334155;
  line-height: 1.58;
  margin-bottom: 18px;
  max-width: 620px;
  text-align: left;
}

/* Hero CTA Structure */
.hero-actions-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.hero-top-cta {
  display: flex;
}

.btn-explore {
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 16px rgba(11, 102, 117, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-explore:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 102, 117, 0.32);
}

.hero-quick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-quick-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
}

.btn-call {
  background: #ffffff;
  color: var(--secondary);
  border: 1.5px solid rgba(19, 42, 62, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-call:hover {
  background: #f8fafc;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-whatsapp {
  background: #ffffff;
  color: #128C7E;
  border: 1.5px solid #25D366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.12);
}

.btn-whatsapp svg {
  fill: #25D366;
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover svg {
  fill: #ffffff;
}

.btn-email {
  background: #ffffff;
  color: var(--secondary);
  border: 1.5px solid rgba(19, 42, 62, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-email:hover {
  background: #f8fafc;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Right Column: Hero Feature Cards */
.hero-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-pillar-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(19, 42, 62, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 102, 117, 0.1);
  border-color: rgba(11, 102, 117, 0.25);
}

.pillar-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(11, 102, 117, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-card-text {
  flex: 1;
}

.pillar-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.pillar-card-text h3 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pillar-card-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* ---------- Content Glass Container ---------- */
.content-glass {
  position: relative;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 36px 36px 0 0;
  margin-top: -60px;
  z-index: 3;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* ---------- Intro Section ---------- */
.intro-section {
  background: var(--bg);
  padding: 100px 0;
}

.intro-inner {
  max-width: 860px;
}

.intro-inner .section-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.intro-inner h2 {
  margin-bottom: 24px;
}

.intro-inner p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.85;
}

/* ---------- Service Cards (Homepage) ---------- */
.services-section { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
  transform-origin: bottom;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(11,102,117,0.2);
  transform: translateY(-2px);
}

.service-card:hover::before { transform: scaleY(1); }

.service-card-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card h3 { margin-bottom: 16px; }

.service-card p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ---------- Process Section ---------- */
.process-section {
  background: var(--secondary);
  color: #fff;
}

.process-section .section-label { color: var(--accent); }
.process-section .section-label::before { background: var(--accent); }
.process-section h2 { color: #fff; margin-bottom: 60px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-step { position: relative; text-align: center; }

.step-number {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
}

.process-step h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 20px;
}

.process-step p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Why Section ---------- */
.why-section { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.why-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.why-icon svg { width: 24px; height: 24px; }

.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ---------- Proprietor Preview (Homepage) ---------- */
.proprietor-section { background: var(--surface); }

.proprietor-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.proprietor-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.proprietor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.proprietor-content .section-label { margin-bottom: 12px; }
.proprietor-content h2 { margin-bottom: 20px; }
.proprietor-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 { color: #fff; margin-bottom: 20px; }

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-section .btn-group { justify-content: center; }

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-section .btn-secondary {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern */
.page-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(148,193,31,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header .section-label { color: var(--accent); }
.page-header .section-label::before { background: var(--accent); }
.page-header h1 { color: #fff; margin-bottom: 20px; }
.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 720px;
  line-height: 1.75;
}

/* ---------- Service Blocks (service pages) ---------- */
.service-blocks-section { background: var(--bg); }

.service-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(11,102,117,0.2);
  transform: translateY(-2px);
}

.service-block-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-block-icon svg { width: 24px; height: 24px; }

.service-block h3 { margin-bottom: 12px; }
.service-block p { color: var(--text-muted); line-height: 1.7; font-size: 15px; }

/* ---------- Services Page ---------- */
.services-hero-section {
  background: var(--bg);
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
}

.services-hero-content {
  max-width: 900px;
}

.services-hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4.5vw, 48px);
}

.services-hero-content p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Service Pillar Sections */
.service-pillar {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-pillar:first-of-type {
  padding-top: calc(var(--header-h) + 40px);
  border-top: none;
}

.service-pillar:nth-child(even) {
  background: var(--surface);
}

.service-pillar:nth-child(odd) {
  background: var(--bg);
}

.pillar-header {
  max-width: 960px;
  margin-bottom: 40px;
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.pillar-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 18px;
}

.pillar-intro {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Why Work with Us Box */
.pillar-why-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  transition: all var(--transition);
}

.pillar-why-box:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(11,102,117,0.25);
}

.pillar-why-box h3 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pillar-why-box .why-lead {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pillar-bullets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bullet-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-icon-box svg {
  width: 18px;
  height: 18px;
}

.bullet-content-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.bullet-highlight {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  display: inline;
}

/* ---------- About Page ---------- */
.about-hero-section {
  background: var(--bg);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 56px;
}

.about-hero-content {
  max-width: 960px;
}

.about-hero-content .about-main-text {
  font-size: 20px;
  color: #334155;
  line-height: 1.85;
  text-align: left;
}

/* Credentials Section */
.credentials-section {
  background: var(--surface);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.credentials-header {
  max-width: 1050px;
  margin-bottom: 48px;
}

.credentials-header h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 16px;
}

.credentials-header p {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.credential-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11,102,117,0.25);
}

.credential-card:hover::before {
  opacity: 1;
}

.credential-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.credential-icon svg {
  width: 28px;
  height: 28px;
}

.credential-card h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.credential-card p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 991px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ---------- Contact Page ---------- */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item-content h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-item-content p,
.contact-item-content a {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.contact-item-content a {
  transition: color var(--transition);
}

.contact-item-content a:hover { color: var(--primary); }

.contact-cta-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}

.contact-cta-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-cta-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-cta-card .btn-group {
  flex-direction: column;
}

.contact-cta-card .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { height: 36px; margin-bottom: 16px; }

.footer-logo-wrap {
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-wrap img {
  height: 120px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-nav h4,
.footer-contact h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }

.footer-nav a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.65;
}

.footer-contact-group {
  margin-bottom: 16px;
}

.footer-contact-group:last-child {
  margin-bottom: 0;
}

.footer-contact-label {
  font-family: var(--font-heading);
  font-size: 11.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
}

.footer-contact-group p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
  line-height: 1.65;
}

.footer-contact-group a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-group a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure critical above-the-fold content is always visible */
.hero, .hero-title, .hero h1, .hero-text, .hero-actions-container, .hero-feature-cards,
.page-title-clean, .about-hero-content, .pillar-header {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ---------- Responsive: Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  section { padding: 72px 0; }

  .hero { min-height: 85vh; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
  .content-glass { margin-top: -48px; border-radius: 28px 28px 0 0; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .proprietor-inner { grid-template-columns: 1fr; gap: 40px; }
  .proprietor-image { max-width: 360px; aspect-ratio: 1; }

  .proprietor-full-inner { grid-template-columns: 1fr; gap: 40px; }
  .proprietor-portrait { position: static; max-width: 360px; }

  .service-blocks { grid-template-columns: 1fr; }
  .who-we-serve-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  section { padding: 56px 0; }
  body { font-size: 16px; }

  /* Logo Sizing on Tablet / Mobile */
  .logo { gap: 10px; }
  .logo img { height: 42px; width: auto; }
  .logo-text { font-size: 19px; letter-spacing: 0.03em; }

  /* Mobile Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    flex-direction: column;
    padding: calc(var(--header-h) + 24px) 28px 28px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s var(--ease);
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }

  .main-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav .nav-links a {
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .main-nav .nav-links a::after { display: none; }

  .main-nav .nav-cta {
    display: inline-flex;
    margin-left: 0;
    margin-top: 24px;
    width: 100%;
  }

  /* Hero Mobile */
  .hero { min-height: auto; padding: 0 0 40px; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 24px; }
  .hero h1, .hero-title { 
    display: block !important;
    font-size: clamp(26px, 6.2vw, 34px) !important; 
    line-height: 1.22 !important; 
    margin-top: 0 !important;
    margin-bottom: 14px !important; 
    letter-spacing: -0.015em !important;
    color: var(--secondary) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { max-width: 100%; }
  .hero-text { font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; text-align: left; }
  .hero-actions-container { width: 100%; gap: 10px; }
  .hero-top-cta { width: 100%; }
  .hero-top-cta .btn-explore { width: 100%; justify-content: center; padding: 13px 24px; font-size: 15px; }
  .hero-quick-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .hero-quick-row .btn-quick-contact { width: 100%; justify-content: center; padding: 10px 14px; font-size: 13px; }
  .hero-quick-row .btn-call { grid-column: span 2; }
  .hero-feature-cards { margin-top: 6px; gap: 12px; }
  .content-glass { margin-top: -36px; border-radius: 24px 24px 0 0; }

  /* Grids */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }

  /* Buttons */
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }

  /* Inner Pages Mobile Text */
  .about-hero-content .about-main-text { font-size: 16.5px; line-height: 1.7; }
  .pillar-intro { font-size: 16px; line-height: 1.7; }
  .credentials-header h2 { font-size: 26px; }
  .credentials-header p { font-size: 15.5px; }

  /* Service cards */
  .service-card { padding: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding-bottom: 64px; }
}

/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  :root { --header-h: 58px; }
  .container { padding: 0 16px; }
  .logo { gap: 8px; }
  .logo img { height: 36px; }
  .logo-text { font-size: 16px; letter-spacing: 0.02em; }
  .hero-inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 20px; }
  .hero h1, .hero-title { font-size: 25px !important; line-height: 1.22 !important; margin-bottom: 12px !important; }
  .hero-text { font-size: 15px; line-height: 1.55; }
  .hero-quick-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-quick-row .btn-call { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .service-block { padding: 24px; }
  .why-card { padding: 24px; }
}

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

/* ============================================
   TEAM PAGE
   ============================================ */

.team-section {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  background: var(--bg);
}

.page-title-clean {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.team-member-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 40px 0;
}

.team-member-card--reversed {
  direction: rtl;
}
.team-member-card--reversed > * {
  direction: ltr;
}

.team-member-photo {
  width: 100%;
  max-width: 320px;
}

.team-member-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  display: block;
}

.team-member-meta {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}

.team-member-role-small {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.team-member-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.team-member-intro {
  font-size: 17px !important;
  line-height: 1.85 !important;
}

.team-expertise-block {
  background: #f7f9fc;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expertise-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expertise-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.expertise-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

.team-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 0;
}

/* ============================================
   TEAM TEASER — Home Page (Rich Visual Banner)
   ============================================ */

.team-teaser-section {
  padding: 80px 0;
  background: #FAF8F5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.team-teaser-banner {
  background: #ffffff;
  border: 1px solid rgba(19, 42, 62, 0.09);
  border-radius: 20px;
  padding: 52px 60px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  max-width: 860px;
  margin: 0 auto;
}

.team-teaser-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.team-teaser-para {
  font-size: 18px;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 720px;
  text-align: left;
}

.team-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(11, 102, 117, 0.22);
  transition: all var(--transition);
}

.team-teaser-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 102, 117, 0.32);
}

/* Teaser Qualitative Pillars */
.team-teaser-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.teaser-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FAF8F5;
  border: 1px solid rgba(19, 42, 62, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all var(--transition);
}

.teaser-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 102, 117, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.teaser-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(11, 102, 117, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.teaser-pillar-content h4 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 5px;
  line-height: 1.25;
}

.teaser-pillar-content p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   CONTACT - Single Column Layout
   ============================================ */

.contact-section--single {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}

.contact-single-layout {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-action-row .btn,
.btn-outline-action {
  background: linear-gradient(135deg, rgba(11, 102, 117, 0.08) 0%, rgba(11, 102, 117, 0.03) 100%);
  color: var(--primary);
  border: 1.5px solid rgba(11, 102, 117, 0.28);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(11, 102, 117, 0.06);
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.contact-action-row .btn:hover,
.btn-outline-action:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 102, 117, 0.28);
}

.contact-action-row .btn svg,
.btn-outline-action svg {
  transition: transform 0.3s ease;
}

.contact-action-row .btn:hover svg,
.btn-outline-action:hover svg {
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE - Team and Teaser
   ============================================ */

@media (max-width: 900px) {
  .team-member-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .team-member-card--reversed { direction: ltr; }
  .team-member-photo {
    max-width: 260px;
  }
  .team-member-photo img {
    aspect-ratio: 1 / 1;
    max-height: 260px;
    object-position: center 15%;
  }
  .team-teaser-banner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }
  .team-teaser-para {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-action-row { flex-direction: column; }
  .contact-action-row .btn { width: 100%; min-width: unset; }
  .team-teaser-banner {
    padding: 28px 20px;
  }
}

/* Hide Netlify Admin Drawer & Badge */
iframe#netlify-drawer,
#netlify-drawer,
#netlify-drawer-container,
.netlify-drawer-root,
[data-netlify-drawer],
div[class*="netlify-drawer"],
iframe[src*="netlify"],
div[id*="netlify"],
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
