* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== SPLASH SCREEN ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a2e;
  transition: opacity 0.6s, visibility 0.6s;
}
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash__matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.splash__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.splash__logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 4px;
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
}
.splash__logo span {
  -webkit-text-fill-color: #fff;
}
.splash__bar {
  width: 200px;
  height: 3px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.splash__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00d4ff, #7b2ff7);
  border-radius: 4px;
  animation: splashLoad 1.5s ease-in-out forwards;
}
@keyframes splashLoad {
  0% { width: 0; }
  50% { width: 60%; }
  100% { width: 100%; }
}

.splash__growth {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}
.splash__growth-svg {
  width: 140px;
  height: 98px;
  overflow: visible;
}
.splash__growth-line {
  fill: none;
  stroke: url(#growthGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawLine 0.7s ease-out 1s forwards;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.7));
}
.splash__growth-arrow {
  fill: #7b2ff7;
  opacity: 0;
  animation: fadeArrow 0.25s ease-out 1.7s forwards;
  filter: drop-shadow(0 0 14px rgba(123,47,247,0.7));
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeArrow {
  to { opacity: 1; }
}

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --accent: #7b2ff7;
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --text: #e0e0e0;
  --text-muted: #8888aa;
  --gradient-1: linear-gradient(135deg, #00d4ff, #7b2ff7);
  --gradient-2: linear-gradient(135deg, #7b2ff7, #ff2d95);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ===== PARTICLES ===== */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { bottom: -10px; opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { bottom: 100%; opacity: 0; }
}

body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: padding 0.3s ease, background 0.3s ease, border-bottom 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 60px;
  background: rgba(10, 10, 26, 0.95);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  -webkit-text-fill-color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta { color: #000; }

.nav-links li button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}
.nav-links li button:hover { color: var(--primary); }

.nav-actions-row { display: inline-flex; align-items: center; gap: 15px; }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,15,50,.95);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 210px;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height .35s ease, opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown__menu:hover {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}
.nav-dropdown__menu li { margin: 0; }
.nav-dropdown__menu a {
  display: block;
  padding: 8px 20px;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover { color: #00d4ff; background: rgba(0,212,255,.06); }
.nav-dropdown__menu a::after { display: none; }
.nav-dropdown__divider { height: 1px; background: rgba(255,255,255,.08); margin: 6px 0; }
.nav-dropdown__menu li:first-child a[href$="#servicios"] { color: #00d4ff; font-weight: 600; }
.nav-dropdown__menu li:last-child a[href$="projects.html"] { color: #00d4ff; font-weight: 600; }

/* mobile: inline submenu */
@media (max-width: 992px) {
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown__menu:hover { max-height: 0; }
  .nav-dropdown__menu {
    position: static;
    left: auto;
    transform: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    min-width: auto;
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown.open .nav-dropdown__menu { max-height: 500px; }
  .nav-dropdown__menu a { padding: 8px 0; font-size: .8rem; white-space: normal; }
  .nav-dropdown__divider { margin: 4px 0; }
}

.nav-social {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 6px 8px;
}
.nav-social:hover { color: #1877f2; }
.nav-social::after { display: none !important; }

.nav-cta {
  padding: 10px 25px;
  background: var(--gradient-1);
  border: none;
  border-radius: 25px;
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SEARCH TOGGLE (navbar) ===== */
.search-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}
.search-toggle:hover { color: #00d4ff; }

/* ===== LANGUAGE TOGGLE (navbar) ===== */
.lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: border-color 0.3s, background 0.3s;
  line-height: 1;
}
.lang-toggle:hover {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
}
.lang-toggle__option {
  padding: 4px 8px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, background 0.3s;
}
.lang-toggle__option.is-active {
  color: #fff;
  background: #00d4ff;
}
.lang-toggle__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== SEARCH MODAL ===== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.search-modal.active {
  opacity: 1;
  visibility: visible;
}
.search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.search-modal__content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: #15153a;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.15);
}
.search-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}
.search-modal__close:hover { color: #fff; }
.search-modal__form {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
  padding-bottom: 12px;
}
.search-modal__icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
}
.search-modal__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Inter', sans-serif;
}
.search-modal__input::placeholder { color: rgba(255, 255, 255, 0.25); }
.search-modal__result {
  margin-top: 18px;
  display: none;
}
.search-modal__result-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}
.search-modal__result-link {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.2s;
}
.search-modal__result-link:hover {
  background: rgba(0, 212, 255, 0.1);
}
.search-modal__result-empty {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  padding: 6px 0;
}
.search-modal__result-empty strong { color: rgba(255, 255, 255, 0.7); }

/* ===== HERO / PORTADA ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 750px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  /* background:
    radial-gradient(circle at 20% 15%, rgba(0, 212, 255, 0.02) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(123, 47, 247, 0.01) 0%, transparent 50%),
    #0E0E25; */
}

.hero-wrapper {
  height: 600px;
  width: 100%;
  max-width: 1050px;
  position: relative;
}

@media (max-width: 1200px) { .hero-wrapper { max-width: 920px; } }
@media (max-width: 992px) { .hero { align-items: flex-start; justify-content: flex-start; padding-top: 100px; height: auto; overflow: visible; } .hero-wrapper { margin-top: 20px; height: auto; min-height: 100vh; } }
@media (max-width: 767px) { .hero-wrapper { margin-top: 20px; } }
@media (max-width: 576px) { .hero-wrapper { margin-top: 20px; margin-bottom: 20px; } }

/* ===== BG-SHAPE (panel de marca) ===== */
.bg-shape {
  height: 100%;
  background-image: linear-gradient(-45deg, #00d4ff 0%, #0a0a2e 100%);
  box-shadow: 0px 30px 139px 0px rgba(10, 22, 31, 0.4);
  border-radius: 30px;
  padding: 45px 40px;
  width: 50%;
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3;
}

.bg-shape::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 525px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: url('../img/marca-de-agua@2x.png') no-repeat center;
  background-size: 525px 600px;
  z-index: 0;
}

@media (max-width: 1200px) { .bg-shape { /*width: 45%; */} }

@media (min-width: 880px) and (max-width: 991px) { .bg-shape::before { height: min(70vw, 830px); } }
@media (max-width: 992px) {
  .bg-shape { width: 90%; height: 290px; align-items: flex-start; padding: 50px; left: 50%; transform: translateX(-50%); }
  .bg-shape::before {
    top: 45%;
    left: 50%;
    width: 290px;
    height: min(75vw, 830px);
    transform: translate(-50%, -50%) rotate(90deg);
    background-size: cover;
    background-position: left center;
  }
}
@media (min-width: 880px) and (max-width: 991px) { .bg-shape::before { height: min(65vw, 830px); } }
@media (max-width: 767px) { .bg-shape { padding: 30px; width: 95%; border-radius: 20px; } }
@media (max-width: 576px) { .bg-shape { height: 200px; padding: 30px; } .bg-shape::before { width: 200px; } }

.bg-shape__text { position: relative; z-index: 2; color: #fff; }
.bg-shape__eyebrow { display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; margin-bottom: 14px; }
.bg-shape__title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.25em; margin: 0; }
@media (max-width: 992px) { .bg-shape__title { font-size: 26px; } }

/* ===== HERO HEADER (encabezado arriba del slider) ===== */
.hero-header {
  position: absolute;
  top: -8em;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 50;
  pointer-events: none;
  padding: 0 20px;
}

.hero-header__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin: 0 0 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-top: 7.7%;
}

.hero-header__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .hero-header__title { font-size: 2.4rem; padding-top: 10%;}
}
@media (min-height: 945px) {
  .hero-header__title { font-size: 4rem; padding-top: 0%;}
  .hero-header__desc { font-size: 1.4rem; }
}

@media (max-width: 992px) {
  .hero-header {
    position: relative;
    top: -2.5em;
    width: 100%;
    margin-bottom: 15px;
  }
  .hero-header__title { font-size: 2rem; padding-top: 0%;}
}

@media (max-width: 576px) {
  .hero-header__title { font-size: 1.9rem; padding-top: 0%; margin-top: -5%;}
  .hero-header__desc { font-size: 0.9rem; margin-top: -2%; }
}

/* ===== SWIPER PAGINATION ===== */
.service-slider .swiper-pagination {
  bottom: -30px;
}

.service-slider .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #ccc;
  opacity: 1;
  transition: width .3s;
}

.service-slider .swiper-pagination-bullet-active {
  width: 40px;
  background: #00d4ff;
}

/* ===== NAV BUTTONS ===== */
.prev, .next {
  z-index: 100;
  display: inline-flex;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  position: absolute;
  top: 50%;
  outline: none;
  cursor: pointer;
  transition: background .25s;
}

.prev:hover, .next:hover { background: #00d4ff; }
.prev { left: 0; transform: translate(-50%, -50%); }
.next { right: 0; transform: translate(50%, -50%); }

@media (max-width: 992px) {
  .prev { left: 5%; z-index: 100; }
  .next { right: 5%; z-index: 100; }
}

@media (max-width: 576px) {
  .prev, .next { display: none; }
  .service-img__item img { width: 117.975%; height: 117.975%; }
}

/* ===== SERVICE-IMG (iconos laterales) ===== */
.service-img {
  position: absolute;
  z-index: 50;
  width: 500px;
  left: 25%;
  transform: translateX(-45%);
  max-height: 500px;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 1200px) { .service-img { width: 430px; left: 20%; } }
@media (max-width: 992px) { .service-img { width: 430px; left: 50%; transform: translateX(-50%); top: 125px; height: 350px; } }
@media (max-width: 767px) { .service-img { width: 100%; max-width: 400px; top: 130px; height: 390px; } }
@media (max-width: 576px) { .service-img { max-width: 300px; height: 300px; top: 0px; } }

.service-img__item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  pointer-events: none;
  user-select: none;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(-130px);
  opacity: 0;
  transition: all .3s;
  width: 100%;
  height: 100%;
}

.service-img__item.active { opacity: 1; transform: translateY(-50%) translateX(0); transition-delay: .3s; }
.service-img__item img { width: 85.8%; height: 85.8%; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(0,212,255,.15)); }

/* ===== SERVICE-SLIDER ===== */
.service-slider {
  width: 75%;
  height: 85%;
  border-radius: 30px;
  box-shadow: 0 28px 79px 0 rgba(10, 22, 31, 0.5);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  overflow: visible !important;
}

@media (max-width: 1200px) { .service-slider { width: 80%; } }
@media (max-width: 992px) {
  .service-slider { width: 80%; left: 50%; transform: translateX(-50%); height: auto; position: relative; top: 0; margin-top: 170px; margin-bottom: 100px; }
}
@media (max-width: 767px) { .service-slider { border-radius: 20px; } }
@media (max-width: 576px) { .service-slider { width: 85%; margin-top: 130px; } }

.service-slider__wrp { height: 100%; }
.service-slider__item { position: relative; height: 100%; width: 100%; }
@media (max-width: 992px) { .service-slider__item { height: auto; } }

.service-slider__card {
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
}

@media (max-width: 992px) { .service-slider__card { align-items: flex-start; } }
@media (max-width: 767px) { .service-slider__card { border-radius: 20px; } }

.service-slider__cover {
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
  background: linear-gradient(160deg, #070d49 15%, #68007D 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-slider__cover canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) { .service-slider__cover { border-radius: 20px; } }

.service-slider__content {
  color: #fff;
  padding-top: 1px;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 250px;
  padding-right: 80px;
}

@media (max-width: 1200px) { .service-slider__content { padding-left: 220px; } }
@media (max-width: 992px) {
  .service-slider__content { padding: 20px 60px 100px; padding-top: 280px; text-align: center; }
}
@media (max-width: 767px) { .service-slider__content { padding: 20px 30px 50px; padding-top: 300px; } }
@media (max-width: 576px) { .service-slider__content { padding-top: 135px; padding-left: 15px; padding-right: 15px; } }

.service-slider__content > * {
  opacity: 0;
  transform: translateY(55px);
  transition: all .5s;
}

.service-slider__content.is-active > * {
  opacity: 1;
  transform: none;
}
.service-slider__content.is-active > *:nth-child(1) { transition-delay: 0s; }
.service-slider__content.is-active > *:nth-child(2) { transition-delay: .12s; }
.service-slider__content.is-active > *:nth-child(3) { transition-delay: .24s; }
.service-slider__content.is-active > *:nth-child(4) { transition-delay: .36s; }

.service-slider__title {
  margin: 0; margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 41px;
  line-height: 1.2em;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) { .service-slider__title { font-size: 34px; } }
@media (max-width: 576px) { .service-slider__title { font-size: 24px; } }

.service-slider__desc {
  display: block;
  font-size: 16px;
  line-height: 1.6em;
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
}

@media (max-width: 992px) { .service-slider__desc { max-width: 100%; margin: 0 auto; } }

.service-ctr {
  display: flex;
  align-items: center;
  min-height: 90px;
  margin-top: 30px;
}

@media (max-width: 992px) { .service-ctr { justify-content: center; } }
@media (max-width: 767px) { .service-ctr { justify-content: center; flex-wrap: wrap; margin-bottom: 40px; } }

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 992px) { .service-features { justify-content: center; } }

.service-features__item {
  font-size: 13px;
  letter-spacing: .5px;
  padding: 9px 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  transition: all .3s;
}

.service-features__item:hover { border-color: #00d4ff; background: rgba(0, 212, 255, 0.15); }

.service-slider__bottom { margin-top: 20px; }

.service-slider__cart {
  box-shadow: 0 7px 40px 0 rgba(0, 212, 255, 0.5);
  background-image: linear-gradient(-45deg, #00d4ff 0%, #7b2ff7 100%);
  border: none;
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  min-height: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
}

.service-slider__cart:hover { filter: brightness(1.1); }

@media (max-width: 576px) { .service-slider__cart { width: 100%; max-width: 300px; } }

/* ===== SECCIONES ===== */
.section {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
  text-align: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SERVICES DETAIL ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

a.service-card { text-decoration: none; color: inherit; display: block; }
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s;
}

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

.service-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: all 0.4s;
}

.service-card:hover .service-icon {
  background: var(--gradient-1);
  background-clip: padding-box;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
}

.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== PROCESS ===== */
.process-section {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
}
.project-card:hover {
  border-color: rgba(0,212,255,.2);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
}
.project-card__img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(123,47,247,.08));
  font-size: 3.5rem;
  color: rgba(0,212,255,.3);
  transition: color .3s;
}
.project-card:hover .project-card__img { color: #00d4ff; }
.project-card__body { padding: 20px 25px 25px; }
.project-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00d4ff;
  background: rgba(0,212,255,.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.project-card__body h3 {
  font-family: 'Space Grotesk',sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.project-card__body p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
@media (max-width: 992px) { .projects-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .projects-grid { grid-template-columns: 1fr; } }

.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), rgba(123, 47, 247, 0.2), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  transition: all 0.4s;
}

.process-step:hover .step-number {
  background: var(--gradient-1);
  background-clip: padding-box;
  color: #000;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  transform: scale(1.1);
}

.process-step h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #fff;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== REVIEWS CAROUSEL ===== */
.reviews-section {
  padding: 100px 60px;
  overflow: hidden;
  overflow-anchor: none;
}
.reviews-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-pause {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.reviews-pause:hover { background: rgba(0,212,255,0.15); color: var(--primary); border-color: rgba(0,212,255,0.3); }
.reviews-pause .play-icon { display: none; }
.reviews-pause.paused .pause-icon { display: none; }
.reviews-pause.paused .play-icon { display: block; }
.reviews-track {
  display: flex;
  gap: 25px;
}
.review-card {
  flex: 0 0 calc((100% - 50px) / 3);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: rgba(0,212,255,0.15); }
.review-card__text {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.review-card__text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2.2rem;
  font-family: serif;
  color: var(--primary);
  line-height: 1;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #000;
  flex-shrink: 0;
}
.review-card__name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.review-card__role {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}
.project-detail__visit {
  display: inline-block;
  margin: 20px auto 0;
  padding: 12px 30px;
  background: var(--gradient-1);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.3s;
  text-align: center;
}
.project-detail__visit:hover { opacity: 0.85; }
.project-detail__preview { text-align: center; }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.reviews-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.reviews-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 100px 60px;
  position: relative;
}

.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 25px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.contact-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
}

.contact-info-box h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info-box > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
  font-size: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.contact-detail-text p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

.contact-social {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-social h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contact-social-links {
  display: flex;
  gap: 10px;
}

.contact-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.contact-social-links a:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 25px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.contact-form-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(0, 212, 255, 0.06), transparent 50%);
}

.contact-form-box h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
  position: relative;
}

.contact-form-box > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #00d4ff;
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: #12122a;
  color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.form-submit button {
  padding: 15px 40px;
  background: var(--gradient-1);
  border: none;
  border-radius: 30px;
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.form-submit button:active {
  transform: translateY(-1px);
}

.form-note {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}

.form-success h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #060614;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 60px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand .logo {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--primary); }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item i {
  color: var(--primary);
  width: 18px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE 1024px ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px) {
  .navbar { padding: 15px 25px; }
  .navbar.scrolled { padding: 10px 25px; }
  .navbar .logo {
    position: relative;
    z-index: 1001;
    font-size: 1.5rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 40px 40px;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.4s ease;
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.active { clip-path: inset(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links > li > a { display: block; width: 100%; }
  .nav-actions-row { justify-content: center; width: 100%; padding: 15px 0; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 26, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  .hamburger { display: flex; z-index: 1002; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 25px; }
  .contact-section { padding: 60px 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-box, .contact-form-box { padding: 35px 25px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: stretch; }
  .form-submit button { justify-content: center; }
  .footer { padding: 40px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .reviews-section { padding: 60px 25px; }
  .review-card { flex: 0 0 100%; }
  .reviews-pause { top: -10px; right: 0; }
  .service-detail { padding-left: 25px !important; padding-right: 25px !important; }
  .service-detail > div:nth-of-type(2) > div:first-of-type { grid-template-columns: 1fr !important; }
  .service-detail > div:nth-of-type(2) > div:last-of-type { grid-template-columns: 1fr !important; }
}

/* ===== RESPONSIVE 480px ===== */
@media (max-width: 480px) {
  .navbar { padding: 12px 15px; }
  .navbar.scrolled { padding: 8px 15px; }
  .logo { font-size: 1.3rem; letter-spacing: 1px; }
  .nav-cta { padding: 8px 18px; font-size: 0.85rem; }
  .section { padding: 50px 15px; }
  .section-header { margin-bottom: 35px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }
  .about-text h3 { font-size: 1.2rem; }
  .about-text p { font-size: 0.95rem; }
  .stat-number { font-size: 1.8rem; }
  .stat-card { padding: 20px; }
  .stat-label { font-size: 0.8rem; }
  .service-card { padding: 25px 20px; }
  .service-icon { width: 55px; height: 55px; font-size: 1.4rem; margin-bottom: 18px; }
  .service-card h3 { font-size: 0.95rem; }
  .service-card p { font-size: 0.85rem; }
  .step-number { width: 60px; height: 60px; font-size: 1.2rem; }
  .process-step h4 { font-size: 0.85rem; }
  .process-step p { font-size: 0.8rem; }
  .contact-section { padding: 50px 15px; }
  .contact-info-box, .contact-form-box { padding: 25px 18px; border-radius: 18px; }
  .contact-info-box h3 { font-size: 1.2rem; }
  .contact-form-box h3 { font-size: 1.1rem; }
  .contact-detail-icon { width: 40px; height: 40px; font-size: 0.9rem; }
  .contact-detail-text p { font-size: 0.9rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 0.9rem; }
  .form-group label { font-size: 0.75rem; }
  .form-submit button { padding: 12px 30px; font-size: 0.9rem; }
  .footer { padding: 30px 15px; }
  .footer-col h4 { font-size: 0.8rem; }
  .footer-col ul li a { font-size: 0.85rem; }
  .contact-item { font-size: 0.85rem; }
  .social-links a { width: 35px; height: 35px; font-size: 0.85rem; }
  .review-card { padding: 25px 20px; }
  .review-card__text { font-size: 0.85rem; padding-left: 15px; }
  .review-card__text::before { font-size: 1.8rem; top: -5px; }
  .service-detail > div:nth-of-type(2) > div:first-of-type { gap: 25px !important; }
  .service-detail > div:nth-of-type(2) > div:last-of-type { gap: 15px !important; }
  .search-modal { padding-top: 5vh; align-items: flex-start; }
  .search-modal__content { padding: 20px; width: 95%; }
  .search-modal__input { font-size: 1rem; }
  .search-modal__result { max-height: 50vh; overflow-y: auto; }
}

/* ===== RESPONSIVE 320px ===== */
@media (max-width: 320px) {
  .navbar { padding: 10px 12px; }
  .navbar.scrolled { padding: 8px 12px; }
  .navbar .logo { font-size: 1.2rem; }
  .nav-links { width: 85%; padding: 30px 20px; }
  .hamburger span { width: 22px; }
  .section { padding: 40px 12px; }
  .section-header { margin-bottom: 25px; }
  .section-header h2 { font-size: 1.3rem; }
  .section-header p { font-size: 0.85rem; line-height: 1.5; }
  .about-text h3 { font-size: 1rem; margin-bottom: 12px; }
  .about-text p { font-size: 0.85rem; line-height: 1.6; }
  .about-stats { gap: 12px; }
  .stat-card { padding: 15px; border-radius: 10px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.5px; }
  .services-grid { gap: 15px; }
  .service-card { padding: 20px 15px; border-radius: 14px; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 10px; margin-bottom: 14px; }
  .service-card h3 { font-size: 0.85rem; margin-bottom: 10px; }
  .service-card p { font-size: 0.78rem; line-height: 1.5; }
  .process-grid { gap: 20px; }
  .step-number { width: 50px; height: 50px; font-size: 1rem; border-width: 1px; margin-bottom: 15px; }
  .process-step h4 { font-size: 0.8rem; margin-bottom: 6px; }
  .process-step p { font-size: 0.75rem; }
  .contact-section { padding: 40px 12px; }
  .contact-info-box, .contact-form-box { padding: 20px 14px; border-radius: 14px; }
  .contact-info-box h3 { font-size: 1rem; margin-bottom: 10px; }
  .contact-info-box > p { font-size: 0.85rem; margin-bottom: 20px; }
  .contact-detail { gap: 10px; margin-bottom: 14px; }
  .contact-detail-icon { width: 34px; height: 34px; font-size: 0.8rem; border-radius: 8px; }
  .contact-detail-text span { font-size: 0.7rem; }
  .contact-detail-text p { font-size: 0.8rem; }
  .contact-social-links a { width: 34px; height: 34px; font-size: 0.8rem; }
  .contact-form-box h3 { font-size: 1rem; }
  .contact-form-box > p { font-size: 0.8rem; }
  .form-row { gap: 12px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 0.7rem; margin-bottom: 5px; }
  .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 0.85rem; border-radius: 8px; }
  .form-group textarea { min-height: 100px; }
  .form-submit button { padding: 10px 25px; font-size: 0.8rem; border-radius: 25px; }
  .form-note { font-size: 0.7rem; }
  .footer { padding: 25px 12px; }
  .footer-grid { gap: 20px; }
  .footer-brand .logo { font-size: 1.2rem; }
  .footer-brand p { font-size: 0.8rem; line-height: 1.5; }
  .footer-col h4 { font-size: 0.75rem; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 6px; }
  .footer-col ul li a { font-size: 0.8rem; }
  .contact-item { font-size: 0.8rem; gap: 8px; margin-bottom: 10px; }
  .footer-bottom { font-size: 0.75rem; margin-top: 20px; padding-top: 15px; }
  .about-grid { gap: 25px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.reveal-left {
  transform: translateY(40px);
}

.reveal.reveal-right {
  transform: translateY(40px);
}

.reveal.reveal-scale {
  transform: translateY(40px) scale(0.9);
}

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

/* ===== FLOATING BUTTONS ===== */
.fab-wrapper {
  position: fixed;
  bottom: 7.5rem;
  right: 3rem;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.fab-wrapper.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-checkbox { display: none; }

.fab {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0px 5px 20px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  z-index: 1;
  border-bottom-right-radius: 6px;
  border: 1px solid #1da851;
  cursor: pointer;
}

.fab::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.fab-checkbox:checked ~ .fab::before {
  width: 90%;
  height: 90%;
  left: 5%;
  top: 5%;
  background-color: rgba(255, 255, 255, 0.2);
}

.fab:hover {
  background: #2ee07a;
  box-shadow: 0px 5px 20px 5px rgba(37, 211, 102, 0.6);
}

.fab-dots {
  position: absolute;
  height: 8px;
  width: 8px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  transform: translateX(0%) translateY(-50%) rotate(0deg);
  opacity: 1;
  animation: fabBlink 3s ease infinite;
  transition: all 0.3s ease;
}

.fab-dots-1 { left: 15px; animation-delay: 0s; }
.fab-dots-2 { left: 50%; transform: translateX(-50%) translateY(-50%); animation-delay: 0.4s; }
.fab-dots-3 { right: 15px; animation-delay: 0.8s; }

.fab-checkbox:checked ~ .fab .fab-dots {
  height: 6px;
  animation: none;
}

.fab-checkbox:checked ~ .fab .fab-dots-1 {
  width: 32px;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.fab-checkbox:checked ~ .fab .fab-dots-3 {
  width: 32px;
  border-radius: 10px;
  right: 50%;
  transform: translateX(50%) translateY(-50%) rotate(-45deg);
}

@keyframes fabBlink {
  50% { opacity: 0.25; }
}

.fab-wheel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  transition: all 0.3s ease;
  transform-origin: bottom right;
  transform: scale(0);
}

.fab-checkbox:checked ~ .fab-wheel {
  transform: scale(1);
}

.fab-action {
  position: absolute;
  background: #0a0a1a;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0.1rem 1rem rgba(0, 212, 255, 0.3);
  transition: all 1s ease;
  opacity: 0;
  text-decoration: none;
}

.fab-checkbox:checked ~ .fab-wheel .fab-action {
  opacity: 1;
}

.fab-action:hover {
  background-color: var(--accent);
}

.fab-wheel .fab-action-1 { right: -1rem; top: 0; }
.fab-wheel .fab-action-2 { right: 3.4rem; top: 0.5rem; }
.fab-wheel .fab-action-3 { left: 0.5rem; bottom: 3.4rem; }
.fab-wheel .fab-action-4 { left: 0; bottom: -1rem; }

.fab-scroll-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 990;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #000;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(123, 47, 247, 0.4);
}

.fab-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(123, 47, 247, 0.6);
}

@media (max-width: 768px) {
  .fab-wrapper { bottom: 6.5rem; right: 0.8rem; }
  .fab { width: 3.5rem; height: 3.5rem; right: 0rem; }
  .fab-dots { height: 7px; width: 7px; }
  .fab-dots-1 { left: 12px; }
  .fab-dots-3 { right: 12px; }
  .fab-wheel { width: 9.5rem; height: 9.5rem; }
  .fab-action { width: 2.8rem; height: 2.8rem; font-size: 1rem; }
  .fab-wheel .fab-action-1 { right: -0.6rem; }
  .fab-wheel .fab-action-2 { right: 2.6rem; }
  .fab-wheel .fab-action-3 { left: 0.3rem; bottom: 2.6rem; }
  .fab-wheel .fab-action-4 { bottom: -0.6rem; }
  .fab-scroll-top { bottom: 1.5rem; right: 0.8rem; width: 2.8rem; height: 2.8rem; font-size: 1rem; }
}

/* ===== PROJECT CARD GRID ===== */
.project-breadcrumb {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.project-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}
.project-breadcrumb a:hover { color: #fff; }
.project-breadcrumb__sep {
  margin: 0 10px;
  color: rgba(255,255,255,0.2);
}
.project-breadcrumb__current {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.project-detail__preview {
  margin-top: 50px;
}
.project-detail__preview h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary);
}
.iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border: 2px solid rgba(0,212,255,0.3);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.iframe-wrapper iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
}
.iframe-wrapper--tall iframe {
  height: 720px;
}
@media (max-width: 768px) {
  .iframe-wrapper iframe { height: 600px; }
  .iframe-wrapper--tall iframe { height: 720px; }
}
@media (max-width: 480px) {
  .iframe-wrapper iframe { height: 500px; }
  .iframe-wrapper--tall iframe { height: 600px; }
}

/* ===== PROJECT GALLERY ===== */
.project-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.gallery-thumb {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.gallery-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,212,255,.15);
}
.gallery-thumb i {
  font-size: 3rem;
  color: var(--primary);
  opacity: .7;
  transition: opacity .3s;
}
.gallery-thumb:hover i { opacity: 1; }

/* ===== IMAGE MODAL ===== */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.img-modal.active {
  opacity: 1;
  visibility: visible;
}
.img-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,46,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.img-modal__content {
  position: relative;
  z-index: 1;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(.9);
  transition: transform .3s;
}
.img-modal.active .img-modal__content { transform: scale(1); }
.img-modal__content i {
  font-size: 8rem;
  color: var(--primary);
  opacity: .85;
}
.img-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: background .3s;
}
.img-modal__close:hover { background: rgba(255,255,255,.15); }
.img-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.3rem;
  transition: background .3s;
}
.img-modal__nav:hover { background: rgba(255,255,255,.15); }
.img-modal__prev { left: 20px; }
.img-modal__next { right: 20px; }
.img-modal__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .project-detail__gallery { grid-template-columns: 1fr; }
  .img-modal__content { max-width: 95vw; max-height: 90vh; }
  .img-modal__content i { font-size: 5rem; }
  .img-modal__prev { left: 10px; }
  .img-modal__next { right: 10px; }
}