/* ==========================================================================
   LA CURANDERA — Base CSS & Typography
   ========================================================================== */


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--lc-crema);
  color: var(--lc-negro);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  background-image: radial-gradient(circle at 10% 20%, rgba(201, 78, 143, 0.03) 0%, transparent 25%),
                    radial-gradient(circle at 90% 80%, rgba(21, 159, 155, 0.03) 0%, transparent 25%);
}

::selection {
  background-color: var(--lc-rosa);
  color: var(--lc-blanco);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--lc-rosa);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--lc-negro);
}

.font-script {
  font-family: var(--font-script);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

.font-mono {
  font-family: var(--font-mono);
}

.handwritten-tag {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--lc-rosa);
  display: inline-block;
  transform: rotate(-3deg);
  transition: transform var(--transition-fast);
}

.handwritten-tag:hover {
  transform: rotate(-1deg) scale(1.05);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Utility Animations */
@keyframes sway {
  0% { transform: rotate(-2.5deg) skewX(-1.5deg); }
  50% { transform: rotate(2deg) skewX(1deg); }
  100% { transform: rotate(-2.5deg) skewX(-1.5deg); }
}

@keyframes pulseSlight {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(201, 78, 143, 0.3); }
  50% { transform: scale(1.04); box-shadow: 0 8px 24px rgba(201, 78, 143, 0.5); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
