/* ============================================
   PRIMEGLOBAL ALUMINUM & ROOFING - PREMIUM STYLES
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --red-primary: #B91C1C;
  --red-dark: #991B1B;
  --red-light: #DC2626;
  --red-accent: #EF4444;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --gray-50: #F3F4F6;
  --gray-100: #E5E7EB;
  --gray-200: #D1D5DB;
  --gray-300: #9CA3AF;
  --gray-400: #6B7280;
  --gray-500: #4B5563;
  --gray-600: #374151;
  --gray-700: #1F2937;
  --gray-800: #111827;
  --gray-900: #030712;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* --- 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(--gray-700);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.text-red {
  color: var(--red-primary);
}

.text-white {
  color: var(--white);
}

.bg-red {
  background-color: var(--red-primary);
}

.bg-dark {
  background-color: var(--gray-900);
}

.bg-light {
  background-color: var(--off-white);
}

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

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

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

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s var(--ease-smooth);
}

.navbar.scrolled .nav-logo {
  color: var(--gray-900);
}


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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-smooth);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: width 0.3s var(--ease-luxury);
  border-radius: 1px;
}

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

.nav-links a:hover {
  color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--red-primary);
}

.nav-cta {
  background: var(--red-primary) !important;
  color: var(--white) !important;
  padding: 10px 28px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease-smooth) !important;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(185, 28, 28, 0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--red-dark) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 7, 18, 0.85) 0%,
    rgba(3, 7, 18, 0.6) 40%,
    rgba(153, 27, 27, 0.4) 100%
  );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(3, 7, 18, 0.7) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid rgba(185, 28, 28, 0.4);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-accent);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--red-accent);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-size: 2.5rem;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
}

.hero-stat h3 span {
  color: var(--red-accent);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(185, 28, 28, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
}

.btn-outline-red:hover {
  background: var(--red-primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-icon {
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- Section Headers --- */
.section-header {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-primary);
  margin-bottom: 16px;
}

.section-header .overline::before,
.section-header .overline::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red-primary);
  border-radius: 1px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--gray-400);
  line-height: 1.75;
}

/* --- Services Preview (Home) --- */
.services-preview {
  background: var(--off-white);
}

.services-grid,
.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  border: 1px solid var(--gray-100);
  position: relative;
}

.service-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05));
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
  will-change: transform;
}

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

.service-card-body {
  padding: 32px;
}

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

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

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

.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08), rgba(185, 28, 28, 0.04));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all 0.3s var(--ease-smooth);
}

.service-card:hover .service-card-icon {
  background: var(--red-primary);
  transform: scale(1.1) rotate(-3deg);
}

.service-card:hover .service-card-icon svg {
  color: white;
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--red-primary);
  transition: color 0.3s var(--ease-smooth);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 20px;
  transition: gap 0.3s var(--ease-smooth);
}

.service-card:hover .learn-more {
  gap: 12px;
}

/* --- About Preview (Home) --- */
.about-preview {
  overflow: hidden;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--red-primary);
  border-radius: 20px;
  opacity: 0.1;
  z-index: -1;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-content p {
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  transition: all 0.3s var(--ease-smooth);
}

.about-feature:hover {
  background: rgba(185, 28, 28, 0.06);
  color: var(--red-primary);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(185, 28, 28, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--red-primary);
  flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.15), transparent 70%);
  border-radius: 50%;
}

.testimonials .section-header .overline {
  color: var(--red-accent);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  border-color: rgba(185, 28, 28, 0.3);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

.testimonial-author-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08), transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
}

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

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Quote Form --- */
.quote-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-2xl);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--gray-100);
}

.quote-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.quote-form-wrapper > p {
  color: var(--gray-400);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--off-white);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 28px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s var(--ease-luxury);
}

.form-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #059669;
}

.form-success p {
  color: var(--gray-400);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--off-white);
  border-radius: 14px;
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: var(--white);
  border-color: var(--gray-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.contact-info-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(185, 28, 28, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--red-primary);
}

.contact-info-card h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.contact-map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--gray-100);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 30px;
  border: 2px dashed var(--gray-200);
}

/* --- Services Page --- */
.services-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(185, 28, 28, 0.15), transparent 60%);
}

.services-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
}

.services-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.service-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease-smooth);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-detail-image {
  min-height: 360px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.88rem;
}

.service-detail-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content .service-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(185, 28, 28, 0.08);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.service-detail-list li svg {
  width: 18px;
  height: 18px;
  color: var(--red-primary);
  flex-shrink: 0;
}

/* --- Gallery Page --- */
.gallery-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 14px;
}

.gallery-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 28px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  font-family: var(--font-body);
}

.gallery-filter-btn:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.gallery-filter-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  transition: all 0.4s var(--ease-smooth);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-item-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
  will-change: transform;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.85), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

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

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.gallery-item-overlay .view-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-bounce);
}

.gallery-item:hover .view-icon {
  transform: translate(-50%, -50%) scale(1);
}

.view-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  background: var(--gray-800);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 600px;
  min-height: 400px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--red-primary);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.lightbox-info h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 320px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
  background: var(--red-primary);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover svg {
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--red-accent);
  transform: translateX(4px);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s var(--ease-smooth);
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter-form input:focus {
  border-color: var(--red-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  transition: color 0.3s var(--ease-smooth);
}

.footer-bottom-links a:hover {
  color: var(--red-accent);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s var(--ease-smooth);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: var(--white);
  fill: var(--white);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* --- Page Hero (shared for inner pages) --- */
.page-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(185, 28, 28, 0.15), transparent 60%);
}

.page-hero .container {
  position: relative;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease-smooth);
}

.page-hero .breadcrumb a:hover {
  color: var(--red-accent);
}

.page-hero .breadcrumb .separator {
  font-size: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 560px;
}

/* --- About Page Detail Sections --- */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-detail-image {
  height: 420px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.88rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease-smooth);
}

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

.about-value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08), rgba(185, 28, 28, 0.02));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.about-value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}

.about-value-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .about-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

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

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

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s var(--ease-luxury);
    z-index: 1000;
  }

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

  .nav-links a {
    color: var(--gray-700);
    font-size: 1.05rem;
  }

  .nav-links a:hover {
    color: var(--red-primary);
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat h3 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

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

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

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

  .quote-form-wrapper {
    padding: 32px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .lightbox-content {
    min-width: auto;
    min-height: auto;
    width: 90vw;
    height: 70vh;
  }

  .page-hero {
    padding: 170px 0 60px;
  }
}

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

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* --- Scroll-triggered stagger helper (set by JS) --- */
.stagger-child {
  opacity: 0;
  transform: translateY(20px);
}

/* --- Services 2x2 responsive --- */
@media (max-width: 768px) {
  .services-grid-2x2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .services-grid-2x2 {
    max-width: 100%;
  }
}

/* --- Overlay for mobile nav --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --- Loading screen --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--gray-900);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-smooth);
}

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

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--red-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
