/* =====================================================
   Mellow Vibes Psychology — Main Stylesheet
   Design: Thryv-inspired warm coastal aesthetic
   ===================================================== */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* === Somatic Rounded (Logo) === */
@font-face {
  font-family: 'Somatic Rounded';
  src: url('https://irp.cdn-website.com/ded27471/fonts/Somatic-Rounded-f334_400.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables === */
:root {
  --sand: #D9C9AE;
  --sand-light: #EDE4D5;
  --terracotta: #A65E5A;
  --terracotta-dark: #8A4A46;
  --charcoal: #111111;
  --body-text: #3A3A3A;
  --mid-grey: #666666;
  --white: #FFFFFF;
  --teal-accent: #7FC9C7;
  --frame-gold: #C9B07A;
  --border: #E0D5C5;
  --max-width: 1200px;
  --nav-height: 90px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--terracotta-dark);
}

ul {
  list-style: none;
}

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--terracotta);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* === Layout Utilities === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--sand {
  background: var(--sand);
}

.section--white {
  background: var(--white);
}

.text-center {
  text-align: center;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
  display: block;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 48px;
  border-radius: 50px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 1.5px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  line-height: 1.4;
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
}

.btn-primary {
  border-color: var(--charcoal);
  background: transparent;
  color: var(--charcoal);
}

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

.btn-outline {
  border-color: var(--charcoal);
  background: transparent;
  color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

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

.btn-white:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-sm {
  padding: 10px 28px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 56px;
  font-size: 16px;
}

/* === Image Frame Effect === */
.img-frame {
  position: relative;
  display: inline-block;
}

.img-frame::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--frame-gold);
  z-index: -1;
}

.img-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

/* Wrapper to give the frame space to show */
.img-frame-wrap {
  padding-top: 18px;
  padding-right: 18px;
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-height);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.nav__logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* Center nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--charcoal);
  border-bottom-color: var(--charcoal);
}

.nav__links a.active {
  color: var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 4px 0;
  transition: border-color var(--transition);
  white-space: nowrap;
}

.nav__dropdown-toggle:hover {
  border-bottom-color: var(--charcoal);
}

.nav__dropdown-toggle svg {
  transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 8px 0;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  border-bottom: none;
  transition: background var(--transition);
}

.nav__dropdown-menu a:hover {
  background: var(--sand-light);
  color: var(--charcoal);
  border-bottom: none;
}

.nav__dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 12px;
}

/* Phone number right */
.nav__phone {
  flex-shrink: 0;
}

.nav__phone a {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav__phone a:hover {
  color: var(--terracotta);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a,
.nav__mobile button.mobile-toggle {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 6px;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.nav__mobile a:hover,
.nav__mobile button.mobile-toggle:hover {
  background: var(--sand-light);
}

.nav__mobile .mobile-submenu {
  padding-left: 16px;
  border-left: 2px solid var(--border);
  margin: 4px 0 8px 16px;
}

.nav__mobile .mobile-submenu a {
  font-size: 0.9rem;
  padding: 8px 16px;
  font-weight: 400;
}

.nav__mobile .mobile-book {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.nav__mobile .mobile-book .btn {
  width: 100%;
}

/* === Hero (Homepage only) === */
.hero {
  height: 520px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Page Hero (internal pages) === */
.page-hero {
  background: var(--sand);
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--terracotta);
  font-size: 2.2rem;
  margin-bottom: 0;
}

.page-hero .page-hero__sub {
  color: var(--body-text);
  font-size: 1.05rem;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--mid-grey);
}

.breadcrumb a:hover {
  color: var(--terracotta);
}

/* === Two-column layouts === */
.two-col {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reverse {
  grid-template-columns: 1fr 55%;
}

.two-col--equal {
  grid-template-columns: 1fr 1fr;
}

/* === Cards === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 20px;
}

/* === Content layout (sidebar) === */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.content-main h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.content-main h3 {
  margin-top: 36px;
  margin-bottom: 12px;
}

.sidebar-card {
  background: var(--sand-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 0;
  color: var(--terracotta);
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--body-text);
}

.sidebar-card .btn {
  margin-top: 16px;
  display: block;
  text-align: center;
}

.sidebar-card + .sidebar-card {
  margin-top: 20px;
}

/* === Content lists === */
.content-list {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}

.content-list li {
  padding: 5px 0 5px 24px;
  position: relative;
  font-size: 1rem;
  color: var(--body-text);
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* === Credentials bar === */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.cred-item {
  padding: 32px 24px;
}

.cred-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cred-item p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  margin: 0;
}

/* === Info box === */
.info-box {
  background: var(--sand-light);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.info-box h4 {
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 8px;
  margin-top: 0;
}

.info-box p {
  font-size: 0.9rem;
  color: var(--body-text);
  margin-bottom: 0;
}

/* === Fees === */
.fees-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
}

.fees-card__header {
  background: var(--sand);
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}

.fees-card__header h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--terracotta);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
}

.fees-table td {
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.fees-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--terracotta);
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-note {
  background: var(--sand-light);
  border-radius: 0 0 8px 8px;
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--body-text);
  margin-top: -28px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-top: none;
}

/* === Pathway cards === */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pathway-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.pathway-card__num {
  width: 36px;
  height: 36px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.pathway-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 0;
}

.pathway-card p {
  font-size: 0.9rem;
  color: var(--body-text);
}

/* === Qualifications === */
.qual-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.qual-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.qual-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  margin-top: 5px;
}

.qual-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  margin-top: 0;
  color: var(--terracotta);
}

.qual-item p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  margin-bottom: 0;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--sand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terracotta);
  font-size: 1rem;
}

.contact-item__content strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
  margin-bottom: 2px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* === FAQ === */
.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 0;
}

/* === Blog === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  margin-top: 0;
}

.blog-card h3 a {
  color: var(--charcoal);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--terracotta);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--body-text);
  margin-bottom: 16px;
}

/* Blog article */
.blog-article {
  max-width: 720px;
  margin: 0 auto;
}

.blog-article h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-article h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-article p {
  font-size: 1rem;
  line-height: 1.8;
}

.blog-article ul,
.blog-article ol {
  margin: 16px 0 24px 20px;
  line-height: 2;
}

.blog-article li {
  font-size: 1rem;
}

.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.blog-article table th {
  background: var(--sand);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}

.blog-article table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.blog-article table tr:last-child td {
  border-bottom: none;
}

.blog-article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.blog-article .disclaimer {
  font-size: 0.85rem;
  color: var(--mid-grey);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
}

/* === Book/Reading List === */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.book-card h4 {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 4px;
  margin-top: 0;
}

.book-card .book-author {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}

.book-card p {
  font-size: 0.875rem;
  color: var(--body-text);
  margin-bottom: 0;
  line-height: 1.6;
}

.book-section-header {
  text-align: center;
  padding: 60px 0 0;
}

.book-section-header h2 {
  font-size: 1.5rem;
}

/* === Teal decorative element === */
.teal-block {
  background: var(--teal-accent);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.teal-wave {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

/* === Acknowledgement === */
.acknowledgement {
  background: var(--sand);
  padding: 60px 0;
  text-align: center;
}

.acknowledgement .ack-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 12px;
}

.acknowledgement p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.8;
}

/* === Footer === */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__col--brand .footer__logo-img {
  height: 45px;
  width: auto;
  margin-bottom: 16px;
  /* invert white for dark bg */
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.footer__ahpra {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  margin-top: 0;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer__col ul a:hover {
  color: var(--white);
}

.footer__col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.footer__col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--white);
}

/* === Privacy Policy === */
.policy-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.policy-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .nav__links {
    gap: 20px;
  }

  .nav__links a,
  .nav__dropdown-toggle {
    font-size: 14px;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .section {
    padding: 60px 0;
  }

  .nav__links,
  .nav__phone {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__logo img {
    height: 45px;
  }

  .hero {
    height: 320px;
  }

  .page-hero {
    padding: 48px 0;
  }

  .two-col,
  .two-col--reverse,
  .two-col--equal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col--reverse .two-col__img {
    order: -1;
  }

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

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .creds-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .img-frame-wrap {
    padding-top: 14px;
    padding-right: 14px;
  }

  .img-frame::before {
    top: -14px;
    right: -14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 32px;
  }

  .btn-lg {
    padding: 14px 40px;
  }
}
