/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #e5e7eb;
  background-color: #000000;
  overflow-x: hidden;
}

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

/* Color Variables */
:root {
  --primary: #3b82f6;
  --secondary: #10b981;
  --background: #000000;
  --card: #111111;
  --foreground: #ffffff;
  --muted-foreground: #9ca3af;
  --border: #374151;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.2;
}

.text-primary {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background-color: #059669;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--card);
}

.icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--card);
  color: var(--foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 3.5rem;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link.active,
.mobile-nav-link.active {
  color: var(--primary);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
}

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

.header-buttons {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 1.5rem;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 40;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: var(--card);
}

/* Tab System */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 5rem 0 8rem;
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

.hero-text {
  space-y: 2rem;
  margin: 0 auto;
  max-width: 48rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 1rem 0;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 36rem;
  margin: 1rem auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-bg-1,
.hero-bg-2 {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(3rem);
  z-index: -1;
}

.hero-bg-1 {
  top: -1rem;
  right: -1rem;
  background-color: rgba(16, 185, 129, 0.2);
}

.hero-bg-2 {
  bottom: -1rem;
  left: -1rem;
  background-color: rgba(59, 130, 246, 0.2);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  margin: 1rem 0;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: rgba(17, 17, 17, 0.3);
}

.services-grid {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.service-card {
  background-color: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-align: center;
  max-width: 24rem;
  width: 100%;
}

.service-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  border-color: var(--border);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-icon-primary {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.service-icon-secondary {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
}

.service-card:hover .service-icon-primary {
  background-color: rgba(59, 130, 246, 0.2);
}

.service-card:hover .service-icon-secondary {
  background-color: rgba(16, 185, 129, 0.2);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted-foreground);
}

.service-features {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  space-y: 1.5rem;
}

.about-paragraph {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.about-paragraph strong {
  color: var(--foreground);
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

.about-highlights {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight {
  padding: 1.5rem;
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.highlight h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.highlight p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Why Choose Section */
.why-choose {
  padding: 5rem 0;
  background-color: rgba(17, 17, 17, 0.3);
}

.features-grid {
  display: grid;
  gap: 2rem;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-icon-primary {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.feature-icon-secondary {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--muted-foreground);
}

/* Actualizando estilos de contacto según imagen de referencia */
/* Contact Section */
.contact {
  padding: 5rem 0;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px;
  opacity: 0.1;
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form-container {
  background-color: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-input {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 0.5rem;
  background-color: rgba(15, 23, 42, 0.6);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(15, 23, 42, 0.8);
}

.form-input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.btn-submit {
  background-color: var(--secondary);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background-color: #059669;
  transform: translateY(-1px);
}

.contact-email-note {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 1rem;
}

.contact-info-container {
  background-color: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 1rem;
  padding: 2rem;
}

.info-title {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.info-label {
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.875rem;
}

.info-value {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: rgba(17, 17, 17, 0.3);
}

.footer-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  space-y: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.footer-logo-img {
  height: 2.5rem;
  width: auto;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.footer-contact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header-buttons {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

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

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

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

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

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    align-items: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .about-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

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

@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }
}
