﻿:root {
  --bg-dark: #0f1720;
  --bg-soft: #f4f6f8;
  --text-main: #17212b;
  --text-light: #ffffff;
  --brand: #f9b117;
  --brand-dark: #d18c00;
  --line: #d9e0e7;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(10, 17, 24, 0.72);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 34px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.logo span {
  display: inline-block;
  line-height: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.92;
  padding: 0.35rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    opacity 0.25s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease,
    background-color 0.28s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff5d6;
  border-color: rgba(249, 177, 23, 0.85);
  background-color: rgba(249, 177, 23, 0.1);
  box-shadow:
    0 0 0 1px rgba(249, 177, 23, 0.3) inset,
    0 0 16px rgba(249, 177, 23, 0.38);
}

.hero {
  min-height: 100vh;
  position: relative;
  background-image: url("./electrician-bistrita-nasaud-background.png");
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.58) 62%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 12, 18, 0.72) 25%,
    rgba(6, 12, 18, 0.34) 65%,
    rgba(6, 12, 18, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding-top: 72px;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.42),
    rgba(249, 177, 23, 0.3)
  );
  border: 1px solid rgba(249, 177, 23, 0.9);
  color: #ffffff;
  padding: 0.42rem 0.86rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
  margin-bottom: 1rem;
  box-shadow:
    inset 0 0 0 1px rgba(249, 177, 23, 0.45),
    0 0 0 rgba(249, 177, 23, 0);
  animation: heroTagGlowIn 2.35s cubic-bezier(0.22, 0.61, 0.36, 1) 1 forwards;
}

@keyframes heroTagGlowIn {
  0% {
    border-color: rgba(249, 177, 23, 0.88);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.52),
      0 0 0 rgba(249, 177, 23, 0);
    filter: brightness(1);
  }
  56% {
    border-color: rgba(249, 177, 23, 1);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.9),
      0 0 30px rgba(249, 177, 23, 0.68),
      0 0 56px rgba(249, 177, 23, 0.32);
    filter: brightness(1.16);
  }
  100% {
    border-color: rgba(249, 177, 23, 0.9);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.58),
      0 0 18px rgba(249, 177, 23, 0.24);
    filter: brightness(1);
  }
}

.hero h1 {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.18;
  margin: 0 0 1.45rem;
  max-width: 780px;
  text-shadow:
    0 2px 0 #000000,
    0 6px 14px rgba(0, 0, 0, 0.95),
    0 14px 34px rgba(0, 0, 0, 0.85);
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.14em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 620px;
  margin-bottom: 1.8rem;
  text-shadow:
    0 1px 0 #000000,
    0 4px 10px rgba(0, 0, 0, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.78);
}

.hero-highlight {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(0.78rem, 2.1vw, 0.98rem);
  line-height: 1.35;
  margin-top: -0.75rem;
  margin-bottom: 1.35rem;
}

.hero-highlight-text {
  display: inline-block;
  padding: 0.32rem 0.82rem;
  border-radius: 10px;
  color: #f8d27a;
  background: rgba(0, 0, 0, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  animation:
    heroHighlightBgFade 1.5s ease 0.4s forwards,
    heroHighlightPulse 3.6s ease-in-out 2s infinite;
}

@keyframes heroHighlightBgFade {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.66);
  }
}

@keyframes heroHighlightPulse {
  0%,
  100% {
    background: rgba(0, 0, 0, 0.74);
    box-shadow:
      0 0 0 0 rgba(0, 0, 0, 0),
      0 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    background: rgba(0, 0, 0, 0.86);
    box-shadow:
      0 0 0 5px rgba(0, 0, 0, 0.3),
      0 0 0 11px rgba(0, 0, 0, 0.18),
      0 0 0 18px rgba(0, 0, 0, 0.11),
      0 0 20px rgba(0, 0, 0, 0.46);
  }
  72% {
    background: rgba(0, 0, 0, 0.8);
    box-shadow:
      0 0 0 8px rgba(0, 0, 0, 0.22),
      0 0 0 15px rgba(0, 0, 0, 0.13),
      0 0 0 24px rgba(0, 0, 0, 0.07),
      0 0 22px rgba(0, 0, 0, 0.32);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  margin-top: 0.5rem;
}

.scroll-indicator {
  margin-top: 0;
  margin-left: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f9b117;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(249, 177, 23, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(249, 177, 23, 0.22),
    0 0 10px rgba(249, 177, 23, 0.2);
  animation: scrollRipple 2.1s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

@keyframes scrollRipple {
  0%,
  100% {
    transform: translateY(-2px);
    border-color: rgba(249, 177, 23, 0.66);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.2),
      0 0 8px rgba(249, 177, 23, 0.16);
  }
  50% {
    transform: translateY(8px);
    border-color: rgba(249, 177, 23, 0.98);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.45),
      0 0 20px rgba(249, 177, 23, 0.45),
      0 0 34px rgba(249, 177, 23, 0.22);
  }
}

.btn {
  text-decoration: none;
  padding: 0.78rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #1f1910;
  box-shadow: 0 10px 24px rgba(249, 177, 23, 0.32);
}

.btn-primary:hover {
  background: #ffbf33;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-light);
}

.btn-action {
  width: 56px;
  height: 56px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 28px rgba(8, 14, 20, 0.35);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  transition:
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.25s ease;
}

.btn-action:hover {
  border-color: rgba(249, 177, 23, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 206, 101, 0.45) inset,
    0 0 18px rgba(249, 177, 23, 0.45),
    0 10px 28px rgba(8, 14, 20, 0.35);
  transform: translateY(-2px);
}

.btn-action.is-clicking {
  pointer-events: none;
  animation: contactActionClick 780ms cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
}

@keyframes contactActionClick {
  0% {
    transform: translateY(0) scale(1);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 28px rgba(8, 14, 20, 0.35);
  }
  42% {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(249, 177, 23, 0.98);
    box-shadow:
      0 0 0 1px rgba(255, 206, 101, 0.48) inset,
      0 0 22px rgba(249, 177, 23, 0.52),
      0 12px 30px rgba(8, 14, 20, 0.38);
  }
  100% {
    transform: translateY(0) scale(1);
    border-color: rgba(249, 177, 23, 0.94);
    box-shadow:
      0 0 0 1px rgba(255, 206, 101, 0.35) inset,
      0 0 16px rgba(249, 177, 23, 0.35),
      0 10px 28px rgba(8, 14, 20, 0.35);
  }
}

.btn-action svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-action img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.btn-whatsapp {
  color: #86f7b4;
}

.btn-phone {
  color: #ffd778;
}

.btn-email {
  color: #c8def4;
}

.section {
  padding: 46px 0;
  background: #000000;
  color: #f2f5f8;
  scroll-margin-top: 92px;
}

.section-alt {
  background: #000000;
  color: #f2f5f8;
}

.section-alt h2 {
  color: #ffffff;
}

.section-alt p,
.section-alt li {
  color: rgba(242, 245, 248, 0.92);
}

.section h2 {
  color: #ffffff;
}

.section p,
.section li {
  color: rgba(242, 245, 248, 0.92);
}

.section-frame {
  position: relative;
  border: 1px solid rgba(249, 177, 23, 0.2);
  border-radius: 18px;
  padding: 1.4rem;
  transition:
    border-color 0.9s ease,
    box-shadow 0.9s ease,
    background-color 0.9s ease;
}

.section-frame.is-lit {
  border-color: rgba(249, 177, 23, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(249, 177, 23, 0.38),
    0 0 18px rgba(249, 177, 23, 0.26),
    0 0 34px rgba(249, 177, 23, 0.14);
  animation: sectionGoldGlow 2.2s ease-out 1;
}

@keyframes sectionGoldGlow {
  0% {
    border-color: rgba(249, 177, 23, 0.32);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.18),
      0 0 0 rgba(249, 177, 23, 0);
  }
  45% {
    border-color: rgba(249, 177, 23, 1);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.55),
      0 0 26px rgba(249, 177, 23, 0.42),
      0 0 56px rgba(249, 177, 23, 0.2);
  }
  100% {
    border-color: rgba(249, 177, 23, 0.9);
    box-shadow:
      inset 0 0 0 1px rgba(249, 177, 23, 0.38),
      0 0 18px rgba(249, 177, 23, 0.26),
      0 0 34px rgba(249, 177, 23, 0.14);
  }
}

.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  text-align: left;
  transition:
    transform 0.28s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 177, 23, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(249, 177, 23, 0.28),
    0 0 18px rgba(249, 177, 23, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.38);
}

.card h3 {
  margin: 0;
  color: #ffffff;
}

.card p {
  color: rgba(242, 245, 248, 0.9);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  opacity: 0.92;
}

.card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.checks {
  padding-left: 1rem;
}

.badge-box {
  background: linear-gradient(160deg, #c9d0d8, #b9c2cc);
  color: #000000;
  border-radius: 16px;
  padding: 1.4rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 1px solid rgba(249, 177, 23, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 216, 127, 0.55),
    0 0 14px rgba(249, 177, 23, 0.24),
    0 10px 26px rgba(4, 10, 18, 0.22);
}

.badge-title {
  margin: 0;
  color: #000000;
}

.badge-box p,
.badge-box li,
.badge-box .badge-title,
.badge-box .badge-number {
  color: #000000 !important;
}

.badge-number {
  font-size: 2.5rem;
  line-height: 1;
  margin: 0.55rem 0;
  font-weight: 800;
  color: #000000;
}

.contact-box {
  background: #000000;
  color: var(--text-light);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(249, 177, 23, 0.35);
}

.contact-box h2 {
  margin-top: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.contact-actions a {
  color: #ffe7a7;
  text-decoration: none;
  font-weight: 700;
}

.contact-icon-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition:
    transform 0.2s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.contact-icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-phone-link {
  background: rgba(255, 255, 255, 0.92);
  color: #000000 !important;
  border-color: rgba(255, 255, 255, 0.95);
}

.contact-icon-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(2.2) contrast(1.05);
}

.contact-icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 177, 23, 0.9);
  box-shadow: 0 0 14px rgba(249, 177, 23, 0.35);
}

.site-footer {
  background: #0f1720;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(249, 177, 23, 0.9);
  box-shadow: inset 0 1px 0 rgba(249, 177, 23, 0.35);
}

.site-footer p {
  margin: 0;
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  main .container {
    text-align: center;
  }

  .nav-wrap {
    min-height: 64px;
    justify-content: center;
  }

  .logo {
    font-size: 0.95rem;
    gap: 0.45rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links {
    display: none !important;
  }

  .nav-links a {
    padding: 0.55rem 0.35rem;
    font-size: 0.97rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    align-items: center;
    background-position: 22% center;
    min-height: 100svh;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 12, 18, 0.46) 0%,
      rgba(6, 12, 18, 0.74) 62%,
      rgba(6, 12, 18, 0.88) 100%
    );
  }

  .hero-content {
    padding-top: 88px;
    padding-bottom: 20px;
  }

  .hero-tag {
    margin-bottom: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.3vw, 2.05rem);
    max-width: 100%;
    margin-bottom: 1.2rem;
  }

  .hero p {
    margin-bottom: 1.2rem;
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-highlight {
    margin-top: -0.25rem;
    margin-bottom: 1rem;
    font-size: clamp(0.66rem, 3.25vw, 0.84rem);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem;
    justify-content: center;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .scroll-indicator {
    margin-top: 2.4rem;
    margin-left: 0;
  }

  .section {
    padding: 36px 0;
  }

  .section-frame {
    padding: 1rem;
    border-radius: 14px;
  }

  .card {
    padding: 1rem;
    text-align: center;
  }

  .card-head {
    justify-content: center;
  }

  .contact-actions {
    flex-direction: row;
    gap: 0.7rem;
    align-items: center;
    justify-content: center;
  }

  .contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .checks {
    padding-left: 0;
    list-style-position: inside;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 420px) {
  .container {
    width: 94%;
  }

  .hero-content {
    padding-bottom: 36px;
  }
}
