/* =============================================
   VARIABLES CSS - CONFIGURACIÓN GLOBAL
   ============================================= */
:root {
  /* Colores principales */
  --color-primary: #c0131e;
  --color-primary-light: #e63946;
  --color-primary-dark: #9a0e18;

  /* Colores de texto */
  --color-text: #333333;
  --color-text-light: #666666;

  /* Colores de fondo */
  --color-background: #ffffff;
  --color-background-light: #f8f9fa;
  --color-border: #e0e0e0;

  /* Colores especiales */
  --whatsapp-color: #25d366;

  /* Tipografías */
  --font-primary: "Roboto", sans-serif;
  --font-heading: "Raleway", sans-serif;
  --font-nav: "Poppins", sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transiciones y bordes */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;
}

/* =============================================
   RESET Y ESTILOS BASE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul {
  list-style: none;
}

/* =============================================
   COMPONENTES REUTILIZABLES
   ============================================= */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-text);
  padding: 12px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-full);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-text-light);
  padding: 12px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-full);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.back-button:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* Badges y etiquetas */
.section-badge,
.hero-badge,
.projects-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 19, 30, 0.1);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(192, 19, 30, 0.2);
}

/* =============================================
   HEADER Y NAVEGACIÓN
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 5px 0;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 700;
  color: var(--color-text);
  transition: var(--transition);
}

.logo:hover h1 {
  color: var(--color-primary);
}

/* Navegación principal */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-family: var(--font-nav);
  color: var(--color-text);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Submenús */
.nav-menu li.has-submenu > a {
  position: relative;
  padding-right: 20px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-background);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  min-width: 220px;
  padding: 10px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav-menu li.has-submenu:hover .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
  padding: 0;
}

.submenu a {
  display: block;
  padding: 8px 20px;
  color: var(--color-text);
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.submenu a:hover,
.submenu a.active {
  background-color: rgba(192, 19, 30, 0.1);
  color: var(--color-primary);
}

/* Menú móvil */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.mobile-toggle .bar:nth-child(1) {
  top: 0;
}
.mobile-toggle .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.mobile-toggle .bar:nth-child(3) {
  bottom: 0;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   SECCIONES PRINCIPALES - INDEX.HTML
   ============================================= */

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 30px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.4s both;
}

.gif-placeholder {
  aspect-ratio: 9 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gif-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Elementos flotantes */
.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.element-1 {
  top: 30px;
  right: 0px;
  animation-delay: 0s;
}
.element-2 {
  bottom: 75px;
  left: -30px;
  animation-delay: 1s;
}
.element-3 {
  top: 50%;
  left: -30px;
  animation-delay: 2s;
}

/* About Section */
.about {
  background: white;
}

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

.about h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-description {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 30px;
  line-height: 1.7;
  font-style: italic;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(192, 19, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--color-text-light);
  line-height: 1.6;
}

.about-visual {
  position: relative;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
}

.floating-stats {
  position: absolute;
  bottom: -10px;
  right: -10px;
}

.floating-stat {
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid var(--color-primary);
}


/* TikTok Section */
.tiktok-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.tiktok-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.tiktok-placeholder {
  background: white;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.tiktok-embed {
  margin: 0px auto !important;
}

.tiktok-info h2 {
  font-size: 45px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
}

.tiktok-info p {
  font-size: 18px;
  color: var(--color-text-light);
  margin-right: 200px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Services Section */
.services {
  background: #f8f9fa;
}

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

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), #e63946);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #e63946;
  transform: translateX(5px);
}

.service-price {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-primary), #e63946);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

/* Services Carousel */
.services-carousel-container {
  position: relative;
  overflow: hidden;
}

.services-carousel {
  display: flex;
  flex-wrap: wrap;
  transition: transform 0.5s ease;
  gap: 30px;
}

.services-carousel .service-card {
  flex: 0 0 350px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

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

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
}

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

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(192, 19, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-details a {
  display: block;
  color: var(--color-text-light);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--color-primary);
}

.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
}

/* =============================================
   PÁGINAS DE SERVICIOS
   ============================================= */

/* Service Detail Section */
.service-detail {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.service-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 10%, rgba(192, 19, 30, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(192, 19, 30, 0.03) 0%, transparent 60%);
  z-index: 0;
}

.service-header {
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.service-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.service-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  border-radius: 2px;
}

.service-header p {
  font-size: 20px;
  color: var(--color-text-light);
  line-height: 1.6;
  font-weight: 300;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.image-cursor-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-cursor-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.image-cursor-container img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-xl);
  transition: all 0.3s ease;
}

.service-detail-text {
  position: relative;
}

.price {
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 30px;
  display: inline-block;
  position: relative;
  padding: 1px 25px;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
}

.service-detail-text h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.service-detail-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.service-detail-text > p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Service Features */
.service-features {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.service-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
  border-radius: 3px 0 0 3px;
}

.service-features h3 {
  font-size: 25px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features h3::before {
  font-size: 24px;
}

.feature-list-detailed {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list-detailed li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 7px;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.feature-list-detailed li:last-child {
  border-bottom: none;
}

.feature-list-detailed li:hover {
  background: rgba(192, 19, 30, 0.03);
  transform: translateX(5px);
}

.feature-list-detailed li::before {
  content: "✓";
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-detailed li {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .back-button {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
}

/* =============================================
   PROYECTOS
   ============================================= */

/* Projects Hero */
.projects-hero {
  position: relative;
  padding: 75px 0 80px;
  overflow: hidden;
}

.projects-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23c0131e" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.projects-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-hero p {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Projects Filter */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  margin-top: -30px;
  padding: 10px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-text);
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-primary), #e63946);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid #e0e0e0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.view-more-container {
  text-align: center;
  margin-top: 20px;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 19, 30, 0.8), rgba(230, 57, 70, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.project-actions {
  display: flex;
  gap: 15px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-border);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: white;
  color: var(--color-primary);
  transform: scale(1.1);
}

.project-content {
  padding: 25px;
}

.project-category {
  display: inline-block;
  background: var(--color-border);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-content p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tags span {
  background: #f8f9fa;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.project-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: 13px;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: var(--color-primary);
  color: white;
  transform: translateX(5px);
}

/* =============================================
   MODALES
   ============================================= */

.modern-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modern-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.modal-container {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: scale(0.9) translateY(20px);
  animation: modalSlideIn 0.3s ease forwards;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 30px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.modal-title h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.modal-close:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(90deg);
}

/* =============================================
   ELEMENTOS FLOTANTES
   ============================================= */

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background-color: var(--whatsapp-color);
}

/* WhatsApp Notification */
.whatsapp-notification {
  position: fixed;
  bottom: 75px;
  right: 80px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  max-width: 280px;
  transform: translateX(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 98;
}

.whatsapp-notification.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.notification-icon {
  color: var(--whatsapp-color);
  font-size: 18px;
}

.notification-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
}

.notification-message {
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.4;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background-color: var(--color-background-light);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.copyright {
  color: var(--color-text-light);
}

.copyright .highlight {
  color: var(--color-primary);
  font-weight: 700;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-light);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* =============================================
   ANIMACIONES
   ============================================= */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes modalSlideIn {
  to {
    transform: scale(1) translateY(0);
  }
}

/* =============================================
   UTILIDADES
   ============================================= */

.section {
  padding: 60px 0;
}

.section:nth-child(even) {
  background-color: var(--color-background-light);
}

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

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}

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

@media (max-width: 992px) {
  .projects-hero h1,
  .service-header h1 {
    font-size: 36px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .service-detail-content,
  .about-content,
  .tiktok-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero h1 {
    font-size: 42px;
  }

  .services-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-background);
    box-shadow: var(--shadow-lg);
    padding: 80px 30px 30px;
    z-index: 999;
    overflow-y: auto;
    transition: none;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
  }

  .nav-menu li.has-submenu.active .submenu {
    display: block;
  }

  .submenu a {
    padding-left: 30px;
    font-size: 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about h2,
  .section-header h2 {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tiktok-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .tiktok-info p {
    font-size: 16px;
    margin: 10px;
  }

  .projects-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-detail-content {
    gap: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .whatsapp-notification {
    bottom: 80px;
    right: 70px;
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .projects-hero h1,
  .service-header h1 {
    font-size: 28px;
  }

  .hero p,
  .projects-hero p {
    font-size: 16px;
  }

  .filter-btn span {
    display: none;
  }

  .project-content {
    padding: 20px;
  }

  .contact-form-container {
    padding: 25px;
  }

  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .services-carousel .service-card {
    flex: 0 0 250px;
    padding: 25px 15px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-price {
    font-size: 12px;
    padding: 6px 12px;
  }

  .price {
    font-size: 2rem;
  }

  .service-features {
    padding: 20px;
  }
}

/* Arreglar los estilos del modal en la sección de proyectos */

/* Actualizar el contenido del modal para que sea más responsive */
.modal-content {
  display: grid;
  gap: 30px;
  padding: 30px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

/* Mejorar la galería del modal */
.modal-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-main {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 2;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 2;
}

.gallery-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-btn:hover {
  background: white;
  color: var(--color-primary);
  transform: scale(1.1);
}

.gallery-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

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

.thumbnail.active {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.thumbnail:hover {
  transform: translateY(-2px);
}

/* Mejorar la información del proyecto */
.modal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}


.project-details h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.project-details h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.project-details p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-features {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.project-features h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.project-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-text-light);
}

.project-features li i {
  color: var(--color-primary);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.meta-item i {
  color: var(--color-primary);
  font-size: 16px;
  margin-top: 3px;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 3px;
}

.meta-value {
  font-weight: 500;
  color: var(--color-text);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tech-tags span {
  background: white;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Responsive para modales */
@media (max-width: 992px) {
  .modal-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .gallery-main img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .modal-container {
    width: 95%;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-title h2 {
    font-size: 20px;
  }

  .gallery-thumbnails {
    gap: 8px;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  .gallery-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
    gap: 20px;
  }

  .gallery-thumbnails {
    gap: 6px;
  }

  .thumbnail {
    width: 50px;
    height: 40px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* =============================================
   ELEMENTOS FLOTANTES
   ============================================= */

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background-color: var(--whatsapp-color);
}

/* WhatsApp Notification */
.whatsapp-notification {
  position: fixed;
  bottom: 75px;
  right: 80px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  max-width: 280px;
  transform: translateX(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 98;
}

.whatsapp-notification.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.notification-icon {
  color: var(--whatsapp-color);
  font-size: 18px;
}

.notification-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
}

.notification-message {
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.4;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background-color: var(--color-background-light);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.copyright {
  color: var(--color-text-light);
}

.copyright .highlight {
  color: var(--color-primary);
  font-weight: 700;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-light);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* =============================================
   ANIMACIONES
   ============================================= */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes modalSlideIn {
  to {
    transform: scale(1) translateY(0);
  }
}

/* =============================================
   UTILIDADES
   ============================================= */

.section {
  padding: 60px 0;
}

.section:nth-child(even) {
  background-color: var(--color-background-light);
}

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

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}

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

@media (max-width: 992px) {
  .projects-hero h1,
  .service-header h1 {
    font-size: 36px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .service-detail-content,
  .about-content,
  .tiktok-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero h1 {
    font-size: 42px;
  }

  .services-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-background);
    box-shadow: var(--shadow-lg);
    padding: 80px 30px 30px;
    z-index: 999;
    overflow-y: auto;
    transition: none;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
  }

  .nav-menu li.has-submenu.active .submenu {
    display: block;
  }

  .submenu a {
    padding-left: 30px;
    font-size: 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about h2,
  .section-header h2 {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tiktok-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .tiktok-info p {
    font-size: 16px;
    margin: 10px;
  }

  .projects-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-info {
    grid-template-columns: 1fr;
  }

  .service-detail-content {
    gap: 30px;
  }
  .cta-buttons {
    flex-direction: column;
  }

  .whatsapp-notification {
    bottom: 80px;
    right: 70px;
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .projects-hero h1,
  .service-header h1 {
    font-size: 28px;
  }

  .hero p,
  .projects-hero p {
    font-size: 16px;
  }

  .filter-btn span {
    display: none;
  }

  .project-content {
    padding: 20px;
  }

  .contact-form-container {
    padding: 25px;
  }

  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .services-carousel .service-card {
    flex: 0 0 250px;
    padding: 25px 15px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-price {
    font-size: 12px;
    padding: 6px 12px;
  }

  .price {
    font-size: 2rem;
  }

  .service-features {
    padding: 20px;
  }
}
