/* ============================================
   FH CONSTRUCCION - Estilos Globales
   ============================================ */

/* Reset y Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Variables CSS */
:root {
  --primary: #E87722;
  --primary-dark: #D16A1E;
  --secondary: #1B2838;
  --secondary-light: #2A3F56;
  --white: #FFFFFF;
  --light-gray: #F5F6F8;
  --medium-gray: #6B7280;
  --dark-gray: #1F2937;
  --success: #10B981;
  --warning: #F59E0B;
  --border: #E5E7EB;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-primary: 0 10px 40px rgba(232,119,34,0.15);
}

/* Utilidades */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-gray { color: var(--medium-gray); }
.bg-light { background: var(--light-gray); }
.bg-secondary { background: var(--secondary); }
.bg-primary { background: var(--primary); }

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.fade-in-up.visible { opacity: 1; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--secondary);
  padding: 10px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar a {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.top-bar a:hover { color: var(--primary); }
.top-bar svg { width: 14px; height: 14px; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.top-bar-social a:hover { color: var(--primary); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.4s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 26px;
  font-weight: 800;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
}
.logo-text-fh { color: var(--primary); }
.logo-text-rest { color: var(--secondary); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  position: relative;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); }
.nav-links svg { width: 14px; height: 14px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--dark-gray);
  transition: all 0.2s;
}
.dropdown li a:hover {
  background: var(--light-gray);
  color: var(--primary);
}
.dropdown li a svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA Button in Nav */
.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232,119,34,0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,56,0.92) 0%, rgba(27,40,56,0.75) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,119,34,0.2);
  border: 1px solid rgba(232,119,34,0.4);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,119,34,0.35);
}

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

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

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-label svg { width: 16px; height: 16px; }

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }

.section-desc {
  font-size: 18px;
  color: var(--medium-gray);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-primary);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(232,119,34,0.3);
  transition: transform 0.3s ease;
}
.service-card:hover .service-card-icon { transform: scale(1.1); }
.service-card-icon svg { width: 26px; height: 26px; color: white; }

.service-card-content {
  padding: 24px 24px 28px;
  text-align: center;
}
.service-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
.service-card-content p {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.3s;
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--medium-gray);
  font-weight: 500;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card-img {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,119,34,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-overlay h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.project-card-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.project-card-overlay .icon-link {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: var(--primary);
  transition: transform 0.3s;
}
.project-card-overlay .icon-link:hover { transform: scale(1.1); }
.project-card-overlay .icon-link svg { width: 20px; height: 20px; }

.project-card-info {
  padding: 20px 24px;
}
.project-card-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}
.project-card-info span {
  font-size: 14px;
  color: var(--medium-gray);
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.stars svg {
  width: 18px;
  height: 18px;
  color: var(--warning);
  fill: var(--warning);
}

.testimonial-text {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--medium-gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-content { flex: 1; }
.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}
.cta-btn-wrap { flex-shrink: 0; }

/* ============================================
   PAGE HEADER (Internal pages)
   ============================================ */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,56,0.9) 0%, rgba(27,40,56,0.8) 100%);
}
.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-header-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.page-header-content h1 span { color: var(--primary); }
.page-header-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 16px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--primary); transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================
   ABOUT PAGE SECTIONS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: auto; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature span { font-size: 15px; color: var(--dark-gray); }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.team-card-img { height: 280px; overflow: hidden; }
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-info { padding: 24px; }
.team-card-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}
.team-card-info span {
  font-size: 14px;
  color: var(--medium-gray);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.value-card:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(232,119,34,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-icon svg { width: 28px; height: 28px; color: var(--primary); }
.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}
.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-info-card .icon {
  width: 52px;
  height: 52px;
  background: rgba(232,119,34,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-info-card .icon svg { width: 24px; height: 24px; color: var(--primary); }
.contact-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}
.contact-info-card p {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

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

/* Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.service-detail-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.service-detail-img img { width: 100%; height: auto; }

.service-detail-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}
.service-detail-content h2 span { color: var(--primary); }

.service-detail-content p {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--dark-gray);
}
.service-features-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}

.sidebar-services li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
  color: var(--dark-gray);
  transition: all 0.3s;
}
.sidebar-services li a:hover,
.sidebar-services li a.active {
  color: var(--primary);
}
.sidebar-services li a svg { width: 16px; height: 16px; }

/* Contact Box in Sidebar */
.contact-box-sidebar {
  background: var(--secondary);
  border-radius: 12px;
  padding: 32px;
  color: var(--white);
  text-align: center;
}
.contact-box-sidebar h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-box-sidebar p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.contact-box-sidebar .phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-box-sidebar .phone-link svg { width: 24px; height: 24px; }
.contact-box-sidebar .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btn {
  position: fixed;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-btn svg { width: 28px; height: 28px; color: white; }

.float-whatsapp {
  right: 24px;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.float-phone {
  left: 24px;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(232,119,34,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  font-size: 24px;
}
.footer-brand .logo-text-rest { color: var(--white); }
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-social a svg { width: 18px; height: 18px; color: white; }

.footer-col h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: all 0.3s;
}
.footer-links li a svg { width: 14px; height: 14px; color: var(--primary); }
.footer-links li a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer-contact li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ============================================
   SECTION SPACING
   ============================================ */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-header.text-center .section-desc { margin: 0 auto; }

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .services-grid,
  .projects-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  
  .values-grid,
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  
  .about-grid,
  .contact-grid,
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .hero h1 { font-size: 42px; }
  
  .section-title { font-size: 36px; }
  
  .cta-section .container { flex-direction: column; text-align: center; }
  
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  
  /* Mobile menu */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.active .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
  }
}

@media (max-width: 767px) {
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .stats-grid,
  .team-grid,
  .values-grid,
  .steps-grid,
  .about-features,
  .contact-info-cards,
  .service-features-list { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  
  .hero { min-height: 500px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  
  .page-header { height: 320px; }
  .page-header-content h1 { font-size: 32px; }
  
  .cta-content h2 { font-size: 28px; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .top-bar-left .location-text { display: none; }
  
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 24px; height: 24px; }
}

/* ============================================
   WHATSAPP GREEN BUTTON
   ============================================ */
.btn-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: var(--white) !important;
}
.btn-whatsapp:hover {
  background: #1fb955 !important;
  border-color: #1fb955 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ============================================
   FORM INPUTS WITH ICONS
   ============================================ */
.form-group-icon {
  position: relative;
}
.form-group-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--medium-gray);
  pointer-events: none;
  z-index: 2;
}
.form-group-icon input,
.form-group-icon select {
  padding-left: 44px !important;
}
.form-group-icon textarea {
  padding-left: 44px !important;
}
.form-group-icon.textarea-icon .input-icon {
  top: 20px;
  transform: none;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  padding-top: 60px;
  padding-bottom: 60px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  aspect-ratio: 4/3;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1023px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item { aspect-ratio: 1/1; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }

/* Smooth counter animation */
.counter { display: inline-block; }

/* ============================================
   LIGHTBOX GALLERY
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.98); /* Rich slate-900 background */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px); /* Blur background behind modal */
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 500;
  font-family: monospace;
  z-index: 10001;
}
.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-animate {
  animation: lightboxFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.lightbox-caption {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  max-width: 600px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 36px;
  font-weight: 300;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10001;
}
.lightbox-close:hover {
  color: var(--white);
  background: rgba(239, 68, 68, 0.9); /* Red close hover button */
  transform: rotate(90deg);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(232, 119, 34, 0.4);
}
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

@media (max-width: 767px) {
  .lightbox-prev { left: 16px; width: 44px; height: 44px; font-size: 24px; }
  .lightbox-next { right: 16px; width: 44px; height: 44px; font-size: 24px; }
  .lightbox-close { top: 16px; right: 16px; width: 36px; height: 36px; font-size: 28px; }
  .lightbox-counter { top: 22px; left: 16px; font-size: 13px; }
  .lightbox-caption { font-size: 14px; margin-top: 12px; padding: 0 16px; }
  .lightbox-content { max-width: 90%; }
}

