/* ═══════════════════════════════════════════════════════
   3 PHASE ELECTRICAL — styles.css
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────── */
:root {
  --red:        #d62828;
  --red-dark:   #b71f1f;
  --red-bright: #ff3b3b;
  --navy:       #0b1c2d;
  --navy-dark:  #0f1115;
  --navy-mid:   #161a22;
  --navy-card:  #161c2a;
  --smoke:      #b5b8c0;
  --smoke-light:#d0d8e0;
  --text-muted: #c7c9d1;
  --white:      #ffffff;
  --max-width:  1200px;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ── Cursor ───────────────────────────────────────────── */
a, button, [role="button"] { cursor: pointer !important; }

/* ── Container ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover { background-color: var(--red-dark); border-color: var(--red-dark); }

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background-color: var(--white); color: var(--navy); }

.btn-white {
  background-color: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.btn-white:hover { background-color: #f0f0f0; }

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.btn-outline-white:hover { background-color: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.nav {
  position: relative;
  z-index: 100;
  overflow: visible;
  background: #07111e;
  border-bottom: 1px solid rgba(214,40,40,0.2);
  box-shadow: 0 1px 0 rgba(40,100,200,0.08);
}

/* Animated electric scan line across nav bottom edge */
.nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -100%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d62828, #ff8888, #d62828, transparent);
  animation: navScan 5s ease-in-out infinite;
  z-index: 1;
}

@keyframes navScan {
  0%   { left: -40%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Subtle pulsing glow on nav bottom */
.nav::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(214,40,40,0.18);
  animation: navPulse 3s ease-in-out infinite alternate;
}

@keyframes navPulse {
  0%   { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Darker solid on scroll */
.nav-scrolled {
  background: rgba(5,8,14,0.98) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 0 rgba(214,40,40,0.15) !important;
}

.nav-container {
  position: relative;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
}

.logo-overlay {
  position: absolute;
  left: 0;
  top: -75px;
  z-index: 200;
  transform-origin: top left;
}

.logo-overlay img {
  height: clamp(200px, 28vw, 420px);
  width: auto;
  cursor: pointer;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 24px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--red-bright); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 10px;
}

.phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.phone:hover { color: var(--smoke-light); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
  z-index: 1;
}

.hero-canvas-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4,8,20,0.82) 0%,
    rgba(4,8,20,0.45) 55%,
    rgba(4,8,20,0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 120px 24px;
  margin-left: max(calc((100vw - var(--max-width)) / 2), 24px);
  margin-right: 24px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--smoke-light);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer { padding: 0; }

.footer-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-block {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
  z-index: 1;
}

.footer-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

.footer-block-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.footer-block-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-block-content p {
  font-size: 14px;
  color: var(--smoke-light);
}

/* Footer bottom bar */
.footer-bottom {
  background-color: #060e18;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-ownership {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ownership-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--smoke-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ownership-badge i {
  font-size: 14px;
  color: var(--red);
}

.ownership-badge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--smoke);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ownership-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}

.ownership-icon { font-size: 18px; line-height: 1; }

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #7a8fa8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: #4a5a6a;
}

/* About page footer — solid color fallback (no images) */
.about-body .footer-block { background-image: none !important; }
.about-body .footer-block:nth-child(1) { background-color: #123145; }
.about-body .footer-block:nth-child(2) { background-color: #163a55; }
.about-body .footer-block:nth-child(3) { background-color: #0d2a3a; }
.about-body .footer-block:nth-child(4) { background-color: #092233; }

/* ══════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════ */
.services-page {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 96px 6%;
}

.services-header {
  max-width: var(--max-width);
  margin: 0 auto 72px auto;
  padding-top: 75px;
}

.services-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.services-header p {
  font-size: 18px;
  color: var(--smoke);
  max-width: 760px;
  line-height: 1.6;
}

.services-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  background-color: var(--navy-mid);
  border-left: 4px solid var(--red-bright);
  padding: 36px;
  display: flex;
  gap: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}

.service-icon {
  font-size: 34px;
  line-height: 1;
  color: var(--red-bright);
  flex-shrink: 0;
}

.service-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 760px;
  line-height: 1.6;
}

.service-content ul {
  margin-bottom: 14px;
  padding-left: 20px;
}

.service-content ul li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.service-note {
  font-size: 14px;
  color: #8f93a1;
  font-style: italic;
}

.services-cta {
  margin-top: 96px;
  text-align: center;
}

.services-cta p {
  margin-bottom: 18px;
  font-size: 18px;
  color: var(--smoke);
}

/* ══════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════ */
.contact-page {
  background: #f6f7f8;
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info { margin-top: 48px; }

.contact-info h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #1b2a3a;
}

.contact-info p {
  color: #5f6f82;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-details p {
  margin-bottom: 12px;
  font-size: 15px;
  color: #1b2a3a;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group { display: flex; flex-direction: column; }

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1b2a3a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #d6dce2;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #1b2a3a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #102a44;
  box-shadow: 0 0 0 2px rgba(16,42,68,0.1);
}

.full-width { width: 100%; margin-top: 10px; }

/* Contact page — keep logo visible over light background */
.contact-body .logo-overlay { z-index: 200; }

/* ══════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════ */
.about-hero {
  position: relative;
  background: radial-gradient(ellipse at center, #1a4a6a 0%, #0a1f35 70%, #050f1a 100%);
  padding: 110px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

.about-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-hero h1 span { color: var(--red); }

.about-hero p {
  font-size: 18px;
  color: #b5c4d5;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.about-page section { padding: 80px 24px; }
.about-page section:nth-child(even) { background-color: #0f1521; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.2;
}

/* Who We Are */
.about-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-overview-text .lead {
  font-size: 17px;
  color: #b5c4d5;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat-block {
  background: var(--navy-card);
  padding: 32px 28px;
  border-top: 3px solid var(--red);
}

.stat-block .stat-number {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-block .stat-desc {
  font-size: 13px;
  color: #7a8fa8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Mission & Values */
.mission-values-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.mission-card,
.values-card {
  background: var(--navy-card);
  border-left: 4px solid var(--red);
  padding: 40px 36px;
  height: 100%;
}

.mission-card h3,
.values-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.mission-card p { color: #b5c4d5; line-height: 1.7; }

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #c7cfd9;
  font-size: 16px;
}

.values-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Timeline */
.timeline-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.timeline-item {
  padding-left: 36px;
  padding-bottom: 48px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--navy);
}

.timeline-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.timeline-item h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline-item p { color: #8a9eb8; font-size: 15px; line-height: 1.6; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--navy-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: #1e2a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a4a5a;
  font-size: 13px;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-info {
  padding: 24px;
  border-top: 3px solid var(--red);
}

.team-info h4 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }

.team-info .role {
  font-size: 13px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.team-info p { font-size: 14px; color: #8a9eb8; line-height: 1.6; }

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cert-badge {
  background: var(--navy-card);
  border: 1px solid #1e2d40;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.cert-badge:hover { border-color: var(--red); }
.cert-icon { font-size: 32px; line-height: 1; }
.cert-badge h4 { font-size: 15px; font-weight: 600; }
.cert-badge p { font-size: 13px; color: #7a8fa8; line-height: 1.5; }

/* About CTA */
.about-cta {
  background: var(--red) !important;
  text-align: center;
  padding: 72px 24px !important;
}

.about-cta h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.about-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

.about-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-blocks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .contact-container,
  .about-overview,
  .mission-values-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-blocks { grid-template-columns: 1fr; }

  .nav-container { gap: 24px; }
  .nav-links a { margin: 0 10px; }

  .hero-content { padding: 80px 24px; }
  .hero h1 { font-size: 28px; }
}

@media (max-width: 560px) {
  .about-overview-stats { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .nav-cta .btn-primary { display: none; } /* hide CTA button on very small screens, keep phone */
}

/* ══════════════════════════════════════════════════════
   UX / UI ENHANCEMENTS
══════════════════════════════════════════════════════ */

/* ── Page transitions ────────────────────────────── */
body {
  opacity: 0;
  transition: opacity 0.28s ease;
}
body.page-loaded {
  opacity: 1;
}

/* ── Nav scroll state ────────────────────────────── */
.nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled {
  background: rgba(8, 16, 28, 0.97) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ── Active nav link ─────────────────────────────── */
.nav-links a.nav-active {
  color: var(--white) !important;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

/* ── Hamburger button ────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  margin-right: 12px;
  z-index: 300;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.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); }

/* ── Mobile menu ─────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 12, 24, 0.98);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu a {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .mobile-phone {
  font-size: 18px;
  color: var(--smoke);
  margin-top: 8px;
}
.mobile-menu .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}
body.menu-open { overflow: hidden; }

/* ── Scroll reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero content animation ──────────────────────── */
.hero-content h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s ease 0.2s forwards;
}
.hero-content p {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s ease 0.4s forwards;
}
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s ease 0.6s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Back to top button ──────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#backToTop:hover { background: var(--red-dark); }

/* ── Form success message ────────────────────────── */
.form-success {
  background: #0d2a1a;
  border: 1px solid #1a6640;
  color: #5fdd9d;
  padding: 28px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.form-success i { font-size: 24px; flex-shrink: 0; }

/* ── Responsive: show hamburger ──────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-links, .nav-cta { display: none; }
}