/* ============================================
   ELECTRO PREMIUM - Modern Stylesheet v4
   Theme: Clean White, Charcoal & Brand Red
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --primary: #ffffff;
  --primary-light: #f5f7fa;
  --primary-dark: #202020;
  --accent: #e02020;
  --accent-light: #e64d4d;
  --accent-dark: #b31a1a;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --text-light: #1a1a2e;
  --text-dark: #202020;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(48, 48, 48, 0.08);
  --shadow-accent: 0 5px 20px rgba(224, 32, 32, 0.2);
  --gradient-accent: linear-gradient(135deg, #e02020 0%, #e64d4d 50%, #b31a1a 100%);
  --gradient-dark: linear-gradient(135deg, #202020 0%, #303030 50%, #202020 100%);
  --gradient-gold: linear-gradient(135deg, #e64d4d 0%, #ff8c00 50%, #e02020 100%);
  --gradient-led: linear-gradient(90deg, #ff8c00, #e02020, #e64d4d, #ff8c00);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1400px;
  --container-gap: 5%;
  --section-padding: 80px 5%;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--primary);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gap);
  width: 100%;
}

/* ===== Animated Background ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-particle {
  position: absolute;
  font-size: 1.2rem;
  color: rgba(224, 32, 32, 0.06);
  animation: float var(--anim-duration, 15s) ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 0.3; }
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader .bolt {
  font-size: 3rem;
  color: var(--accent);
  animation: boltPulse 1.5s ease-in-out infinite;
}

.loader p {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 15px;
  font-size: 1.2rem;
}

@keyframes boltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* ===== Top Bar ===== */
.topbar {
  background: var(--primary-dark);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.topbar__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gap);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__item {
  color: #cbd5e1;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__item i {
  color: var(--accent);
}

.topbar__item a {
  color: #cbd5e1;
  transition: var(--transition);
}

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

.topbar__badge {
  background: rgba(224, 32, 32, 0.15);
  border: 1px solid rgba(224, 32, 32, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 32, 32, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(224, 32, 32, 0); }
}

/* ===== Header / Navbar ===== */
.header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(32, 32, 32, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 8px 0;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  height: 45px;
  width: auto;
  border-radius: 8px;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
}

.header__logo span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.header__logo span b {
  color: var(--accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header__link {
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.header__link:hover,
.header__link.active {
  color: var(--accent);
  background: var(--off-white);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.header__link:hover::after,
.header__link.active::after {
  width: 60%;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.header__nav-close {
  display: none;
  background: none;
  border: none;
  color: var(--primary-dark);
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10010;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.btn--primary {
  background: linear-gradient(135deg, #e02020 0%, #d12a2a 55%, #b31a1a 100%);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(224, 32, 32, 0.18);
  position: relative;
  overflow: hidden;
  filter: saturate(1.03);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::after {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(224, 32, 32, 0.22);
  filter: saturate(1.08);
}

@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.06);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ===== Section Head ===== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(224, 32, 32, 0.08);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 15px;
  border: 1px solid rgba(224, 32, 32, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #121212 0%, #3a1a1a 22%, #d12b2b 55%, #121212 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, rgba(224, 32, 32, 0.12), transparent 28%),
              linear-gradient(135deg, #101010 0%, #171718 35%, #0d1117 100%);
  background-size: 100% 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/304fa2b9-750a-40e0-aa53-70603e78e817.JPG') center/cover no-repeat;
  opacity: 0.1;
  filter: saturate(0.85) contrast(1.15);
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: blobFloat 8s ease-in-out infinite;
  z-index: 0;
}

.hero__blob--1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.hero__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--accent-light);
  bottom: -50px;
  left: -50px;
  animation-delay: 4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gap);
}

/* Mouse-follower glow */
.hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 32, 32, 0.12) 0%, rgba(224, 32, 32, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero:hover .hero__glow {
  opacity: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.hero__text {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4.7vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin: 0 auto 20px;
  min-height: 7.8rem;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.14em;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 28px rgba(224, 32, 32, 0.18);
  background: linear-gradient(120deg, #f7c7c7 0%, #ef7b7b 18%, #e53f3f 36%, #d61f1f 58%, #991010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent {
  color: var(--accent-light);
  text-shadow: 0 0 18px rgba(230, 77, 77, 0.18);
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(145deg, #ffdcdc 0%, #f5a0a0 16%, #ee6767 34%, #dd2d2d 58%, #9b0f0f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  transform: translateY(-1px);
}

.hero__title,
.hero__title-accent,
.typewriter-cursor {
  user-select: none;
  -webkit-user-select: none;
}

.btn,
.header__link,
.footer__social a,
.footer-phone__toggle,
.whatsapp-float,
.back-to-top,
.contact__link-value {
  touch-action: manipulation;
}

.typewriter-cursor {
  display: inline-block;
  margin-left: 1px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 660px;
  margin-bottom: 35px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__image-wrap {
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero__image-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(224, 32, 32, 0.3);
}

.hero__image-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0.2;
  z-index: 1;
}

.hero__image-inner::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-accent);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
  filter: blur(30px);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: var(--radius);
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat .counter {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__stat p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ===== Trust Bar ===== */
.trustbar {
  background: var(--off-white);
  padding: 60px 5%;
}

.trustbar__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 25px 20px;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.trustbar__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(224, 32, 32, 0.1);
  border-color: var(--accent);
}

.trustbar__item i {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  flex: 0 0 40px;
  width: 40px;
  text-align: center;
}

.trustbar__item .trustbar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.trustbar__item .trustbar__value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.5rem;
  line-height: 1.2;
}

.trustbar__item .trustbar__label {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* ===== About ===== */
.about {
  background: var(--white);
  padding: 80px 5%;
}

.about__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.about__badge i {
  font-size: 2rem;
  color: var(--accent);
}

.about__badge b {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-dark);
  display: block;
}

.about__badge span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.about__content .section-tag {
  margin-bottom: 10px;
}

.about__content .section-title {
  margin-bottom: 20px;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.about__list {
  margin: 25px 0;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-dark);
  font-weight: 500;
}

.about__list li:last-child {
  border-bottom: none;
}

.about__list i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ===== Section Dividers ===== */
.section-divider {
  height: 60px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(224, 32, 33, 0.03) 0%, transparent 100%);
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-led);
  background-size: 300% 100%;
  animation: ledChase 3s linear infinite;
  opacity: 0.5;
}

/* ===== Services ===== */
.services {
  background: var(--off-white);
  padding: 80px 5%;
}

.services__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(224, 32, 32, 0.06);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease,
              background 0.45s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(224,32,32,0.05), rgba(224,32,32,0.9), rgba(224,32,32,0.1));
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scaleX(0.86);
  transform-origin: center;
}

.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@keyframes ledChase {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.09);
  border-color: rgba(224, 32, 32, 0.14);
  background: linear-gradient(180deg, #fffdfd 0%, #fff3f3 100%);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(224, 32, 33, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.45s ease,
              color 0.45s ease,
              box-shadow 0.45s ease;
  box-shadow: inset 0 0 18px rgba(224, 32, 33, 0.08);
}
 .service-card__icon svg { width: 1.8em; height: 1.8em; color: inherit; }

.service-card:hover .service-card__icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(224, 32, 33, 0.18);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.service-card__link:hover {
  gap: 10px;
}

/* ===== Why Choose Us ===== */
.why {
  background: linear-gradient(180deg, #141414 0%, #1d1d1d 100%);
  padding: 88px 5%;
}

.why__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why .section-tag {
  background: rgba(224, 32, 32, 0.2);
}

.why .section-title {
  color: var(--white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.why__item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  min-height: 248px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.why__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224, 32, 32, 0.18), rgba(255, 255, 255, 0.02), rgba(224, 32, 32, 0.12));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.why__item > * {
  position: relative;
  z-index: 1;
}

.why__item:hover {
  background: rgba(224, 32, 32, 0.12);
  border-color: rgba(224, 32, 32, 0.38);
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(224, 32, 32, 0.16), 0 0 18px rgba(224, 32, 32, 0.08);
}

.why__item:hover::before {
  opacity: 1;
}

.why__item i {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 18px;
  background: rgba(224, 32, 32, 0.12);
  border: 1px solid rgba(224, 32, 32, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(224, 32, 32, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why__item:hover i {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 0 18px rgba(224, 32, 32, 0.25);
}

.why__item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.why__item p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Projects / Gallery ===== */
.projects {
  background: var(--white);
  padding: 80px 5%;
}

.projects__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  border: 1px solid rgba(224, 32, 32, 0.08);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(224, 32, 32, 0.12);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: var(--white);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__tag {
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.project-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ===== Special Systems ===== */
.special-systems {
  position: relative;
  padding: 96px 5%;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(224, 32, 32, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.special-systems::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 85vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 32, 32, 0.45), transparent);
  transform: translateX(-50%);
}

.special-systems .container {
  position: relative;
  z-index: 1;
}

.special-systems .section-head {
  max-width: 760px;
  margin: 0 auto 42px;
}

.special-systems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
}

.special-system-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.1);
  scroll-margin-top: 100px;
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  cursor: default;
}

.special-system-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #e2e8f0;
  transition: none;
}

.special-system-card__content {
  padding: 26px 30px 30px;
  background: var(--white);
}

.special-system-card .project-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(224, 32, 32, 0.72);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.special-system-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  color: var(--primary-dark);
}

.special-system-card p {
  max-width: 430px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .special-systems {
    padding: 72px 5%;
  }

  .special-systems .section-head {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .special-system-card__content {
    padding: 22px;
  }

  .special-system-card p {
    font-size: 0.88rem;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--off-white);
  padding: 80px 5%;
}

.testimonials__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf9 100%);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(224, 32, 32, 0.08);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(224, 32, 32, 0.1);
  border-color: rgba(224, 32, 32, 0.18);
}

.testimonial__stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.testimonial p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.testimonial__author i {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial__author strong {
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.testimonial__author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
  padding: 80px 5%;
}

.faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
  border-radius: 18px;
  border: 1px solid rgba(224, 32, 32, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
}

.faq__item:hover {
  border-color: rgba(224, 32, 32, 0.18);
  transform: translateY(-2px);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: var(--transition);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__question i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq__item.open .faq__question i {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 25px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(180deg, #f8f8f8 0%, #f2f3f5 100%);
  padding: 80px 5%;
}

.contact__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(224, 32, 32, 0.08);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__link:hover {
  border-color: rgba(224, 32, 32, 0.25);
  transform: translateX(5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
}

.contact__link-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(224, 32, 32, 0.24);
}

.contact__link-info {
  display: flex;
  flex-direction: column;
}

.contact__link-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.contact__link-value {
  display: block;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.25s ease, background 0.25s ease;
}

.contact__phone-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__phone-numbers .contact__link-value {
  padding: 4px 10px;
  border: 1px solid rgba(224, 32, 32, 0.12);
  border-radius: 8px;
  background: rgba(224, 32, 32, 0.04);
}

.contact__phone-numbers .contact__link-value:hover {
  color: var(--accent);
  background: rgba(224, 32, 32, 0.1);
}

@media (max-width: 480px) {
  .contact__phone-numbers {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.contact__link:hover .contact__link-value,
.contact__link:hover .contact__link-label {
  color: var(--accent);
}

.contact__image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(224, 32, 32, 0.08);
}

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

.contact__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  color: var(--white);
}

.contact__image-overlay h3 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.contact__image-overlay p {
  color: #cbd5e1;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #171717 0%, #0f172a 100%);
  padding: 60px 5% 0;
  scroll-margin-top: 90px;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__brand img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  border: 2px solid var(--accent);
  margin-bottom: 15px;
  box-shadow: 0 12px 24px rgba(224, 32, 32, 0.2);
}

.footer__brand .footer__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.footer__brand .footer__name b {
  color: var(--accent);
}

.footer__brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 300px;
  margin-top: 15px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a,
.footer-phone__toggle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer__social a:hover,
.footer-phone__toggle:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-phone {
  position: relative;
}

.footer-phone__toggle {
  font: inherit;
}

.footer-phone__menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 6px;
  background: #172033;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.footer-phone.is-open .footer-phone__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.footer-phone__menu a {
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-phone__menu a:hover,
.footer-phone__menu a:focus-visible {
  color: var(--white);
  background: var(--accent);
}

.footer__col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer__col a i {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
}

.footer__bottom p {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* ===== Floating Buttons ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7); }
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ===== Lightbox ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  -webkit-overflow-scrolling: touch;
}

.lightbox-overlay.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  box-shadow: 0 0 50px rgba(224, 32, 32, 0.3);
}

.lightbox-close {
  position: fixed;
  top: env(safe-area-inset-top, 10px);
  right: env(safe-area-inset-right, 10px);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.8rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 10002;
  padding: 6px;
  border-radius: 8px;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  background: rgba(0,0,0,0.25);
}

/* Larger tap target for iOS */
@media (max-width: 820px) {
  .lightbox-close {
    font-size: 3.2rem;
    padding: 10px;
    right: calc(env(safe-area-inset-right, 10px) + 6px);
  }
}

.lightbox-close:hover {
  color: var(--accent-light);
  transform: rotate(90deg);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__text {
    text-align: center;
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .trustbar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image img {
    height: 350px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .footer {
    padding-top: 90px;
  }

  .header__toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: min(280px, 100vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 5px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(48, 48, 48, 0.12);
    z-index: 999;
  }

  .header__nav-close {
    display: block;
    color: var(--primary-dark);
    background: none;
    border: none;
    position: absolute;
    top: calc(env(safe-area-inset-top, 18px));
    right: calc(env(safe-area-inset-right, 18px));
    font-size: 1.6rem;
    padding: 8px;
    z-index: 10011;
  }

  .header__nav.active {
    right: 0;
  }

  .header__link {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
  }

  .hero {
    min-height: 80vh;
    padding: 60px 0;
  }

  .hero__title {
    font-size: 2.2rem;
    white-space: normal;
    width: 100%;
    line-height: 1.1;
    max-width: 100%;
    display: block;
    text-align: center;
  }

  .hero__title-accent {
    display: block;
    margin-top: 5px;
  }

  .hero__subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero__stats {
    gap: 20px;
    margin-top: 30px;
  }

  .hero__stat .counter {
    font-size: 2rem;
  }

  .hero__stat p {
    font-size: 0.8rem;
  }

  .hero__glow {
    display: none;
  }

  .hero__image-wrap {
    display: none;
  }

  /* Hide decorative background particles on smaller screens for performance */
  .bg-animation {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about__badge {
    position: static;
    margin-top: 20px;
  }

  .about__image img {
    height: 350px;
  }

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

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

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

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin: 0 auto;
  }

  .footer__social {
    justify-content: center;
  }

  .footer-phone__menu {
    top: calc(100% + 10px);
    bottom: auto;
    transform: translate(-50%, -6px);
  }

  .footer-phone.is-open .footer-phone__menu {
    transform: translate(-50%, 0);
  }
}

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

  .hero__title {
    font-size: 1.8rem;
    letter-spacing: 0.01em;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .trustbar {
    padding: 40px 5%;
  }

  .trustbar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trustbar__item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 20px 12px;
    min-height: 140px;
    justify-content: center;
  }

  .trustbar__item i {
    font-size: 1.8rem;
    flex: 0 0 auto;
    width: auto;
  }

  .trustbar__item .trustbar__text {
    align-items: center;
    text-align: center;
  }

  .trustbar__item .trustbar__value {
    font-size: 1.35rem;
  }

  .trustbar__item .trustbar__label {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .about__image img {
    height: 280px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 20px;
    left: 20px;
  }
}

/* Respect user preference for reduced motion — only disable decorative animations */
@media (prefers-reduced-motion: reduce) {
  .bg-animation,
  .bg-particle,
  .loader,
  .hero__glow,
  .hero__blob,
  .section-divider::before,
  .btn--primary::after {
    animation: none !important;
  }

  /* reduce intensive transitions but keep content reveal accessible */
  .service-card,
  .project-card,
  .trustbar__item,
  .why__item,
  .testimonial,
  .btn {
    transition-duration: 0.12s !important;
  }
}

/* Disable hover-specific effects on touch-only devices to avoid stuck hover states */
@media (hover: none) {
  .service-card:hover,
  .service-card:hover::after,
  .service-card:hover .service-card__icon,
  .project-card:hover,
  .project-card:hover img,
  .project-card:hover .project-card__overlay,
  .trustbar__item:hover,
  .why__item:hover,
  .testimonial:hover,
  .btn--primary:hover,
  .btn--outline:hover,
  .header__link:hover,
  .service-card__link:hover {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .contact__link:hover,
  .contact__link:focus {
    border-color: rgba(224, 32, 32, 0.08);
    transform: none;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  }

  .contact__link:hover .contact__link-value,
  .contact__link:hover .contact__link-label,
  .contact__link:focus .contact__link-value,
  .contact__link:focus .contact__link-label {
    color: var(--text-muted);
  }

  .contact__link:hover .contact__link-value,
  .contact__link:focus .contact__link-value {
    color: var(--primary-dark);
  }

  .contact__phone-numbers .contact__link-value:hover,
  .contact__phone-numbers .contact__link-value:focus {
    color: var(--primary-dark);
    background: rgba(224, 32, 32, 0.04);
  }
}

/* When a touch interaction is detected, aggressively disable hover effects to avoid stuck states */
.disable-hover .service-card:hover,
.disable-hover .service-card:hover::after,
.disable-hover .service-card:hover .service-card__icon,
.disable-hover .project-card:hover,
.disable-hover .project-card:hover img,
.disable-hover .project-card:hover .project-card__overlay,
.disable-hover .trustbar__item:hover,
.disable-hover .why__item:hover,
.disable-hover .testimonial:hover,
.disable-hover .btn--primary:hover,
.disable-hover .btn--outline:hover,
.disable-hover .header__link:hover,
.disable-hover .service-card__link:hover {
  transform: none !important;
  box-shadow: none !important;
  background: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.disable-hover .contact__link:hover,
.disable-hover .contact__link:focus {
  border-color: rgba(224, 32, 32, 0.08) !important;
  transform: none !important;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06) !important;
}

.disable-hover .contact__link:hover .contact__link-value,
.disable-hover .contact__link:hover .contact__link-label,
.disable-hover .contact__link:focus .contact__link-value,
.disable-hover .contact__link:focus .contact__link-label {
  color: var(--text-muted) !important;
}

.disable-hover .contact__link:hover .contact__link-value,
.disable-hover .contact__link:focus .contact__link-value {
  color: var(--primary-dark) !important;
}

.disable-hover .contact__phone-numbers .contact__link-value:hover,
.disable-hover .contact__phone-numbers .contact__link-value:focus {
  color: var(--primary-dark) !important;
  background: rgba(224, 32, 32, 0.04) !important;
}

.disable-hover .footer__social a:hover,
.disable-hover .footer__social a:focus,
.disable-hover .footer-phone__toggle:hover,
.disable-hover .footer-phone__toggle:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: none !important;
}

.disable-hover .btn--primary:hover {
  transform: none !important;
  background: linear-gradient(135deg, #e02020 0%, #d12a2a 55%, #b31a1a 100%) !important;
  box-shadow: 0 12px 22px rgba(224, 32, 32, 0.18) !important;
  filter: saturate(1.03) !important;
}

.disable-hover .btn--outline:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
}

.disable-hover .header__link:not(.active):hover {
  color: var(--text-dark) !important;
  background: transparent !important;
}

.disable-hover .header__link:not(.active):hover::after {
  width: 0 !important;
}

.disable-hover .whatsapp-float:hover,
.disable-hover .back-to-top:hover {
  transform: none !important;
}

.disable-hover .footer__col a:hover {
  color: #94a3b8 !important;
  transform: none !important;
}

@media (hover: none) {
  .contact__link:hover,
  .contact__link:focus,
  .contact__phone-numbers .contact__link-value:hover,
  .contact__phone-numbers .contact__link-value:focus,
  .footer__social a:hover,
  .footer-phone__toggle:hover {
    transform: none;
  }

  .contact__link:hover,
  .contact__link:focus {
    border-color: rgba(224, 32, 32, 0.08);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
  }

  .contact__link:hover .contact__link-value,
  .contact__link:focus .contact__link-value,
  .contact__link:hover .contact__link-label,
  .contact__link:focus .contact__link-label {
    color: var(--primary-dark);
  }

  .contact__phone-numbers .contact__link-value:hover,
  .contact__phone-numbers .contact__link-value:focus {
    color: var(--primary-dark);
    background: rgba(224, 32, 32, 0.04);
  }
}
