/* Variables de colores */
:root {
  --turquoise: #1FBFB8;
  --amber: #FFB547;
  --charcoal: #222831;
  --marble: #F4F4F4;
  --wine: #93032E;
  --white: #ffffff;
  --shadow: rgba(34, 40, 49, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 4rem;
  width: 100%;
  max-width: 100vw;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px var(--shadow);
  width: 100%;
  overflow-x: hidden;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--turquoise);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav a {
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.nav a:hover {
  background: var(--turquoise);
  color: var(--white);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--turquoise), var(--amber));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.success-icon {
  margin-bottom: 2rem;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  animation: slideInUp 1s ease-out 0.6s both;
}

.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(147, 3, 46, 0.3);
}

.btn-secondary {
  background: var(--amber);
  color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--wine);
  color: var(--white);
  transform: translateY(-3px);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--marble);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--turquoise), var(--amber));
  margin: 1rem auto;
  border-radius: 2px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text h3 {
  color: var(--turquoise);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--turquoise), var(--amber));
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--turquoise);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.benefit-card h3 {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--turquoise);
  margin-bottom: 1rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--amber);
  z-index: 1;
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--turquoise);
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--wine);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--marble);
  border-radius: 25px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(31, 191, 184, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--turquoise);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--amber);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--turquoise);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-btn {
  background: var(--wine);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn:hover {
  background: var(--amber);
  color: var(--charcoal);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 4rem;
    overflow-x: hidden;
  }
  
  .header-content {
    padding: 0 0.5rem;
    overflow-x: hidden;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-icon {
    width: 24px;
    height: 24px;
  }
  
  .nav {
    gap: 0.3rem;
    overflow-x: hidden;
  }
  
  .nav a {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .hero {
    padding: 2rem 0;
    overflow-x: hidden;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .section {
    padding: 2rem 0;
    overflow-x: hidden;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
    overflow-x: hidden;
  }
  
  .header {
    padding: 0.3rem 0;
    overflow-x: hidden;
  }
  
  .hero {
    padding: 1.5rem 0;
    overflow-x: hidden;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 1.5rem 0;
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 0.5rem;
    overflow-x: hidden;
  }
  
  .success-icon svg {
    width: 60px;
    height: 60px;
  }
} 