/* ==========================================================================
   Darkeytech - CSS Design System & Stylesheet
   Dark Mode Futurista, Glassmorphism, Micro-animaciones & Estética Premium
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(26, 38, 66, 0.8);
  --bg-glass: rgba(13, 19, 33, 0.65);
  
  --primary: #00f0ff;
  --primary-glow: rgba(0, 240, 255, 0.35);
  --primary-dark: #00a8b5;
  
  --secondary: #7000ff;
  --secondary-glow: rgba(112, 0, 255, 0.35);
  
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Cyber Grid Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(112, 0, 255, 0.08) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, #b87cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--primary) 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(7, 9, 14, 0.95);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--primary-glow)) brightness(1.1);
  transition: var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px var(--primary)) brightness(1.2);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition-fast);
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
  color: #040914;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px var(--primary-glow);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(112, 0, 255, 0.15);
  border: 1px solid rgba(112, 0, 255, 0.4);
  border-radius: var(--radius-full);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-pill i {
  color: var(--primary);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.visual-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 50%, var(--secondary) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;

}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.tech-badge {
  font-size: 0.75rem;
  color: var(--primary);
  font-family: monospace;
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.hero-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  max-height: 320px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.badge-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats-bar {
  background: rgba(15, 23, 42, 0.5);
  border-y: 1px solid var(--border-light);
  padding: 2.5rem 0;
  margin-bottom: 6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--primary-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(112, 0, 255, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.service-price-tag.free {
  background: rgba(0, 240, 255, 0.12);
  color: var(--primary);
  border-color: rgba(0, 240, 255, 0.3);
}

.service-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li i {
  color: var(--primary);
  font-size: 0.8rem;
}

.btn-card {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-card:hover {
  background: var(--primary);
  color: #040914;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Interactive Estimator / Cotizador */
.estimator-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.08) 0%, transparent 70%);
}

.estimator-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.option-group-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.custom-checkbox {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-checkbox:hover {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
}

.custom-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cb-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.cb-price {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: monospace;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.qty-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary);
  color: #000;
}

.qty-val {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

.estimator-summary-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.summary-list {
  list-style: none;
  margin-bottom: 1.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.summary-total {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.total-lbl {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.total-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.btn-whatsapp-estimate {
  width: 100%;
  padding: 1rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
}

.btn-whatsapp-estimate:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

/* Portfolio / Equipment Gallery */
.gallery-section {
  padding: 6rem 0;
}

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

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  group: hover;
}

.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.gallery-sub {
  font-size: 0.85rem;
  color: var(--primary);
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: rgba(15, 23, 42, 0.3);
}

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

.about-img-box {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-badge-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--bg-dark);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px var(--secondary-glow);
}

.about-badge-card h4 {
  font-size: 1.8rem;
  color: #c084fc;
}

.about-badge-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Scope List */
.scope-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.scope-item i {
  color: var(--accent-green);
  font-size: 1.1rem;
  margin-top: 2px;
}

.scope-item h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.scope-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 6rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-header i {
  transition: var(--transition-fast);
  color: var(--primary);
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.faq-item.active .faq-body {
  display: block;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-info h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: rgba(255, 255, 255, 0.08);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition-fast);
  animation: floatBounce 3s ease-in-out infinite;
}

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

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

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--primary);
  box-shadow: 0 0 50px var(--primary-glow);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-fast);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.modal-close:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  background: rgba(4, 6, 10, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 1150px) {
  .hero-grid, .estimator-box, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

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

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