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

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.site-header {
  background: #1e3060;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo img {
  height: 56px;
  width: auto;
  filter: brightness(1.35);
}

.header-contact {
  text-align: right;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.7;
}

.header-contact a {
  color: #a8c8e8;
}

.header-contact .phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ─── NAV ─── */
nav {
  background: #6b9fd4;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}

nav a {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 18px;
  display: block;
  transition: background 0.2s;
}

nav a:hover,
nav a.active {
  background: rgba(255,255,255,0.2);
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, #1e3060 0%, #2a4a8a 50%, #1e3060 100%);
  color: #fff;
  text-align: center;
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><path d="M0 30 Q15 0 30 30 Q45 60 60 30" stroke="rgba(255,255,255,0.04)" stroke-width="1" fill="none"/></svg>');
  opacity: 0.5;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/capitol.jpg') center 30%/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.05rem;
  margin-top: 12px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

/* ─── HOME HERO ─── */
.home-hero {
  background: linear-gradient(rgba(20,35,75,0.40), rgba(20,35,75,0.40)),
              url('/capitol.jpg') center 30%/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: url('/logo.png') center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.home-hero-inner h1 {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.home-hero-inner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #6b9fd4;
  color: #fff;
}

.btn-primary:hover {
  background: #5589be;
}

.btn-gold {
  background: #c5a028;
  color: #1e3060;
}

.btn-gold:hover {
  background: #b08f20;
}

.btn-navy {
  background: #1e3060;
  color: #fff;
}

.btn-navy:hover {
  background: #162348;
}

/* ─── SECTIONS ─── */
.section {
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-full {
  padding: 70px 40px;
}

.section-gray {
  background: #f4f6f9;
}

.section-navy {
  background: #1e3060;
  color: #fff;
}

.section h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: #1e3060;
  margin-bottom: 20px;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.section-navy p {
  color: rgba(255,255,255,0.85);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c5a028;
  margin-bottom: 10px;
}

/* ─── HOME ABOUT BAND ─── */
.home-about {
  background: #1e3060;
  color: #fff;
  text-align: center;
  padding: 70px 40px;
}

.home-about h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}

.home-about .tagline {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: #a8c8e8;
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.home-about p {
  max-width: 820px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.8;
}

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border: 1px solid #e0e8f0;
  border-top: 4px solid #c5a028;
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(30,48,96,0.12);
  transform: translateY(-2px);
}

.service-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: #1e3060;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ─── WHY US PILLARS ─── */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.pillar {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid #e0e8f0;
  align-items: flex-start;
}

.pillar:last-child {
  border-bottom: none;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: #c5a028;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1e3060;
  font-size: 1.2rem;
}

.pillar-body h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: #1e3060;
  margin-bottom: 10px;
  font-weight: 700;
}

.pillar-body p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* ─── RESOURCES ─── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.resource-group h3 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #1e3060;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c5a028;
}

/* ─── SE HABLA ESPAÑOL BADGE ─── */
.nav-espanol {
  margin-left: auto;
  background: #c5a028 !important;
  color: #1e3060 !important;
  font-style: italic;
  font-weight: 700 !important;
  border-radius: 3px;
  padding: 6px 14px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.3px !important;
  align-self: center;
}

.nav-espanol:hover {
  background: #b08f20 !important;
}

/* ─── FOOTER LEGAL ─── */
.footer-legal {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

.resource-group ul {
  list-style: none;
  padding: 0;
}

.resource-group ul li {
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.resource-group ul li a {
  color: #1e3060;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.resource-group ul li a:hover {
  color: #6b9fd4;
}

/* ─── SESSION CALENDAR GRID ─── */
.session-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.month-cal {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e8f0;
  overflow: hidden;
}

.month-cal h4 {
  background: #1e3060;
  color: #fff;
  padding: 8px 12px;
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.month-cal .days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #999;
  padding: 8px 6px 2px;
  letter-spacing: 0.5px;
}

.month-cal .days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 2px 6px 10px;
  gap: 2px;
}

.month-cal .day {
  font-size: 0.72rem;
  padding: 4px 0;
  border-radius: 3px;
  color: #bbb;
}

.month-cal .day.session {
  background: #1e3060;
  color: #fff;
  font-weight: 700;
}

.month-cal .day.key-date {
  background: #c5a028;
  color: #1e3060;
  font-weight: 700;
}

/* ─── CALENDAR TABLE ─── */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9rem;
}

.calendar-table th {
  background: #1e3060;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.calendar-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #e8eef5;
  color: #444;
}

.calendar-table tr:nth-child(even) td {
  background: #f4f6f9;
}

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  color: #1e3060;
  margin-bottom: 20px;
}

.contact-info p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
}

.contact-detail .label {
  font-weight: 600;
  color: #1e3060;
  min-width: 60px;
}

.contact-form {
  background: #f4f6f9;
  padding: 40px;
  border-radius: 8px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3060;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d0d8e8;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b9fd4;
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

/* ─── FOOTER ─── */
footer {
  background: #1e3060;
  color: rgba(255,255,255,0.8);
  padding: 50px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  font-family: 'Lora', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255,255,255,0.7);
  display: block;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .site-header { padding: 14px 20px; flex-wrap: wrap; }
  nav { padding: 0 10px; flex-wrap: wrap; }
  nav a { padding: 10px 12px; font-size: 0.8rem; }
  .page-hero { padding: 50px 20px; }
  .page-hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 20px; }
  .section-full { padding: 50px 20px; }
  .home-hero { padding: 50px 20px; min-height: 300px; }
  .home-hero-inner h1 { font-size: 2rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 24px; }
}
