/* ============================================================
   Sarfani Construction — Production CSS
   Clean · Modern · Wix-Style
   ============================================================ */

/* ── Variables ── */
:root {
  --primary: #1A6B4E;
  --primary-dark: #0E4D36;
  --primary-light: #2A8A68;
  --secondary: #C89B3C;
  --secondary-light: #DBB55A;
  --dark: #1A1A2E;
  --text: #1A1A2E;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --container: 1140px;
  --nav-height: 72px;
  --ease: cubic-bezier(.22,1,.36,1);
  --duration: .3s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-bottom: .5rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { font-weight: 600; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-accent { color: var(--secondary); }

/* ── Sections ── */
.section-padding { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.7); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.55); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { font-size: 1.05rem; color: var(--text-light); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(26,107,78,.08);
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,78,.25);
}
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,155,60,.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  background: var(--bg-alt);
  border-color: var(--text-light);
  color: var(--dark);
}
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-lg { padding: 15px 34px; font-size: .95rem; }

/* ── Top Bar ── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  padding: 7px 0;
  display: none;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.6); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--duration) var(--ease);
}
nav.is-scrolled { box-shadow: 0 1px 8px rgba(0,0,0,.06); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--duration);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(26,107,78,.07);
  color: var(--primary);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.9) 30%, rgba(26,107,78,.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(200,155,60,.12);
  border: 1px solid rgba(200,155,60,.25);
  border-radius: 100px;
  font-size: .78rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat h3 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat p { font-size: .82rem; color: rgba(255,255,255,.5); margin: 4px 0 0; }

/* ── Hero Page (inner pages) ── */
.hero-page { min-height: 40vh; padding: 120px 0 60px; position: relative; overflow: hidden; }
.hero-page .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-page .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.88) 40%, rgba(26,107,78,.55) 100%);
  z-index: 1;
}
.hero-page .container { position: relative; z-index: 2; }
.hero-page .hero-content { max-width: 600px; }
.hero-page h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.hero-page p { color: rgba(255,255,255,.65); font-size: 1rem; }
.hero-page .breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: .75rem; flex-wrap: wrap; }
.hero-page .breadcrumbs a { color: rgba(255,255,255,.55); }
.hero-page .breadcrumbs a:hover { color: #fff; }

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary), #f0d687);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Marquee ── */
.marquee { overflow: hidden; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); white-space: nowrap; }
.marquee-inner { display: inline-flex; gap: 48px; animation: marquee 30s linear infinite; will-change: transform; }
.marquee-inner span { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-light); font-weight: 500; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Service Cards (icon-based) ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(26,107,78,.15); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(26,107,78,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.service-card h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: .88rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.65; }
.service-card .card-link { font-size: .85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link:hover { gap: 10px; }

/* ── Service Cards Alt (image-based, Wix style) ── */
.services-grid-alt { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.service-card-alt {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
  border: 1px solid var(--border);
}
.service-card-alt:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-alt-img { height: 220px; overflow: hidden; position: relative; }
.service-card-alt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease); }
.service-card-alt:hover .service-card-alt-img img { transform: scale(1.06); }
.service-card-alt-body { padding: 28px; }
.service-card-alt-body h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.service-card-alt-body p { font-size: .88rem; color: var(--text-light); margin-bottom: 12px; }

/* ── Project Cards / Carousel ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.projects-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.projects-carousel::-webkit-scrollbar { height: 6px; }
.projects-carousel::-webkit-scrollbar-track { background: transparent; }
.projects-carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--border);
  flex: 0 0 380px;
  scroll-snap-align: start;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease); }
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26,26,46,.92));
  opacity: 0;
  transition: opacity var(--duration);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay h4 { color: #fff; font-family: var(--font-sans); font-size: 1rem; margin-bottom: 4px; }
.project-card-overlay span { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 520px; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: -1;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.5rem; }
.about-stat { text-align: center; padding: 24px 16px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.about-stat h3 { font-family: var(--font-sans); font-size: 2rem; color: var(--primary); margin: 0; }
.about-stat p { font-size: .82rem; color: var(--text-light); margin: 4px 0 0; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all var(--duration); }
.testimonial-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.testimonial-card .stars { color: var(--secondary); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: .95rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial-card blockquote::before { content: '\201C'; color: var(--primary); font-size: 2rem; font-family: var(--font-display); line-height: 0; vertical-align: -.35em; margin-right: 3px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; margin: 0; }
.testimonial-author span { font-size: .78rem; color: var(--text-light); }

/* ── Process ── */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.process-step {
  counter-increment: step;
  padding: 32px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--duration);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.process-step::before { content: counter(step); position: absolute; top: -8px; right: 20px; font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: rgba(26,107,78,.06); line-height: 1; }
.process-step .icon { font-size: 1.6rem; margin-bottom: 14px; }
.process-step h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.process-step p { font-size: .85rem; color: var(--text-light); margin: 8px 0 0; }

/* ── FAQ ── */
.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: all var(--duration); }
.faq-item.is-open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  transition: background var(--duration);
}
.faq-question:hover { background: rgba(26,107,78,.04); }
.faq-question svg { flex-shrink: 0; transition: transform var(--duration); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: all .4s var(--ease); }
.faq-item.is-open .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-answer p { font-size: .88rem; color: var(--text-light); margin: 0; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 30%, rgba(26,107,78,.88) 100%);
  text-align: center;
  padding: clamp(50px, 8vh, 80px) 0;
}
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 60px 0 0;
  font-size: .85rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand h3 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 0; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.45); max-width: 300px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-social a svg { width: 14px; height: 14px; fill: rgba(255,255,255,.5); }
.footer-social a:hover svg { fill: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.45); padding: 4px 0; font-size: .82rem; transition: color var(--duration); }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--duration); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card .blog-image { height: 200px; overflow: hidden; }
.blog-card .blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-category { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: rgba(26,107,78,.08); color: var(--primary); margin-bottom: 10px; }
.blog-card h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .blog-body p { font-size: .85rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }
.blog-card .blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--text-light); }
.blog-card .blog-read-more { font-size: .8rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.blog-card .blog-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--border); }
.blog-card .blog-read-time { font-size: .75rem; color: var(--text-light); }

.blog-article { max-width: 750px; margin: 0 auto; }
.blog-article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.blog-article .meta { color: var(--text-light); font-size: .85rem; margin-bottom: 2rem; display: flex; gap: 16px; }
.blog-article .featured-img { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.blog-article .featured-img img { width: 100%; max-height: 450px; object-fit: cover; }
.blog-article h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.blog-article h3 { font-size: 1.2rem; margin-top: 2rem; }
.blog-article p, .blog-article li { font-size: 1rem; line-height: 1.85; color: var(--text); }
.blog-article ul, .blog-article ol { padding-left: 24px; margin-bottom: 1.5rem; }
.blog-article ul li { list-style: disc; margin-bottom: 6px; }
.blog-article ol li { list-style: decimal; margin-bottom: 6px; }
.blog-article .checklist li { list-style: none; padding-left: 24px; position: relative; }
.blog-article .checklist li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26,107,78,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-item h4 { font-family: var(--font-sans); font-size: .88rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p { font-size: .85rem; color: var(--text-light); margin: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,78,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Stats Row ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 28px 16px; }
.stat-number {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
.stat-number .gold { color: var(--secondary); }
.stat-label { font-size: .82rem; color: var(--text-light); }

/* ── Page Header ── */
.page-header { padding: 32px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 4px; }
.page-header p { color: var(--text-light); font-size: 1rem; max-width: 600px; }

/* ── Team Grid ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 24px;
  transition: all var(--duration);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card img.rounded { border-radius: 50%; width: 120px; height: 120px; margin: 24px auto 0; }
.team-card h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; margin: 14px 0 2px; }
.team-card span { font-size: .8rem; color: var(--text-light); }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg-alt); }
.timeline-item .year { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); font-weight: 600; }
.timeline-item h4 { font-family: var(--font-sans); margin: 4px 0 6px; }
.timeline-item p { font-size: .85rem; color: var(--text-light); margin: 0; }

/* ── Tags ── */
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tag { padding: 4px 12px; border-radius: 100px; font-size: .72rem; font-weight: 500; background: rgba(26,107,78,.08); color: var(--primary); }
.tag-gold { background: rgba(200,155,60,.12); color: var(--secondary); }

/* ── Legal Pages ── */
.legal-page { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.legal-page p, .legal-page li { font-size: .92rem; line-height: 1.8; color: var(--text); }
.legal-page ul { padding-left: 24px; margin-bottom: 1.5rem; }
.legal-page ul li { list-style: disc; margin-bottom: 4px; }

/* ── Floating CTA ── */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.floating-cta a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration);
  text-decoration: none;
}
.floating-cta .phone-btn { background: var(--primary); color: #fff; }
.floating-cta .phone-btn:hover { transform: scale(1.08); }
.floating-cta .email-btn { background: var(--secondary); color: #fff; }
.floating-cta .email-btn:hover { transform: scale(1.08); }
.floating-cta a svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid .gallery-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-grid .gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform var(--duration); }
.gallery-grid .gallery-item:hover img { transform: scale(1.04); }

.related-resources { background: var(--bg-alt); }

/* ── Scroll Reveal Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-in.is-visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.slide-up.is-visible,
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.slide-left.is-visible,
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.slide-right.is-visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Legacy reveal classes (backward compat) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Stagger delay helpers */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-stat h3 { font-size: 1.5rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet portrait + mobile */
@media (max-width: 768px) {
  nav .container { gap: 8px; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .4s var(--ease);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.1rem; padding: 12px 24px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }

  .hero { min-height: 70vh; padding: 80px 0 60px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 16px; }

  .section-padding { padding: 60px 0; }
  .section-header { margin-bottom: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid-alt { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { flex: 0 0 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-page { padding: 100px 0 40px; }
  .about-stats { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { text-align: center; }
  .btn { width: 100%; }
}
