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

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --primary-blue: #5A84F2;
  --light-blue: #A1BEFF;
  --accent-blue: #1e4fd7;
  --bg-gradient: linear-gradient(135deg, #f4f7fc 0%, #eef3fb 100%);
  --text-dark: #1A1F2C;
  --text-muted: #5E6984;
  --text-light: #F0F4FC;
  --white: #FFFFFF;
  
  /* Glassmorphism system */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(90, 132, 242, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(90, 132, 242, 0.08);
  --glass-blur: blur(16px) saturate(180%);
  
  --card-shadow-hover: 0 20px 40px rgba(90, 132, 242, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1280px;
}

/* --- RESET & GENERAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background: var(--bg-gradient);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background-color: #f4f7fc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

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

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

section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f4f7fc;
}
::-webkit-scrollbar-thumb {
  background: var(--light-blue);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* --- REUSABLE COMPONENTS --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Glassmorphism style helper */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-md);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(90, 132, 242, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(90, 132, 242, 0.45);
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(90, 132, 242, 0.2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--primary-blue);
}

/* --- FIXED HEADER (NAVIGATION) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease-in-out, background-color 0.3s;
  padding: 12px 0;
}

.header.hide {
  transform: translateY(-100%);
}

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

.logo-link {
  display: flex;
  align-items: center;
  height: 52px;
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary-blue);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

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

/* Hamburger mobile menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-dark);
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(244,247,252,0.92) 0%, rgba(222,233,251,0.85) 100%), 
              url('../assets/images/hero_bg.png') no-repeat center center/cover;
  padding-top: 80px;
  text-align: center;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 24px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-blue), #3b6bd7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Ambient glow element */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(161, 190, 255, 0.35) 0%, rgba(90, 132, 242, 0.05) 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: blur(50px);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SERVICES SECTION --- */
.services {
  background-color: var(--white);
}

.services-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  padding: 40px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.featured-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.featured-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.featured-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  aspect-ratio: 16/10;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.featured-image-wrapper:hover .featured-img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(90, 132, 242, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

/* Carousel Section */
.carousel-title-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.carousel-title-wrapper h4 {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
}

.carousel-track {
  display: flex;
  width: calc(260px * 12 + 24px * 12); /* 6 original items + 6 cloned * (width + margin) */
  animation: infiniteScroll 40s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  width: 260px;
  height: 180px;
  margin-right: 24px;
  flex-shrink: 0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: grab;
}

.carousel-item:active {
  cursor: grabbing;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.carousel-item:hover img {
  transform: scale(1.1);
}

.carousel-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(30, 35, 48, 0.8), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-284px * 6)); /* Width 260px + margin 24px = 284px */
  }
}

/* --- PRODUCTS AND SOLUTIONS --- */
.products {
  background-color: var(--bg-gradient);
}

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

.product-card {
  padding: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-blue);
  box-shadow: var(--card-shadow-hover);
}

.product-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(90, 132, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 1.3rem;
  transition: var(--transition-smooth);
}

.product-card:hover .product-icon-wrap {
  background: var(--primary-blue);
  color: var(--white);
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

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

/* --- VIDEOS DEMOSTRATIVOS --- */
.videos {
  background-color: var(--white);
}

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

.video-card {
  overflow: hidden;
  transition: var(--transition-smooth);
}

.video-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-meta {
  padding: 24px;
}

.video-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.video-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- FLYERS --- */
.flyers {
  background-color: var(--bg-gradient);
}

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

.flyer-card {
  width: 320px;
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  perspective: 1000px;
}

.flyer-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
}

.flyer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.flyer-card:hover .flyer-img {
  transform: scale(1.05);
}

.flyer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px;
  background: linear-gradient(to top, rgba(26, 31, 44, 0.95) 0%, rgba(26, 31, 44, 0.6) 60%, transparent 100%);
  color: var(--white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.flyer-badge {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flyer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.flyer-content p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.5;
}

.flyer-action {
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-blue);
}

.flyer-action svg {
  transition: transform 0.3s;
}

.flyer-card:hover .flyer-action svg {
  transform: translateX(5px);
}

/* --- PORTFOLIO --- */
.portfolio {
  background-color: var(--white);
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(90, 132, 242, 0.08);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 79, 215, 0.9) 0%, rgba(161, 190, 255, 0.9) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition-smooth);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.1);
}

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

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay p {
  color: var(--text-light);
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s;
}

.portfolio-card:hover .portfolio-overlay h3,
.portfolio-card:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* --- QUIÉNES SOMOS --- */
.about {
  background-color: var(--bg-gradient);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-content h3 span {
  color: var(--primary-blue);
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.highlight-box {
  padding: 20px;
  display: flex;
  gap: 16px;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(90, 132, 242, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.highlight-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  padding: 30px 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CONTACTO Y UBICACIÓN --- */
.contact {
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-input {
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  background-color: rgba(244, 247, 252, 0.5);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(90, 132, 242, 0.15);
}

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

/* WhatsApp Banner Style */
.whatsapp-banner {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

.whatsapp-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.whatsapp-icon {
  font-size: 2.2rem;
  background-color: rgba(255, 255, 255, 0.15);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.whatsapp-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.whatsapp-btn {
  background: var(--white);
  color: #128C7E;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.whatsapp-banner:hover .whatsapp-btn {
  background: #f4f7fc;
}

/* Map Frame */
.map-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-card {
  flex-grow: 1;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
  position: relative;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1) saturate(0.9) brightness(1.02); /* Clean, professional corporate look */
}

/* --- FOOTER --- */
.footer {
  background-color: #1A1F2C;
  color: var(--white);
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

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

.footer-logo {
  height: 52px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1); /* Adapt white logo for dark background */
}

.footer-brand p {
  color: #A3AFCB;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-col h4 {
  font-size: 1.15rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-blue);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: #A3AFCB;
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: var(--light-blue);
  transform: translateX(5px);
}

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

.footer-contact-col h4 {
  font-size: 1.15rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-blue);
}

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #A3AFCB;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-info-item:hover {
  color: var(--light-blue);
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom p {
  color: #8C99B6;
  font-size: 0.85rem;
}

/* --- MODAL DIALOGS (FEEDBACK) --- */
.modal-feedback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(26, 31, 44, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-feedback.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 450px;
  padding: 40px;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-feedback.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background: rgba(90, 132, 242, 0.1);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
}

.modal-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* --- RESPONSIVE MEDIA QUERIES (MOBILE FIRST) --- */

@media (max-width: 1024px) {
  .services-featured {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-top > :first-child {
    grid-column: span 2;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 16px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100vh;
    padding-top: 100px;
    padding-left: 40px;
    gap: 24px;
    transition: 0.4s ease-in-out;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.3rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .whatsapp-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .whatsapp-info {
    flex-direction: column;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-top > :first-child {
    grid-column: span 1;
  }
}
