/* ============================================
   CIPO - Cimentaciones Profundas de Occidente
   Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary Colors */
  --primary: #0B1D3A;
  --primary-light: #132D57;
  --primary-dark: #060F1F;
  
  /* Accent Colors */
  --accent: #2C9BD8;
  --accent-hover: #1E87C4;
  --accent-light: #3DAEE8;
  --accent-glow: rgba(44, 155, 216, 0.3);
  
  /* Secondary Accent - warm gold for Mexican touch */
  --gold: #D4A843;
  --gold-light: #E8C46F;
  --gold-dark: #B08A2E;
  
  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8ECF1;
  --gray: #94A3B8;
  --dark-gray: #475569;
  --text-dark: #1E293B;
  
  /* Glass Effects */
  --glass-bg: rgba(11, 29, 58, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Loading Screen --- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.loader-logo span {
  color: var(--accent);
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-logo-text .brand-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
  transform-origin: right;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.85) 0%,
    rgba(11, 29, 58, 0.5) 50%,
    rgba(11, 29, 58, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

.hero-content .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 155, 216, 0.15);
  border: 1px solid rgba(44, 155, 216, 0.3);
  color: var(--accent-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Hero Stats Card (Glassmorphism) */
.hero-stats {
  flex: 0 0 380px;
  animation: fadeInRight 1s ease 0.5s forwards;
  opacity: 0;
}

.stats-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--glass-shadow);
}

.stats-card-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(44, 155, 216, 0.2), rgba(44, 155, 216, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-info p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll i {
  color: var(--accent);
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Services Section --- */
.services {
  padding: var(--section-padding);
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.75);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: var(--transition-slow);
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-bg img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(11, 29, 58, 0.1) 0%,
    rgba(11, 29, 58, 0.5) 50%,
    rgba(11, 29, 58, 0.9) 100%
  );
  transition: var(--transition-slow);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(11, 29, 58, 0.0) 0%,
    rgba(11, 29, 58, 0.3) 50%,
    rgba(11, 29, 58, 0.85) 100%
  );
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  z-index: 2;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-content {
  transform: translateY(0);
}

.service-card-icon {
  width: 55px;
  height: 55px;
  background: rgba(44, 155, 216, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 18px;
  border: 1px solid rgba(44, 155, 216, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}

.service-link i {
  transition: var(--transition-base);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* --- About Section --- */
.about {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.92) 0%,
    rgba(19, 45, 87, 0.88) 100%
  );
}

.about-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.about-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition-base);
}

.about-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(44, 155, 216, 0.3);
}

.about-feature-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(44, 155, 216, 0.2), rgba(44, 155, 216, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 auto 14px;
}

.about-feature h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Projects Section --- */
.projects {
  padding: var(--section-padding);
  background: var(--off-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(
    to top,
    rgba(11, 29, 58, 0.95) 0%,
    rgba(11, 29, 58, 0.4) 60%,
    transparent 100%
  );
  transition: var(--transition-smooth);
}

.project-card:hover .project-card-overlay {
  padding-bottom: 50px;
}

.project-tag {
  display: inline-block;
  background: rgba(44, 155, 216, 0.2);
  border: 1px solid rgba(44, 155, 216, 0.3);
  color: var(--accent-light);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.projects-cta {
  text-align: center;
}

/* --- Clients Section --- */
.clients {
  padding: 80px 0;
  background: var(--white);
}

.clients-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition-base);
  cursor: pointer;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo img {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
}

.client-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Values Section --- */
.values {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.values-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.values-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.values-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.9) 0%,
    rgba(19, 45, 87, 0.85) 100%
  );
}

.values-content {
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-base);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  border-color: rgba(44, 155, 216, 0.3);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(44, 155, 216, 0.2), transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(44, 155, 216, 0.08) 0%, transparent 70%);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--gray);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.6);
}

.footer-bottom a {
  color: var(--accent);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* --- Counter Animation --- */
.counter {
  display: inline-block;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-base);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-content .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    flex: 0 0 auto;
    width: 100%;
    max-width: 450px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 36px 36px;
    gap: 20px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    max-width: 100%;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    height: 350px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    height: 380px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .cta h2 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stats-card {
    padding: 28px 24px;
  }
  
  .stat-info h3 {
    font-size: 1.5rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-logo-text .brand-name {
    font-size: 0.95rem;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
