/* =============================================
   BEGERON ENERGY - GLOBAL STYLESHEET
   Palette: Navy #0B1F3A | Steel #4A5568 | 
            Orange #E8691A | White #F8F9FA
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0B1F3A;
  --navy-mid:  #112845;
  --navy-deep: #081629;
  --steel:     #4A5568;
  --steel-lt:  #718096;
  --orange:    #E8691A;
  --orange-dk: #C45A14;
  --white:     #F8F9FA;
  --offwhite:  #EDF0F4;
  --border:    rgba(255,255,255,0.08);
  --font-main: 'Inter', sans-serif;
  --font-head: 'Barlow Condensed', sans-serif;
  --radius:    6px;
  --shadow:    0 4px 24px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
p  { color: var(--steel); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--orange);
}
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---- NAV ---- */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo-mark {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.logo-text strong { color: var(--orange); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links .nav-cta {
  background: var(--orange);
  color: #fff;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--orange-dk); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
.hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,105,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,105,26,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,105,26,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
  display: inline-block;
  background: rgba(232,105,26,0.15);
  border: 1px solid rgba(232,105,26,0.35);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat { padding: 0 28px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 28px;
}

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--orange);
  padding: 20px 0;
}
.intro-strip-inner p {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}
.intro-strip-inner strong { font-weight: 700; }

/* ---- SECTIONS ---- */
.section { padding: 88px 0; }
.section-light { background: var(--white); }
.section-dark  { background: var(--navy); }
.section-mid   { background: var(--offwhite); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { margin: 10px 0 16px; }
.section-header p { color: var(--steel-lt); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,105,26,0.1);
  border: 1px solid rgba(232,105,26,0.25);
  padding: 4px 12px;
  border-radius: 3px;
}
.section-tag.light {
  color: var(--orange);
  background: rgba(232,105,26,0.12);
  border-color: rgba(232,105,26,0.3);
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--orange);
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
}
.card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.92rem; color: var(--steel); line-height: 1.6; margin-bottom: 16px; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}
.card-link:hover { opacity: 0.75; }

/* ---- TWO-COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-text h2 { color: #fff; margin: 12px 0 18px; }
.two-col-text p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.check-list {
  list-style: none;
  margin-bottom: 32px;
}
.check-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--orange);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.visual-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.vb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.vb-item:last-child { border-bottom: none; }
.vb-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}
.vb-val {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-align: right;
}

/* ---- INDUSTRY STRIP ---- */
.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.industry-pill {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 40px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.industry-pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.centered-cta { text-align: center; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--orange);
  padding: 60px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
  white-space: nowrap;
}
.cta-band .btn-primary:hover { background: var(--offwhite); }

/* ---- FOOTER ---- */
.footer { background: var(--navy-deep); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.6;
}
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: rgba(255,255,255,0.4); margin-bottom: 4px; font-size: 0.7rem; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy-deep);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(232,105,26,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(232,105,26,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 12px 0 16px; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 580px; font-size: 1.05rem; }

/* ---- SERVICE DETAIL ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid #DDE3EB;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-content h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 14px; }
.service-detail-content p { margin-bottom: 16px; font-size: 0.95rem; }
.service-detail-side {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px;
}
.service-detail-side h4 { color: var(--navy); margin-bottom: 12px; font-size: 0.8rem; }
.service-detail-side ul { list-style: none; }
.service-detail-side ul li {
  font-size: 0.875rem;
  color: var(--steel);
  padding: 5px 0 5px 18px;
  position: relative;
}
.service-detail-side ul li::before {
  content: ' - ';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---- EXPERTISE GRID ---- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.expertise-card {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}
.expertise-card h3 { color: var(--navy); margin-bottom: 12px; }
.expertise-card p { font-size: 0.9rem; color: var(--steel); margin-bottom: 16px; }
.expertise-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(11,31,58,0.08);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ---- INDUSTRY CARDS ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}
.industry-card:hover { transform: translateY(-3px); }
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
}
.industry-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.industry-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.6; }
.industry-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 18px; font-size: 0.97rem; }
.about-side { display: flex; flex-direction: column; gap: 16px; }
.about-fact {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.about-fact h4 { color: var(--orange); font-size: 0.7rem; margin-bottom: 6px; }
.about-fact p { font-size: 0.9rem; color: var(--steel); }

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; font-size: 0.95rem; }
.contact-item {
  background: var(--offwhite);
  border: 1px solid #DDE3EB;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.contact-item h4 { font-size: 0.7rem; color: var(--orange); margin-bottom: 5px; }
.contact-item p { font-size: 0.9rem; }

.form-card {
  background: #fff;
  border: 1px solid #DDE3EB;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { color: var(--navy); margin-bottom: 6px; }
.form-card > p { font-size: 0.9rem; color: var(--steel-lt); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E0;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,105,26,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; margin-top: 8px; cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--steel-lt); margin-top: 12px; text-align: center; }

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step-counter;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(232,105,26,0.2));
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--orange);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 auto 20px;
}
.process-step h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: var(--steel-lt); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.breadcrumb .current { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 24px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 16px; }
  .stat-div { display: none; }
  .stat { padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}
