/* =============================================
   SOLSTICE FILMS — Organic Filmmaker Template
   ============================================= */

/* --- CSS Variables --- */
:root {
  --forest-green: #1B3A2D;
  --terracotta: #C45D3E;
  --brass: #B8860B;
  --bg-warm: #FBF8F3;
  --dark-green: #0F2318;
  --charcoal: #1E1E1E;
  --cream: #F5F0E8;
  --sage: #3D5A4E;
  --moss: #2A4F3D;
  --parchment: #EDE7DB;
  --gold-soft: #D4A843;
  --terracotta-light: #E07A5F;
  --white: #FFFFFF;
  --black: #000000;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'DM Serif Display', Georgia, serif;
  --header-height: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
  --shadow-sm: 0 2px 8px rgba(15,35,24,0.08);
  --shadow-md: 0 4px 20px rgba(15,35,24,0.12);
  --shadow-lg: 0 8px 40px rgba(15,35,24,0.16);
  --radius: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--bg-warm);
  line-height: 1.7;
  overflow-x: hidden;
}

body.inner-page {
  background-color: var(--bg-warm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest-green);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--sage);
}

::selection {
  background: var(--terracotta);
  color: var(--white);
}

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-warm);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 80px;
  height: auto;
  margin-bottom: 24px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--parchment);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-inner {
  width: 0%;
  height: 100%;
  background: var(--terracotta);
  border-radius: 3px;
  animation: loaderFill 2s ease-in-out forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 0 40px;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header.transparent {
  background: transparent;
  box-shadow: none;
}

.site-header.solid {
  background: rgba(251, 248, 243, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(15,35,24,0.08);
}

body.inner-page .site-header {
  background: rgba(251, 248, 243, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(15,35,24,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.03);
}

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

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.site-header.transparent .header-nav a {
  color: rgba(255,255,255,0.85);
}

.site-header.solid .header-nav a,
body.inner-page .site-header .header-nav a {
  color: var(--sage);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--terracotta);
}

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

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.site-header.transparent .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

.page-hero.inner-hero {
  min-height: 50vh;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 24px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.5s forwards;
  line-height: 1.1;
}

.hero-title .accent {
  color: var(--terracotta-light);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--terracotta-light);
  opacity: 0.5;
}

/* Shimmer effect on accent word */
.hero-title .shimmer {
  background: linear-gradient(90deg, var(--terracotta-light) 0%, var(--gold-soft) 50%, var(--terracotta-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.9s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator i {
  font-size: 1.2rem;
}

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

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.9s forwards;
}

.breadcrumb a, .breadcrumb span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.breadcrumb a:hover {
  color: var(--terracotta-light);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.4);
}

/* --- Section Styling --- */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--dark-green);
  color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-cream {
  background: var(--cream);
}

.section-terracotta {
  background: var(--terracotta);
  color: var(--white);
}

.section-terracotta h2, .section-terracotta h3 {
  color: var(--white);
}

.section-terracotta p {
  color: rgba(255,255,255,0.85);
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
}

/* Section Header / Label */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label::before, .section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.5;
}

.section-dark .section-label {
  color: var(--gold-soft);
}

.section-dark .section-label::before, .section-dark .section-label::after {
  background: var(--gold-soft);
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--forest-green);
  color: var(--white);
  border-color: var(--forest-green);
}

.btn-primary:hover {
  background: var(--moss);
  border-color: var(--moss);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--forest-green);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest-green);
  border-color: var(--forest-green);
}

.btn-outline-dark:hover {
  background: var(--forest-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-terracotta:hover {
  background: var(--terracotta-light);
  border-color: var(--terracotta-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn i {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

/* --- Marquee / Ticker --- */
.marquee-section {
  background: var(--dark-green);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- About Preview --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--terracotta);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text .section-label {
  justify-content: flex-start;
}

.about-text .section-label::before {
  display: none;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-signature {
  margin-top: 24px;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--forest-green);
  font-style: italic;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(27,58,45,0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition);
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: color var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--terracotta);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.service-card:hover h4 {
  color: var(--terracotta);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Service Detail Cards (Services Page) */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-detail-card {
  display: flex;
  gap: 28px;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27,58,45,0.08);
  transition: all var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-detail-icon i {
  font-size: 1.5rem;
  color: var(--terracotta);
}

.service-detail-card:hover .service-detail-icon {
  background: var(--terracotta);
}

.service-detail-card:hover .service-detail-icon i {
  color: var(--white);
}

.service-detail-text h4 {
  margin-bottom: 10px;
}

.service-detail-text p {
  font-size: 0.95rem;
}

/* --- Portfolio --- */
.filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(27,58,45,0.15);
  border-radius: 30px;
  background: transparent;
  color: var(--sage);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--forest-green);
  border-color: var(--forest-green);
  color: var(--white);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform var(--transition);
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 6px;
}

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.portfolio-overlay .view-link {
  font-size: 0.8rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.portfolio-overlay .view-link:hover {
  opacity: 1;
}

/* --- Stats / Counter --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-number .suffix {
  color: var(--terracotta-light);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.team-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  background: var(--white);
  text-align: center;
}

.team-info h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-info span {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
}

.team-social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 72px);
  background: rgba(10,10,10,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.team-social-overlay a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.team-social-overlay a:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
}

/* --- Testimonials --- */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item {
  display: none;
  padding: 0 20px;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--terracotta);
  opacity: 0.2;
  position: absolute;
  top: -30px;
  left: -20px;
  line-height: 1;
}

.section-dark .testimonial-quote {
  color: rgba(255,255,255,0.9);
}

.testimonial-author {
  font-weight: 600;
  color: var(--forest-green);
  font-size: 1rem;
}

.section-dark .testimonial-author {
  color: var(--gold-soft);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 4px;
}

.section-dark .testimonial-role {
  color: rgba(255,255,255,0.5);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(27,58,45,0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--terracotta);
  transform: scale(1.2);
}

.section-dark .testimonial-dot {
  background: rgba(255,255,255,0.2);
}

.section-dark .testimonial-dot.active {
  background: var(--gold-soft);
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(27,58,45,0.06);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--terracotta);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.blog-card-link:hover {
  color: var(--terracotta);
}

.blog-card-link i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.blog-card-link:hover i {
  transform: translateX(4px);
}

/* --- CTA Section --- */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-info-icon i {
  font-size: 1.1rem;
  color: var(--terracotta);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--terracotta);
}

.contact-info-item:hover .contact-info-icon i {
  color: var(--white);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--sage);
}

.contact-info-text a:hover {
  color: var(--terracotta);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark-green);
  color: rgba(255,255,255,0.7);
  padding: 80px 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1340px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about img {
  height: 44px;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--terracotta-light);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--terracotta-light);
}

/* --- Process / Timeline --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: rgba(255,255,255,0.15);
}

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

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.process-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* --- Mission & Vision --- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--terracotta);
  transition: all var(--transition);
}

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

.mv-card h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mv-card h3 i {
  color: var(--terracotta);
  font-size: 1.3rem;
}

.mv-card p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- Project Detail --- */
.project-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.project-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.project-detail-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.project-detail-description {
  margin-bottom: 32px;
}

.project-detail-description p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.project-sidebar {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27,58,45,0.08);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.project-sidebar h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--terracotta);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.sidebar-meta-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}

.sidebar-meta-item .value {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* --- Article Detail --- */
.article-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.article-featured-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--sage);
}

.article-meta .category {
  color: var(--terracotta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.article-content {
  margin-bottom: 40px;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-content blockquote {
  border-left: 4px solid var(--terracotta);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--forest-green);
  margin-bottom: 0;
  line-height: 1.7;
}

.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(27,58,45,0.1);
}

.article-tag {
  padding: 6px 16px;
  background: var(--cream);
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.article-tag:hover {
  background: var(--forest-green);
  color: var(--white);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar-widget {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27,58,45,0.08);
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--terracotta);
  font-family: var(--font-body);
}

.recent-post-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(27,58,45,0.06);
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-item img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.recent-post-text h5 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

.recent-post-item:hover .recent-post-text h5 {
  color: var(--terracotta);
}

.recent-post-text span {
  font-size: 0.75rem;
  color: var(--sage);
}

.sidebar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sidebar-tag {
  padding: 5px 14px;
  background: var(--cream);
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 20px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-tag:hover {
  background: var(--forest-green);
  color: var(--white);
}

/* --- Scroll Reveal Animations --- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed, .reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.7s; }

/* --- Parallax --- */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 40px;
  }

  .project-detail-grid,
  .article-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-sidebar, .article-sidebar {
    position: static;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-grid::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 70px 20px;
  }

  .site-header {
    padding: 0 20px;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--bg-warm);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

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

  .header-nav a {
    color: var(--sage) !important;
    font-size: 1rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(27,58,45,0.08);
  }

  .menu-toggle {
    display: flex;
  }

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

  .about-image img {
    height: 350px;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-hero {
    min-height: 85vh;
  }

  .page-hero.inner-hero {
    min-height: 40vh;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 16px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

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

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

  .team-card img {
    height: 320px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.82rem;
  }

  .mv-card {
    padding: 32px 24px;
  }

  .service-detail-card {
    flex-direction: column;
    gap: 20px;
    padding: 28px;
  }

  .project-detail-image img, .article-featured-image img {
    height: 280px;
  }

  .contact-map {
    height: 280px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-terracotta { color: var(--terracotta); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
