/* ══════════════════════════════════════════════════════════════
   M2A — INSTALACIONES ELÉCTRICAS — STYLESHEET
   ══════════════════════════════════════════════════════════════ */

:root {
  --black:     #080808;
  --dark:      #0f0f0f;
  --dark-2:    #161616;
  --dark-3:    #1e1e1e;
  --dark-4:    #2a2a2a;
  --yellow:    #FFD700;
  --yellow-2:  #FFC200;
  --yellow-dim:#b89a00;
  --white:     #ffffff;
  --gray-1:    #e0e0e0;
  --gray-2:    #aaaaaa;
  --gray-3:    #555555;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.35s var(--ease-out-expo);
  --section-pad:   120px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 999px; }

/* ─── SELECTION ──────────────────────────────────────────────── */
::selection { background: var(--yellow); color: var(--black); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-1);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.btn-cta-nav {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 11px 24px;
  border: 2px solid var(--yellow);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cta-nav:hover {
  background: transparent;
  color: var(--yellow);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}
.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
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#lightningCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 12s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.88) 0%,
    rgba(8,8,8,0.72) 40%,
    rgba(8,8,8,0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  padding-top: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 8px 18px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(68px, 10vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}
.hero-title .line-1 { animation: fadeUp 0.9s var(--ease-out-expo) 0.4s forwards; }
.hero-title .line-2 {
  color: var(--yellow);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.55s forwards;
}
.hero-title .line-3 { animation: fadeUp 0.9s var(--ease-out-expo) 0.7s forwards; }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300;
  color: var(--gray-1);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.85s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out-expo) 1s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 16px 34px;
  border: 2px solid var(--yellow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--black); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 34px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
.hero-scroll-hint span {
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ══════════════════════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--dark-3);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 64px 32px;
  position: relative;
}
.stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 60px; width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  color: var(--yellow);
  line-height: 1;
  display: inline-block;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   SECTION COMMONS
   ══════════════════════════════════════════════════════════════ */
.section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  position: relative;
  padding: 0 16px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px; height: 1px;
  background: var(--yellow);
  opacity: 0.5;
}
.section-tag::before { right: 100%; }
.section-tag::after  { left: 100%; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.accent { color: var(--yellow); }

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services {
  padding: var(--section-pad) 0;
  background: var(--dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.5s var(--ease-out-expo);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,215,0,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  border-color: rgba(255, 215, 0, 0.25);
  transform: translateY(-6px);
}
.service-card:hover::before { width: 100%; }
.service-card:hover::after { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  color: var(--yellow);
  margin-bottom: 28px;
  transition: transform 0.4s var(--ease-out-expo);
}
.service-card:hover .card-icon { transform: scale(1.12) rotate(-3deg); }
.card-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 14px;
}
.card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.7;
}
.card-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,215,0,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 12px;
  opacity: 0;
  transform: translate(8px, -8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out-expo);
}
.service-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about {
  padding: var(--section-pad) 0;
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1320px;
  margin: 0 auto;
  gap: 80px;
  align-items: center;
  padding-left: 32px;
  padding-right: 32px;
}
.about-image-wrap {
  position: relative;
  border: 1px solid rgba(255,215,0,0.15);
}
.about-image-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.6s ease;
}
.about-image-wrap:hover img { filter: grayscale(0%) contrast(1); }
.about-image-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--yellow);
  color: var(--black);
  padding: 28px 32px;
  text-align: center;
}
.badge-year {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--black);
}
.badge-text {
  display: block;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--black);
}
.about-content { padding-bottom: 24px; }
.about-content .section-tag { display: block; margin-bottom: 16px; padding: 0; text-align: left; }
.about-content .section-tag::before,
.about-content .section-tag::after { display: none; }
.about-content .section-title { text-align: left; }
.about-lead {
  font-size: 19px;
  font-weight: 500;
  color: var(--gray-1);
  line-height: 1.6;
  margin-bottom: 20px;
  margin-top: 28px;
  border-left: 3px solid var(--yellow);
  padding-left: 20px;
}
.about-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 40px;
}
.about-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.cert-item i { color: var(--yellow); font-size: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════════════ */
.projects {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card { position: relative; overflow: hidden; }
.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.6s ease;
  filter: grayscale(20%) brightness(0.85);
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.7);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.5) 50%, transparent 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-tag {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}
.project-name {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-overlay p {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-1);
  line-height: 1.6;
  margin-bottom: 18px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: gap 0.3s ease;
}
.project-link:hover { gap: 14px; }

/* Card names always visible strip */
.project-card::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(8,8,8,0.9), transparent);
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.3s ease;
}
.project-card:hover::after { opacity: 0; }

/* ══════════════════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════════════════ */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--dark);
  position: relative;
}
.why-us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.why-item {
  text-align: center;
  padding: 48px 28px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.why-item::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--yellow);
  transition: width 0.4s var(--ease-out-expo);
}
.why-item:hover { border-color: rgba(255,215,0,0.2); transform: translateY(-4px); }
.why-item:hover::after { width: 100%; }
.why-icon {
  font-size: 32px;
  color: var(--yellow);
  margin-bottom: 24px;
  display: block;
}
.why-item h3 {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 14px;
}
.why-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--black);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--dark-2);
}
.contact-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info { padding-top: 12px; }
.contact-info .section-tag { display: block; margin-bottom: 16px; padding: 0; text-align: left; }
.contact-info .section-tag::before,
.contact-info .section-tag::after { display: none; }
.contact-info .section-title { text-align: left; margin-bottom: 24px; }
.contact-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 48px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 16px;
  flex-shrink: 0;
}
.detail-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 4px;
}
.detail-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s ease;
}
a.detail-value:hover { color: var(--yellow); }

/* Form */
.contact-form-wrap {
  background: var(--dark-3);
  padding: 52px 48px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-4);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,215,0,0.04);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff4444;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD700' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-group select option { background: var(--dark-4); color: var(--white); }
.form-group textarea { min-height: 130px; }
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover { color: var(--yellow); }
.btn-submit .btn-text,
.btn-submit .btn-icon { position: relative; z-index: 1; }
.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 20px 24px;
  color: var(--yellow);
}
.form-success.visible { display: flex; }
.form-success i { font-size: 22px; flex-shrink: 0; }
.form-success p { font-size: 14px; font-weight: 400; color: var(--gray-1); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-3);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 280px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-2);
  font-size: 14px;
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a,
.footer-col li span {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-3);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col li a:hover { color: var(--yellow); }
.footer-col li i { color: var(--yellow-dim); font-size: 12px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 32px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray-3);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1100px) {
  :root { --section-pad: 90px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 60px; padding: var(--section-pad) 32px; }
  .about-image-wrap img { height: 440px; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; gap: 52px; }
  .contact::before { display: none; }
  .contact-form-wrap { padding: 36px 28px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 70px; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: 280px;
    background: var(--dark-2);
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 999;
    border-left: 1px solid rgba(255,215,0,0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 15px; }
  .btn-cta-nav { display: none; }

  .hero-content { padding-top: 120px; }
  .hero-badge { font-size: 10px; }
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-image-badge { bottom: -12px; right: -12px; padding: 20px 24px; }
  .badge-year { font-size: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 20px; }
  .hero-content { padding: 0 20px; padding-top: 110px; }
  .section-container { padding: 0 20px; }
  .about { padding-left: 20px; padding-right: 20px; }
  .contact-container { padding: 0 20px; }
  .footer-top { padding: 60px 20px 40px; }
  .footer-bottom { padding: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-certs { grid-template-columns: 1fr; }
}
