/* ============================================
   PASTA Programa Vocacional — Global Styles
   Brand: Cream background, olive green, orange accent
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* --- CSS Variables (edit these to change the brand) --- */
:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE7DB;
  --green-dark: #3D5A2E;
  --green-mid: #4A6741;
  --green-light: #6B8F5E;
  --green-pale: #E8F0E2;
  --orange: #D4782F;
  --orange-light: #E8944D;
  --orange-pale: #FDF0E5;
  --text-dark: #2D2D2D;
  --text-body: #4A4A4A;
  --text-light: #7A7A7A;
  --white: #FFFFFF;
  --border: #D5CDBE;
  --shadow: rgba(61, 90, 46, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --max-width: 1100px;
  --radius: 10px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green-dark);
  line-height: 1.3;
}

h1 { font-size: 2.6rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.text-orange { color: var(--orange); }
.text-green { color: var(--green-dark); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.text-small { font-size: 0.9rem; color: var(--text-light); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--green-dark);
}

.nav-logo span {
  color: var(--orange);
  font-size: 0.7rem;
  display: block;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: -2px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  color: var(--white) !important;
}

/* Hamburger menu (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  margin: 6px 0;
  transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 80px 24px 60px;
  background: var(--cream);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 1.8rem;
  max-width: 520px;
}

.hero-image {
  text-align: center;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

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

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

.btn-secondary {
  background: var(--green-dark);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--green-dark);
  padding: 16px 24px;
}

.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item .icon {
  color: var(--orange);
  font-size: 1rem;
}

/* ============================================
   SECTIONS (reusable)
   ============================================ */
.section {
  padding: 70px 24px;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--green-dark);
  color: var(--cream);
}

.section-dark h2, .section-dark h3 {
  color: var(--cream);
}

.section-dark p {
  color: var(--cream-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-subtitle {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ============================================
   CARDS (generic)
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow);
}

/* ============================================
   STEPS / PROCESS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--orange);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 10px var(--shadow);
  border-left: 4px solid var(--orange);
}

.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   ABOUT PREVIEW (home page)
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 4px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border-top: 4px solid var(--border);
  position: relative;
}

.pricing-card.featured {
  border-top-color: var(--green-dark);
  transform: scale(1.04);
  box-shadow: 0 8px 30px var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--orange);
  font-weight: bold;
  margin-bottom: 4px;
}

.pricing-unit {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0ece4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--green-light);
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-features li.not-included {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-features li.not-included::before {
  content: "—";
  color: var(--text-light);
}

/* ============================================
   SESSIONS TIMELINE
   ============================================ */
.timeline {
  max-width: 750px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}

.timeline-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--orange);
  font-weight: bold;
  line-height: 1;
  text-align: center;
  padding-top: 4px;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 3px solid var(--green-light);
}

.timeline-content h3 {
  color: var(--green-dark);
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 1px 6px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--green-pale);
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--green-dark);
  padding: 60px 24px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--cream);
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--cream-dark);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: var(--cream-dark);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo {
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-brand .nav-logo span { color: var(--orange); }

.footer-brand p {
  font-size: 0.9rem;
  color: var(--cream-dark);
  max-width: 280px;
}

.footer h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--cream-dark);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(245,240,232,0.5);
  text-align: center;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--green-dark);
  padding: 60px 24px 50px;
  text-align: center;
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--cream-dark);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE SPECIFICS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-photo-large {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 4px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
}

.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.credential-tag {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================
   INCLUDES LIST
   ============================================ */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
}

.include-icon {
  color: var(--green-light);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--white);
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.mobile-cta .btn { width: 100%; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content h1 { font-size: 2.2rem; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  /* Hero stacked */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content p { max-width: 100%; }

  /* Steps 2 columns */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing stacked */
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }

  /* About stacked */
  .about-preview { grid-template-columns: 1fr; text-align: center; }
  .about-photo { margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-large { max-width: 280px; margin: 0 auto; }

  /* Footer stacked */
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }

  /* Trust strip wraps */
  .trust-strip-inner { gap: 16px; justify-content: center; }

  /* Mobile sticky CTA */
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }

  /* WhatsApp button above mobile CTA */
  .whatsapp-float { bottom: 84px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 24px 40px; }
  .section { padding: 50px 24px; }
}
