/* =============================================
   SUBLIMTZ — style.css
   Creative Studio · Vibrant Neon Design
   ============================================= */

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

:root {
  --c-bg: #0a0a0f;
  --c-bg-2: #0f0f1a;
  --c-surface: rgba(255,255,255,0.04);
  --c-surface-hover: rgba(255,255,255,0.08);
  --c-border: rgba(255,255,255,0.08);

  --c-purple: #8b5cf6;
  --c-pink: #ec4899;
  --c-orange: #f97316;
  --c-cyan: #06b6d4;

  --grad-main: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  --grad-glow: radial-gradient(ellipse at center, rgba(139,92,246,0.4) 0%, transparent 70%);

  --font-main: 'Outfit', sans-serif;
  --font-alt: 'Space Grotesk', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 50px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--c-bg);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: inherit;
}

.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(139,92,246,0.4); }
.btn-primary:active { transform: translateY(0); }

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--c-surface-hover);
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-2px);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-icon { font-size: 1.4rem; }
.logo-text { color: #fff; }
.logo-accent { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-links a:hover { color: #fff; background: var(--c-surface); }

.nav-cta {
  background: var(--grad-main) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(139,92,246,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(138, 92, 246, 0), rgba(41, 0, 54, 0.4)); /* overlay semitransparente */
  z-index: 0;
}


.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;       /* Envía el video detrás del contenido */
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-stats {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}

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

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  animation: fadeInRight 0.8s 0.2s ease both;
}

.hero-img-glow {
  position: absolute;
  inset: -30px;
  background: var(--grad-main);
  border-radius: 24px;
  opacity: 0.2;
  filter: blur(40px);
  z-index: 0;
}

.hero-img {
  width: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
  max-height: 500px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--c-purple);
  border-radius: 50%;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 100px 0;
}

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

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

.section-tag {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 40px rgba(139,92,246,0.2);
}

.service-card:hover::before { opacity: 0.05; }

.service-card.featured {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.1);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.service-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.service-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.service-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  align-self: flex-end;
}

.service-card:hover .service-arrow {
  color: var(--c-purple);
  transform: translateX(4px);
}

/* ===================== PORTFOLIO ===================== */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.portfolio-item.large {
  grid-column: span 1;
  grid-row: span 2;
  aspect-ratio: unset;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* ===================== CTA ===================== */
.section-cta {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
  padding: 100px 40px;
}

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

/* ===================== WHY US ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 20px 40px rgba(139,92,246,0.15);
}

.why-num {
  font-size: 4rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  font-family: var(--font-alt);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card.featured {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.08);
  transform: scale(1.03);
}

.testimonial-card:hover { transform: translateY(-4px) scale(1.01); }
.testimonial-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ===================== CONTACT ===================== */
.contact-section {
  background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(236,72,153,0.05) 100%);
  border-top: 1px solid var(--c-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
}

a.contact-method:hover {
  border-color: rgba(139,92,246,0.4);
  background: var(--c-surface-hover);
  transform: translateX(4px);
}

.contact-method.whatsapp:hover { border-color: rgba(37,211,102,0.5); }

.method-icon { font-size: 1.4rem; }

.contact-method strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-method span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---- Form ---- */
.contact-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 14px 16px;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-purple);
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

.form-group select option { background: #1a1a2e; color: #fff; }

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

/* ===================== FOOTER ===================== */
.footer {
  background: #060608;
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links ul li a:hover { color: #fff; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  color: #fff;
  transition: var(--transition);
  animation: pulse-wa 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ===================== SCROLL ANIMATION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===================== SOCIAL MEDIA ===================== */

/* --- Floating Sidebar (left) --- */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-left: 0;
}

.sidebar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 0 10px 10px 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  letter-spacing: 0.03em;
  white-space: nowrap;
  will-change: transform;
}

.social-sidebar:hover .sidebar-social,
.sidebar-social:focus {
  transform: translateX(0);
}

.sidebar-social:hover {
  transform: translateX(0) !important;
}

.sidebar-social svg {
  flex-shrink: 0;
}

.sidebar-social span {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-width 0.35s ease;
}

.sidebar-social:hover span {
  opacity: 1;
  max-width: 100px;
}

.sidebar-social.fb  { background: #1877f2; box-shadow: 3px 0 16px rgba(24,119,242,0.4); }
.sidebar-social.ig  {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 3px 0 16px rgba(220,39,67,0.4);
}
.sidebar-social.tt  { background: #010101; border: 1px solid rgba(255,255,255,0.1); box-shadow: 3px 0 16px rgba(0,0,0,0.5); }
.sidebar-social.tt:hover { background: #111; }

.sidebar-line {
  width: 2px;
  height: 50px;
  background: var(--grad-main);
  border-radius: 2px;
  margin: 6px 0 0 14px;
  opacity: 0.5;
}

/* --- Contact section socials --- */
.contact-socials {
  margin-bottom: 28px;
}

.contact-socials-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.contact-socials-icons {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: inherit;
}

.social-icon-btn:hover::before { opacity: 1; }
.social-icon-btn:hover { transform: translateY(-4px) scale(1.08); }

.social-icon-btn.fb { background: #1877f2; box-shadow: 0 8px 20px rgba(24,119,242,0.35); }
.social-icon-btn.ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 8px 20px rgba(220,39,67,0.35);
}
.social-icon-btn.tt { background: #010101; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }

/* --- Footer socials --- */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.footer-social-btn:hover { transform: translateY(-3px); }

.footer-social-btn.fb {
  background: rgba(24,119,242,0.15);
  border: 1px solid rgba(24,119,242,0.3);
  color: #60a5fa;
}
.footer-social-btn.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(24,119,242,0.4);
}

.footer-social-btn.ig {
  background: rgba(220,39,67,0.12);
  border: 1px solid rgba(220,39,67,0.3);
  color: #f472b6;
}
.footer-social-btn.ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(220,39,67,0.4);
}

.footer-social-btn.tt {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.footer-social-btn.tt:hover {
  background: #010101;
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* ===================== MAP ===================== */
.map-wrapper {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--c-border);
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.map-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.map-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.map-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139,92,246,0.45);
}

.map-directions-btn svg {
  transition: transform 0.2s ease;
}

.map-directions-btn:hover svg {
  transform: translateX(3px);
}

.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 3px;
  background: var(--grad-main);
  box-shadow: 0 30px 80px rgba(139,92,246,0.25);
}

.map-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-main);
  border-radius: 22px;
  z-index: 0;
  animation: rotateBorder 4s linear infinite;
  opacity: 0.6;
}

@keyframes rotateBorder {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.map-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.map-container iframe {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 18px;
  width: 100%;
  filter: saturate(1.1) contrast(1.05);
}

.map-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,15,0.85);
  border: 1px solid rgba(139,92,246,0.4);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.map-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  flex-shrink: 0;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(37,211,102,0); }
}

/* ===================== RESPONSIVE ===================== */

/* ---- 1280px: Large tablets & small laptops ---- */
@media (max-width: 1280px) {
  .hero {
    padding: 120px 48px 80px;
    gap: 40px;
  }
  .hero-title { font-size: 3.5rem; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 1024px: Tablets landscape ---- */
@media (max-width: 1024px) {
  .hero {
    padding: 110px 40px 60px;
    gap: 32px;
  }
  .hero-title { font-size: 3rem; }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .testimonial-card.featured { transform: none; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large { grid-row: span 1; aspect-ratio: 1; }

  .contact-grid { gap: 48px; }

  .footer-top { gap: 40px; }
}

/* ---- 768px: Tablets portrait & large phones ---- */
@media (max-width: 768px) {

  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; padding: 12px 24px; }
  .hamburger { display: flex; z-index: 1000; position: relative; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 96px 20px 60px;
    text-align: center;
    gap: 32px;
  }
  .hero-content { order: 2; }
  .hero-image-wrap {
    order: 1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-title { font-size: 2.6rem; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { justify-content: center; flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; gap: 16px; }
  .stat-num { font-size: 1.5rem; }
  .hero-badge { font-size: 0.8rem; }
  .hero-scroll { display: none; }

  /* Sections */
  .section { padding: 72px 0; }
  .section-title { font-size: 2rem; }
  .section-header { margin-bottom: 40px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; flex-direction: row; align-items: flex-start; gap: 18px; }
  .service-icon { font-size: 2rem; flex-shrink: 0; }
  .service-arrow { align-self: center; margin-left: auto; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .portfolio-item.large { grid-row: span 1; aspect-ratio: 1; }
  .filter-tabs { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.82rem; }

  /* Why us */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-card { padding: 24px 20px; }
  .why-num { font-size: 3rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 100%; gap: 14px; }
  .testimonial-card.featured { transform: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 24px; }
  .contact-section .section-title { font-size: 1.8rem; }
  .contact-socials-icons { gap: 10px; }
  .social-icon-btn { width: 44px; height: 44px; border-radius: 12px; }

  /* Map */
  .map-wrapper { margin-top: 48px; padding-top: 40px; }
  .map-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .map-title { font-size: 1.35rem; }
  .map-container iframe { height: 300px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-socials { gap: 8px; }
  .footer-social-btn { padding: 8px 14px; font-size: 0.75rem; }
  .footer-brand p { max-width: 100%; }

  /* Float elements */
  .social-sidebar { display: none; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

/* ---- 480px: Phones ---- */
@media (max-width: 480px) {

  /* Navbar */
  .nav-logo { font-size: 1.3rem; }

  /* Hero */
  .hero { padding: 88px 16px 48px; }
  .hero-title { font-size: 2.1rem; letter-spacing: -1px; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-img { border-radius: 16px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .stat-divider { display: none; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; font-size: 0.95rem; padding: 14px 24px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-title { font-size: 1.75rem; }
  .container { padding: 0 16px; }

  /* Services */
  .service-card { padding: 20px; }
  .service-card.featured .service-badge { font-size: 0.65rem; padding: 3px 10px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 4/3; }
  .portfolio-item.large { aspect-ratio: 4/3; }
  .portfolio-overlay { opacity: 1; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 20px 18px; }
  .why-num { font-size: 2.5rem; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Contact */
  .contact-form { padding: 20px 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 0.9rem; padding: 12px 14px; }
  .contact-method { padding: 14px 16px; }
  .method-icon { font-size: 1.2rem; }

  /* Map */
  .map-container iframe { height: 260px; }
  .map-badge { font-size: 0.75rem; padding: 6px 12px; top: 14px; left: 14px; }
  .map-directions-btn { font-size: 0.82rem; padding: 10px 18px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-links h4 { font-size: 0.8rem; }
  .footer-links ul li a { font-size: 0.85rem; }
  .footer-bottom p { font-size: 0.75rem; }
  .footer-socials {
    flex-direction: row;       /* Los pone en fila horizontal */
    justify-content: center;   /* Centra horizontalmente */
    align-items: center;       /* Centra verticalmente */
    gap: 12px;                 /* Espaciado uniforme entre botones */
    flex-wrap: wrap;           /* Permite que bajen a otra línea si no caben */
  }

  .footer-social-btn {
    width: auto;               /* Ajusta al contenido, no ocupa todo el ancho */
    justify-content: center;   /* Centra el contenido dentro del botón */
    text-align: center;
  }
}

/* ---- 360px: Small phones ---- */
@media (max-width: 360px) {
  .hero-title { font-size: 1.85rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
  .section-title { font-size: 1.55rem; }
  .hero-stats .stat-num { font-size: 1.3rem; }
  .contact-socials-icons { gap: 8px; }
  .social-icon-btn { width: 40px; height: 40px; }
  .contact-form { padding: 16px 14px; }
  .map-container iframe { height: 220px; }
  .map-header-left { flex-direction: column; align-items: flex-start; gap: 8px; }
}