/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #212225;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ===== BRAND FONTS & COLORS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400|Roboto:400,500,700&display=swap');
:root {
  --color-primary: #22406D;
  --color-secondary: #159C81;
  --color-accent: #F3EBE2;
  --color-premium-bg: #f9f9fa;
  --color-premium-bg-dark: #212225;
  --color-premium-gold: #bfa056;
  --color-premium-gold-light: #E9D8A6;
  --color-premium-shadow: rgba(34, 64, 109, 0.08);
  --color-border: #e4e6eb;
  --color-heading: #202222;
  --color-link: #22406D;
  --color-body: #363636;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===== TYPOGRAPHY SCALE & REFINEMENT ===== */
body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-premium-bg);
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}

/* ===== CONTAINERS & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px var(--color-premium-shadow);
  position: relative;
  transition: box-shadow 0.2s;
}

@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 32px 8px;
  }
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 0;
    max-width: 99%;
  }
}

/* ===== FLEXBOX UTILITY PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-premium-shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(191,160,86,0.09);
  transform: translateY(-4px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #f6f7fa;
  box-shadow: 0 2px 8px rgba(34, 64, 109, 0.04);
  border-left: 5px solid var(--color-premium-gold);
  font-family: var(--font-body);
  color: #2d2f33;
  position: relative;
}
.testimonial-card p {
  color: #222321;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 500;
}
.testimonial-card div {
  color: #544131;
  font-weight: 500;
  font-size: 0.97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HEADER NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px var(--color-premium-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  min-height: 75px;
  justify-content: space-between;
  gap: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 8px 13px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover:not(.cta-primary), header nav a:focus:not(.cta-primary) {
  background: var(--color-accent);
  color: var(--color-premium-gold);
}
header nav .cta-primary {
  background: var(--color-premium-gold);
  color: #222;
  padding: 8px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(191, 160, 86, 0.10);
  margin-left: 15px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
  letter-spacing: 0.01em;
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: var(--color-premium-gold-light);
  color: var(--color-primary);
  box-shadow: 0 6px 22px rgba(191,160,86,0.15);
}

/* Logo spacing */
header img[alt="Inglés Esencial Online"] {
  height: 38px;
  width: auto;
  margin-right: 18px;
}

/* ===== MOBILE NAV BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-primary);
    background: #fff;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-premium-gold-light);
    transition: background 0.15s, color 0.15s;
    margin-left: auto;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: var(--color-premium-gold-light);
    color: var(--color-premium-bg-dark);
  }
}

/* ===== MOBILE MENU OVERLAY & NAV ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 40, 45, 0.92);
  z-index: 1200;
  display: none;
  flex-direction: column;
  padding: 0;
  transition: opacity 0.27s, visibility 0.25s;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  visibility: visible;
  animation: mobile-slide-in 0.44s cubic-bezier(.63,.25,.34,.81) 1 both;
}
@keyframes mobile-slide-in {
  from { transform: translateX(-50vw) scale(0.98); opacity: 0.3; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  z-index: 1215;
  cursor: pointer;
  padding: 7px;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-premium-gold);
  color: #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
  align-items: flex-start;
  margin: 80px 0 0 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  padding: 10px 0 8px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.16s, border-color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-premium-gold);
  border-bottom: 2px solid var(--color-premium-gold);
}

@media (max-width: 600px) {
  .mobile-nav {
    margin-left: 20px;
    gap: 17px;
  }
  .mobile-menu-close {
    top: 16px;
    right: 12px;
  }
}

/* Show hamburger only on mobile */
@media (max-width: 950px) {
  .mobile-menu {
    display: none;
  }
}

/* ===== BUTTONS (PRIMARY/SECONDARY) ===== */
.cta-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  padding: 12px 34px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,64,109,0.07);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-top: 16px;
  outline: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-premium-gold);
  color: var(--color-primary);
  box-shadow: 0 6px 22px rgba(191,160,86,0.11);
}
.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-premium-gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  border-radius: 14px;
  padding: 11px 32px;
  margin-top: 16px;
  letter-spacing: 0.01em;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-premium-gold-light);
  color: var(--color-primary);
  border-color: var(--color-premium-gold-light);
}

/* ===== CARDS (Courses, Blog Articles, Features) ===== */
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.course-list > div {
  background: var(--color-accent);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 2px 12px rgba(34,64,109,0.07);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.17s;
  border-left: 4px solid var(--color-premium-gold);
}
.course-list > div:hover {
  box-shadow: 0 6px 28px rgba(191,160,86,0.13);
  transform: translateY(-3px) scale(1.011);
}
.course-list h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
  color: var(--color-primary);
}
.course-list p {
  color: var(--color-body);
}
.course-list span {
  color: var(--color-premium-gold);
  font-weight: 700;
  font-size: 1.03rem;
  margin-top: 6px;
}

/* ======= Table (price table, details) ======= */
.price-table {
  margin: 34px 0 0 0;
}
.price-table h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 600;
}
.price-table table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-premium-shadow);
  border-collapse: collapse;
  overflow: hidden;
}
.price-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-border);
  color: #57575e;
  font-size: 1rem;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table td:last-child {
  color: var(--color-premium-gold);
  font-weight: 600;
}

/* ===== BLOG PREVIEW CARDS ===== */
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-preview article {
  background: var(--color-accent);
  border-radius: 16px;
  padding: 20px 18px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 300px;
  transition: box-shadow 0.19s, transform 0.14s;
  box-shadow: 0 2px 10px rgba(34,64,109,.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-preview article:hover {
  box-shadow: 0 8px 26px rgba(191,160,86,0.14);
  transform: scale(1.016) translateY(-2px);
}
.blog-preview h2 {
  font-size: 1.06rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}
.blog-preview p {
  color: var(--color-body);
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.blog-preview a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.97rem;
  margin-top: auto;
  border-bottom: 1px solid var(--color-premium-gold);
  transition: color 0.14s, border-color 0.14s;
}
.blog-preview a:hover, .blog-preview a:focus {
  color: var(--color-premium-gold);
  border-bottom-color: var(--color-primary);
}

.blog-tags {
  font-size: 0.98rem;
  color: #5a5c61;
  margin-bottom: 18px;
}
.featured-post {
  background: #fff9ef;
  border-left: 4px solid var(--color-premium-gold-light);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 1rem;
}
.featured-post h3 {
  color: var(--color-premium-gold);
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.01rem;
}
.featured-post a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== GENERAL STYLED LISTS ===== */
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--color-premium-gold);
  border-radius: 50%;
  opacity: 0.70;
}
ul {
  margin-bottom: 12px;
}
@media (max-width: 470px) {
  ul li {
    font-size: 0.99rem;
    padding-left: 16px;
  }
  ul li:before { top: 6px; width: 8px; height: 8px; }
}

/* ====== INFO BOXES (e.g. alerts, featured) ====== */
.info-box {
  background: #f8fcef;
  border-left: 3px solid var(--color-secondary);
  border-radius: 10px;
  padding: 16px 20px;
  color: #39615e;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ====== FOOTER STYLES ====== */
footer {
  background: #23262d;
  padding: 54px 0 30px 0;
  color: #fff;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
}
.footer-branding img {
  height: 34px;
  margin-bottom: 16px;
  filter: brightness(1.2) contrast(1.13);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.90;
  font-family: var(--font-display);
  border-radius: 6px;
  padding: 4px 8px;
  transition: color 0.15s, background 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-premium-gold);
  background: rgba(251, 246, 217, 0.07);
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  line-height: 1.5;
  color: #ececec;
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.footer-social img {
  height: 32px;
  width: 32px;
  display: inline-block;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-left: 20px;
  }
  .footer-social {
    margin-bottom: 8px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-premium-gold);
  box-shadow: 0 -3px 14px rgba(34,64,109,0.10);
  z-index: 2350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  gap: 24px;
  font-size: 1rem;
  font-family: var(--font-display);
  animation: cookie-slide-in 0.7s cubic-bezier(.71,.23,.26,.74) 1 both;
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#cookie-banner p {
  color: var(--color-primary);
  flex: 1 1 60%;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-btn-secondary {
  min-width: 110px;
  font-family: var(--font-display);
  border-radius: 11px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  border: none;
  margin-left: 0;
}
.cookie-btn {
  background: var(--color-premium-gold);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(191,160,86,0.10);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-premium-gold-light);
  color: var(--color-primary);
}
.cookie-btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-premium-gold-light);
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--color-premium-gold-light);
  color: #222;
}
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  #cookie-banner .cookie-actions {
    gap: 10px;
  }
}

/* ===== COOKIE MODAL PREFERENCES ===== */
#cookie-modal {
  display: none;
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 62%);
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 24px 20px 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 26px rgba(34,64,109,0.24);
  z-index: 2530;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  animation: cookie-modal-in 0.4s cubic-bezier(.85,.05,.32,.92) 1 both;
}
@keyframes cookie-modal-in {
  from { transform: translate(-50%, 100%) scale(0.98); opacity: 0.34; }
  to   { transform: translate(-50%, 62%) scale(1); opacity: 1; }
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.16rem;
}
.cookie-modal-category {
  padding: 10px 0 8px 0;
  border-bottom: 1px solid var(--color-premium-gold-light);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  margin-left: auto;
}
.cookie-switch input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--color-premium-gold);
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
#cookie-modal .cookie-btn {
  min-width: 90px;
  border-radius: 10px;
  font-size: 0.98rem;
  padding: 8px 18px;
}

/* Cookie modal close X button */
#cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.55rem;
  color: var(--color-premium-gold);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 7px;
  transition: background 0.14s;
}
#cookie-modal-close:hover, #cookie-modal-close:focus {
  background: var(--color-premium-gold-light);
  color: var(--color-primary);
}

@media (max-width: 420px) {
  #cookie-modal {
    padding: 24px 4vw 10px 4vw;
    font-size: .97rem;
  }
}

/* ===== ACCESSIBILITY & UTILITIES ===== */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

::-webkit-input-placeholder {color: #bfa05688;}
::-moz-placeholder          {color: #bfa05688;}
:-ms-input-placeholder      {color: #bfa05688;}
::placeholder              {color: #bfa05688;}

/* ===== FORM ELEMENTS ===== */
input[type="text"], input[type="email"], textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-premium-gold-light);
  background: #fff;
  padding: 12px 13px;
  border-radius: 10px;
  margin-bottom: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--color-premium-gold);
  box-shadow: 0 1px 8px rgba(191,160,86,0.08);
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 5px;
  display: block;
}

/* ===== SPACING, SHADOWS, UTILITIES ===== */
.mt-32 { margin-top: 32px; }
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-12 { padding-bottom: 12px; }
.rounded-16 { border-radius: 16px; }
.shadow-1 { box-shadow: 0 2px 10px rgba(34,64,109,0.09); }
.gap-16 { gap: 16px; }

/* ====== RESPONSIVE ADJUSTMENTS ======= */
@media (max-width: 750px) {
  .container, .content-wrapper {
    padding: 0 2vw;
  }
  .section {
    margin-bottom: 32px;
    padding: 22px 4vw;
  }
  footer .container {
    padding-left: 4vw;
  }
  .course-list, .blog-preview, .card-container {
    gap: 13px;
  }
}
@media (max-width: 630px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.04rem; }
  .section { padding: 14px 2vw; margin-bottom: 20px; }
  .card, .course-list > div, .blog-preview article {
    min-width: 90vw;
    max-width: 99vw;
    padding: 18px 10px;
  }
}

/* ===== LUXURY GOLD ORNAMENTS (For headings, accents) ===== */
h1, h2, h3, h4, h5 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg,#BFA056 20%,#f4e6c6 80%);
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 3px;
}
h2:after { width: 24px; height: 2px; }

/* Remove accent if already tight on space */
@media (max-width: 490px) {
  h1:after, h2:after { display: none; }
}

/* ===== ERROR/SUCCESS ALERTS ===== */
.alert {
  padding: 18px 22px;
  background: #ffe9c5;
  border-left: 5px solid var(--color-premium-gold);
  color: #795100;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.success {
  background: #eaffd7;
  color: #267506;
  border-left-color: #5fbf1a;
}

/* ========= FOCUS VISIBLE ======= */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, input:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ======= PRINT, NO GRID EVER ======= */
@media print { 
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu { display: none !important; }
  .section, .card, .course-list > div, .blog-preview article { box-shadow: none !important; border: 1px solid #aaa !important; }
}
