/* style.css - Diseño profesional moderno responsive */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1e2a32;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  border-bottom: 1px solid rgba(44, 125, 160, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1f5068;
  text-decoration: none;
}

.logo i {
  color: #2c7da0;
  font-size: 1.8rem;
}

.logo span {
  background: linear-gradient(135deg, #1f5068, #2c7da0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e4e;
  transition: color 0.2s;
  font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
  color: #2c7da0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1f5068;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(110deg, #0a2c38 0%, #114b5f 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 40%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  padding: 60px 0;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 60px;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.95rem;
}

.btn-primary {
  background: #2c7da0;
  color: white;
  border: none;
  box-shadow: 0 8px 18px rgba(44,125,160,0.3);
}

.btn-primary:hover {
  background: #1f5e7e;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Secciones generales */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  color: #2c7da0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 12px 0 12px;
  color: #122c38;
}

.services, .testimonials, .about, .contact {
  padding: 90px 0;
}

.services {
  background: #f9fcff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  padding: 32px 24px;
  border-radius: 32px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  text-align: center;
  border: 1px solid rgba(44,125,160,0.15);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
  border-color: #2c7da0;
}

.service-icon {
  font-size: 3rem;
  color: #2c7da0;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  background: linear-gradient(145deg, #e7f2f5, #cfe4ec);
  border-radius: 48px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 380px;
}

.about-img-placeholder {
  font-size: 8rem;
  color: #1f5068;
  position: relative;
}

.exp-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #2c7da0;
  color: white;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: bold;
}

.about-quote {
  font-size: 1.2rem;
  font-style: italic;
  border-left: 4px solid #2c7da0;
  padding-left: 20px;
  margin: 20px 0;
  color: #2c5a70;
}

.about-features {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.about-features div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-features i {
  color: #2c7da0;
}

/* Testimonios */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.testimonial-stars {
  color: #f4b942;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: white;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  padding: 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-card i {
  font-size: 1.8rem;
  color: #2c7da0;
}
.social-mini {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.social-mini a {
  background: #eef3f7;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1f5068;
  transition: 0.2s;
}
.social-mini a:hover {
  background: #2c7da0;
  color: white;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dce5e9;
  border-radius: 20px;
  font-family: inherit;
  transition: 0.2s;
}
.form-group input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2c7da0;
  box-shadow: 0 0 0 2px rgba(44,125,160,0.2);
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.feedback-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 40px;
  text-align: center;
  font-size: 0.9rem;
}
.error-msg {
  color: #e25c5c;
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}
.form-note {
  font-size: 0.7rem;
  color: #6c868e;
  margin-top: 12px;
}

/* Footer */
.footer {
  background: #0c2c38;
  color: #eef3f7;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-brand span {
  font-size: 0.9rem;
  font-weight: normal;
  display: block;
  margin-top: 12px;
  opacity: 0.8;
}
.footer-links h4 {
  margin-bottom: 18px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  text-decoration: none;
  color: #cfdfe6;
}
.newsletter-input {
  display: flex;
  background: white;
  border-radius: 60px;
  overflow: hidden;
  margin: 16px 0;
}
.newsletter-input input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  outline: none;
}
.newsletter-input button {
  background: #2c7da0;
  border: none;
  padding: 0 16px;
  color: white;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.85rem;
}
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1f5068;
  color: white;
  padding: 12px 24px;
  border-radius: 60px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .navbar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 32px;
  }
  .navbar.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 28px;
  }
  .hero-stats {
    justify-content: space-between;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}