/* =========================================================
   Electricianis — stylesheet static site
   ========================================================= */

/* 0. TOKENS */
:root{
  --orange: #f47629;
  --orange-dark: #d9600f;
  --navy: #1c222d;
  --navy-light: #262e3c;
  --white: #ffffff;
  --text: #2b2f38;
  --text-light: #6b7280;
  --bg-alt: #f7f8fa;
  --border: #e7e8ec;
  --whatsapp: #25D366;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(28,34,45,.08);
  --container: 1200px;
}

/* 1. RESET / BASE */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  font-size:16px;
  line-height:1.65;
  background:var(--white);
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  line-height:1.2;
  margin:0 0 .5em;
  font-weight:700;
}
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--orange); font-weight:700; text-transform:uppercase;
  font-size:.8rem; letter-spacing:.08em; margin-bottom:10px;
}
.eyebrow svg{ width:14px; height:14px; fill:var(--orange); }
.section{ padding:72px 0; }
.section--alt{ background:var(--bg-alt); }
.section-head{ max-width:680px; margin-bottom:40px; }
.section-head h1,.section-head h2{ font-size:clamp(1.6rem,3vw,2.2rem); }

.bolt-list li{ display:flex; gap:12px; align-items:flex-start; padding:8px 0; }
.bolt-list svg{ flex:none; width:18px; height:18px; margin-top:3px; fill:var(--orange); }

/* 2. BUTTONS */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; border-radius:var(--radius);
  font-weight:700; font-family:var(--font-display); font-size:.95rem;
  border:none; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg{ width:18px; height:18px; fill:currentColor; }
.btn-primary{
  background:var(--orange); color:var(--white);
  animation:electric-pulse 2.6s ease-in-out infinite;
}
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.35); }
.btn-outline:hover{ border-color:var(--orange); color:var(--orange); }
.btn-dark{ background:var(--navy); color:var(--white); }
.btn-dark:hover{ background:var(--navy-light); }
.btn-whatsapp{ background:var(--whatsapp); color:var(--white); }
.btn-whatsapp:hover{ background:#1ebc59; transform:translateY(-1px); }
@keyframes electric-pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(244,118,41,.45); }
  50%{ box-shadow:0 0 0 8px rgba(244,118,41,0); }
}

/* 3. TOP BAR */
.topbar{ background:var(--navy); color:#c9cdd6; font-size:.85rem; }
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px;
}
.topbar-info{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-info span{ display:inline-flex; align-items:center; gap:6px; }
.topbar-info svg{ width:14px; height:14px; fill:var(--orange); }
.topbar-cta{ display:flex; align-items:center; gap:12px; }
.topbar-cta a.phone{ font-weight:700; color:var(--white); }
.topbar-cta .btn-small{
  background:var(--orange); color:var(--white); padding:6px 14px;
  border-radius:4px; font-weight:700; font-size:.8rem;
}

/* 4. HEADER / NAV */
.site-header{ position:relative; }

.main-nav-bar{ background:var(--navy); border-top:1px solid rgba(255,255,255,.08); }
.main-nav-bar .container{ display:flex; align-items:center; gap:28px; padding-top:14px; padding-bottom:14px; }

.site-logo{ display:flex; align-items:center; margin-right:8px; }
.site-logo img{ height:35px; width:auto; }

.main-nav{ flex:1; }
.main-nav ul{ display:flex; }
.main-nav a{ display:block; padding:10px 16px; color:#dfe2e8; font-weight:600; font-size:.92rem; position:relative; }
.main-nav a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:2px; height:2px;
  background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after{ transform:scaleX(1); }
.main-nav a:hover,.main-nav a[aria-current="page"]{ color:var(--white); }
.nav-cta-flag{ background:var(--orange); color:var(--white); font-weight:700; padding:12px 20px; border-radius:var(--radius); font-size:.9rem; white-space:nowrap; }
.menu-toggle{ display:none; background:none; border:none; padding:8px; cursor:pointer; margin-left:auto; }
.menu-toggle svg{ width:24px; height:24px; fill:var(--white); }

@media (max-width:900px){
  .nav-cta-flag{ display:none; }
  .menu-toggle{ display:block; }
  .main-nav{ display:none; width:100%; background:var(--navy-light); flex:none; order:3; }
  .main-nav.is-open{ display:block; }
  .main-nav ul{ flex-direction:column; }
  .main-nav a{ padding:14px 24px; border-top:1px solid rgba(255,255,255,.08); }
  .main-nav-bar .container{ flex-wrap:wrap; }
}

/* 4b. BREADCRUMB */
.breadcrumb{ background:var(--bg-alt); border-bottom:1px solid var(--border); font-size:.85rem; }
.breadcrumb .container{ padding-top:12px; padding-bottom:12px; }
.breadcrumb a{ color:var(--text-light); }
.breadcrumb a:hover{ color:var(--orange); }
.breadcrumb .current{ color:var(--navy); font-weight:600; }
.breadcrumb .sep{ margin:0 6px; color:#b7bac2; }

/* 5. HERO */
.hero{ background:var(--navy); color:var(--white); padding:80px 0; position:relative; overflow:hidden; }
.hero .container{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero h1{ color:var(--white); font-size:clamp(2rem,4vw,3rem); }
.hero h1 span{ color:var(--orange); }
.hero h1 .line{ display:block; }
.hero h1 .line.accent{ color:var(--orange); font-style:italic; }
.hero p.lead{ color:#c9cdd6; font-size:1.1rem; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
.hero-art{ background:var(--navy-light); border-radius:var(--radius); padding:32px; border:1px solid rgba(255,255,255,.08); }
.hero-art img{ border-radius:4px; }
@media (max-width:900px){ .hero .container{ grid-template-columns:1fr; } }

/* 6. SPLIT / ABOUT */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.split img{ border-radius:var(--radius); box-shadow:var(--shadow); }
@media (max-width:800px){ .split{ grid-template-columns:1fr; } }

/* 7. SERVICES GRID */
.services-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:24px; }
.services-grid .service-card{ flex:1 1 320px; max-width:360px; }
.service-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:28px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:transparent; }
.service-card .icon{
  width:44px; height:44px; border-radius:8px; background:rgba(244,118,41,.12);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.service-card .icon svg{ width:22px; height:22px; fill:var(--orange); }
.service-card h2,.service-card h3{ font-size:1.05rem; }
.service-card p{ color:var(--text-light); font-size:.92rem; margin:0; }

/* 8. PRICING PLANS */
.plans-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.plan-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:32px 28px; text-align:center; }
.plan-card.is-featured{ background:var(--navy); color:var(--white); border-color:var(--navy); transform:scale(1.03); box-shadow:var(--shadow); }
.plan-card h3{ font-family:var(--font-display); }
.plan-card.is-featured h3{ color:var(--white); }
.plan-price{ font-size:2.2rem; font-weight:700; font-family:var(--font-display); color:var(--orange); margin:6px 0 18px; }
.plan-price span{ font-size:.9rem; font-weight:400; color:var(--text-light); }
.plan-card.is-featured .plan-price span{ color:#c9cdd6; }
.plan-card ul{ text-align:left; margin-bottom:24px; }
.plan-card ul li{ padding:7px 0; display:flex; gap:8px; font-size:.92rem; }
.plan-card ul li svg{ width:16px; height:16px; fill:var(--orange); flex:none; margin-top:3px; }
@media (max-width:860px){ .plans-grid{ grid-template-columns:1fr; } .plan-card.is-featured{ transform:none; } }

/* 9. COUNTERS */
.counters{ background:var(--navy); color:var(--white); }
.counters-grid{ display:grid; grid-template-columns:repeat(4,1fr); text-align:center; gap:24px; }
.counter-item strong{ display:block; font-family:var(--font-display); font-size:2.4rem; color:var(--orange); }
.counter-item span{ color:#c9cdd6; font-size:.9rem; }
@media (max-width:700px){ .counters-grid{ grid-template-columns:1fr 1fr; } }

/* 10. TESTIMONIALS */
.testimonial-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:28px; height:100%; }
.testimonial-card p{ color:var(--text-light); font-style:italic; }
.testimonial-card .author{ font-weight:700; color:var(--navy); font-style:normal; font-family:var(--font-display); }
.testimonials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .testimonials-grid{ grid-template-columns:1fr; } }

/* 11. PRICING TABLE */
.price-table-wrap{ overflow-x:auto; box-shadow:var(--shadow); border-radius:var(--radius); }
table.price-table{ width:100%; border-collapse:collapse; min-width:640px; background:var(--white); }
table.price-table th{ background:var(--navy); color:var(--white); text-align:left; padding:16px 20px; font-family:var(--font-display); }
table.price-table td{ padding:14px 20px; border-bottom:1px solid var(--border); font-size:.95rem; }
table.price-table td:last-child{ font-weight:700; color:var(--orange); white-space:nowrap; text-align:right; }
table.price-table tr:nth-child(even) td{ background:var(--bg-alt); }
table.price-table tr.price-group td{ background:var(--navy-light); color:var(--white); font-family:var(--font-display); font-weight:700; }
.price-note{ background:var(--bg-alt); border-left:4px solid var(--orange); padding:18px 22px; border-radius:4px; color:var(--text-light); font-size:.92rem; margin-top:28px; }

/* 12. FAQ ACCORDION */
.faq-list{ max-width:820px; }
.faq-item{ border:1px solid var(--border); border-radius:var(--radius); margin-bottom:12px; overflow:hidden; }
.faq-question{
  width:100%; text-align:left; background:var(--white); border:none; padding:18px 22px;
  font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--navy);
  cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-question svg{ width:16px; height:16px; fill:var(--orange); flex:none; transition:transform .2s ease; }
.faq-item.is-open .faq-question svg{ transform:rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .25s ease; background:var(--bg-alt); }
.faq-answer-inner{ padding:0 22px 18px; color:var(--text-light); font-size:.95rem; }

/* 13. CONTACT (fără formular — doar canale directe) */
.contact-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.contact-channel{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 28px; text-align:center; transition:box-shadow .2s ease, transform .2s ease;
}
.contact-channel:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.contact-channel .icon{
  width:56px; height:56px; border-radius:50%; background:rgba(244,118,41,.12);
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.contact-channel .icon svg{ width:26px; height:26px; fill:var(--orange); }
.contact-channel.whatsapp .icon{ background:rgba(37,211,102,.12); }
.contact-channel.whatsapp .icon svg{ fill:var(--whatsapp); }
.contact-channel h2,.contact-channel h3{ margin-bottom:6px; }
.contact-channel a.value{ font-weight:700; color:var(--navy); font-family:var(--font-display); }
.contact-map{ margin-top:32px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.contact-map iframe{ width:100%; height:320px; border:0; display:block; }

/* 14. COMING SOON (magazin) */
.coming-soon{ background:var(--navy); color:var(--white); text-align:center; padding:120px 0; }
.coming-soon .bolt-big{ width:56px; height:56px; fill:var(--orange); margin-bottom:20px; }
.coming-soon h1{ color:var(--white); }
.coming-soon p{ color:#c9cdd6; max-width:520px; margin-left:auto; margin-right:auto; }

/* 15. FOOTER */
.site-footer{ background:var(--navy); color:#c9cdd6; }
.footer-strip{ background:var(--orange); color:var(--white); font-weight:700; font-size:.9rem; }
.footer-strip .container{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; padding:14px 0; text-align:center; }
.footer-strip .sep{ opacity:.6; }
.footer-main{ padding:56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.2fr 1fr 1fr 1.2fr; gap:32px; }
.footer-grid img{ height:34px; margin-bottom:14px; }
.footer-grid h4{ color:var(--white); font-size:.95rem; text-transform:uppercase; letter-spacing:.05em; }
.footer-grid a{ color:#c9cdd6; }
.footer-grid a:hover{ color:var(--orange); }
.footer-links li{ padding:5px 0; display:flex; gap:8px; align-items:flex-start; }
.footer-links svg{ width:14px; height:14px; fill:var(--orange); margin-top:4px; flex:none; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:20px 0; font-size:.82rem; color:#8b90a0; text-align:center; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:500px){ .footer-grid{ grid-template-columns:1fr; } }

/* 4c. PAGE HERO (pagini pilon de servicii) */
.page-hero{ background:var(--navy); color:var(--white); padding:64px 0; text-align:center; position:relative; overflow:hidden; }
.page-hero::before{ content:""; position:absolute; top:-35%; right:-8%; width:420px; height:420px; background:radial-gradient(circle, rgba(244,118,41,.25), transparent 70%); pointer-events:none; }
.page-hero .container{ position:relative; max-width:760px; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ color:var(--white); font-size:clamp(1.8rem,3.5vw,2.6rem); }
.page-hero p{ color:#c9cdd6; font-size:1.05rem; margin:0 auto; }

.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Feature panel — panou decorativ cu iconita mare, folosit in loc de poza pe paginile pilon */
.feature-panel{
  background:var(--navy);
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  min-height:260px;
}
.feature-panel svg{ width:35%; height:35%; fill:var(--orange); }

/* Link "Vezi detalii" cu sageata, in cardurile de servicii */
.service-card .more{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-weight:700; font-size:.85rem; color:var(--orange); }
.service-card .more svg{ width:14px; height:14px; fill:var(--orange); transition:transform .15s ease; }
.service-card .more:hover svg{ transform:translateX(3px); }

/* 7b. PROCES IN 4 PASI */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.process-step{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:28px 24px; position:relative; }
.process-step .step-num{
  position:absolute; top:14px; right:18px;
  font-family:var(--font-display); font-weight:700; font-size:1.8rem;
  color:transparent; -webkit-text-stroke:1px var(--border);
}
.process-step .icon{ width:44px; height:44px; border-radius:8px; background:rgba(244,118,41,.12); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.process-step .icon svg{ width:22px; height:22px; fill:var(--orange); }
@media (max-width:900px){ .process-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }

/* 16. STICKY WHATSAPP / EMAIL ACTIONS */
.sticky-actions{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:999;
  display:flex;
  flex-direction:column;
  gap:12px;
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.sticky-actions.is-visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
.sticky-actions a{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(28,34,45,.25);
  transition:transform .15s ease, box-shadow .15s ease;
}
.sticky-actions a:hover{ transform:translateY(-2px) scale(1.05); }
.sticky-actions a svg{ width:26px; height:26px; fill:var(--white); }
.sticky-actions .action-whatsapp{ background:var(--whatsapp); }
.sticky-actions .action-mail{ background:var(--orange); }
.sticky-actions .action-label{
  position:absolute;
  right:66px;
  top:50%;
  transform:translateY(-50%);
  background:var(--navy);
  color:var(--white);
  font-size:.8rem;
  font-weight:600;
  padding:6px 12px;
  border-radius:4px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .15s ease;
}
.sticky-actions a{ position:relative; }
.sticky-actions a:hover .action-label{ opacity:1; }
@media (max-width:600px){
  .sticky-actions{ right:14px; bottom:14px; }
  .sticky-actions a{ width:50px; height:50px; }
  .sticky-actions a svg{ width:22px; height:22px; }
  .sticky-actions .action-label{ display:none; }
}
