/* ============================================
   BROCK INDUSTRIAL FINISHERS — Master Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary-dark: #1A1A1A;
  --primary-mid: #333333;
  --primary-light: #555555;
  --accent-light: #777777;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --dark-text: #1A1A1A;
  --gray-text: #666666;
  --light-gray: #E0E0E0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --header-height: 200px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--dark-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-text);
}

.text-primary { color: var(--primary-mid); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.bg-white { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-primary { background-color: var(--primary-dark); }

/* --- Grid --- */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary-mid);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary-mid);
  color: var(--primary-mid);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-height);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--light-gray);
}

/* Inner pages get a subtle tinted nav background */
body:not(.page-home) .site-header {
  background: rgba(245, 247, 250, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body:not(.page-home) .site-header.scrolled {
  background: rgba(245, 247, 250, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  position: relative;
  display: block;
  height: var(--header-height);
  width: 200px;
  flex-shrink: 0;
}

.header-logo img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 360px;
  width: auto;
  max-width: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .header-logo {
    width: 140px;
  }
  .header-logo img {
    height: 200px;
  }
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-mid);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link .arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: all var(--transition);
}

.dropdown a:hover {
  color: var(--primary-mid);
  background: var(--off-white);
}

/* Header CTA */
.header-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 100px 24px 40px;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav a:hover {
  color: var(--primary-mid);
}

.mobile-nav .sub-link {
  padding-left: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.mobile-nav .mobile-cta {
  margin-top: 24px;
}

.mobile-nav .mobile-cta .btn {
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    display: block;
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-home {
  min-height: 85vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 50%, var(--accent-light) 100%);
}

.hero-page {
  min-height: 360px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,218.7C672,203,768,149,864,144C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128V320H0Z"/></svg>') no-repeat bottom center;
  background-size: 100% auto;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-carousel .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg-carousel .hero-slide.active {
  opacity: 1;
}

.hero-bg-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-home .hero-content {
  padding: 60px 0;
}

.hero-tagline {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.hero-page .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.hero-page .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.hero-page .breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  font-size: 0.7rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--white);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.services-chips li {
  padding: 10px 20px;
  background: var(--white);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all var(--transition);
  cursor: default;
  white-space: nowrap;
}

.services-chips li:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .services-chips li {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}

.service-card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-card-carousel .card-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.service-card-carousel .card-slide.active {
  opacity: 1;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.service-card-body p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-card-body .btn-sm {
  font-size: 0.82rem;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-photo {
  height: 280px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card-info {
  padding: 24px;
}

.team-card-info h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.team-card-info .title {
  color: var(--primary-mid);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.team-card-info p {
  font-size: 0.9rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card .stars {
  color: #F9A825;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card .author-info span {
  font-size: 0.82rem;
  color: var(--gray-text);
}

/* ============================================
   HOMEPAGE SPECIFIC
   ============================================ */

/* Value Proposition Strip */
.value-strip {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--light-gray);
}

.value-strip .card {
  text-align: center;
  border: 1px solid var(--light-gray);
  box-shadow: none;
}

.value-strip .card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.value-strip .card-icon {
  margin: 0 auto 20px;
}

/* Services Overview Grid */
.services-overview .service-card-img {
  height: 160px;
}

/* Featured Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-gallery .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
}

.project-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.project-gallery .gallery-item:hover img {
  transform: scale(1.05);
}

.project-gallery .gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.project-gallery .gallery-item:hover::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials Carousel */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel-card {
  text-align: center;
  max-width: 700px;
  width: 100%;
  border: none;
  box-shadow: none;
  padding: 40px 32px;
}

.testimonial-carousel-card .stars {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.testimonial-carousel-card blockquote {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.testimonial-carousel-card .author {
  justify-content: center;
}

.testimonial-carousel-card .author-avatar {
  width: 56px;
  height: 56px;
  font-size: 1.1rem;
}

.testimonial-carousel-card .author-info strong {
  font-size: 1.05rem;
}

.testimonial-carousel-card .author-info span {
  font-size: 0.88rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-mid);
  color: var(--primary-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--primary-mid);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--primary-mid);
  transform: scale(1.2);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ============================================
   SERVICES PAGE SPECIFIC
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 16px;
}

.service-detail-content ul {
  margin-bottom: 20px;
}

.service-detail-content ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-mid);
  font-weight: 700;
}

.service-note {
  background: var(--off-white);
  border-left: 4px solid var(--primary-mid);
  padding: 24px 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 48px;
}

.service-note h4 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.service-note p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail.reverse {
    direction: ltr;
  }
}

/* Photo Gallery Grid (services / work pages) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-gallery .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.photo-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.photo-gallery .gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro-img .placeholder-icon {
  font-size: 5rem;
  color: var(--white);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; }
}

/* Values Grid */
.values-grid .card {
  border-left: 4px solid var(--primary-mid);
}

.values-grid .card h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ============================================
   RESULTS PAGE SPECIFIC
   ============================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  padding: 64px 0;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.form-group label .required {
  color: #E74C3C;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark-text);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-mid);
}

.form-control.error {
  border-color: #E74C3C;
}

.error-message {
  color: #E74C3C;
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}

.form-control.error + .error-message {
  display: block;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success .check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--white);
}

.form-success h3 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h4 {
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-mid);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item .details strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info-item .details span,
.contact-info-item .details a {
  font-size: 0.88rem;
  color: var(--gray-text);
}

.contact-info-item .details a:hover {
  color: var(--primary-mid);
}

/* Map Placeholder */
.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--light-gray);
}

.map-placeholder span {
  color: var(--gray-text);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Business Hours */
.hours-list {
  font-size: 0.9rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  color: var(--gray-text);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li strong {
  color: var(--dark-text);
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 270px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-brand-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand-body p {
  flex: 1;
  margin-bottom: 0;
}

.footer-badge {
  max-height: 120px;
  width: auto;
  flex-shrink: 0;
  background: var(--white);
  padding: 4px;
  border-radius: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary-mid);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact .icon {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ANIMATIONS (Intersection Observer)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(n+7) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   UTILITY
   ============================================ */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-mid);
  transition: all var(--transition);
}

.link-arrow:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary-mid);
  margin: 16px auto 24px;
  border-radius: 2px;
}

/* Culture page specifics */
.culture-values {
  display: grid;
  gap: 24px;
}

.culture-value-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.culture-value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.culture-value-card .num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.culture-value-card h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .culture-value-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Sub-page links */
.sub-page-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.sub-page-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--primary-dark);
  transition: all var(--transition);
}

.sub-page-link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--primary-mid);
}

.sub-page-link .icon {
  font-size: 1.3rem;
}
