/* palette: charcoal-coral */
:root {
  --primary-color: #1D2A3C;      /* botones, acentos, cabeceras */
  --secondary-color: #FF6F61;    /* hero bg, dark-sections, footer */
  --accent-color: #F2D4C9;       /* iconos, hover, decoraciones */
  --background-color: #F8F8F8;   /* fondo light-sections */
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.15);
  --shadow-color: rgba(0,0,0,0.22);
  --gradient-primary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --main-font: 'Merriweather', serif;
  --alt-font: 'Open Sans', sans-serif;
  
  /* border-style: pill */
  --radius-sm: 12px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --radius-btn: 50px;
  
  /* shadow-style: dramatic */
  --shadow-card: 0 24px 64px rgba(0,0,0,0.22);
  --shadow-hover: 0 32px 72px rgba(0,0,0,0.28);
}

/* TYPOGRAPHY SCALE */
h1 { font-size: clamp(38px, 7vw, 56px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.2; font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 30px); line-height: 1.3; font-weight: 600; }
h4 { font-size: clamp(16px, 2vw, 22px); line-height: 1.4; font-weight: 600; }
p { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; }

/* BASE RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  width: 100%;
}

/* SECTION PADDINGS (Mobile-first) */
.section-padding {
  padding: 48px 16px;
}
@media (min-width: 768px) {
  .section-padding {
    padding: 80px 24px;
  }
}

/* HEADER & BURGER MENU (Mobile-first) */
header {
  position: relative;
  width: 100%;
  z-index: 1000;
}
.header-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #F5F5F5;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  z-index: 999;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  text-align: center;
}
.site-nav a {
  color: #F5F5F5;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: var(--accent-color);
}

/* Show menu when checked */
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked + .burger-btn .bar:first-child {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked + .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 28px;
  }
  .site-nav a {
    font-size: 16px;
  }
}

/* HERO SECTION */
#hero {
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-card {
  max-width: 680px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: fade-up 0.8s ease-out forwards;
}
.hero-card h1 {
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
  opacity: 0.9;
}
.hero-cta-wrapper {
  display: flex;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 44px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
@media (min-width: 768px) {
  .hero-card {
    padding: 56px;
    text-align: left;
  }
  .hero-cta-wrapper {
    justify-content: flex-start;
  }
}

/* FEATURES SECTION (features-numbered) */
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}
.feature-title {
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 1;
  }
}

/* ABOUT SECTION (img-fullwidth) */
.rounded-image {
  border-radius: var(--radius-lg);
  max-height: 480px;
  box-shadow: var(--shadow-card);
}
.about-text {
  opacity: 0.9;
}

/* CHECKLIST SECTION */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.check-icon {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}
@media (min-width: 768px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stars {
  font-size: 20px;
  margin-bottom: 16px;
}
.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.9;
}
.testimonial-author {
  font-weight: 700;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CONTACT SECTION */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-info-block {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.contact-form-block {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.info-item {
  display: flex;
  flex-direction: column;
}
.info-label {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--alt-font);
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: var(--secondary-color);
}
.btn-submit {
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 45% 55%;
  }
  .contact-info-block, .contact-form-block {
    padding: 48px;
  }
}

/* FAQ SECTION */
.faq-item {
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.faq-question {
  font-weight: 700;
  margin-bottom: 12px;
}
.faq-answer {
  opacity: 0.9;
}

/* FOOTER */
footer {
  padding: 48px 16px 24px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  text-align: center;
}
.footer-nav a {
  color: #F5F5F5;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.footer-nav a:hover {
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* ANIMATIONS */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}