:root {
  --lavanda: #C6B7E2;
  --rosa: #F2C6D8;
  --verde: #C8D6C2;
  --marfil: #FFF9F0;
  --ciruela: #5C3A63;
  --sombra-suave: rgba(92, 58, 99, 0.1);
  --sombra-media: rgba(92, 58, 99, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--marfil);
  color: var(--ciruela);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--ciruela);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  margin-bottom: 1.5rem;
  color: var(--ciruela);
  opacity: 0.9;
}

a {
  color: var(--ciruela);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--lavanda);
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 249, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 20px var(--sombra-suave);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ciruela);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lavanda);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ciruela);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.menu-close {
  display: none;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--ciruela);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1002;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--lavanda) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--rosa) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -30px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  background: linear-gradient(135deg, var(--ciruela) 0%, var(--lavanda) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.hero p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ciruela);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-wave {
  position: relative;
  padding: 6rem 2rem;
  margin: 4rem 0;
}

.section-wave::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/20000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q300,20 600,60 T1200,60 L1200,0 L0,0 Z' fill='%23C6B7E2' opacity='0.1'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.card {
  background: var(--marfil);
  padding: 2.5rem;
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 10px 40px var(--sombra-suave);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  transform: rotate(-1deg);
}

.card:nth-child(even) {
  transform: rotate(1deg);
  border-radius: 10px 30px 10px 30px;
}

.card:nth-child(3n) {
  transform: rotate(-0.5deg);
  border-radius: 20px;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--lavanda) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) rotate(0deg);
  box-shadow: 0 20px 60px var(--sombra-media);
}

.card:hover::before {
  opacity: 0.1;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.section-lavanda {
  background: linear-gradient(135deg, var(--lavanda) 0%, rgba(198, 183, 226, 0.3) 100%);
  padding: 6rem 2rem;
  margin: 4rem 0;
  border-radius: 0 100px 0 100px;
}

.section-rosa {
  background: linear-gradient(135deg, var(--rosa) 0%, rgba(242, 198, 216, 0.3) 100%);
  padding: 6rem 2rem;
  margin: 4rem 0;
  border-radius: 100px 0 100px 0;
}

.section-verde {
  background: linear-gradient(135deg, var(--verde) 0%, rgba(200, 214, 194, 0.3) 100%);
  padding: 6rem 2rem;
  margin: 4rem 0;
  border-radius: 50px;
}

.text-float {
  position: relative;
  padding: 2rem;
  margin: 2rem 0;
}

.text-float::before {
  content: '❀';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1;
  box-shadow: 0 10px 30px var(--sombra-suave);
  transform: rotate(-2deg);
  transition: all 0.4s ease;
}

.gallery-item:nth-child(even) {
  transform: rotate(2deg);
}

.gallery-item:nth-child(3n) {
  transform: rotate(-1deg);
}

.gallery-item:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 15px 50px var(--sombra-media);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: 0 15px 50px var(--sombra-suave);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ciruela);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--lavanda);
  border-radius: 15px;
  background: var(--marfil);
  color: var(--ciruela);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ciruela);
  box-shadow: 0 0 0 3px rgba(198, 183, 226, 0.3);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.btn {
  background: linear-gradient(135deg, var(--ciruela) 0%, var(--lavanda) 100%);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px var(--sombra-suave);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--sombra-media);
}

footer {
  background: var(--ciruela);
  color: #ffffff;
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.footer-section p {
  color: #ffffff;
}

.footer-section a {
  color: #ffffff;
  opacity: 0.9;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--lavanda);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  opacity: 0.9;
}

.footer-bottom p {
  color: #ffffff;
}

.footer-section ul li {
  color: #ffffff;
}

.page-header {
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--lavanda) 0%, var(--rosa) 100%);
  margin-top: 80px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.process-steps {
  display: grid;
  gap: 3rem;
  margin: 3rem 0;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border-left: 4px solid var(--lavanda);
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
  border-left: none;
  border-right: 4px solid var(--rosa);
}

.process-step img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--marfil);
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    box-shadow: 0 5px 20px var(--sombra-suave);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links.active ~ .menu-close,
  .menu-close.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
    position: relative;
  }

  .menu-toggle.hidden {
    display: none;
  }

  .menu-close {
    display: none;
  }

  .nav-links.active ~ .menu-close,
  .menu-close.active {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .process-step {
    flex-direction: column !important;
    border-left: 4px solid var(--lavanda) !important;
    border-right: none !important;
  }

  .process-step img {
    width: 100%;
  }

  .section-lavanda,
  .section-rosa,
  .section-verde {
    border-radius: 30px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 1rem;
  }

  nav {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 6rem 1rem 3rem;
    min-height: 70vh;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-lavanda,
  .section-rosa,
  .section-verde {
    padding: 3rem 1rem;
    margin: 2rem 0;
  }

  .card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card img {
    height: 200px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto;
    min-height: 44px;
  }

  .page-header {
    padding: 6rem 1rem 3rem;
    margin-top: 70px;
  }

  .page-content {
    padding: 2rem 1rem;
  }

  .process-step {
    padding: 1.5rem;
    gap: 1rem;
  }

  .process-step img {
    width: 100%;
    height: 200px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  footer {
    padding: 3rem 1rem 1.5rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

html {
  scroll-behavior: smooth;
}
