:root {
  --primary: #1565c0;
  --primary-dark: #0d3c73;
  --accent: #ffb703;
  --bg: #f7f9fb;
  --text: #1a1a1a;
  --muted: #5a5a5a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.logo-icon-wrap { position: relative; display: inline-flex; }
.logo-icon { color: var(--accent); flex-shrink: 0; cursor: pointer; transition: filter 0.15s ease; position: relative; z-index: 2; }
.logo-icon:hover { filter: drop-shadow(0 0 4px rgba(255,183,3,0.7)); }

@keyframes zap-strike {
  0%   { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 rgba(255,183,3,0)) brightness(1); }
  8%   { transform: scale(1.5) rotate(-12deg); filter: drop-shadow(0 0 18px #fff) drop-shadow(0 0 28px var(--accent)) brightness(2.2); }
  16%  { transform: scale(1.1) rotate(10deg); filter: drop-shadow(0 0 6px var(--accent)) brightness(0.8); }
  24%  { transform: scale(1.55) rotate(-9deg); filter: drop-shadow(0 0 20px #fff) drop-shadow(0 0 30px #4fc3ff) brightness(2.4); }
  32%  { transform: scale(1.05) rotate(6deg); filter: drop-shadow(0 0 5px var(--accent)) brightness(0.9); }
  42%  { transform: scale(1.4) rotate(-5deg); filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 24px var(--accent)) brightness(2); }
  55%  { transform: scale(1) rotate(3deg); filter: drop-shadow(0 0 8px var(--accent)) brightness(1.3); }
  70%  { transform: scale(1.15) rotate(-2deg); filter: drop-shadow(0 0 10px var(--accent)) brightness(1.4); }
  100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 rgba(255,183,3,0)) brightness(1); }
}
.logo-icon.zap-animate {
  animation: zap-strike 0.75s cubic-bezier(.36,.07,.19,.97);
}

@keyframes zap-ring {
  0%   { transform: scale(0.2); opacity: 0.9; border-color: #fff; }
  60%  { opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; border-color: var(--accent); }
}
.zap-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: zap-ring 0.7s ease-out forwards;
}

@keyframes spark-fly {
  0%   { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--dist)) scale(0.2); opacity: 0; }
}
.zap-spark {
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px 1px #fff, 0 0 10px 2px var(--accent);
  pointer-events: none;
  z-index: 1;
  animation: spark-fly 0.6s ease-out forwards;
}

@keyframes flash-screen-glow {
  0%   { box-shadow: 0 0 0 0 rgba(255,183,3,0); }
  10%  { box-shadow: 0 0 40px 6px rgba(255,183,3,0.5); }
  100% { box-shadow: 0 0 0 0 rgba(255,183,3,0); }
}
.site-header.zap-flash {
  animation: flash-screen-glow 0.5s ease-out;
}
.logo-electro { color: var(--primary); }

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
nav a:hover { color: var(--primary); }

.lang-toggle { display: flex; gap: 6px; }
.lang-btn {
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}
.call-button .btn-icon { flex-shrink: 0; }
.call-button:hover { transform: translateY(-2px); }

/* Services */
.services { padding: 70px 0; }
.services h2, .about h2, .contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.service-card .icon {
  color: var(--primary);
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.service-card h3 { margin-bottom: 10px; color: var(--primary-dark); }
.service-card p { color: var(--muted); font-size: 0.98rem; }

/* About */
.about {
  background: #fff;
  padding: 70px 0;
  text-align: center;
}
.about p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 70px 0;
  text-align: center;
}
.contact p { margin-bottom: 24px; color: var(--muted); }
.whatsapp { margin-top: 20px; }
.whatsapp a { color: var(--primary); font-weight: 600; }

.company-info {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  display: inline-block;
  text-align: left;
}
.company-info p { margin-bottom: 8px; color: var(--muted); }
.company-info a { color: var(--primary); text-decoration: none; }
.company-info a:hover { text-decoration: underline; }
.company-info strong { color: var(--text); }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}
.footer-details {
  margin-top: 8px;
  opacity: 0.85;
  font-size: 0.85rem;
}
.footer-details a { color: #fff; }

@media (max-width: 640px) {
  nav { display: none; }
  .hero h1 { font-size: 1.6rem; }
  .call-button { font-size: 1.05rem; padding: 14px 22px; }
}

/* Privacy statement */
.policy-brand { color: inherit; text-decoration: none; }
.policy-home { color: var(--primary); font-weight: 600; text-decoration: none; }
.policy-home:hover { text-decoration: underline; }
.privacy-page { max-width: 850px; padding-top: 52px; padding-bottom: 64px; }
.privacy-page h1 { color: var(--primary-dark); font-size: 2.2rem; margin-bottom: 4px; }
.privacy-page h2 { color: var(--primary-dark); font-size: 1.25rem; margin: 30px 0 8px; }
.privacy-page p, .privacy-page li { color: var(--muted); }
.privacy-page p { margin: 0 0 14px; }
.privacy-page ul { margin: 0 0 16px 22px; }
.privacy-page li { padding-left: 4px; margin: 6px 0; }
.privacy-page a { color: var(--primary); }
.privacy-updated { font-size: .9rem; margin-bottom: 28px !important; }

.about-layout {
  max-width: 900px;
  margin: 0 auto;
}
.about-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.about-portrait {
  display: block;
  width: 100px;
  height: 126px;
  flex: 0 0 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: #fff;
}
.about-copy { text-align: left; }
.about-copy h2 { text-align: left; margin: 0; }
.about-copy p { max-width: none; margin: 0; }
@media (max-width: 700px) {
  .about-layout { max-width: 100%; }
  .about-heading { gap: 10px; }
  .about-copy h2 { text-align: left; }
}