  /*
Theme Name: Plantilla Campus Salesiano
Theme URI: 
Author: Ronald De Jesús Mirabal Gómez
Author URI: 
Description: "Empty" WordPress theme for testing a barebones WordPress site, as a reference point to compare actual themes and plugins to.
Requires at least: 5.3
Tested up to: 5.8
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-empty-theme
Tags: one-column, accessibility-ready, custom-logo, featured-images, threaded-comments, translation-ready
*/
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #6399AE;
    --navy-mid: #2C4270;
    --gold: #FFE082;
    --gold-light: #FFE082;
    --gold-pale: #F5EDD6;
    --cream: #FAF8F3;
    --white: #FFFFFF;
    --gray-100: #F0EDE6;
    --gray-300: #C8C4BA;
    --gray-500: #8A8680;
    --gray-700: #4A4845;
    --red-sal: #8B1A1A;
    --text: #2A2825;
    --text-muted: #6B6864;
    --radius: 4px;
    --radius-lg: 8px;
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }

  /* ======= NAV ======= */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem; height: 68px;
    border-bottom: 3px solid var(--gold);
  }
  .nav-brand { display: flex; align-items: center; gap: 0.875rem; text-decoration: none; }
  .nav-logo {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gold); display: flex; align-items: center; justify-content: center;
    font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 600; color: var(--navy);
  }
  .nav-name { display: flex; flex-direction: column; }
  .nav-title { font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; }
  .nav-sub { font-size: 10px; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }
  .nav-links { display: flex; gap: 0; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.82); text-decoration: none; font-size: 13px; font-weight: 400;
    padding: 0.5rem 1rem; letter-spacing: 0.02em;
    transition: color 0.2s;
    display: block;
  }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-cta {
    background: var(--gold); color: #333; font-size: 12px; font-weight: 600;
    padding: 0.5rem 1.125rem; border-radius: var(--radius); text-decoration: none;
    letter-spacing: 0.04em; text-transform: uppercase;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--gold-light); }

  /* ======= HERO ======= */
  .hero {
    min-height: 90vh;
    background: linear-gradient(160deg, var(--navy) 55%, var(--navy-mid) 100%);
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    padding: 5rem 5rem 4rem;
    position: relative; overflow: hidden;
  }
.hero::before {
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-panel {
    position: relative;
    z-index: 2;
}
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(184,150,43,0.04) 60px,
      rgba(184,150,43,0.04) 61px
    );
  }

.hero-logo-bg {
    position: absolute;
    z-index: 1;
    /* Posición entre las dos columnas */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-logo-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-logo img{
	width:50px;
}

  .hero-cross {
    position: absolute; top: 3rem; right: 3.5rem;
    font-size: 72px; color: rgba(184,150,43,0.15);
    font-family: 'EB Garamond', serif; line-height: 1;
    user-select: none;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--gold-light); font-size: 11px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 1.25rem;
  }
  .hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
  .hero h1 {
    font-family: 'EB Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 500; color: var(--white);
    line-height: 1.18; margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }
  .hero h1 em { color: var(--gold-light); font-style: normal; }
  .hero-desc {
    font-size: 1rem; color: rgba(255,255,255,0.7);
    line-height: 1.75; max-width: 620px; margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold); color: #333; font-size: 13px; font-weight: 600;
    padding: 0.8rem 1.75rem; border-radius: var(--radius); text-decoration: none;
    letter-spacing: 0.03em; transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
  .btn-ghost {
    background: transparent; color: var(--white); font-size: 13px; font-weight: 500;
    padding: 0.8rem 1.75rem; border-radius: var(--radius); text-decoration: none;
    letter-spacing: 0.03em; border: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold-light); background: rgba(184,150,43,0.08); }
  .hero-image-panel {
    display: flex; align-items: center; justify-content: center; padding-left: 3rem;
  }
  .hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 360px; }
  .hero-stat-card {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg); padding: 1.25rem;
    display: flex; flex-direction: column; gap: 0.25rem;
  }
  .hero-stat-card.gold-card { background: rgba(184,150,43,0.15); border-color: rgba(184,150,43,0.3); }
  .stat-num { font-family: 'EB Garamond', serif; font-size: 2.2rem; font-weight: 500; color: var(--gold-light); line-height: 1; }
  .stat-label { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }
  .stat-desc { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
  .hero-badge {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .badge-icon { font-size: 1.5rem; }
  .badge-text { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.4; }
  .badge-text strong { color: var(--gold-light); font-weight: 500; }

  /* ======= ANNOUNCEMENT BAR ======= */
  .announcement {
    background: var(--gold-pale); border-bottom: 1px solid rgba(184,150,43,0.3);
    padding: 0.625rem 2.5rem;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    font-size: 13px; color: var(--text);
  }
  .announcement-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-sal); flex-shrink: 0; }
  .announcement a { color: var(--navy-mid); font-weight: 500; text-decoration: underline; }

  /* ======= SECTION GENERIC ======= */
  section { padding: 5rem 5rem; }
  .section-eyebrow {
    font-size: 11px; font-weight: 500; color: var(--gold);
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .section-eyebrow::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--gold); }
  .section-title {
    font-family: 'EB Garamond', serif; font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    font-weight: 500; color: var(--navy); line-height: 1.25; margin-bottom: 1rem;
  }
  .section-lead { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.8; margin-bottom: 3rem; }

  /* ======= PILLAR CARDS ======= */
  .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .pillar-card {
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 2rem 1.75rem;
    border-top: 3px solid var(--gold);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .pillar-card:hover { box-shadow: 0 8px 32px rgba(26,43,74,0.1); transform: translateY(-2px); }
  .pillar-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--gold-pale); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
  }
  .pillar-card h3 { font-family: 'EB Garamond', serif; font-size: 1.25rem; color: var(--navy); margin-bottom: 0.75rem; }
  .pillar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

  /* ======= VIDA ESCOLAR ======= */
  .vida-section { background: var(--cream); }
  .vida-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .vida-features { display: flex; flex-direction: column; gap: 1.5rem; }
  .vida-item { display: flex; gap: 1rem; }
  .vida-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
    margin-top: 6px; flex-shrink: 0;
  }
  .vida-item h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
  .vida-item p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
  .vida-image-block {
    background: var(--navy); border-radius: var(--radius-lg);
    overflow: hidden; min-height: 400px;
    display: flex; flex-direction: column;
  }
  .vida-image-placeholder {
    flex: 1; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'EB Garamond', serif; font-size: 1rem; color: rgba(255,255,255,0.4);
    font-style: italic; text-align: center; padding: 2rem; min-height: 280px;
  }
  .vida-caption {
    background: var(--gold); padding: 1rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .vida-caption span { font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: 0.03em; }

  /* ======= NOTICIAS ======= */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .news-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.2s;
  }
  .news-card:hover { box-shadow: 0 6px 24px rgba(26,43,74,0.1); }
  .news-img {
    height: 180px; background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: rgba(255,255,255,0.35); font-style: italic;
	  overflow: hidden; 
  position: relative;
  }
  .news-img.blue { background: linear-gradient(135deg, #1A2B4A, #2C4270); }
  .news-img.mid { background: linear-gradient(135deg, #8B1A1A, #B84040); }
  .news-img.dark { background: linear-gradient(135deg, #2C3E1A, #4A6030); }
  .news-body { padding: 1.25rem; }
  .news-tag {
    display: inline-block; background: var(--gold-pale); color: var(--gold);
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 2px; margin-bottom: 0.6rem;
  }
  .news-card h4 { font-family: 'EB Garamond', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
  .news-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
  .news-meta { font-size: 11px; color: var(--gray-500); }

  /* ======= QUOTE ======= */
  .quote-section {
    background: var(--navy);
    padding: 5rem;
    text-align: center;
  }
  .quote-cross { font-size: 2rem; color: var(--gold); margin-bottom: 1.5rem; }
  blockquote {
    font-family: 'EB Garamond', serif; font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 400; font-style: italic;
    color: rgba(255,255,255,0.92); line-height: 1.55;
    max-width: 700px; margin: 0 auto 1.5rem;
  }
  .quote-author { font-size: 12px; font-weight: 500; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; }

  /* ======= ADMISIONES ======= */
  .admision-section { background: var(--cream); }
  .admision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .steps { display: flex; flex-direction: column; gap: 0; }
  .step { display: flex; gap: 1.25rem; padding-bottom: 2rem; position: relative; }
  .step:not(:last-child)::before {
    content: ''; position: absolute; left: 18px; top: 36px;
    width: 1px; bottom: 0; background: var(--gray-300);
  }
  .step-num {
    width: 36px; height: 36px; border-radius: 50%; background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; color: var(--gold-light);
    flex-shrink: 0;
  }
  .step-content h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
  .step-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
  .admision-form-box {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100); border-top: 3px solid var(--gold);
    padding: 2rem;
  }
  .admision-form-box h3 { font-family: 'EB Garamond', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 1.25rem; }
  .form-group { margin-bottom: 1rem; }
  .form-group label { display: block; font-size: 12px; font-weight: 500; color: var(--gray-700); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.625rem 0.875rem; font-size: 14px; font-family: 'Inter', sans-serif;
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    background: var(--white); color: var(--text);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-submit {
    width: 100%; padding: 0.75rem; background: var(--navy);
    color: var(--white); font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
    border: none; border-radius: var(--radius); cursor: pointer;
    letter-spacing: 0.04em; text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }
  .form-submit:hover { background: var(--navy-mid); }
  .form-note { font-size: 11px; color: var(--gray-500); margin-top: 0.75rem; text-align: center; }

  /* ======= FOOTER ======= */
  footer {
    background: #6399AE; color: rgba(255,255,255,0.65);
    padding: 4rem 5rem 2rem;
  }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-brand { margin-bottom: 1rem; }
  .footer-logo-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; }
  .footer-logo { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'EB Garamond', serif; font-size: 16px; font-weight: 600; color: var(--navy); }
  .footer-name { font-size: 13px; font-weight: 600; color: var(--white); }
  .footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
  .footer-col h5 { font-size: 11px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
  .footer-col a:hover { color: var(--gold-light); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,0.4);
  }
  .footer-bottom a { color: var(--gold-light); text-decoration: none; }
  .don-bosco { color: var(--gold-light); font-family: 'EB Garamond', serif; font-style: italic; }

  /* ======= RESPONSIVE ======= */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    section { padding: 3.5rem 1.5rem; }
    .hero { grid-template-columns: 1fr; padding: 4rem 1.5rem 3rem; min-height: auto; }
    .hero-image-panel { padding-left: 0; padding-top: 2rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .vida-grid, .admision-grid { grid-template-columns: 1fr; gap: 2rem; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .quote-section { padding: 3.5rem 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    footer { padding: 3rem 1.5rem 1.5rem; }
  }



/* ==========================================
   INFORMACIÓN DEL CURSO
========================================== */

.curso-card { width: 100%; max-width: 900px; background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10); } .curso-header { background: #6399AE; color: white; text-align: center; padding: 35px 25px; border-radius: 10px;} .curso-header span { display: block; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; opacity: 0.9; } .curso-header h1 { font-size: 32px; line-height: 1.2; } .curso-content { padding: 40px; display: flex; align-items: center; gap: 45px; } .datos-curso { flex: 1; } .dato { margin-bottom: 25px; } .dato:last-child { margin-bottom: 0; } .dato-label { color: #78909c; font-size: 13px; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; margin-bottom: 6px; } .dato-valor { font-size: 20px; font-weight: 600; color: #263238; } .maestro { width: 220px; text-align: center; flex-shrink: 0; } .maestro img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 6px solid #e8f0f3; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); } .maestro-label { margin-top: 15px; color: #78909c; font-size: 13px; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; } .maestro-nombre { margin-top: 5px; font-size: 19px; font-weight: bold; color: #263238; } @media (max-width: 650px) { body { padding: 15px; } .curso-header { padding: 28px 20px; } .curso-header h1 { font-size: 25px; } .curso-content { padding: 30px 20px; flex-direction: column-reverse; gap: 30px; } .datos-curso { width: 100%; text-align: center; } .maestro { width: 100%; }}