/* Reset y estilos base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Reddit Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
  animation: fadeIn 1s ease-in-out;
}

section {
  padding: 3rem 1rem;
}

section h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  text-align: center;
}

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

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

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  /* Transición suave al hacer scroll */
}

/* @keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
} */

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.scroll-animation {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.scroll-animation-left {
  animation: slideInFromLeft 1s forwards;
}

.scroll-animation-right {
  animation: slideInFromRight 1s forwards;
}

/* Modernización de estilos */

/* Navbar - Mobile First */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
}

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

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.nav-links {
  display: none;
  list-style: none;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle {
  color: white;
}

/* Mobile Navigation Menu */
@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
  }

  .navbar.scrolled .nav-links {
    background: rgba(0, 0, 0, 0.98);
  }

  .navbar.scrolled .nav-links a {
    color: white;
  }

  .nav-toggle {
    z-index: 1001;
  }

  .nav-toggle.active i {
    transform: rotate(90deg);
  }
}

/* Desktop Navbar */
@media (min-width: 768px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .logo {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

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

  .nav-links a:hover {
    color: #ff6b35;
    transform: translateY(-2px);
  }

  .navbar.scrolled .nav-links a {
    color: white;
  }

  .navbar.scrolled .nav-links a:hover {
    color: #ff6b35;
  }

  .navbar.scrolled .nav-toggle {
    color: white;
  }

  .navbar.scrolled .nav-toggle:hover {
    color: #ff6b35;
  }
} /* Hero Section - Mobile First */
.hero {
  min-height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.6),
      rgba(255, 107, 53, 0.3)
    ),
    url("/img/hero-1.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: slideUp 1s ease-out 0.5s both;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.02em;
}

.hero h2 {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  animation: float 3s ease-in-out infinite;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #f7931e, #ff6b35);
}

/* Desktop Hero */
@media (min-width: 768px) {
  .hero {
    background-attachment: fixed;
    padding: 0 2rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-cta {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}

/* Servicios - Mobile First */
.servicios {
  background: white;
  padding: 4rem 1rem;
}

.servicios h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
}

.servicios h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.servicios-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.servicios-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.servicio-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.servicio-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.servicio-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}

.servicio-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.servicios-imagenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .servicios-imagenes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 300px;
    margin: 2rem auto 0;
  }

  .servicio-imagen {
    max-width: 250px;
    margin: 0 auto;
  }
}

.servicio-imagen {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.servicio-imagen:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.servicio-imagen:hover img {
  transform: scale(1.1);
}

/* Desktop Servicios */
@media (min-width: 768px) {
  .servicios {
    padding: 6rem 2rem;
  }

  .servicios-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

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

  .servicio-card {
    padding: 2.5rem;
  }

  .servicios-imagenes {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Nosotros - Mobile First */
.nosotros {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 1rem;
}

.nosotros h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
}

.nosotros h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.nosotros-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.persona {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.persona::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.persona:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
}

.persona-img {
  margin-bottom: 2rem;
  position: relative;
}

.persona img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.persona:hover img {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.persona h2 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.persona h3 {
  font-size: 1rem;
  color: #ff6b35;
  margin-bottom: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.persona-skills {
  display: grid;
  gap: 0.8rem;
  text-align: left;
}

.skill-item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.skill-item:hover {
  background: rgba(255, 107, 53, 0.1);
  border-left-color: #ff6b35;
  transform: translateX(5px);
}

.skill-item i {
  color: #ff6b35;
  margin-right: 1rem;
  font-size: 1.1rem;
  width: 20px;
}

.skill-item span {
  color: #555;
  font-weight: 500;
}

/* Desktop Nosotros */
@media (min-width: 768px) {
  .nosotros {
    padding: 6rem 2rem;
  }

  .nosotros-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .persona {
    padding: 3rem 2.5rem;
  }

  .persona img {
    width: 150px;
    height: 150px;
  }

  .persona h2 {
    font-size: 1.6rem;
  }

  .persona h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .nosotros {
    text-align: center;
  }

  .nosotros-container {
    gap: 2rem;
    justify-items: center;
  }

  .persona {
    max-width: 320px;
    width: 100%;
  }

  .footer {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .servicios,
  .nosotros,
  .contacto h1 {
    font-size: 1rem;
  }

  .navbar {
    position: fixed;
    width: 100%;
  }

  .servicios {
    padding: 3rem 1rem;
  }

  .servicios-container {
    gap: 3rem;
  }

  .servicios-imagenes {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero h2 {
    font-size: 1.2em;
  }

  .persona img {
    width: 150px;
    height: 150px;
  }

  .persona h2 {
    font-size: 1.5em;
  }

  .persona h3 {
    font-size: 1em;
  }

  .contacto h1 {
    font-size: 1.5em;
  }

  .contacto-form {
    padding: 10px;
  }

  .nosotros {
    width: 100%;
    padding-top: 20px;
    margin-top: 600px;
  }

  .nosotros-container {
    width: 100%;
  }

  .contacto {
    padding-top: 20px;
    margin-top: 140px;
  }

  .contacto-form {
    width: 100%;
  }

  .footer {
    text-align: center;
    width: 100%;
    font-size: 15px;
    line-height: 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    width: 100%;
  }

  .footer-center {
    padding-right: 14px;
  }

  .footer-right {
    padding-right: 50px;
    width: 100%;
  }

  .footer-left h2 {
    font-size: 1.5em;
  }
}

@media (min-width: 480px) {
}

/* Contacto - Mobile First */
.contacto {
  background: white;
  padding: 4rem 1rem;
}

.contacto h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
}

.contacto h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.contacto-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

.contacto-info {
  display: grid;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid #ff6b35;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.info-content h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-content p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.contacto-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #f7931e, #ff6b35);
}

/* Desktop Contacto */
@media (min-width: 768px) {
  .contacto {
    padding: 6rem 2rem;
  }

  .contacto-container {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }

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

  .submit-btn {
    width: auto;
    align-self: start;
  }
}

/* Footer - Mobile First */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 3rem 1rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-section h2 {
  color: #ff6b35;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff6b35;
}

.footer-section i {
  margin-right: 0.8rem;
  color: #ff6b35;
  width: 20px;
}

/* Estilos específicos para iconos de redes sociales */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #ff6b35 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  color: white !important;
}

.social-link i {
  margin-right: 0 !important;
  width: auto !important;
  color: white !important;
  transition: none !important;
}

.social-link:hover i {
  color: white !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Footer Centering */
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }

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

  .footer-section p,
  .footer-section a {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
    margin: 1.5rem 0;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* Desktop Footer */
@media (min-width: 768px) {
  .footer {
    padding: 4rem 2rem 2rem;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-section:first-child {
    text-align: left;
  }

  .footer-section:first-child .footer-section p,
  .footer-section:first-child .footer-section a {
    justify-content: flex-start;
  }

  .footer-section:nth-child(2) {
    text-align: left;
  }

  .footer-section:last-child {
    text-align: center;
  }

  .footer-section:last-child .social-links {
    justify-content: center;
  }
}

/* Utilidades y Scroll Animations */
html {
  scroll-behavior: smooth;
}

.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animation.show {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

/* Responsive Design Breakpoints */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }

  section {
    padding: 6rem 2rem;
  }
}
