@charset "UTF-8";

/* ================================================
   ENERGERY — DARK MODERN THEME
   Colors: Orange #EC6C00 | Cyan #00C3E3 | Dark #080808
   ================================================ */

:root {
  --orange:          #EC6C00;
  --orange-dim:      rgba(236, 108, 0, 0.22);
  --cyan:            #00C3E3;
  --cyan-dim:        rgba(0, 195, 227, 0.22);
  --dark:            #080808;
  --dark-2:          #0f0f0f;
  --dark-3:          #181818;
  --dark-4:          #222222;
  --text:            #E8E8E8;
  --muted:           #888888;
  --border:          rgba(236, 108, 0, 0.14);
  --gradient:        linear-gradient(135deg, #EC6C00 0%, #00C3E3 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(236,108,0,0.08) 0%, rgba(0,195,227,0.08) 100%);
  --transition:      all 0.3s ease;
  --radius:          12px;
  --radius-lg:       20px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover, a:focus { color: var(--orange); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { font-family: 'Rubik', sans-serif; }
h2 { font-size: 2.4rem; font-weight: 300; color: var(--orange); }
h3 { color: var(--cyan); font-size: 1.9rem; font-weight: 500; margin-bottom: 0; }
h4 { font-size: 1rem; font-weight: 500; color: var(--orange); }
h5 { font-size: 1.2rem; font-weight: 400; color: var(--text); }
p  { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.nav-menu {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-menu.is-scrolling,
.nav-menu.menu-is-open {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 2px 24px rgba(236, 108, 0, 0.12);
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.navbar-brand .brand-ener { color: var(--orange); }
.navbar-brand .brand-gery { color: var(--cyan); }

.navbar-toggler {
  border: 1px solid var(--orange);
  border-radius: 8px;
  padding: 7px 10px;
  background: transparent;
  cursor: pointer;
  outline: none;
  box-shadow: none !important;
}

.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.toggler-icon span {
  display: block;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link {
  color: rgba(232, 232, 232, 0.82) !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.55rem 0.9rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transform: scaleX(0);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
  .navbar-nav .nav-link { text-align: center; }
  .navbar-nav .nav-link::after { display: none; }
}

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 0 4rem;
  width: 100%;
}

.hero-logo {
  width: 100%;
  max-width: 100%;
  display: block;
  animation: floatIn 0.85s ease both;
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fadeUp 0.85s ease 0.2s both;
}

.hero-btns {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.85s ease 0.4s both;
}

.btn-grad {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(236,108,0,0.35);
  display: inline-block;
  cursor: pointer;
}
.btn-grad:hover, .btn-grad:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236,108,0,0.5);
  text-decoration: none;
}

.btn-outline-cyan {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.73rem 2rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}
.btn-outline-cyan:hover, .btn-outline-cyan:focus {
  background: var(--cyan);
  color: var(--dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
  cursor: pointer;
  animation: scrollBounce 2.5s ease infinite;
  text-decoration: none;
}
.scroll-down span {
  width: 1px;
  height: 38px;
  background: var(--gradient);
  display: block;
}
.scroll-down::after {
  content: '▼';
  font-size: 0.6rem;
  color: var(--orange);
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTION BASE ===== */
.section { padding: 5rem 0; }
.light-bg { background: var(--dark-2); }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title small {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title h3 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 0;
}
.section-title h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ===== SERVICE CARDS ===== */
.card.features {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card.features::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.card.features:hover {
  border-color: rgba(236,108,0,0.38);
  box-shadow: 0 8px 32px rgba(236,108,0,0.1);
  transform: translateY(-4px);
}
.card.features:hover::before { opacity: 1; }

.card.features .card-body { padding: 1.4rem; }
.card.features .card-title {
  color: var(--orange);
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.card.features .card-text {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.media { display: flex; align-items: flex-start; }
.media-body { flex: 1; min-width: 0; }

.gradient-fill {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  margin-right: 0.9rem;
  flex-shrink: 0;
  display: inline-block;
}

/* ===== OWL CAROUSEL ===== */
.owl-carousel .owl-item img {
  border-radius: var(--radius);
  object-fit: cover;
}
.img-gallery .owl-item { transition: transform 0.3s ease; }
.img-gallery .owl-item.center { transform: scale(1.03); }

.owl-theme .owl-nav button {
  background: rgba(236,108,0,0.15) !important;
  color: var(--orange) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
}
.owl-theme .owl-nav button:hover {
  background: var(--orange) !important;
  color: #fff !important;
}
.owl-theme .owl-dots .owl-dot span {
  background: var(--dark-4) !important;
  border: 1px solid var(--border) !important;
  width: 28px !important;
  height: 6px !important;
  border-radius: 3px !important;
  transition: var(--transition) !important;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}

/* ===== SCHEDULE ===== */
#horario { background: var(--dark-3); }

/* ===== DOCENTES / TESTIMONIALS ===== */
.testimonials-single {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--dark-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 0 10px;
  transition: var(--transition);
}
.testimonials-single:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px var(--cyan-dim);
}

.client-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  box-shadow: 0 0 22px var(--orange-dim);
  margin: 0 auto 1.2rem;
  display: block;
}

.testimonials-single .blockquote {
  font-size: 0.86rem;
  color: var(--cyan);
  border: none;
  padding: 0;
  margin: 0 0 0.5rem;
  font-weight: 300;
}
.testimonials-single h5 {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}
.contact-item {
  display: flex;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(236,108,0,0.08);
}
.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}
.contact-icon span { color: var(--orange); font-size: 1rem; }

.contact-item p       { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.2; }
.contact-item a       { color: var(--text); font-size: 0.92rem; display: block; }
.contact-item a:hover { color: var(--orange); }
.contact-item address {
  margin: 0;
  color: var(--text);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
}

.social-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.social-bar a {
  width: 42px; height: 42px;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
}
.social-bar a:hover {
  border-color: var(--orange);
  box-shadow: 0 0 14px var(--orange-dim);
  transform: translateY(-3px);
}
.social-bar a img { width: 20px; height: 20px; object-fit: contain; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  height: 100%;
  min-height: 320px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 999;
}
.whatsapp-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.whatsapp-btn a:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
.whatsapp-btn img { width: 28px; height: 28px; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}
footer p { color: var(--muted); font-size: 0.76rem; margin: 0; }

/* ===== FADE-IN (Intersection Observer) ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section { padding: 3.5rem 0; }
  .hero-inner { padding: 5rem 0 3.5rem; }
  .hero-logo { width: 100%; max-width: 100%; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .hero-logo { width: 100%; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .map-wrap { min-height: 240px; margin-top: 1.5rem; }
}
