/* ============================================================
   JULFLAME ENERGY SOLUTIONS — Main Stylesheet
   Color Scheme:
     --charcoal:  #111827  (deep charcoal bg)
     --dark:      #0d1117  (darker bg)
     --surface:   #1f2937  (card surfaces)
     --orange:    #F97316  (solar orange primary)
     --yellow:    #FBBF24  (bright yellow accent)
     --white:     #FFFFFF
     --light:     #F9FAFB
     --gray:      #9CA3AF
     --gray-d:    #6B7280
   Fonts: Raleway (headings), Open Sans (body)
============================================================ */

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

:root {
  --charcoal:   #111827;
  --dark:       #0d1117;
  --surface:    #1f2937;
  --surface-2:  #374151;
  --orange:     #F97316;
  --orange-d:   #ea6c0a;
  --yellow:     #FBBF24;
  --yellow-d:   #f59e0b;
  --white:      #FFFFFF;
  --light:      #F9FAFB;
  --gray:       #9CA3AF;
  --gray-d:     #6B7280;
  --border:     rgba(249,115,22,0.2);
  --card-bg:    rgba(255,255,255,0.04);
  --shadow:     0 8px 40px rgba(0,0,0,0.5);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
  --font-head:  'Raleway', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

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

.section { padding: 6rem 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--yellow-d));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.55);
  background: linear-gradient(135deg, var(--orange-d), var(--orange));
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.4);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249,115,22,0.12);
  color: var(--orange);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(249,115,22,0.3);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  max-width: 580px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(13,17,23,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 28px rgba(0,0,0,0.5);
  padding: 0.8rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(249,115,22,0.45);
  animation: logoPulse 4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(249,115,22,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(251,191,36,0.65); }
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
}
.logo-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 0.9rem;
  right: 0.9rem;
}

.nav-cta { margin-left: 0.75rem; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 30%, #1c0e00 0%, #111827 55%, #0d1117 100%);
}

/* Orange/yellow radial glow */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  top: -100px; left: -120px;
  animation: glowFloat 7s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,191,36,0.12) 0%, transparent 70%);
  bottom: 80px; right: -80px;
  animation: glowFloat 9s ease-in-out infinite 3s;
}

@keyframes glowFloat {
  0%, 100% { transform: scale(1) translate(0,0); opacity: 0.7; }
  40%       { transform: scale(1.12) translate(24px,-18px); opacity: 1; }
  70%       { transform: scale(0.94) translate(-12px,14px); opacity: 0.8; }
}

/* Animated Sun */
.sun-container {
  position: absolute;
  top: 10%;
  right: 8%;
  z-index: 1;
  pointer-events: none;
}

.sun-core {
  width: 90px; height: 90px;
  background: radial-gradient(circle, var(--yellow) 0%, var(--orange) 60%, transparent 100%);
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(251,191,36,0.5),
    0 0 80px rgba(249,115,22,0.3);
  animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(251,191,36,0.5), 0 0 80px rgba(249,115,22,0.3); }
  50%       { transform: scale(1.08); box-shadow: 0 0 60px rgba(251,191,36,0.7), 0 0 120px rgba(249,115,22,0.4); }
}

.sun-rays {
  position: absolute;
  inset: -50px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinRays 20s linear infinite;
}

@keyframes spinRays {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ray {
  position: absolute;
  width: 3px;
  height: 55px;
  background: linear-gradient(to top, rgba(251,191,36,0.6), transparent);
  border-radius: 2px;
  transform-origin: bottom center;
  top: 0;
  left: calc(50% - 1.5px);
}

.ray:nth-child(1)  { transform: rotate(0deg)   translateY(-50px); }
.ray:nth-child(2)  { transform: rotate(45deg)  translateY(-50px); }
.ray:nth-child(3)  { transform: rotate(90deg)  translateY(-50px); }
.ray:nth-child(4)  { transform: rotate(135deg) translateY(-50px); }
.ray:nth-child(5)  { transform: rotate(180deg) translateY(-50px); }
.ray:nth-child(6)  { transform: rotate(225deg) translateY(-50px); }
.ray:nth-child(7)  { transform: rotate(270deg) translateY(-50px); }
.ray:nth-child(8)  { transform: rotate(315deg) translateY(-50px); }

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.14);
  border: 1px solid rgba(249,115,22,0.35);
  color: var(--yellow);
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeSlideDown 0.9s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.9s ease 0.15s both;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  animation: fadeSlideUp 0.9s ease 0.3s both;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.45s both;
}

/* Floating stat badge */
.hero-stat-badge {
  position: absolute;
  bottom: 5rem;
  right: 5%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(17,24,39,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: badgeFloat 6s ease-in-out infinite;
}

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

.stat-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.stat-badge-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-badge-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-arrow {
  width: 34px; height: 34px;
  border: 2px solid rgba(249,115,22,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.8rem;
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* Keyframes */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   STATS SECTION
============================================================ */
.stats-section {
  background: var(--surface);
  padding: 4.5rem 0;
  border-top: 1px solid rgba(249,115,22,0.15);
  border-bottom: 1px solid rgba(249,115,22,0.15);
}

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

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  opacity: 0;
  transition: opacity var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(249,115,22,0.22);
}
.stat-card:hover::before { opacity: 1; }

.stat-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(251,191,36,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.25);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ============================================================
   SERVICES
============================================================ */
.services-section {
  background: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249,115,22,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 16px 48px rgba(249,115,22,0.22);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(251,191,36,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(249,115,22,0.22);
  transition: background var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(249,115,22,0.32), rgba(251,191,36,0.2));
  box-shadow: 0 6px 20px rgba(249,115,22,0.25);
}

.service-icon { font-size: 1.75rem; color: var(--orange); }

.service-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: 0.85rem; color: var(--yellow); }

/* ============================================================
   WHY JULFLAME
============================================================ */
.why-section {
  background: linear-gradient(135deg, var(--surface) 0%, #0f1722 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.07), transparent 70%);
  pointer-events: none;
}

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

.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 20px 52px rgba(0,0,0,0.35);
}
.why-card:hover::after { transform: scaleX(1); }

.why-icon-ring {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2rem;
  color: var(--orange);
  position: relative;
  transition: all var(--transition);
}
.why-icon-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(249,115,22,0.2);
}
.why-card:hover .why-icon-ring {
  background: linear-gradient(135deg, var(--orange), var(--yellow-d));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.why-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,191,36,0.06), transparent 70%);
  pointer-events: none;
}

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

.about-text .section-tag {
  margin-bottom: 0;
}

.about-desc {
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-top: 1.25rem;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  transition: all var(--transition);
}
.credential-card:hover {
  border-color: var(--orange);
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.15);
}

.cred-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(251,191,36,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
  border: 1px solid rgba(249,115,22,0.22);
}

.cred-content h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.cred-content p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  background: var(--dark);
}

.testimonials-carousel-wrap { position: relative; }

.testimonials-carousel {
  position: relative;
  min-height: 280px;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: block; }

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 2rem; right: 2.5rem;
  font-size: 3.5rem;
  color: rgba(249,115,22,0.07);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.testimonial-stars .fa-star,
.testimonial-stars .fa-star-half-stroke { color: var(--yellow); font-size: 1.05rem; }

.testimonial-card blockquote {
  font-size: 1.03rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 2rem;
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.author-avatar {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--orange), var(--yellow-d));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-info strong { color: var(--white); font-size: 1rem; font-weight: 700; }
.author-info span { color: var(--gray); font-size: 0.85rem; margin-top: 0.2rem; }
.author-location { color: var(--orange) !important; font-size: 0.8rem !important; }
.author-location i { margin-right: 0.3rem; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gray);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-d);
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.4);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item:hover .contact-item-icon {
  background: rgba(249,115,22,0.22);
  border-color: var(--orange);
}
.contact-item strong {
  color: var(--white);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.contact-item p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* CTA highlight box */
.contact-cta-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(251,191,36,0.08));
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  margin: 1.5rem 0;
}
.contact-cta-highlight > i {
  font-size: 1.8rem;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
  animation: sunPulse 3s ease-in-out infinite;
}
.contact-cta-highlight strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}
.contact-cta-highlight p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0;
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(249,115,22,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* Contact Form */
.contact-form {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.5rem;
}

.required { color: var(--orange); }

.form-input {
  width: 100%;
  padding: 0.88rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}
.form-input::placeholder { color: var(--gray-d); }
.form-input option { background: var(--surface); color: var(--white); }

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

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.3rem;
  min-height: 1rem;
}

.form-input.error { border-color: #f87171; }

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-success.show { display: flex; }
.form-success .fa-circle-check { font-size: 1.3rem; flex-shrink: 0; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--dark); }

.footer-top { padding: 5rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1.25rem;
  display: inline-flex;
}
.footer-about {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.75rem; }

.footer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 2px;
}

.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--orange); transform: translateX(4px); }
.footer-links a i { font-size: 0.7rem; color: var(--orange); opacity: 0.6; transition: opacity var(--transition); }
.footer-links a:hover i { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-contact-item i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }

.footer-cta-btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(249,115,22,0.12);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--gray-d); font-size: 0.82rem; }

.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal-links a {
  color: var(--gray-d);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--orange); }

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--orange), var(--yellow-d));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(249,115,22,0.45);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.6);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-stat-badge {
    bottom: 3rem;
    right: 3%;
  }

  .sun-container {
    top: 8%;
    right: 4%;
  }
  .sun-core { width: 70px; height: 70px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {

  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 300px);
    height: 100vh;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition);
    z-index: 998;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; padding: 0.9rem 1rem; font-size: 1rem; border-radius: var(--radius); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 6rem 1.5rem 3rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stat-badge {
    position: static;
    margin: 2rem auto 0;
    width: fit-content;
    animation: none;
  }
  .sun-container { display: none; }

  /* Sections */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }

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

  .form-row { grid-template-columns: 1fr; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }

  .testimonial-card { padding: 2rem 1.5rem; }

  .section { padding: 4rem 0; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stat-badge { width: 90%; }
}

/* ============================================================
   PRELOADER
============================================================ */
#preloader { position:fixed; top:0; left:0; width:100%; height:100%; background:#111827; display:flex; align-items:center; justify-content:center; z-index:9999; transition:opacity 0.5s; }
#preloader.hidden { opacity:0; pointer-events:none; }
.spinner { border:4px solid rgba(255,255,255,0.1); border-top:4px solid #F97316; border-radius:50%; width:50px; height:50px; animation:spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ============================================================
   HERO CANVAS (Three.js)
============================================================ */
#hero-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.hero { position:relative; overflow:hidden; }
.hero > .hero-content { position:relative; z-index:2; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
============================================================ */
.whatsapp-float { position:fixed; width:60px; height:60px; bottom:30px; right:30px; background:#25D366; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:2px 2px 12px rgba(0,0,0,0.3); z-index:1000; text-decoration:none; animation:wapulse 2s infinite; }
.whatsapp-float:hover { transform:scale(1.1); background:#128C7E; }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7)} 70%{box-shadow:0 0 0 12px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
@media(max-width:768px){ .whatsapp-float{width:50px;height:50px;bottom:20px;right:20px;font-size:24px;} }

/* ── ANIMATED AVATAR RINGS ───────────────────────────────── */
.team-photo, .author-avatar, .testi-avatar, .agent-avatar { position: relative; }
.team-photo::after, .author-avatar::after, .testi-avatar::after, .agent-avatar::after { content:''; position:absolute; inset:-5px; border-radius:50%; border:2px solid #F97316; opacity:0; animation:avatarRing 2.5s ease-in-out infinite; }
@keyframes avatarRing { 0%,100%{transform:scale(1);opacity:0.55} 50%{transform:scale(1.12);opacity:0} }

/* ── HERO ANIMATED ICON ──────────────────────────────────── */
.hero-icon-animated {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  backdrop-filter: blur(10px); border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.8rem; animation: heroFloat 4s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.15);
}
.hero-icon-animated i { font-size: 54px; color: #fff; animation: hiPulse 3s ease-in-out infinite; }
@keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-18px) rotate(4deg)} }
@keyframes hiPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.82;transform:scale(1.1)} }

/* ── STAT ICON WRAPPER ───────────────────────────────────── */
.stat-icon-wrapper {
  width: 68px; height: 68px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem; animation: siBounce 2.2s ease-in-out infinite;
}
.stat-icon-wrapper .stat-icon { background: none; width: auto; height: auto; box-shadow: none; }
@keyframes siBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

/* ── GRADIENT SERVICE CARDS ──────────────────────────────── */
.service-card {
  position: relative; min-height: 300px; border-radius: 24px;
  padding: 2.8rem 2rem 2rem; overflow: hidden; cursor: pointer;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: flex-start; background: transparent;
}
.card-gradient-bg { position: absolute; inset: 0; z-index: 1; transition: transform .4s; border-radius: 24px; }
.service-card:hover .card-gradient-bg { transform: scale(1.06); }
.card-grad-1 { background: linear-gradient(135deg,#111827 0%,#1C2E0A 55%,#F97316 100%); }
.card-grad-2 { background: linear-gradient(135deg,#0C1A2E 0%,#1A2E0C 55%,#FBBF24 100%); }
.card-grad-3 { background: linear-gradient(135deg,#111827 0%,#1A1A2E 55%,#F97316 100%); }
.card-grad-4 { background: linear-gradient(135deg,#2E0C0C 0%,#4A1A06 55%,#F97316 100%); }
.card-grad-5 { background: linear-gradient(135deg,#0C1A0C 0%,#1A2E1A 55%,#FBBF24 100%); }
.card-grad-6 { background: linear-gradient(135deg,#0C2E1A 0%,#0C4A2E 55%,#F97316 100%); }
.service-icon-container {
  position: relative; z-index: 3; width: 76px; height: 76px;
  margin-bottom: 1.6rem; animation: scFloat 3.2s ease-in-out infinite;
}
.service-icon-container i { font-size: 58px; color: rgba(255,255,255,.92); display: block; animation: scGlow 2.4s ease-in-out infinite; }
@keyframes scFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)} }
@keyframes scGlow { 0%,100%{filter:drop-shadow(0 0 8px rgba(255,255,255,.25));opacity:1} 50%{filter:drop-shadow(0 0 18px rgba(255,255,255,.55));opacity:.9} }
.service-badge {
  position: relative; z-index: 3; background: linear-gradient(135deg,#F97316,#D97706);
  color: #fff; padding: .6rem 1.3rem; border-radius: 8px; font-weight: 700;
  font-size: .82rem; letter-spacing: .8px; text-transform: uppercase;
  display: inline-block; box-shadow: 0 4px 14px rgba(249,115,22,.45); margin-bottom: .8rem;
}
.service-description { position: relative; z-index: 3; color: rgba(255,255,255,.82); line-height: 1.65; font-size: .93rem; flex: 1; }
.service-link-card {
  position: relative; z-index: 3; color: rgba(255,255,255,.75); font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; transition: color .3s, gap .3s;
}
.service-link-card:hover { color: #FBBF24; gap: .7rem; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 32px 64px rgba(0,0,0,.45); }

/* ============================================================
   ENHANCED HERO — Floating Icon Constellation (julflame-energy)
   ============================================================ */

.hero-central-icon {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.central-icon-inner {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(249,115,22,0.35));
  border: 2px solid rgba(251,191,36,0.5);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fbbf24;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
  animation: jePulse 3s ease-in-out infinite;
}
.central-icon-ring {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 2px dashed rgba(251,191,36,0.35);
  animation: jeSpin 10s linear infinite;
}
@keyframes jePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.5); }
  50%      { box-shadow: 0 0 0 18px rgba(251,191,36,0); }
}
@keyframes jeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.constellation-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,200,50,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(6px);
}
.jeci-1  { top: 10%; left: 5%;  color: #fbbf24; animation: jefloat1 7s ease-in-out infinite; }
.jeci-2  { top: 25%; left: 16%; color: #60a5fa; animation: jefloat2 9s ease-in-out infinite; }
.jeci-3  { top: 62%; left: 6%;  color: #f97316; animation: jefloat3 8s ease-in-out infinite; }
.jeci-4  { top: 78%; left: 22%; color: #fb923c; animation: jefloat1 10s ease-in-out infinite; }
.jeci-5  { top: 8%;  right: 7%; color: #4ade80; animation: jefloat2 8.5s ease-in-out infinite; }
.jeci-6  { top: 28%; right: 5%; color: #fde68a; animation: jefloat3 9.5s ease-in-out infinite; }
.jeci-7  { top: 66%; right: 9%; color: #a3e635; animation: jefloat1 7.5s ease-in-out infinite; }
.jeci-8  { top: 82%; right: 20%;color: #38bdf8; animation: jefloat2 11s ease-in-out infinite; }

@keyframes jefloat1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@keyframes jefloat2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-24px) rotate(-8deg); }
}
@keyframes jefloat3 {
  0%,100% { transform: translateY(0); }
  33%      { transform: translateY(-14px) rotate(5deg); }
  66%      { transform: translateY(-8px) rotate(-4deg); }
}

.hero-trust-badges {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.trust-badge-item i { color: #fbbf24; font-size: 0.85rem; }

.scroll-cue-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto 0.5rem;
  animation: sclinePulse 2s ease-in-out infinite;
}
@keyframes sclinePulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
/* Fallback: if the AOS library fails to load, never leave content hidden */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: fixed; top: -48px; left: 12px; z-index: 100000;
  background: #F97316; color: #111; padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #fcd34d; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  #cursor-glow, .sifo-orb, .sifo-hero-rings, .sifo-scan-line { display: none !important; }
}

/* ===== WHERE WE WORK ===== */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; margin: 0 auto; }
.client-card { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #130b08; border: 1px solid rgba(255,255,255,.08); }
.client-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.client-card:hover img { transform: scale(1.04); }
.client-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 20px; background: linear-gradient(to top, rgba(10,6,4,.94) 25%, rgba(10,6,4,0)); }
.client-card figcaption h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.client-card figcaption p { color: #e5ddd6; font-size: .92rem; line-height: 1.5; margin: 0; }
.clients-note { text-align: center; color: #b8aca3; font-size: .82rem; margin-top: 22px; }
@media (max-width: 900px) { .clients-grid { grid-template-columns: 1fr; max-width: 420px; } }
.form-note { color: #b8aca3; font-size: .82rem; line-height: 1.55; margin: 6px 0 12px; }
.form-note a { color: #fcd34d; text-decoration: underline; }

/* ===== TAP TARGETS (44px) ===== */
.hamburger { min-width: 44px; min-height: 44px; }
.btn { min-height: 44px; }
a.service-link-card, .footer-links a, .footer-legal-links a, .form-note a { display: inline-flex; align-items: center; min-height: 44px; }
.social-link { width: 44px; height: 44px; }

/* ===== ENERGY ILLUSTRATION (About) ===== */
.es-scene { position: relative; height: 220px; border-radius: 18px; overflow: hidden; margin-bottom: 8px; background: linear-gradient(180deg, #1e1b4b 0%, #7c2d12 62%, #f97316 100%); border: 1px solid rgba(251,146,60,.35); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.es-sun { position: absolute; left: 50%; bottom: 40px; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff7ae, #fbbf24 55%, #f97316); box-shadow: 0 0 40px 16px rgba(251,191,36,.55); animation: esSun 10s ease-in-out infinite; }
.es-rays { position: absolute; left: 50%; bottom: 69px; width: 300px; height: 300px; margin: 0 0 -150px -150px; background: repeating-conic-gradient(from 0deg, rgba(251,191,36,.16) 0 8deg, transparent 8deg 24deg); border-radius: 50%; animation: esSpin 40s linear infinite; mask-image: radial-gradient(circle, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); }
@keyframes esSun { 0%,100% { transform: translateY(26px); } 50% { transform: translateY(-34px); } }
@keyframes esSpin { to { transform: rotate(360deg); } }
.es-hill { position: absolute; left: -10%; right: -10%; bottom: -34px; height: 84px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #2a1810, #120a06); }
.es-turbine { position: absolute; bottom: 46px; width: 3px; background: linear-gradient(180deg, #f1f5f9, #94a3b8); border-radius: 2px; }
.es-turbine.t1 { left: 14%; height: 86px; --b: 30px; --d: 3.2s; } .es-turbine.t2 { left: 27%; height: 64px; --b: 22px; --d: 2.6s; } .es-turbine.t3 { left: 38%; height: 50px; --b: 17px; --d: 2.1s; }
.es-blades { position: absolute; left: 50%; top: 0; width: 0; height: 0; animation: esSpin var(--d) linear infinite; }
.es-blades i { position: absolute; left: -1.5px; top: 0; width: 3px; height: var(--b); margin-top: calc(var(--b) * -1); background: #f8fafc; border-radius: 2px; transform-origin: 50% 100%; }
.es-blades i:nth-child(2) { transform: rotate(120deg); } .es-blades i:nth-child(3) { transform: rotate(240deg); }
.es-panels { position: absolute; left: 50%; bottom: 14px; display: flex; gap: 5px; transform: translateX(-4%); }
.es-panels i { position: relative; width: 34px; height: 18px; background: linear-gradient(135deg, #1d4ed8, #3b82f6); border: 1px solid #93c5fd; transform: skewX(-20deg); overflow: hidden; }
.es-panels i::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12px; left: -20px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: esShine 3s ease-in-out infinite; }
.es-panels i:nth-child(2)::after { animation-delay: .25s; } .es-panels i:nth-child(3)::after { animation-delay: .5s; } .es-panels i:nth-child(4)::after { animation-delay: .75s; } .es-panels i:nth-child(5)::after { animation-delay: 1s; }
@keyframes esShine { 0% { left: -20px; } 55%,100% { left: 48px; } }
.es-line { position: absolute; left: 60%; right: 18%; bottom: 36px; height: 2px; background: rgba(252,211,77,.45); }
.es-line b { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fde047; box-shadow: 0 0 10px #fde047; animation: esPulse 2.4s linear infinite; }
.es-line b:nth-child(2) { animation-delay: .8s; } .es-line b:nth-child(3) { animation-delay: 1.6s; }
@keyframes esPulse { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateX(110px); opacity: 0; } }
.es-house { position: absolute; right: 8%; bottom: 30px; width: 40px; height: 40px; }
.es-house .roof { position: absolute; left: -4px; top: 0; border-left: 24px solid transparent; border-right: 24px solid transparent; border-bottom: 16px solid #9a3412; }
.es-house .body { position: absolute; left: 0; right: 0; top: 16px; bottom: 0; background: #451a03; border: 1px solid #7c2d12; }
.es-house em { position: absolute; left: 14px; top: 6px; width: 10px; height: 10px; background: #fde047; box-shadow: 0 0 12px #fde047; animation: esWin 2.4s ease-in-out infinite; }
@keyframes esWin { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
.es-caption { text-align: center; color: #b8aca3; font-size: .8rem; margin: 0 0 14px; }
@media (prefers-reduced-motion: reduce) { .es-sun { transform: translateY(-10px) !important; } .es-blades { animation: none !important; } }

/* ===== READABILITY / TAP TARGETS ===== */
.hero-scroll-hint span { color: rgba(255,255,255,.72); }
.footer-bottom-inner p, .footer-legal-links a { color: #b8aca3; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
