* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
html{
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;

}



/* NAVBAR */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 2px solid #dc2626;
    z-index: 1000;
    padding: 10px 0;
}

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

.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand img { height: 40px; }
.nav-desktop a { color: white; text-decoration: none; margin-left: 25px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* Desktop Nav */
.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: #dc2626;
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 15px 20px;
  background: rgba(0,0,0,0.95);
}

.nav-mobile a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
}

.nav-mobile a:hover {
  color: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-mobile.show {
    display: flex;
  }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: 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(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.7), rgba(139,0,0,0.5));
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #dc2626;
}

.hero-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e5e5e5;
}

.hero-btn {
  background: #dc2626;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #b91c1c;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 28px;
  animation: bounce 1.5s infinite;
}

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

/* SECCIONES */
section {
  padding: 80px 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

h2 span {
  color: red;
}

.subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

/* ABOUT */
.about {
  padding: 100px 20px;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-text h2 span {
  color: #dc2626;
}

.about-text p {
  color: #555;
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.features {
  margin-top: 30px;
}

.feature {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.feature i {
  color: #dc2626;
  font-size: 22px;
  margin-top: 5px;
}

.feature h3 {
  font-size: 18px;
  color: #111;
}

.feature p {
  font-size: 15px;
  color: #666;
}

.about-image {
  position: relative;
}

.image-box {
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.counter {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: #dc2626;
  color: white;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.counter h4 {
  font-size: 42px;
}

.counter p {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .counter {
    left: 10px;
    bottom: 10px;
  }
}

/* FILOSOFÍA */
.philosophy {
  padding: 100px 20px;
  background: #fff;
}

.philosophy .container {
  max-width: 1200px;
  margin: auto;
}

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

.philosophy-header h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.philosophy-header span {
  color: #dc2626;
}

.philosophy-header p {
  color: #666;
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

/* Misión / Visión */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.mv-card {
  padding: 40px;
  border-radius: 15px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.mission {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  text-align: justify;
}

.vision {
  background: linear-gradient(135deg, #000, #1f2933);
  text-align: justify;
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.mv-card h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 17px;
  line-height: 1.6;
}

/* Valores */
.values-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.values-title span {
  color: #dc2626;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-card {
  background: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
  border-radius: 12px;
  border-bottom: 4px solid #dc2626;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 15px;
}

.value-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  color: #666;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 500px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICIOS */
.services {
  position: relative;
  padding: 100px 20px;
  background: #f9fafb;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  z-index: 0;
}

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

.services .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
}

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

.services-header h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.services-header span {
  color: #dc2626;
}

.services-header p {
  color: #666;
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

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

.service-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-top: 4px solid #dc2626;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-icon {
  width: 65px;
  height: 65px;
  background: #dc2626;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: white;
  font-size: 28px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.service-card p {
  color: #666;
  font-size: 15px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}



/* CONTACTO */
.contacto-section {
  padding: 100px 20px;
  background: #fff;
}

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

.section-title span {
  color: #dc2626;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {

  color: rgb(255, 0, 0);
  font-size: 1.2rem;
  padding: 12px;
  border-radius: 8px;
}

.info-item h4 {
  margin: 0;
}

.contact-form {
  background: #f3f3f3;
  padding: 30px;
  border-radius: 10px;
}

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

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #dc2626;
}

.contact-form button {
  background: #dc2626;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #b91c1c;
}

.floating-contact {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #ff0000; 
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  z-index: 9999; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
/* Responsive - móviles */
@media (max-width: 768px) {
  .floating-contact {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    left: 15px;
  }
}

/* Responsive - móviles pequeños */
@media (max-width: 480px) {
  .floating-contact {
    width: 48px;
    height: 48px;
    font-size: 19px;
    bottom: 12px;
    left: 12px;
  }
}

/* FOOTER */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 20px 30px;
  border-top: 2px solid #dc2626;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 60px;
  height: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer p {
  color: #aaa;
  line-height: 1.6;
  text-align: justify;
}

.footer h3 {
  color: #dc2626;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer ul li a {
  color: #aaa;
  text-decoration: none;
  transition: .3s;
}

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

.socials {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  transition: .3s;
}

.socials a:hover {
  background: #b91c1c;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}


/* Variables de diseño */
:root {
  --accent-color: #dc2626;
  --bg-light: #f9fafb;
  --text-dark: #1a1a1a;
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-section {
  background: var(--bg-light);
  padding: 100px 0;
  font-family: 'Inter', sans-serif;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 60px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

