/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Real, saturated accent colors — used SUBTLY (icons, small details) */
  --orange: #FD9800;
  --orange-dark: #E08000;
  --green: #2EA058;
  --green-dark: #228043;
  --blue: #2D7FD9;
  --blue-dark: #1E62B0;
  --yellow: #F4B324;
  --yellow-dark: #C99313;

  /* Pastel versions — used as soft backgrounds for category cards */
  --orange-pastel: #FFE2BD;
  --green-pastel: #CDE9D6;
  --blue-pastel: #CFE0F4;
  --yellow-pastel: #F9E4B0;

  /* Cream — the MAIN background color */
  --cream: #FFFCF4;
  --cream-deep: #FDF6E4;
  --cream-soft: #FFFEFA;

  --navy: #1F2A3A;
  --slate: #4A5568;
  --white: #FFFFFF;
  --black: #141006;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(31, 42, 58, 0.05);
  --shadow-md: 0 12px 32px rgba(31, 42, 58, 0.08);
  --shadow-lg: 0 24px 64px rgba(31, 42, 58, 0.12);

  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 42, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(31, 42, 58, 0.25);
}

.logo-text em { color: var(--slate); font-weight: 400; font-style: normal; font-size: 0.95rem; margin-left: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}

.main-nav > a, .nav-dropdown > a {
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}

.main-nav > a.active::after,
.main-nav > a:hover::after,
.nav-dropdown:hover > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.main-nav > a:hover, .nav-dropdown:hover > a { color: var(--orange-dark); }

.nav-dropdown { position: relative; }
.nav-dropdown > a i { font-size: 0.7rem; margin-left: 4px; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--navy);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--orange-dark); }
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-btn {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.account-btn:hover { background: var(--navy); color: var(--white); }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 152, 0, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content h1 {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 40px;
  max-width: 520px;
}

.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--orange); font-size: 1.5rem; margin-left: 4px; }
.stat-label {
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 480px;
}

/* The "travel bubble" — matte, soft pastel coral/peach. No shine, no metallic. */
.hero-blob {
  position: absolute;
  inset: 30px;
  background: linear-gradient(135deg, var(--orange-pastel) 0%, #FFCB8E 60%, var(--orange) 100%);
  border-radius: 42% 58% 58% 42% / 50% 42% 58% 50%;
  animation: blob 14s ease-in-out infinite;
}

@keyframes blob {
  0%, 100% { border-radius: 42% 58% 58% 42% / 50% 42% 58% 50%; }
  33% { border-radius: 58% 42% 50% 50% / 42% 58% 42% 58%; }
  66% { border-radius: 50% 50% 42% 58% / 58% 42% 58% 42%; }
}

.hero-card {
  position: absolute;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.25s, background 0.25s;
}
.hero-card:hover {
  animation-play-state: paused;
  box-shadow: var(--shadow-lg);
  background: var(--cream-soft, #FFFEFA);
}
.hero-card i { font-size: 1.3rem; transition: transform 0.25s; }
.hero-card:hover i { transform: scale(1.15); }

/* Each floating card has its own bold accent icon — subtle pop of color */
.hero-card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.hero-card-1 i { color: var(--orange); }

.hero-card-2 { top: 20%; right: -5%; animation-delay: 1.5s; }
.hero-card-2 i { color: var(--blue); }

.hero-card-3 { bottom: 25%; left: 0%; animation-delay: 3s; }
.hero-card-3 i { color: var(--green); }

.hero-card-4 { bottom: 8%; right: 5%; animation-delay: 4.5s; }
.hero-card-4 i { color: var(--yellow-dark); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 80px 0;
  background: var(--cream);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Per-category: pastel background + saturated (normal) color icon */
.cat-card:nth-child(1) { background: var(--orange-pastel); }   /* Money tips — orange */
.cat-card:nth-child(2) { background: var(--blue-pastel); }     /* Students — blue */
.cat-card:nth-child(3) { background: var(--green-pastel); }    /* Travel — green */
.cat-card:nth-child(4) { background: var(--yellow-pastel); }   /* Teenagers — yellow */

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}
/* Normal/saturated version of each color for the icon */
.cat-card:nth-child(1) .cat-icon { color: var(--orange); }
.cat-card:nth-child(2) .cat-icon { color: var(--blue); }
.cat-card:nth-child(3) .cat-icon { color: var(--green); }
.cat-card:nth-child(4) .cat-icon { color: var(--yellow-dark); }

.cat-card:hover .cat-icon {
  transform: rotate(-6deg);
}
.cat-card:nth-child(1):hover .cat-icon { background: var(--orange); color: var(--white); }
.cat-card:nth-child(2):hover .cat-icon { background: var(--blue); color: var(--white); }
.cat-card:nth-child(3):hover .cat-icon { background: var(--green); color: var(--white); }
.cat-card:nth-child(4):hover .cat-icon { background: var(--yellow); color: var(--white); }

.cat-card h3 { color: var(--navy); margin-bottom: 6px; }
.cat-card p { font-size: 0.9rem; color: var(--slate); }

/* ===== SECTION HEAD ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== LATEST BLOGS ===== */
.latest {
  padding: 100px 0;
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(31, 42, 58, 0.06);
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
/* Make the whole card act as a click-target for its "Read more" link */
.blog-card .read-more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Keep other buttons (e.g. remove-from-favorites) clickable on top of the overlay */
.blog-card [data-fav-remove],
.blog-card .post-favorite {
  position: relative;
  z-index: 2;
}

.blog-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
/* Each blog image takes the pastel + accent of its tag's color */
.blog-img-1 { background: linear-gradient(135deg, var(--orange-pastel), var(--orange)); }   /* Money — orange */
.blog-img-2 { background: linear-gradient(135deg, var(--green-pastel), var(--green)); }     /* Travel — green */
.blog-img-3 { background: linear-gradient(135deg, var(--blue-pastel), var(--blue)); }       /* Students — blue */

.blog-tag {
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.blog-body { padding: 24px; }
.blog-meta {
  font-size: 0.8rem;
  color: var(--slate);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.blog-body h3 { margin-bottom: 10px; line-height: 1.3; }
.blog-body p { color: var(--slate); font-size: 0.95rem; margin-bottom: 16px; }

.read-more {
  color: var(--orange-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.read-more:hover { gap: 12px; }

/* ===== RESOURCES ===== */
.resources {
  padding: 60px 0 100px;
  background: var(--cream);
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 152, 0, 0.18), transparent 70%);
  transition: all 0.5s;
}
/* Second resource card gets a blue glow for variety */
.resource-card.resource-ps::before {
  background: radial-gradient(circle, rgba(45, 127, 217, 0.20), transparent 70%);
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.resource-card:hover::before { right: 0; }

.resource-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--orange);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.resource-card.resource-ps .resource-icon { color: var(--blue); }

.resource-card h3 { color: var(--white); margin-bottom: 4px; }
.resource-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.resource-card > div:nth-child(2) { flex: 1; position: relative; z-index: 1; }

.resource-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.resource-card.resource-ps .resource-arrow { background: var(--blue); }
.resource-card:hover .resource-arrow { transform: rotate(-45deg); }

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--cream-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid > div:first-child h2 { margin-bottom: 20px; }
.about-grid > div:first-child p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 540px;
}

.about-visual {
  position: relative;
  height: 400px;
  display: grid;
  place-items: center;
}
.about-logo-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 16 / 10;
  border-radius: 32px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 70px rgba(31, 42, 58, 0.22);
}
.about-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}
.contact-head {
  text-align: center;
  margin-bottom: 48px;
}
.contact-head h2 { max-width: 700px; margin: 0 auto; }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 42, 58, 0.06);
}

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

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #eaddc1;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream-soft);
  color: var(--navy);
  transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(253, 152, 0, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--orange-dark);
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--cream-deep);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s;
  border-top: 3px solid transparent;
}
/* Each testimonial has a small bold accent stripe — orange / green / blue */
.testimonial:nth-child(1) { border-top-color: var(--orange); }
.testimonial:nth-child(2) { border-top-color: var(--green); }
.testimonial:nth-child(3) { border-top-color: var(--blue); }

.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.quote {
  font-size: 1.5rem;
  margin-bottom: 16px;
  opacity: 0.7;
}
.testimonial:nth-child(1) .quote { color: var(--orange); }
.testimonial:nth-child(2) .quote { color: var(--green); }
.testimonial:nth-child(3) .quote { color: var(--blue); }

.testimonial p {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.avatar-1 { background: var(--orange); }
.avatar-2 { background: var(--green); }
.avatar-3 { background: var(--blue); }

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--slate);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(253, 152, 0, 0.10), transparent 65%);
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 127, 217, 0.10), transparent 65%);
  pointer-events: none;
}

.footer-cta {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.footer-cta h2 {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ===== MAILERLITE FORM (footer newsletter) ===== */
/* All overrides scoped to the footer so they don't bleed into other forms.
   Aggressive `!important` everywhere because MailerLite injects inline styles. */

.footer-cta .ml-embedded {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

/* Strip ALL container styling (background, padding, borders) */
.footer-cta .ml-embedded,
.footer-cta .ml-embedded *,
.footer-cta .ml-embedded .ml-form-embedContainer,
.footer-cta .ml-embedded .ml-form-align-center,
.footer-cta .ml-embedded .ml-form-embedWrapper,
.footer-cta .ml-embedded .ml-form-embedBody,
.footer-cta .ml-embedded .ml-form-embedContent,
.footer-cta .ml-embedded .ml-form-formContent,
.footer-cta .ml-embedded .ml-form-horizontalRow,
.footer-cta .ml-embedded .ml-input-horizontal,
.footer-cta .ml-embedded .horizontal-fields,
.footer-cta .ml-embedded form,
.footer-cta .ml-embedded .ml-block-form {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
}

.footer-cta .ml-embedded .ml-form-embedContainer,
.footer-cta .ml-embedded .ml-form-align-center,
.footer-cta .ml-embedded .ml-form-embedWrapper,
.footer-cta .ml-embedded .ml-form-embedBody,
.footer-cta .ml-embedded .ml-form-embedContent {
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Hide MailerLite's own header text + redundant subtitle ("Signup for news...") */
.footer-cta .ml-embedded .ml-form-embedHeader,
.footer-cta .ml-embedded .ml-form-embedContent > h4,
.footer-cta .ml-embedded .ml-form-embedContent > p,
.footer-cta .ml-embedded .ml-form-embedBody > .ml-form-embedContent {
  display: none !important;
}

/* Email + text inputs */
.footer-cta .ml-embedded input[type="email"],
.footer-cta .ml-embedded input[type="text"] {
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  padding: 13px 18px !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  width: 100% !important;
  height: auto !important;
  min-height: 46px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.footer-cta .ml-embedded input[type="email"]:focus,
.footer-cta .ml-embedded input[type="text"]:focus {
  border-color: var(--orange) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
.footer-cta .ml-embedded input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-cta .ml-embedded .ml-form-fieldRow,
.footer-cta .ml-embedded .ml-field-group {
  margin-bottom: 14px !important;
  padding: 0 !important;
}

/* === SUBMIT BUTTON ===
   MailerLite wraps the button in `.ml-form-embedSubmit` and the button has
   class `.primary`. We strip the wrapper completely and force the button. */
.footer-cta .ml-embedded .ml-form-embedSubmit,
.footer-cta .ml-embedded .ml-button-horizontal {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
}

.footer-cta .ml-embedded button,
.footer-cta .ml-embedded button[type="submit"],
.footer-cta .ml-embedded button.primary,
.footer-cta .ml-embedded .ml-form-embedSubmit button,
.footer-cta .ml-embedded .ml-button-horizontal button {
  background: var(--orange) !important;
  background-color: var(--orange) !important;
  background-image: none !important;
  color: var(--white) !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(253, 152, 0, 0.25) !important;
  transition: background 0.2s, transform 0.2s !important;
}
.footer-cta .ml-embedded button:hover,
.footer-cta .ml-embedded button[type="submit"]:hover,
.footer-cta .ml-embedded button.primary:hover {
  background: var(--orange-dark) !important;
  background-color: var(--orange-dark) !important;
  transform: translateY(-1px) !important;
}

/* Hide the duplicate "loading" button MailerLite renders next to the real one */
.footer-cta .ml-embedded button.loading,
.footer-cta .ml-embedded .ml-form-embedSubmit button.loading {
  display: none !important;
}

/* === INTEREST GROUPS ===
   MailerLite renders these as labels with a `.label-description` div inside.
   We force everything white. */
.footer-cta .ml-embedded .ml-form-interestGroupsRow {
  margin: 6px 0 16px 0 !important;
  padding: 0 !important;
}

.footer-cta .ml-embedded .ml-form-interestGroupsRow > label,
.footer-cta .ml-embedded .ml-form-interestGroupsLabel {
  display: block !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

.footer-cta .ml-embedded .ml-form-interestGroup {
  display: block !important;
  margin: 0 0 4px 0 !important;
}

.footer-cta .ml-embedded .ml-form-interestGroup label.checkbox,
.footer-cta .ml-embedded .ml-form-interestGroup > label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.footer-cta .ml-embedded .ml-form-interestGroup .label-description,
.footer-cta .ml-embedded .label-description,
.footer-cta .ml-embedded .ml-form-interestGroup span {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-cta .ml-embedded input[type="checkbox"] {
  accent-color: var(--orange) !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

/* === reCAPTCHA ===
   Hide the reCAPTCHA widget visually for now — it errors on local/file:// and
   can be properly configured (or disabled) in the MailerLite form settings. */
.footer-cta .ml-embedded .ml-form-recaptcha,
.footer-cta .ml-embedded .g-recaptcha,
.footer-cta .ml-embedded [data-sitekey] {
  display: none !important;
}

/* GDPR / consent text */
.footer-cta .ml-embedded .ml-form-embedPermissions,
.footer-cta .ml-embedded .ml-form-embedPermissions p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  margin-top: 14px !important;
  line-height: 1.5 !important;
  background: transparent !important;
}

/* Success message after subscribing */
.footer-cta .ml-embedded .ml-form-successContent,
.footer-cta .ml-embedded .ml-form-successBody {
  background: rgba(253, 152, 0, 0.10) !important;
  border: 1px solid rgba(253, 152, 0, 0.3) !important;
  border-radius: 12px !important;
  padding: 22px !important;
  text-align: center !important;
}
.footer-cta .ml-embedded .ml-form-successContent h4 {
  display: block !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  margin-bottom: 8px !important;
}
.footer-cta .ml-embedded .ml-form-successContent p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-body) !important;
}

/* Error message */
.footer-cta .ml-embedded .ml-form-fieldRow.ml-error input {
  border-color: #E84A4A !important;
}
.footer-cta .ml-embedded .ml-error-msg {
  color: #FFB3B3 !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  margin-top: 6px !important;
}

/* Legacy fallback for old form (in case it's used elsewhere) */
.newsletter {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter button:hover { background: var(--orange-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.logo-footer { color: var(--white); }
.logo-footer .logo-text { color: var(--white); }
.logo-footer .logo-mark {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.2s;
}
.socials a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* ===== SEARCH BAR (header) ===== */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  width: 40px;
  transition: width 0.35s ease;
  margin-right: 16px;
}
.search-box:hover,
.search-box:focus-within {
  width: 240px;
}
.search-input {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 100%;
  padding: 0 50px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 58, 0.12);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease 0.05s;
}
.search-box:hover .search-input,
.search-box:focus-within .search-input {
  opacity: 1;
  pointer-events: auto;
}
.search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(253, 152, 0, 0.15);
}
.search-input::placeholder { color: var(--slate); }

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(31, 42, 58, 0.15);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all 0.25s;
  font-size: 0.9rem;
}
.search-box:hover .search-btn,
.search-box:focus-within .search-btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ===== NO RESULTS OVERLAY ===== */
.no-results-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 58, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 20px;
}
.no-results-overlay.open {
  opacity: 1;
  visibility: visible;
}
.no-results-card {
  background: var(--cream);
  padding: 56px 44px 44px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.no-results-overlay.open .no-results-card { transform: translateY(0); }
.no-results-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}
.no-results-close:hover { background: rgba(31, 42, 58, 0.08); color: var(--orange-dark); }

.no-results-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--orange-pastel);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 22px;
}
.no-results-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.no-results-query {
  color: var(--orange-dark);
  font-style: italic;
  font-weight: 600;
}
.no-results-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.no-results-suggestions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.no-results-suggestion {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(31, 42, 58, 0.08);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}
.no-results-suggestion:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ===== BLOG POST PAGE ===== */
.post-hero {
  padding: 60px 0 30px;
  background: var(--cream);
}
.post-hero .container { max-width: 780px; }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: gap 0.2s, color 0.2s;
}
.post-back:hover { gap: 12px; color: var(--orange-dark); }

.post-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.post-tag.money    { background: var(--orange-pastel); color: var(--orange-dark); }
.post-tag.travel   { background: var(--green-pastel);  color: var(--green-dark); }
.post-tag.students { background: var(--blue-pastel);   color: var(--blue-dark); }

.post-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.post-meta-row {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--slate);
  flex-wrap: wrap;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--navy);
}
.post-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
}

.post-cover {
  height: 340px;
  border-radius: var(--radius-lg);
  margin: 36px 0 0;
}
.post-cover.cover-money    { background: linear-gradient(135deg, var(--orange-pastel), var(--orange)); }
.post-cover.cover-travel   { background: linear-gradient(135deg, var(--green-pastel),  var(--green)); }
.post-cover.cover-students { background: linear-gradient(135deg, var(--blue-pastel),   var(--blue)); }

.post-body {
  padding: 50px 0 100px;
  background: var(--cream);
}
.post-body .container { max-width: 720px; }
.post-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 22px;
  color: var(--slate);
}
.post-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 16px;
  color: var(--navy);
}
.post-body h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--navy);
}
.post-body ul, .post-body ol {
  margin: 0 0 22px 22px;
}
.post-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: var(--slate);
}
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body em {
  color: var(--orange-dark);
  font-style: italic;
  font-weight: 500;
}
.post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 22px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
}

.post-footer-cta {
  margin-top: 50px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 42, 58, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.post-footer-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate);
}
.post-footer-cta strong { color: var(--navy); }

@media (max-width: 640px) {
  .post-cover { height: 220px; }
  .post-body p { font-size: 1rem; }
  .post-body { padding: 40px 0 80px; }
}

/* ===== AUTH MODAL & ACCOUNT ===== */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 58, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 20px;
}
.auth-modal.open { opacity: 1; visibility: visible; }

.auth-card {
  background: var(--cream);
  padding: 44px 40px 36px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.auth-modal.open .auth-card { transform: translateY(0); }

.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}
.auth-close:hover { background: rgba(31, 42, 58, 0.08); color: var(--orange-dark); }

.auth-tabs {
  display: flex;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 26px;
  border: 1px solid rgba(31, 42, 58, 0.06);
}
.auth-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.25s;
}
.auth-tab.active {
  background: var(--navy);
  color: var(--white);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 22px;
}

.auth-field { margin-bottom: 14px; }
.auth-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.82rem;
}
.auth-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(31, 42, 58, 0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--navy);
  transition: all 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(253, 152, 0, 0.15);
}

.auth-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
}
.auth-submit:hover { background: var(--orange); }

.auth-error {
  background: rgba(232, 74, 74, 0.08);
  color: #C73B3B;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  border: 1px solid rgba(232, 74, 74, 0.18);
}
.auth-error:empty { display: none; }

.auth-success {
  background: rgba(46, 160, 88, 0.10);
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  border: 1px solid rgba(46, 160, 88, 0.20);
}
.auth-success:empty { display: none; }

.auth-note {
  font-size: 0.78rem;
  color: var(--slate);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* Account dropdown in header (when logged in) */
.account-wrap { position: relative; }
.account-btn-logged {
  background: var(--cream);
  border: 1px solid rgba(31, 42, 58, 0.10);
  color: var(--navy);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.account-btn-logged:hover { background: var(--white); border-color: var(--orange); }
.account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
}
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid rgba(31, 42, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 50;
}
.account-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.account-dropdown a, .account-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.account-dropdown a:hover, .account-dropdown button:hover {
  background: var(--cream);
  color: var(--orange-dark);
}
.account-dropdown i { width: 16px; opacity: 0.7; }
.account-dropdown .divider {
  height: 1px;
  background: rgba(31, 42, 58, 0.08);
  margin: 6px 4px;
}

/* Favorite button on blog posts */
.post-favorite {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(31, 42, 58, 0.10);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  margin-left: auto;
}
.post-favorite:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.post-favorite i { color: var(--orange); transition: transform 0.25s; font-size: 0.95rem; }
.post-favorite.is-favorited {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.post-favorite.is-favorited i { color: var(--white); transform: scale(1.15); }

/* ===== FAVORITES PAGE ===== */
.favorites-hero {
  padding: 90px 0 60px;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.favorites-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(253, 152, 0, 0.08), transparent 70%);
  border-radius: 50%;
}
.favorites-hero .container { position: relative; }
.favorites-hero h1 em { color: var(--orange); font-style: italic; font-weight: 500; }
.favorites-hero p {
  font-size: 1rem;
  color: var(--slate);
  max-width: 540px;
  margin: 14px auto 0;
}

.favorites-section {
  padding: 60px 0 110px;
  background: var(--cream);
}
.favorites-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.favorites-empty {
  text-align: center;
  padding: 60px 30px 80px;
  max-width: 540px;
  margin: 0 auto;
}
.favorites-empty .empty-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--orange-pastel);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}
.favorites-empty h2 { color: var(--navy); margin-bottom: 12px; font-size: 1.5rem; }
.favorites-empty p { color: var(--slate); margin-bottom: 24px; }

@media (max-width: 980px) {
  .favorites-section .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .favorites-section .blog-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 36px 24px 28px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; margin-top: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { height: 360px; }
  .main-nav, .account-btn, .search-box { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 640px) {
  .hero { padding: 60px 0 80px; }
  .stats { gap: 24px; }
  .stat-num { font-size: 2rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .about-logo-card { max-width: 320px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
