/* ============================================================
   CONSTRU PLUS ENERGY — Global Styles
   Colors: Orange #F7941D | Teal #1B8FA0 | Navy #0A1628
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;700;900&display=swap');

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

:root {
  --orange:      #F7941D;
  --orange-dark: #D97A10;
  --orange-glow: rgba(247, 148, 29, 0.25);
  --teal:        #1B8FA0;
  --teal-dark:   #136878;
  --teal-glow:   rgba(27, 143, 160, 0.25);
  --navy:        #0A1628;
  --navy-alt:    #0F2040;
  --navy-card:   #111E35;
  --text:        #E8EAF0;
  --text-muted:  #8B9CB5;
  --border:      rgba(247, 148, 29, 0.18);
  --border-teal: rgba(27, 143, 160, 0.25);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --shadow-orange: 0 8px 32px rgba(247, 148, 29, 0.3);
  --shadow-teal:   0 8px 32px rgba(27, 143, 160, 0.3);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── Selection ── */
::selection { background: var(--orange); color: var(--navy); }


/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
}
.logo-text span:last-child {
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(247, 148, 29, 0.12);
}
.nav-links a.active { color: var(--orange); }

.nav-cta {
  padding: 0.45rem 1.2rem !important;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-orange); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(27,143,160,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(247,148,29,0.1) 0%, transparent 55%),
    var(--navy);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,143,160,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,143,160,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 148, 29, 0.1);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--orange), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .highlight-teal {
  background: linear-gradient(135deg, var(--teal), #4ECDC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-glow {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-glow::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(247,148,29,0.2) 0%, rgba(27,143,160,0.15) 40%, transparent 70%);
  border-radius: 50%;
  animation: logo-pulse 4s ease-in-out infinite;
}
.hero-logo-glow::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(247,148,29,0.2);
  border-radius: 50%;
  animation: rotate-ring 15s linear infinite;
}
@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-logo-glow img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(247,148,29,0.4));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-item .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce-scroll 2s ease-in-out infinite;
}
.hero-scroll-hint svg { opacity: 0.5; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(247,148,29,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-teal);
}
.btn-secondary:hover {
  background: var(--teal-glow);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(27,143,160,0.3);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--navy);
  transform: translateY(-2px);
}


/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: rgba(247,148,29,0.1);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  border-radius: 3px;
  margin: 1rem auto;
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  opacity: 0;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(247,148,29,0.35); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-orange { background: rgba(247,148,29,0.12); }
.icon-teal   { background: rgba(27,143,160,0.12); }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ============================================================
   SERVICES SECTION (home preview)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: var(--orange); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}
.service-icon-wrap.solar  { background: radial-gradient(circle, rgba(247,148,29,0.2), rgba(247,148,29,0.05)); border: 1px solid rgba(247,148,29,0.3); }
.service-icon-wrap.electr { background: radial-gradient(circle, rgba(27,143,160,0.2), rgba(27,143,160,0.05)); border: 1px solid rgba(27,143,160,0.3); }
.service-icon-wrap.remod  { background: radial-gradient(circle, rgba(100,180,100,0.2), rgba(100,180,100,0.05)); border: 1px solid rgba(100,180,100,0.3); }
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(5deg); }

.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }


/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy-alt), var(--navy-card));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(247,148,29,0.12) 0%, rgba(27,143,160,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(247,148,29,0.05), transparent 60%);
  animation: cta-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.cta-section h2 { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 900; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; position: relative; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}
.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.88rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn.fb  { background: rgba(24, 119, 242, 0.15); color: #1877F2; border: 1px solid rgba(24,119,242,0.3); }
.social-btn.ig  { background: rgba(225, 48, 108, 0.15); color: #E1306C; border: 1px solid rgba(225,48,108,0.3); }
.social-btn.wa  { background: rgba(37, 211, 102, 0.15); color: #25D366; border: 1px solid rgba(37,211,102,0.3); }
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.2); }

.footer-col h4 {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom .built-by a { color: var(--orange); }


/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { flex-shrink: 0; }


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(247,148,29,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(27,143,160,0.12) 0%, transparent 55%),
    var(--navy);
}
.page-hero-bg .hero-grid { position: absolute; inset: 0; }
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--orange); transition: var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb span { opacity: 0.5; }
.page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.page-title span { color: var(--orange); }
.page-desc { color: var(--text-muted); max-width: 550px; font-size: 1rem; line-height: 1.7; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  min-height: 350px;
  background: var(--navy-card);
}
.about-img-placeholder {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--navy-card), var(--navy-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 4rem;
}
.about-img-placeholder p { font-size: 0.85rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}
.mv-card .mv-icon { font-size: 2rem; margin-bottom: 1rem; }
.mv-card h3 { color: var(--orange); font-weight: 700; margin-bottom: 0.75rem; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; }
.mv-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.socios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.socio-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.socio-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.socio-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1rem;
  font-family: 'Montserrat', sans-serif;
}
.socio-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.socio-role { color: var(--orange); font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.socio-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail {
  padding: 5rem 0;
  position: relative;
}
.service-detail:nth-child(even) { background: linear-gradient(135deg, rgba(27,143,160,0.03), transparent); }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-visual {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--teal-glow), transparent 70%);
}
.service-detail-visual .visual-icon { position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(247,148,29,0.5)); }

.service-detail-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.service-detail-text h2 span { color: var(--orange); }
.service-detail-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }

.feature-list { margin-bottom: 2rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list li:last-child { border-bottom: none; }

.service-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}


/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-filter {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange); }

.project-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-alt), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
}
.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-solar   { background: rgba(247,148,29,0.9); color: var(--navy); }
.badge-electr  { background: rgba(27,143,160,0.9); color: #fff; }
.badge-remod   { background: rgba(100,180,100,0.9); color: var(--navy); }

.project-info { padding: 1.5rem; }
.project-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-info p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.6; margin-bottom: 1rem; }
.project-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.project-meta span { display: flex; align-items: center; gap: 4px; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: fit-content;
}
.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(247,148,29,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text { flex: 1; }
.contact-item-text label { font-size: 0.75rem; color: var(--orange); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 3px; }
.contact-item-text span { color: var(--text); font-size: 0.9rem; }

.contact-socials {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-socials h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 500; }
.contact-social-links { display: flex; gap: 0.75rem; }

.contact-form-wrap {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,148,29,0.1);
}
.form-group select option { background: var(--navy-card); }
.form-group textarea { resize: vertical; min-height: 120px; }


/* ============================================================
   ANIMATIONS / SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .stat-item        { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.reverse { direction: ltr; }
  .about-intro      { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .hero-content     { grid-template-columns: 1fr; text-align: center; }
  .hero-desc        { margin: 0 auto 2.5rem; }
  .hero-buttons     { justify-content: center; }
  .hero-stats       { justify-content: center; }
  .hero-visual      { display: none; }
  .projects-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(10,22,40,0.98); flex-direction: column; padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .mv-grid        { grid-template-columns: 1fr; }
  .form-grid      { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .service-sub-grid { grid-template-columns: 1fr; }
  .cta-section    { padding: 2.5rem 1.5rem; }
  .footer-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; }
  section         { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
}


/* ============================================================
   SOLAR PANEL HERO ANIMATION
   ============================================================ */

.solar-hero-anim {
  position: relative;
  width: 360px;
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ── Sol ── */
.anim-sun {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  opacity: 0;
  animation: sun-appear 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
  flex-shrink: 0;
}
@keyframes sun-appear {
  from { opacity: 0; transform: scale(0.2) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.sun-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE066, #F7941D 55%, #c96a00);
  box-shadow:
    0 0 0 4px rgba(247,148,29,0.2),
    0 0 25px rgba(247,148,29,0.7),
    0 0 55px rgba(247,148,29,0.35);
  animation: sun-pulse 3.5s ease-in-out infinite 1.2s;
}
@keyframes sun-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(247,148,29,0.2), 0 0 25px rgba(247,148,29,0.7), 0 0 55px rgba(247,148,29,0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(247,148,29,0.15), 0 0 45px rgba(247,148,29,0.9), 0 0 90px rgba(247,148,29,0.5); }
}

.sun-rays-wrap {
  position: absolute;
  inset: -18px;
  animation: rays-spin 12s linear infinite 1.2s;
}
@keyframes rays-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sun-ray {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(247,148,29,0.9), transparent);
  transform-origin: bottom center;
  left: calc(50% - 1.5px);
  bottom: 50%;
}
.sun-ray:nth-child(1) { height: 18px; transform: rotate(0deg)   translateY(-36px); }
.sun-ray:nth-child(2) { height: 13px; transform: rotate(45deg)  translateY(-36px); opacity:.7; }
.sun-ray:nth-child(3) { height: 18px; transform: rotate(90deg)  translateY(-36px); }
.sun-ray:nth-child(4) { height: 13px; transform: rotate(135deg) translateY(-36px); opacity:.7; }
.sun-ray:nth-child(5) { height: 18px; transform: rotate(180deg) translateY(-36px); }
.sun-ray:nth-child(6) { height: 13px; transform: rotate(225deg) translateY(-36px); opacity:.7; }
.sun-ray:nth-child(7) { height: 18px; transform: rotate(270deg) translateY(-36px); }
.sun-ray:nth-child(8) { height: 13px; transform: rotate(315deg) translateY(-36px); opacity:.7; }

/* ── Rayos de luz al panel ── */
.light-beams-svg {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 90px;
  z-index: 1;
  opacity: 0;
  animation: beams-in 1s ease forwards 1s;
}
@keyframes beams-in {
  from { opacity: 0; }
  to   { opacity: 0.65; }
}

/* ── Panel 3D ── */
.anim-panel-wrap {
  position: relative;
  opacity: 0;
  animation:
    panel-appear 1s cubic-bezier(0.34, 1.4, 0.64, 1) forwards 0.6s,
    panel-float  7s ease-in-out infinite 2.5s;
}
@keyframes panel-appear {
  from { opacity: 0; transform: perspective(700px) rotateX(25deg) rotateY(-20deg) scale(0.8) translateY(20px); }
  to   { opacity: 1; transform: perspective(700px) rotateX(10deg) rotateY(-8deg)  scale(1)   translateY(0); }
}
@keyframes panel-float {
  0%,100% { transform: perspective(700px) rotateX(10deg) rotateY(-8deg) translateY(0); }
  50%     { transform: perspective(700px) rotateX(12deg) rotateY(-5deg) translateY(-10px); }
}

.anim-panel {
  background: linear-gradient(160deg, #1a2e3d 0%, #0c1e2d 100%);
  border: 2px solid rgba(27,143,160,0.55);
  border-radius: 10px;
  padding: 8px 8px 6px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(27,143,160,0.25),
    0 25px 50px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.3);
}

.panel-frame-bar {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2a5060, #1B8FA0 30%, #40b8cc 50%, #1B8FA0 70%, #2a5060);
  opacity: 0.75;
}
.panel-frame-top    { margin-bottom: 6px; }
.panel-frame-bottom { margin-top: 6px; }

/* Células */
.panel-cells {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  width: 252px;
}

.p-cell {
  height: 34px;
  border-radius: 2px;
  border: 1px solid rgba(27,143,160,0.15);
  opacity: 0;
  position: relative;
  overflow: hidden;
  animation: cell-charge 0.5s ease forwards;
  animation-delay: calc(var(--ci) * 0.065s + 1s);
}
/* Gradiente base de celda activa */
.p-cell.lit {
  background: linear-gradient(160deg, #0d3a4e 0%, #0a2535 100%);
}
/* Efecto shimmer continuo */
.p-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(64,184,204,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: cell-shine 4s ease-in-out infinite;
  animation-delay: calc(var(--ci) * 0.12s + 3s);
}

@keyframes cell-charge {
  0%   { opacity: 0; background: #050e15; }
  35%  { opacity: 1; background: rgba(27,143,160,0.75);
         box-shadow: 0 0 12px rgba(27,143,160,0.9), inset 0 0 8px rgba(64,184,204,0.5);
         border-color: rgba(27,143,160,0.8); }
  100% { opacity: 1; background: linear-gradient(160deg, #0d3a4e, #0a2535);
         border-color: rgba(27,143,160,0.22); box-shadow: none; }
}
@keyframes cell-shine {
  0%,100% { transform: translateX(-100%); }
  50%     { transform: translateX(200%); }
}

/* Línea de reflejo deslizante */
.panel-reflection {
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: reflection-slide 5s ease-in-out infinite 3s;
}
@keyframes reflection-slide {
  0%   { top: 0%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Soporte / pie del panel */
.panel-mount {
  width: 56px;
  height: 22px;
  background: linear-gradient(to bottom, #1B8FA0, #0c4050);
  margin: 0 auto;
  clip-path: polygon(18% 0%, 82% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  opacity: 0;
  animation: mount-in 0.5s ease forwards 2.3s;
}
@keyframes mount-in {
  from { opacity: 0; transform: scaleY(0); transform-origin: top; }
  to   { opacity: 1; transform: scaleY(1); }
}

/* ── Flujo de energía ── */
.energy-flow-line {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(247,148,29,0.5), transparent);
}
.e-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE066, #F7941D);
  left: -2.5px;
  box-shadow: 0 0 10px rgba(247,148,29,0.9);
  opacity: 0;
  animation: particle-drop 1.8s ease-in infinite var(--pd);
}
@keyframes particle-drop {
  0%   { top: 0%;   opacity: 0; transform: scale(0.5); }
  15%  { opacity: 1; transform: scale(1); }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: scale(0.3); }
}

/* ── Tarjetas de datos flotantes ── */
.sol-stat {
  position: absolute;
  background: rgba(8, 18, 32, 0.88);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: stat-float-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.sol-stat-1 { top: 5px;   right: -70px; animation-delay: 2.6s; border-color: rgba(247,148,29,0.35); }
.sol-stat-2 { top: 80px;  left: -70px;  animation-delay: 2.9s; border-color: rgba(27,143,160,0.35); }
.sol-stat-3 { bottom: 50px; right: -65px; animation-delay: 3.2s; border-color: rgba(100,200,100,0.3); }

@keyframes stat-float-in {
  from { opacity: 0; transform: translateX(12px) scale(0.8); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.sol-stat-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--orange);
  line-height: 1;
}
.sol-stat-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ── Arco de carga circular ── */
.charge-arc {
  position: absolute;
  width: 130px;
  height: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0;
  animation: arc-appear 0.5s ease forwards 2s;
  pointer-events: none;
}
@keyframes arc-appear {
  to { opacity: 1; }
}
.charge-arc-fill {
  animation: arc-fill 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 2s,
             arc-pulse 3s ease-in-out infinite 4.5s;
}
@keyframes arc-fill {
  from { stroke-dashoffset: 326; }
  to   { stroke-dashoffset: 35; }
}
@keyframes arc-pulse {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.6; }
}
