/* =========================================
   NIRMAL UPVC & METAL INDUSTRIES - STYLESHEET
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #0A2540;
  --primary-light: #1a3f6f;
  --accent: #C9A14A;
  --accent-light: #e0bc6e;
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --mid-grey: #e0e0e0;
  --dark-grey: #333333;
  --text-muted: #666666;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.15);
  --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --nav-height: 80px;
}

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

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-grey);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

.section-padding { padding: 90px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .tagline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Prevent transition glitches on resize */
.resize-animation-stopper * {
  transition: none !important;
  animation: none !important;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 161, 74, 0.4);
}

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

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

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

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo-text .brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(201, 161, 74, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: var(--primary) !important;
  padding: 10px 24px !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--primary) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideshow 18s infinite;
}

.hero-bg-1 {
  background-image: url('../images/assets/1.jpg');
  animation-delay: 0s;
}

.hero-bg-2 {
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop');
  animation-delay: -12s;
}

.hero-bg-3 {
  background-image: url('https://images.unsplash.com/photo-1560185007-cde436f6a4d0?w=1600&auto=format&fit=crop');
  animation-delay: -6s;
}

@keyframes heroSlideshow {
  0% { opacity: 0; }
  16.66% { opacity: 0.4; }
  33.33% { opacity: 0.4; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-height) + 20px) 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 161, 74, 0.15);
  border: 1px solid rgba(201, 161, 74, 0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 66px);
  color: var(--white);
  margin-bottom: 20px;
  max-width: 720px;
  line-height: 1.1;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.7s ease 0.4s both;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 20px; }

/* =========================================
   ABOUT PAGE HERO
   ========================================= */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--primary);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 40%, transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 60px) 24px 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb i { font-size: 10px; }

.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge .years {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .years-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

.about-text .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light-grey);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.value-item:hover {
  background: var(--primary);
  color: var(--white);
}

.value-item:hover h4 { color: var(--accent); }
.value-item:hover p { color: rgba(255,255,255,0.7); }

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.value-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  transition: var(--transition);
}

.value-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  transition: var(--transition);
}

/* Why Choose Us */
.why-choose {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.why-choose .section-header h2 { color: var(--white); }
.why-choose .section-header p { color: rgba(255,255,255,0.65); }

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

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(201, 161, 74, 0.08);
  border-color: rgba(201, 161, 74, 0.3);
  transform: translateY(-6px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 161, 74, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--accent);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* =========================================
   SERVICES
   ========================================= */
.services-intro {
  background: var(--light-grey);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: var(--transition);
  position: relative;
}

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

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

.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.6) 0%, transparent 60%);
}

.service-body {
  padding: 28px;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 16px;
}

.service-body h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  border-top: 1px solid var(--mid-grey);
  padding-top: 16px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dark-grey);
  padding: 6px 0;
}

.service-features li i {
  color: var(--accent);
  font-size: 12px;
  width: 16px;
}

/* Process Section */
.process-section { background: var(--primary); }
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p { color: rgba(255,255,255,0.65); }

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(201,161,74,0.2));
}

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

.step-number {
  width: 64px;
  height: 64px;
  background: rgba(201, 161, 74, 0.1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--accent);
  color: var(--primary);
}

.process-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-section { background: var(--light-grey); }

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

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--mid-grey);
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--primary);
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,37,64,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  font-size: 32px;
  color: var(--white);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i { transform: scale(1.2); }

.gallery-overlay .gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 90vh;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover { background: var(--accent); color: var(--primary); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* =========================================
   CONTACT
   ========================================= */
.contact-section { background: var(--light-grey); }

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

.contact-info h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-items { margin-bottom: 36px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.contact-item:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text p {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-item-text a:hover { color: var(--accent); }

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

.social-link {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label span { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--mid-grey);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--dark-grey);
  background: var(--light-grey);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.12);
}

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

.form-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .form-error { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #d4edda;
  border-radius: var(--radius);
  color: #155724;
  margin-top: 16px;
}

.form-success i { font-size: 32px; margin-bottom: 8px; display: block; }
.form-success.show { display: block; }

/* Map */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
  filter: grayscale(20%);
}

/* =========================================
   TESTIMONIALS (Home page)
   ========================================= */
.testimonials { background: var(--white); }

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

.testimonial-card {
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:hover .testimonial-text { color: rgba(255,255,255,0.85); }
.testimonial-card:hover .testimonial-author h4 { color: var(--white); }
.testimonial-card:hover .testimonial-author span { color: rgba(255,255,255,0.6); }

.quote-icon {
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  transition: var(--transition);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.testimonial-author h4 {
  font-size: 15px;
  color: var(--primary);
  transition: var(--transition);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
  transition: var(--transition);
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,161,74,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
}

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

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #060f1a;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

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

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.55);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 161, 74, 0.3);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: 10px; color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }

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

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

.footer-bottom span { color: var(--accent); }

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

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

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

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

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-stack { max-width: 500px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .section-padding { padding: 60px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: var(--radius);
  }

  .nav-cta { text-align: center; justify-content: center; }

  .hero-buttons { flex-direction: column; width: fit-content; }
  .hero-stats { gap: 24px; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }

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

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .about-img-accent { display: none; }
  .experience-badge { top: 16px; left: 16px; }

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

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { aspect-ratio: 4/3; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .contact-form-wrapper { padding: 24px; }
}


