/* ============================================================
   ELECTRO PROTECT — GLOBAL STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --primary: #0a3d62;
  --primary-dark: #062540;
  --primary-light: #1565c0;
  --accent: #f0a500;
  --accent-dark: #c78200;
  --accent-light: #ffcc50;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #f8f9fa;
  --text-muted: #718096;
  --bg-light: #f4f7fb;
  --bg-white: #ffffff;
  --bg-dark: #0d1b2e;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', sans-serif;
  --header-h: 80px;
}

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

html,
body {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── UTILITY ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

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

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--bg-dark);
}

.bg-primary {
  background: var(--primary);
}

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

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  max-width: 600px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 16px 0 0;
}

.divider.centered {
  margin: 16px auto 0;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 165, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ─── TOP BAR ─────────────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.75);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar i {
  margin-right: 5px;
  color: var(--accent);
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.3);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-name span {
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── NAV ────────────────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.4);
}

/* ─── HAMBURGER ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE NAV OVERLAY ─────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10, 61, 98, 0.97);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-overlay a {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  width: 280px;
  text-align: center;
}

.mobile-nav-overlay a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.mobile-nav-overlay .mobile-nav-cta {
  margin-top: 16px;
  background: var(--accent);
  color: var(--primary-dark);
}

.mobile-nav-overlay .mobile-nav-cta:hover {
  background: var(--accent-dark);
  color: var(--primary-dark);
}

.mobile-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent);
}

/* ─── PAGE HERO BANNER ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.page-hero-breadcrumb a {
  color: var(--accent);
}

.page-hero-breadcrumb i {
  font-size: 0.7rem;
}

.page-hero h1 {
  color: white;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  font-size: 1.05rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-icon {
  flex-shrink: 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(240, 165, 0, 0.4);
}

.footer-links li+li {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(240, 165, 0, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
  color: var(--accent);
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) {
  transition-delay: 0.05s;
}

.fade-up:nth-child(2) {
  transition-delay: 0.12s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.19s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.26s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.33s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.40s;
}

.fade-up:nth-child(7) {
  transition-delay: 0.47s;
}

.fade-up:nth-child(8) {
  transition-delay: 0.54s;
}

.fade-up:nth-child(9) {
  transition-delay: 0.61s;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }



  .main-nav {
    display: none;
  }

  .top-bar-left {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-pad {
    padding: 64px 0;
  }

  :root {
    --header-h: 70px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ─── V2 COMPONENTS (Hero, CTA, Buttons) ─────────────────────── */
.inline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}
.inline-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--accent);
}
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.5);
}
.btn-glow:hover::after {
    opacity: 0.2;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}
.about-hero-v2 {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--primary-dark);
}
.about-hero-bg {
    position: absolute;
    inset: 0;
}
.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 37, 64, 0.95) 0%, rgba(10, 61, 98, 0.8) 100%);
}
.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}
.about-hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.about-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
}
.hero-v2-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 5;
}

/* ─── DIAGONAL CTA (Home Sync) ───────────────────────────────── */
.cta-v2 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--primary-dark);
    color: white;
    text-align: center;
}
.cta-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}
.cta-v2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
}
.cta-v2-inner {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
}
.cta-v2-inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.cta-v2-inner h2 span {
    color: var(--accent);
}
.cta-v2-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}
.cta-v2-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .about-hero-content h1 {
        font-size: 2.2rem;
    }
    .cta-v2-inner h2 {
        font-size: 2.4rem;
    }
}

/* ─── FLOATING BUTTONS ───────────────────────────────────────── */
.floating-btn {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.floating-whatsapp {
    left: 30px;
    background: #25D366;
}
.floating-whatsapp:hover {
    background: #1EBE5D;
    color: white;
}
.floating-back-to-top {
    right: 30px;
    background: var(--primary);
    border: 2px solid var(--accent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99999 !important;
}
.floating-back-to-top.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}
.floating-back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .floating-whatsapp { left: 20px; }
    .floating-back-to-top { right: 20px; }
}