/* CSS for xznqmvrtlpka.life - Arte de Empaque y Decoración */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

:root {
  --primary-color: #064e3b; /* Deep Emerald */
  --primary-light: #0f766e;
  --secondary-color: #d97706; /* Gold/Amber */
  --secondary-hover: #b45309;
  --text-dark: #1f2937;
  --text-light: #f3f4f6;
  --bg-light: #fafaf9;
  --bg-white: #ffffff;
  --bg-card: #f5f5f4;
  --border-color: #e7e5e4;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
}

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

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Nav */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

nav a:hover, nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-cta-nav {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-cta-nav:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #ecfdf5 0%, #fef3c7 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: var(--bg-light);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #4b5563;
}

.badge-free {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 15px 35px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(6, 78, 59, 0.2);
  transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  color: var(--bg-white);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Beautiful simulated box art */
.box-graphic {
  width: 320px;
  height: 320px;
  background: var(--bg-white);
  border: 12px solid var(--primary-color);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}

.box-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 30px;
  margin-left: -15px;
  background-color: var(--secondary-color);
}

.box-graphic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 30px;
  margin-top: -15px;
  background-color: var(--secondary-color);
}

.box-ribbon-knot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Features */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #ecfdf5;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* Syllabus / Temario */
.syllabus {
  padding: 80px 0;
  background-color: var(--bg-card);
}

.syllabus-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.syllabus-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
}

.syllabus-item {
  position: relative;
  margin-bottom: 40px;
}

.syllabus-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 4px solid var(--bg-card);
}

.syllabus-item h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

/* Registration Form Section */
.register {
  padding: 80px 0;
}

.register-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.register-card h2 {
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.privacy-notice {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 15px;
  text-align: center;
}

/* Legal Pages Styling */
.legal-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: #374151;
  font-size: 1.05rem;
}

.legal-content ul {
  padding-left: 20px;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Modal Popup Success */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  transform: scale(0.9);
  transition: transform var(--transition-speed);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: #ecfdf5;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.modal-box h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-box p {
  margin-bottom: 25px;
  color: #4b5563;
}

.btn-close {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

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

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 50px 0 30px;
  border-top: 1px solid var(--primary-light);
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 25px;
  list-style: none;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--bg-white);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  max-width: 800px;
  line-height: 1.5;
  margin-top: 15px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid, .features-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero {
    padding: 50px 0;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  header .container {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
