/* ============================
   BASE RESET & VARIABLES (Modern & Large Redesign)
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sidebar-w: 320px;
  --top-nav-h: 70px;
  --color-bg: #ffffff;
  --color-text: #2F3730;
  --color-text-muted: #6A6F69;
  --color-muted: #979B97;
  --color-border: #E7EDE7;
  --color-hover: #F3F7F3;
  --color-search-bg: #F3F7F3;
  --color-accent: #2E7D32;
  --color-accent-light: #D1FFBD;
  font-size: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================
   TOP NAV
   ============================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 200;
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.top-nav-left .logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.top-nav-left .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-nav-center {
  display: flex;
  gap: 8px;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--color-text);
  color: white;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ============================
   SIDEBAR
   ============================ */
.sidebar {
  position: fixed;
  top: var(--top-nav-h);
  left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - var(--top-nav-h));
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.nav-group-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 12px 16px;
  margin-top: 24px;
}

.nav-group-label:first-child {
  margin-top: 0;
}

.sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.nav-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}

.nav-chevron {
  width: 16px;
  height: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-link:hover {
  background: var(--color-hover);
  color: var(--color-text);
}

.nav-link:hover .nav-logo {
  opacity: 1;
  filter: grayscale(0%);
}

.nav-link:hover .nav-chevron {
  opacity: 0.6;
}

.nav-link.active {
  background: var(--color-hover);
  color: var(--color-accent);
}

.nav-link.active .nav-logo {
  opacity: 1;
  filter: grayscale(0%);
}

.nav-link.active svg {
  color: var(--color-accent);
}

/* ============================
   PAGE WRAPPER
   ============================ */
.page-wrapper {
  margin-top: var(--top-nav-h);
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 80px;
}

.main-content {
  width: 100%;
  max-width: 1000px;
  padding: 60px 0 100px;
  display: flex;
  flex-direction: column;
  gap: 60px; /* Reduced spacing between sections */
}

/* ============================
   HERO
   ============================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding-bottom: 24px;
}

.hero h1 {
  font-size: 64px; /* Huge hero text */
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-search-bg);
  border-radius: 100px;
  padding: 20px 32px; /* Massive search bar */
  width: 100%;
  max-width: 720px;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.search-bar:focus-within {
  background: var(--color-bg);
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.15);
}

.search-icon { 
  display: flex;
  color: var(--color-text-muted); 
}

.search-icon svg { width: 24px; height: 24px; }

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  width: 100%;
  font-family: inherit;
}

.search-bar input::placeholder { color: var(--color-text-muted); font-weight: 400; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.tag {
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.tag:hover { opacity: 0.9; transform: scale(1.05); }

/* ============================
   TOPIC SECTIONS
   ============================ */
.topic-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic-section h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============================
   CARD GRID
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 16px;
  margin: -16px;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.card:hover {
  background: var(--color-hover);
  transform: translateY(-4px);
}

.card-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 8px;
}

.card-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  transition: color 0.2s;
}

.card:hover .card-title {
  color: var(--color-accent);
}

.card-title svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.card:hover .card-title svg {
  transform: translateX(4px);
}

.card-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================
   ILLUSTRATION SECTION (Cos'è Rceasy)
   ============================ */
.illustration-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}

.illustration-text {
  flex: 1;
  max-width: 500px;
}

.illustration-text h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.illustration-text p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.btn-blue {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.2);
}

.illustration-img {
  width: 700px; /* Immagine colossale */
  max-width: 65%;
  height: auto;
}

/* ============================
   WHAT'S NEW SECTION
   ============================ */
.whats-new-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 60px;
  border-top: 1px solid var(--color-border);
}

.whats-new-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whats-new-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.whats-new-header a {
  font-size: 16px;
  color: var(--color-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-hover);
  border-radius: 100px;
  transition: background 0.2s;
}

.whats-new-header a:hover {
  background: var(--color-border);
}

.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.whats-new-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whats-new-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.whats-new-card img {
  width: 260px; /* Icona enorme */
  height: 260px;
  object-fit: contain;
}

.whats-new-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.whats-new-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================
   STILL HAVE QUESTIONS
   ============================ */
.questions-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--color-border);
}

.questions-left {
  flex: 1;
}

.questions-left h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  transition: background 0.2s;
  cursor: pointer;
}

.question-item:hover {
  background: var(--color-hover);
}

.question-icon {
  width: 48px;
  height: 48px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.question-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.question-item p {
  font-size: 16px;
  color: var(--color-text-muted);
}

.questions-right img {
  width: 640px;
  max-width: 100%;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer-copy {
  font-size: 15px;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* ============================
   GUIDE PAGES
   ============================ */
.guide-header h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.guide-header .subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.breadcrumb {
  font-size: 15px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { text-decoration: underline; }

.guide-toc {
  background: var(--color-hover);
  border-radius: 16px;
  padding: 28px 32px;
}

.guide-toc h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.guide-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-toc a {
  font-size: 16px;
  color: var(--color-accent);
}

.guide-toc a:hover { text-decoration: underline; }

.guide-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.guide-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
}

.guide-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.guide-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.guide-section code {
  background: var(--color-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Consolas', 'Monaco', monospace;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.guide-table th,
.guide-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.guide-table th {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  background: var(--color-hover);
}

.guide-table td {
  color: var(--color-text);
}

.guide-callout {
  padding: 20px 24px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.guide-callout-info {
  background: #F3F7F3;
  border-left: 4px solid var(--color-accent);
}

.guide-callout-warning {
  background: #fef8e7;
  border-left: 4px solid #e8a800;
}

.guide-callout-error {
  background: #fef1f1;
  border-left: 4px solid #d93025;
}

.guide-prereq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-prereq-card {
  background: var(--color-hover);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-prereq-icon { font-size: 32px; }

.guide-prereq-card h4 {
  font-size: 18px;
  font-weight: 700;
}

.guide-prereq-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.guide-prereq-hint {
  font-size: 14px !important;
  font-style: italic;
  opacity: 0.8;
}

.guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.guide-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-step-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.guide-step-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.guide-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 12px;
  background: #f0faf0;
}

.guide-check-icon { font-size: 24px; flex-shrink: 0; }

.guide-check-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.guide-check-item p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.guide-status-legend {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 20px;
  background: var(--color-hover);
  border-radius: 8px;
}

.guide-error-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-error-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.guide-error-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-error-cause {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.guide-error-fix {
  font-size: 15px;
}

.guide-error-fix a {
  color: var(--color-accent);
}

.guide-screenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.guide-screenshot img {
  max-width: 100%;
  width: 640px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.guide-screenshot-caption {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-page-main {
  max-width: 1160px;
  gap: 40px;
}

.contact-direct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-shell {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 64px;
  align-items: start;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
}

.contact-left h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 520px;
}

.contact-lead {
  max-width: 680px;
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-meta a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-hover);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.contact-note svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form-lead {
  max-width: 920px;
}

.contact-form-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 4px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: #d9e4d9;
  background: #fbfdfb;
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info-card h3 svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--color-accent);
  font-weight: 600;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-right {
  display: flex;
}

.contact-form-card {
  width: 100%;
  max-width: 920px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 18px rgba(47, 55, 48, 0.04);
}

.contact-form-card h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-form-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  text-align: center;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form-card textarea {
  min-height: 156px;
  resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #8a908a;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.contact-submit {
  border: none;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
  align-self: center;
  min-width: 220px;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
}

.contact-privacy-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 4px;
}

.contact-privacy-note a {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .illustration-section, .questions-section { flex-direction: column; text-align: center; }
  .illustration-text, .questions-left { max-width: 100%; align-items: center; display: flex; flex-direction: column; }
  .illustration-img, .questions-right img { max-width: 80%; }
  .contact-direct-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .contact-left h2 {
    font-size: 30px;
  }
  .contact-form-card h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .page-wrapper { margin-left: 0; padding: 0 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .whats-new-grid { grid-template-columns: 1fr; }
  .contact-direct-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 40px; }
  .search-bar input { font-size: 16px; }
  .site-footer { flex-direction: column; gap: 24px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 16px; }
  .footer-links { justify-content: center; }
  .guide-prereq-grid { grid-template-columns: 1fr; }
  .guide-status-legend { flex-wrap: wrap; gap: 16px; }
  .guide-step { flex-direction: column; }
  .contact-shell {
    padding: 12px 0 0;
  }
  .contact-left h2 {
    font-size: 26px;
  }
  .contact-lead {
    font-size: 16px;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 20px 16px;
  }
  .contact-form-card h2 {
    font-size: 24px;
  }
  .contact-row {
    grid-template-columns: 1fr;
  }
}
