/* ============================================
   SARAHMARIARODRIGUEZ.COM - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@600;700&family=Karla:wght@300;400&display=swap');

:root {
  --primary: #880E4F;
  --primary-light: #C2185B;
  --primary-lighter: #F06292;
  --primary-lightest: #F8BBD0;
  --primary-ultra-light: #FCE4EC;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --border-light: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Karla', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

h3 {
  font-size: 1.75rem;
  color: var(--primary-light);
}

h4 {
  font-size: 1.5rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #6a0a3a;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(136, 14, 79, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-block {
  width: 100%;
  display: block;
}

/* ============================================
   CARDS & GLASSMORPHISM
   ============================================ */

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-body {
  margin-bottom: 1.5rem;
}

.card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: white;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.hero-minimal {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--primary-lightest) 100%);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.hero-minimal h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-minimal p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.8);
}

.accordion-header h4 {
  margin: 0;
  color: var(--primary);
}

.accordion-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-body p {
  margin-bottom: 0.5rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--text-dark);
}

input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(136, 14, 79, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(136, 14, 79, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: white;
}

.cookie-banner a {
  color: #F06292;
}

.cookie-banner button {
  white-space: nowrap;
  padding: 0.5rem 1.5rem;
}

/* ============================================
   STATS COUNTER
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  background: var(--primary-ultra-light);
  border-radius: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 1.5rem;
  text-align: left;
  font-weight: 700;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: var(--primary-ultra-light);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-light);
}

.breadcrumb span.separator {
  color: var(--text-light);
}

/* ============================================
   TAGS
   ============================================ */

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-ultra-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   LAZY LOADING
   ============================================ */

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

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

  nav {
    display: none;
  }

  nav.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  nav.active ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image {
    height: 250px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-banner button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-minimal h1 {
    font-size: 1.75rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th, .comparison-table td {
    padding: 1rem;
  }
}
