/* ============================
   LUMITEC PRO - Stylesheet
   ============================ */

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

:root {
  /* Colors */
  --bg-primary: #0a1628;
  --bg-secondary: #0d1b2a;
  --bg-card: #111d30;
  --bg-card-hover: #162540;
  --accent: #ff6a00;
  --accent-hover: #ff8a30;
  --accent-dark: #e05500;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e3048;
  --border-accent: #ff6a00;

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;
}

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

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

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

ul {
  list-style: none;
}

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

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

/* ---------- Section Headings ---------- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header h2 span {
  color: var(--accent);
}

.section-header .underline {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto;
  border-radius: 2px;
}

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

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #00296b;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 106, 0, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  background: #00296b;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.nav-logo-text small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

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

.nav-cta {
  background: var(--accent) !important;
  color: var(--text-primary) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.7) 50%,
    rgba(10, 22, 40, 0.85) 100%
  );
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
  background: #0056b3;
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #0056b3;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #004085;
  border-color: #004085;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat.card-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 40px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
}

.hero-stat.card-stat:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
  transform: translateY(-5px);
}

.hero-stat i {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.hero-stat .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin: -8px auto;
  opacity: 0.5;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================
   ABOUT / NOSOTROS SECTION
   ============================ */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "img txt";
  gap: 60px;
  align-items: center;
}

.about-text {
  grid-area: txt;
}

.about-image {
  grid-area: img;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.about-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.about-image:hover img,
.about-image:hover video {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.about-image-badge small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.9;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-text h2 span {
  color: var(--accent);
}

.about-text .underline {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 14px 0;
  border-radius: 2px;
}

.about-desc p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
  width: 100%;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
  min-width: 0; /* allows flex item to shrink below content size */
  max-width: 100%;
}

.about-feature:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
  transform: translateY(-2px);
}

.about-feature i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0; /* prevents icon from shrinking */
}

.feature-text {
  display: flex;
  flex-direction: column;
  min-width: 0; /* allows text container to shrink and force wrapping */
}

.feature-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

/* ============================
   SERVICES / SERVICIOS SECTION
   ============================ */
.services {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-img-wrapper {
  overflow: hidden;
  height: 220px;
}

.service-card-content {
  padding: 24px;
}

.service-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

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

/* ============================
   PROJECTS / PROYECTOS SECTION
   ============================ */
.projects {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.project-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(255, 106, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.project-tag {
  display: inline-block;
  background: rgba(255, 106, 0, 0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.project-meta span i {
  color: var(--accent);
  font-size: 0.8rem;
  width: 16px;
}

/* ============================
   CLIENTS / CLIENTES SECTION
   ============================ */
.clients {
  padding: 60px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-marquee {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.6;
}

.clients-marquee span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ============================
   GALLERY / GALERÍA SECTION
   ============================ */
.gallery {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.gallery-carousel-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Proporción ideal y balanceada */
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#main-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Se adaptarán perfectamente recortando un poco si no son 16:9 */
  transition: opacity 0.3s ease;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 22, 40, 0.7);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--accent);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 4px;
  scroll-behavior: smooth;
  /* Hide scrollbars */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  height: 80px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumbnail:hover, .thumbnail.active {
  opacity: 1;
}

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

/* ============================
   CONTACT / CONTACTO SECTION
   ============================ */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 106, 0, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon i {
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-item-text h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Schedule */
.schedule {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  margin-top: 10px;
  border: 1px solid var(--border-color);
}

.schedule h4 {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row .day {
  color: var(--text-secondary);
}

.schedule-row .time {
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.contact-form input,
.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

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

.btn-submit {
  background: var(--accent);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-family: var(--font-primary);
}

.btn-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #00296b;
  border-top: 1px solid rgba(255, 106, 0, 0.15);
  padding: 24px 0;
  text-align: center;
  width: 100%;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Particle animation for hero */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

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

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* Glow effect */
.glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0.4;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

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

  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
      "txt"
      "img";
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .number {
    font-size: 1.8rem;
  }

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

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

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

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

  .section-header h2 {
    font-size: 1.9rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

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