﻿/*
Theme Name: VG Theme
Theme URI: https://www.centrovascodagama.edu.mz
Author: Wamkulu, SU, LDA.
Author URI: https://wamkulu.co.mz
Description: Tema oficial do Centro de Formação Profissional Vasco da Gama, Lda — Beira, Moçambique.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vgtheme
Tags: education, training, professional
*/

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

:root {
  --primary:    #051F40;
  --accent:     #94643A;
  --accent-dark:#583B22;
  --light:      #F4F7F9;
  --text:       #2D3748;
  --text-light: #718096;
  --white:      #FFFFFF;
  --border:     #E2E8F0;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(5,31,64,.10);
  --shadow-hover: 0 8px 32px rgba(5,31,64,.18);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Archivo', sans-serif;
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
ul,ol { padding-left: 1.25rem; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  background: rgba(148,100,58,.12);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--primary);
  margin-bottom: .6rem;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 580px;
}

/* =========================================================
   ICONS (Tabler Icons webfont)
   ========================================================= */
.ti { font-size: 1.1em; line-height: 1; vertical-align: middle; flex-shrink: 0; }
.icon-sm  { font-size: .95rem; }
.icon-md  { font-size: 1.25rem; }
.icon-lg  { font-size: 1.6rem; }
.icon-xl  { font-size: 2rem; }
.icon-2xl { font-size: 2.8rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(148,100,58,.4);
}

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

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

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(5,31,64,.08);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: .25rem; }

.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav a.current { color: var(--primary); background: rgba(5,31,64,.07); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  margin-left: .5rem;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/photos/pexels-zen-chung-5538578.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero h1 span { color: var(--accent); }

.hero-text {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label { color: rgba(255,255,255,.75); font-size: .85rem; margin-top: .2rem; }

/* =========================================================
   AREAS (COURSES OVERVIEW)
   ========================================================= */
.areas { background: var(--light); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.area-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.area-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.area-card-body { padding: 1.5rem; }

.area-badge {
  display: inline-block;
  background: rgba(148,100,58,.15);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2rem .7rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

.area-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.area-card p  { font-size: .9rem; color: var(--text-light); margin-bottom: 1rem; }

.area-meta {
  display: flex;
  gap: 1rem;
  font-size: .82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.area-meta span { display: flex; align-items: center; gap: .3rem; }

/* =========================================================
   ABOUT STRIP
   ========================================================= */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.about-strip-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.about-strip-img img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-strip-content {
  background: var(--primary);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-strip-content .section-label {
  background: rgba(148,100,58,.2);
  color: var(--accent);
}

.about-strip-content h2,
.about-strip-content p { color: var(--white); }
.about-strip-content p { color: rgba(255,255,255,.8); margin-bottom: 1rem; }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.pillar-icon {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .65rem;
  color: white;
  font-weight: 700;
}

/* =========================================================
   STATS BANNER
   ========================================================= */
.stats-banner {
  background: var(--accent);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: .35rem; }

/* =========================================================
   COURSES SECTION
   ========================================================= */
.courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.course-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.course-card-img { height: 190px; object-fit: cover; width: 100%; }

.course-card-body { padding: 1.35rem; }

.course-tag {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.tag-maquinas      { background: rgba(5,31,64,.1);     color: var(--primary); }
.tag-gestao        { background: rgba(148,100,58,.15); color: var(--accent-dark); }
.tag-contabilidade { background: rgba(45,55,72,.1);    color: var(--text); }

.course-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.course-card p  { font-size: .88rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.5; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-light);
}

.course-price { font-weight: 700; color: var(--accent-dark); font-size: 1rem; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why { background: var(--light); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-img { border-radius: 16px; overflow: hidden; position: relative; }
.why-img img { width: 100%; height: 480px; object-fit: cover; }

.why-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.why-badge-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-badge-text strong { display: block; font-size: 1.2rem; color: var(--primary); font-weight: 800; }
.why-badge-text span   { font-size: .78rem; color: var(--text-light); }

.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }

.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-feature-icon {
  width: 48px; height: 48px;
  background: rgba(5,31,64,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-feature h4 { margin-bottom: .2rem; font-size: 1rem; }
.why-feature p  { font-size: .88rem; color: var(--text-light); margin: 0; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(148,100,58,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(148,100,58,.06);
}

.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-primary { font-size: 1rem; padding: .9rem 2.2rem; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }

.blog-card-img { height: 200px; object-fit: cover; width: 100%; }
.blog-card-body { padding: 1.35rem; }
.blog-date { font-size: .78rem; color: var(--text-light); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1rem; margin-bottom: .5rem; line-height: 1.35; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p   { font-size: .88rem; color: var(--text-light); margin-bottom: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #03122A;
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img { height: 150px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p   { font-size: .9rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: .6rem;
  font-size: .88rem;
  margin-bottom: .7rem;
  align-items: flex-start;
}
.footer-contact-item span:first-child { color: var(--accent); flex-shrink: 0; }

.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: .5rem;
}

/* =========================================================
   LEAFLET MAP — custom yellow pin
   ========================================================= */
#vg-map {
  width: 100%;
  height: 420px;
  display: block;   /* elimina gap inline */
  margin-bottom: 0; /* cola ao footer */
}

.vg-map-pin { background: none !important; border: none !important; }
.vg-pin-dot {
  width: 36px; height: 36px;
  background: var(--accent);
  border: 3px solid var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 12px rgba(5,31,64,.35);
}
.vg-pin-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  font-family: 'Archivo', sans-serif;
  font-size: .9rem;
}
.leaflet-popup-content strong { color: var(--primary); }

/* =========================================================
   BLOG
   ========================================================= */
.blog-page-hero {
  background: var(--primary);
  padding: 130px 0 60px;
  position: relative;
}
.blog-page-hero h1 { color: var(--white); margin-bottom: .4rem; }

.blog-list-article {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--white);
}
.blog-list-article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}
.blog-list-article img {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-list-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .blog-list-article { grid-template-columns: 1fr; }
  .blog-list-article img { height: 200px; }
}

/* =========================================================
   PAGE INNER HERO
   ========================================================= */
.page-hero {
  background: var(--primary);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.breadcrumb { color: rgba(255,255,255,.6); font-size: .9rem; }
.breadcrumb a { color: var(--accent); }

/* =========================================================
   SOBRE NÓS PAGE
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--light);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.value-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.value-card p  { font-size: .88rem; color: var(--text-light); margin: 0; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--accent);
}
.mv-card h3 { color: var(--primary); margin-bottom: .75rem; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(5,31,64,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: .2rem; font-size: .95rem; }
.contact-info-item p  { font-size: .9rem; color: var(--text-light); margin: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 130px; }

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

/* =========================================================
   BLOG / SINGLE
   ========================================================= */
.single-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 1.5rem;
}
.single-content h2,
.single-content h3 { margin-top: 2rem; margin-bottom: .6rem; }
.single-content p   { margin-bottom: 1rem; }
.single-content ul  { margin-bottom: 1rem; }

.post-meta { color: var(--text-light); font-size: .88rem; margin-bottom: 1.5rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-content { padding: 3.5rem 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-img { display: none; }
  .page-sobre .intro-grid,
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .single-content { padding: 40px 1.25rem; }
  /* contact form grid */
  .contact-grid { grid-template-columns: 1fr; }
  /* single-curso sidebar */
  [style*="grid-template-columns:1fr 340px"] { grid-template-columns: 1fr !important; }
  /* blog sidebar */
  [style*="grid-template-columns:1fr 300px"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    border-top: 1px solid var(--border);
    gap: .25rem;
  }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.7rem; }

  /* Grids */
  .areas-grid,
  .courses-grid,
  .blog-grid,
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .mv-grid     { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars     { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }

  /* About strip */
  .about-strip-content { padding: 2.5rem 1.5rem; }

  /* Footer */
  .footer-brand img   { height: 110px; }
  .footer-bottom      { flex-direction: column; text-align: center; }

  /* Inline grid overrides */
  .contact-grid,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:1fr 300px"] { grid-template-columns: 1fr !important; }

  /* Blog aside moves below posts on mobile */
  [style*="grid-template-columns:1fr 300px"] > aside { order: -1; }

  /* Page hero */
  .page-hero { padding: 110px 0 50px !important; }
  .blog-page-hero { padding: 110px 0 50px; }

  /* Map */
  #vg-map { height: 300px; }
}

@media (max-width: 480px) {
  .section  { padding: 50px 0; }
  .section-sm { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .footer-brand img { height: 90px; }
  .courses-header { flex-direction: column; align-items: flex-start; }
  .why-features { gap: 1rem; }
  .contact-form { padding: 1.5rem; }
}
