/* Colores principales */
:root {
  --color-ultravioleta: #4B0082;
  --color-menta: #00FFC6;
  --color-naranja: #FF5722;
  --color-gris: #F2F2F2;
  --color-negro: #1A1A1A;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-negro);
  line-height: 1.6;
  background-color: var(--color-gris);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-ultravioleta);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-naranja);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--color-ultravioleta);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(75, 0, 130, 0.2);
}

.btn:hover {
  background-color: var(--color-naranja);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 87, 34, 0.3);
  color: white;
}

.btn-secondary {
  background-color: var(--color-menta);
  color: var(--color-negro);
  box-shadow: 0 4px 10px rgba(0, 255, 198, 0.2);
}

.btn-secondary:hover {
  background-color: #00e0b0;
  color: var(--color-negro);
  box-shadow: 0 6px 12px rgba(0, 255, 198, 0.3);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-ultravioleta);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 10px;
  color: var(--color-ultravioleta);
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-menta);
  transition: width 0.3s ease;
}

nav ul li a:hover::before {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background-color: var(--color-ultravioleta);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background-color: var(--color-menta);
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(50%, -50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background-color: var(--color-naranja);
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(-30%, 30%);
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-content {
  flex: 1 1 600px;
  padding-right: 40px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--color-menta);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 400px;
  position: relative;
  z-index: 2;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* About Section */
.about {
  background-color: white;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1 1 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1 1 600px;
}

/* Services Section */
.services {
  background-color: var(--color-gris);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-ultravioleta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 30px;
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-price {
  font-size: 1.8rem;
  color: var(--color-naranja);
  font-weight: 700;
  margin: 15px 0;
}

/* Benefits Section */
.benefits {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-menta);
  color: var(--color-ultravioleta);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 35px;
  box-shadow: 0 10px 20px rgba(0, 255, 198, 0.2);
}

/* Testimonials */
.testimonials {
  background-color: var(--color-gris);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 50px;
  color: var(--color-menta);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-ultravioleta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: 700;
}

.author-details h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.author-company {
  color: var(--color-naranja);
  font-size: 0.9rem;
}

/* Contact Form */
.contact {
  background-color: white;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1 1 350px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-menta);
  color: var(--color-ultravioleta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-form {
  flex: 1 1 500px;
  background-color: var(--color-gris);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-menta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 198, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input {
  margin-top: 5px;
  margin-right: 10px;
}

/* Alert */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 12px;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Éxito del formulario */
.form-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-menta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Contact Page */
.contact-page {
  padding: 150px 0 80px;
}

/* Footer */
footer {
  background-color: var(--color-ultravioleta);
  color: white;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-heading {
  color: var(--color-menta);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-naranja);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: white;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  opacity: 1;
  color: var(--color-menta);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 400px;
  background-color: white;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cookie-text {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

/* Legal Pages */
.legal-section {
  padding: 150px 0 80px;
}

.legal-container {
  background-color: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.legal-title {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.legal-content h3 {
  margin-top: 40px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
  padding: 180px 0 100px;
  text-align: center;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: var(--color-menta);
  color: var(--color-ultravioleta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin: 0 auto 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 140px 0 70px;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .legal-container {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1002;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 80px 30px 30px;
  }
  
  nav ul li {
    margin: 0 0 20px 0;
  }
  
  .service-card {
    padding: 25px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .legal-section {
    padding: 120px 0 60px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-grid {
    gap: 20px;
  }
  
  .contact-item {
    margin-bottom: 20px;
  }
  
  .cookie-banner {
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 90%;
    padding: 15px;
  }
  
  .cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .thank-you {
    padding: 140px 0 60px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-heading {
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-description {
    text-align: center;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
}

/* Estilos específicos para pantallas de 350x616px */
@media (max-width: 350px), (max-height: 616px) {
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .header-container {
    padding: 10px 0;
  }
  
  .logo svg {
    height: 30px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .service-card {
    padding: 15px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 25px;
    margin-bottom: 15px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .contact-form {
    padding: 20px 15px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-control {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .form-check {
    margin-bottom: 10px;
  }
  
  .form-check label {
    font-size: 0.8rem;
  }
  
  .legal-section {
    padding: 100px 0 40px;
  }
  
  .legal-container {
    padding: 20px 15px;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .footer-container {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  footer {
    padding: 40px 0 20px;
  }
  
  .footer-links li {
    margin-bottom: 5px;
  }
  
  .contact-item {
    margin-bottom: 15px;
  }
  
  .thank-you {
    padding: 100px 0 40px;
  }
  
  .thank-you-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
    margin: 0 auto 20px;
  }
  
  .cookie-banner {
    padding: 12px;
  }
  
  .cookie-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .cookie-text {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
} 