:root {
  --blue: #0d4d9c;
  --dark-blue: #07315f;
  --orange: #f28c28;
  --light-orange: #fff0e3;
  --cream: #fffaf4;
  --white: #ffffff;
  --gray: #f4f4f4;
  --text: #222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
}

/* HEADER */

.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: bold;
}

.header-brand img {
  width: 48px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: var(--blue);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav a {
  color: var(--dark-blue);
  text-decoration: none;
  padding: 10px 14px;
  font-weight: bold;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--orange);
  color: white;
}

/* LAYOUT */

.page-layout {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 24px;
}

/* SIDEBAR */

.sidebar {
  background: var(--light-orange);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #ffd2aa;
}

.sidebar-logo {
  width: 170px;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  background: white;
  border: 4px solid var(--blue);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 77, 156, 0.18);
}

.sidebar h2 {
  color: var(--dark-blue);
  margin: 8px 0 4px;
  font-size: 22px;
}

.sidebar .lema {
  color: var(--orange);
  font-weight: bold;
  font-style: italic;
  margin-bottom: 20px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--dark-blue);
  background: white;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
}

.sidebar-links a:hover {
  background: var(--blue);
  color: white;
}

/* MAIN */

.main-content {
  min-width: 0;
}

.hero-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.hero-image {
  width: 100%;
  display: block;
}

.welcome-section {
  margin-top: 24px;
  background: white;
  padding: 28px;
  border-radius: 14px;
  border-left: 8px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.welcome-section h1 {
  margin-top: 0;
  color: var(--blue);
  font-size: 36px;
}

.welcome-section p {
  font-size: 18px;
  line-height: 1.6;
}

.button-group {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
}

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

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

.btn:hover {
  opacity: 0.9;
}

.cards-section {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  background: white;
  padding: 22px;
  border-radius: 12px;
  border-top: 5px solid var(--blue);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.info-card h2 {
  color: var(--blue);
  margin-top: 0;
}

/* RIGHT COLUMN */

.right-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.right-box {
  background: white;
  padding: 18px;
  border-radius: 12px;
  border-left: 5px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.right-box h3 {
  margin-top: 0;
  color: var(--blue);
}

.right-box a {
  color: var(--orange);
  font-weight: bold;
  text-decoration: none;
}

/* FOOTER */

.site-footer {
  background: var(--dark-blue);
  color: white;
  margin-top: 30px;
  padding: 28px 20px;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  align-items: center;
}

.footer-logos img {
  height: 55px;
  background: white;
  padding: 4px;
  border-radius: 6px;
}

/* MOBILE */

@media (max-width: 1050px) {
  .page-layout {
    grid-template-columns: 220px 1fr;
  }

  .right-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 12px;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    background: var(--gray);
  }

  .page-layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .sidebar {
    order: 2;
  }

  .main-content {
    order: 1;
  }

  .right-column {
    order: 3;
    grid-template-columns: 1fr;
  }

  .cards-section {
    grid-template-columns: 1fr;
  }

  .welcome-section h1 {
    font-size: 30px;
  }

  .welcome-section p {
    font-size: 16px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}

/* CONTACT PAGE */

.contact-hero {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  padding: 34px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.contact-hero h1 {
  margin-top: 0;
  font-size: 36px;
}

.contact-hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 850px;
}

.contact-card {
  margin-top: 24px;
  background: white;
  padding: 28px;
  border-radius: 14px;
  border-left: 8px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-weight: bold;
  color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 77, 156, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.checkbox-group input {
  margin-top: 4px;
}

.form-button {
  border: none;
  cursor: pointer;
  font-size: 17px;
  align-self: flex-start;
}

@media (max-width: 800px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-card,
  .contact-hero {
    padding: 22px;
  }

  .form-button {
    width: 100%;
  }
}

/* COMO AYUDAR PAGE */

.help-hero {
  background: linear-gradient(135deg, var(--orange), #ffb15f);
  color: white;
  padding: 34px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.help-hero h1 {
  margin-top: 0;
  font-size: 36px;
}

.help-hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
}

.help-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.help-card {
  background: white;
  padding: 26px;
  border-radius: 14px;
  border-top: 6px solid var(--blue);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.help-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.help-card h2 {
  color: var(--blue);
  margin-top: 0;
}

.help-card p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.help-closing {
  margin-top: 24px;
  background: white;
  padding: 28px;
  border-radius: 14px;
  border-left: 8px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
}

.help-closing h2 {
  color: var(--blue);
  font-size: 32px;
  margin-top: 0;
}

.help-closing p {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-hero h1 {
    font-size: 28px;
  }

  .help-hero,
  .help-closing,
  .help-card {
    padding: 22px;
  }
}

/* NOSOTROS PAGE */

.about-hero {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  padding: 34px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.about-hero h1 {
  margin-top: 0;
  font-size: 38px;
}

.about-hero p {
  font-size: 19px;
  line-height: 1.6;
}

.about-section {
  margin-top: 24px;
  background: white;
  padding: 24px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 8px solid var(--orange);
}

.about-section.reverse {
  direction: rtl;
  border-left: none;
  border-right: 8px solid var(--blue);
}

.about-section.reverse > * {
  direction: ltr;
}

.about-text h2 {
  color: var(--blue);
  font-size: 30px;
  margin-top: 0;
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
}

.about-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-closing {
  margin-top: 24px;
  background: var(--light-orange);
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #ffd2aa;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.about-closing h2 {
  color: var(--blue);
  font-size: 32px;
  margin-top: 0;
}

.about-closing p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 22px;
}

@media (max-width: 800px) {
  .about-section,
  .about-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    border-left: 8px solid var(--orange);
    border-right: none;
  }

  .about-img {
    height: 240px;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .about-section,
  .about-closing,
  .about-hero {
    padding: 22px;
  }
}

.activity-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.right-box h4 {
    color: var(--blue);
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rosario-link {
    display: inline-block;
    margin-top: 12px;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.rosario-link:hover {
    background-color: var(--orange);
}

/* HOME EXTRA SECTIONS */

.home-mission {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.home-mission h2 {
  margin-top: 0;
  font-size: 32px;
}

.home-mission p {
  font-size: 18px;
  line-height: 1.6;
}

.home-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.home-actions article {
  background: white;
  padding: 22px;
  border-radius: 14px;
  border-top: 5px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.home-actions h3 {
  color: var(--blue);
  margin-top: 0;
  font-size: 22px;
}

.home-actions p {
  line-height: 1.6;
}

.home-call {
  margin-top: 24px;
  background: var(--light-orange);
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #ffd2aa;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.home-call h2 {
  color: var(--blue);
  font-size: 30px;
  margin-top: 0;
}

.home-call p {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .home-actions {
    grid-template-columns: 1fr;
  }

  .home-mission,
  .home-call {
    padding: 22px;
  }
}

.sidebar-impact {
  margin-top: 18px;
  background: white;
  padding: 16px;
  border-radius: 10px;
  text-align: left;
}

.sidebar-impact h3 {
  color: var(--blue);
  margin-top: 0;
}

.sidebar-impact p {
  font-size: 15px;
  line-height: 1.5;
}

.footer-email {
    margin-top: 10px;
}

.footer-email a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-email a:hover {
    text-decoration: underline;
}

.footer-divider {
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 15px auto;
}

.footer-credit {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.6;
}

.programacion-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.programacion-card h3 {
    color: #003b7a;
    margin-bottom: 15px;
}

.programacion-img {
    width: 100%;
    border: 4px solid #8b5a2b;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.programacion-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.programacion-card p {
    margin: 15px 0;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-block;
    background: #8b5a2b;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.download-btn:hover {
    background: #6f451f;
}