/* ==========================================================================
   LÆREVEJEN ApS — VERSION 5 DESIGN SYSTEM
   Professionelt, didaktisk & nordisk webdesign for Troels Gannerup Christensen
   ========================================================================== */

:root {
  /* Farvepalette - Nordisk & Didaktisk */
  --ink-950: #061820;
  --ink-900: #0B2533;
  --ink-800: #0F3547;
  --ink-700: #17485E;
  --ink-600: #25607B;
  --ink-500: #3B7E9E;
  --ink-300: #7CB3CC;
  --ink-100: #E1EFF6;
  --ink-50:  #F0F7FA;

  --paper-bg: #F7F5F0;
  --paper-card: #FFFFFF;
  --paper-muted: #EFECE4;
  --paper-border: rgba(11, 37, 51, 0.1);
  --paper-border-strong: rgba(11, 37, 51, 0.2);

  --amber-600: #C26315;
  --amber-500: #E67E22;
  --amber-400: #F39C12;
  --amber-100: #FDF3E7;
  --amber-50:  #FFF9F2;

  --sage-700: #2C6E5B;
  --sage-600: #388670;
  --sage-500: #4E9B85;
  --sage-100: #E4F2EE;
  --sage-50:  #F2F9F7;

  --coral-600: #C84630;
  --coral-500: #E05A47;
  --coral-100: #FCECE9;

  --text-main: #132E3B;
  --text-muted: #4B636E;
  --text-light: #7E95A0;
  --text-white: #FFFFFF;
  --text-white-muted: #CBDDE6;

  /* Typografi */
  --font-serif: 'Newsreader', 'Fraunces', 'Iowan Old Style', Palatino, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Skygger & Effekter */
  --shadow-sm: 0 2px 6px rgba(11, 37, 51, 0.04), 0 1px 2px rgba(11, 37, 51, 0.03);
  --shadow-md: 0 6px 20px rgba(11, 37, 51, 0.06), 0 2px 6px rgba(11, 37, 51, 0.04);
  --shadow-lg: 0 16px 36px rgba(11, 37, 51, 0.09), 0 4px 12px rgba(11, 37, 51, 0.05);
  --shadow-xl: 0 24px 56px rgba(11, 37, 51, 0.13), 0 8px 20px rgba(11, 37, 51, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASIS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--paper-bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Tilgængelighed - Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  z-index: 1000;
  padding: 0.8rem 1.4rem;
  background: var(--amber-500);
  color: var(--ink-950);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   CONTAINERE & LAYOUT HJÆLPERE
   ========================================================================== */

.container {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(980px, calc(100% - 3rem));
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--paper-muted);
  border: 1px solid var(--paper-border-strong);
  border-radius: var(--radius-full);
  color: var(--ink-800);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-tag-on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--amber-400);
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-bottom: 1.1rem;
}

.section-title em {
  font-style: italic;
  color: var(--amber-600);
  font-weight: 400;
}

.section-title-dark {
  color: var(--text-white);
}

.section-title-dark em {
  color: var(--amber-400);
}

.section-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

.section-lead.mx-auto {
  margin-inline: auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth), padding var(--transition-smooth);
  padding-block: 1.2rem;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(6, 24, 32, 0.08);
  padding-block: 0.8rem;
  border-bottom: 1px solid rgba(11, 37, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--ink-900);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(11, 37, 51, 0.15);
  transition: transform var(--transition-fast);
}

.brand:hover .brand-icon-wrapper {
  transform: translateY(-2px);
}

.brand-icon-svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-800);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.4rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber-500);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--amber-600);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--ink-900);
  color: var(--text-white);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 37, 51, 0.15);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--amber-500);
  color: var(--ink-950);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.3);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Mobil Menu Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--paper-muted);
  border: 1px solid var(--paper-border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   KNAPPER & AKTIONSELEMENTER
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--amber-500);
  color: var(--ink-950);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.25);
}

.btn-primary:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(230, 126, 34, 0.35);
}

.btn-secondary {
  background: var(--ink-900);
  color: var(--text-white);
  box-shadow: 0 6px 18px rgba(11, 37, 51, 0.2);
}

.btn-secondary:hover {
  background: var(--ink-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 37, 51, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--paper-border-strong);
}

.btn-outline:hover {
  background: var(--paper-card);
  border-color: var(--ink-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SEKTION
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(7.5rem, 12vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: linear-gradient(180deg, #F7F5F0 0%, #EFECE4 100%);
  border-bottom: 1px solid var(--paper-border);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, rgba(78, 155, 133, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-950);
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-600);
}

.hero-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-credentials-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--paper-border-strong);
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-800);
}

.cred-icon {
  width: 22px;
  height: 22px;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Hero Showcase Card / Didaktisk Radar */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--paper-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--paper-border);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-border);
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
}

.hero-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: var(--radius-full);
}

/* Didaktisk Matrix Visual */
.didactic-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.matrix-node {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-border);
  background: var(--paper-bg);
  transition: all var(--transition-fast);
}

.matrix-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: var(--paper-card);
}

.node-geogebra { border-left: 4px solid var(--amber-500); }
.node-vanskeligheder { border-left: 4px solid var(--sage-600); }
.node-visuel { border-left: 4px solid var(--ink-500); }
.node-ai { border-left: 4px solid var(--coral-500); }

.matrix-node-icon {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.matrix-node-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-900);
  margin-bottom: 0.2rem;
}

.matrix-node-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-card-quote {
  background: var(--ink-900);
  color: var(--text-white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--amber-400);
  opacity: 0.8;
}

.quote-text {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-white-muted);
  line-height: 1.45;
}

.quote-text strong {
  color: var(--text-white);
  font-style: normal;
}

/* ==========================================================================
   LØFTE & STATEMENT BANNER
   ========================================================================== */

.promise-banner {
  background: var(--ink-900);
  color: var(--text-white);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.promise-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.4), transparent);
}

.promise-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.promise-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.promise-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-white);
}

.promise-statement strong {
  font-weight: 600;
  color: #FFFFFF;
}

.promise-statement em {
  font-style: italic;
  color: var(--amber-400);
}

/* ==========================================================================
   KURSER & YDELSER SEKTION
   ========================================================================== */

.services-section {
  background: var(--paper-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.service-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--paper-border-strong);
  transition: background var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--paper-border-strong);
}

.service-card.card-geogebra:hover::before { background: var(--amber-500); }
.service-card.card-vanskeligheder:hover::before { background: var(--sage-600); }
.service-card.card-visuel:hover::before { background: var(--ink-500); }
.service-card.card-ai:hover::before { background: var(--coral-500); }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-amber { background: var(--amber-100); color: var(--amber-600); }
.badge-sage { background: var(--sage-100); color: var(--sage-700); }
.badge-blue { background: var(--ink-100); color: var(--ink-700); }
.badge-coral { background: var(--coral-100); color: var(--coral-600); }

.service-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-900);
  margin-bottom: 0.9rem;
}

.service-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-bullets {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-bullets li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-800);
}

.service-bullets li::before {
  content: '→';
  font-weight: 800;
  color: var(--amber-500);
}

.service-footer {
  padding-top: 1.2rem;
  border-top: 1px solid var(--paper-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-target {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-900);
  transition: color var(--transition-fast);
}

.service-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-muted);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--amber-600);
}

.service-card:hover .service-link span {
  background: var(--amber-500);
  color: var(--ink-950);
  transform: translate(2px, -2px);
}

/* Ekstra Ydelse Callout: Digitale Læremidler & Oplæg */
.services-extra {
  background: var(--paper-card);
  border: 1px solid var(--paper-border-strong);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.extra-block h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.extra-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.extra-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.extra-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   DIGITALE LÆREMIDLER & PORTFOLIO
   ========================================================================== */

.portfolio-section {
  background: #EFECE4;
  border-top: 1px solid var(--paper-border);
  border-bottom: 1px solid var(--paper-border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--paper-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Mockup Browser Vindue */
.browser-window {
  background: #E6E2D8;
  border-bottom: 1px solid var(--paper-border);
}

.browser-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(11, 37, 51, 0.06);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-url {
  background: #FFFFFF;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  max-width: 240px;
}

.browser-url svg {
  width: 11px;
  height: 11px;
  color: var(--sage-600);
}

.project-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Matematikopgaver.dk Preview */
.preview-matematik {
  background: linear-gradient(135deg, #124E78 0%, #0B2B44 100%);
  color: white;
}

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

.math-badge-tag {
  background: var(--amber-400);
  color: var(--ink-950);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.math-formula {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.math-sub {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Lærklokken.dk Preview */
.preview-klokken {
  background: linear-gradient(135deg, #F39C12 0%, #D35400 100%);
  color: white;
}

.clock-scene {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.interactive-clock-widget {
  width: 100px;
  height: 100px;
  background: #FFFFFF;
  border: 5px solid var(--ink-900);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.clock-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--ink-900);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.clock-hour-hand {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 2px);
  width: 4px;
  height: 26px;
  background: var(--ink-900);
  border-radius: 3px;
  transform-origin: bottom;
  transform: rotate(60deg);
}

.clock-minute-hand {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 38px;
  background: var(--coral-500);
  border-radius: 2px;
  transform-origin: bottom;
  transform: rotate(180deg);
}

.clock-info {
  text-align: left;
}

.clock-info h4 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.clock-info p {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* Tidligalgebra.dk Preview */
.preview-algebra {
  background: linear-gradient(135deg, #2A7B6B 0%, #154D41 100%);
  color: white;
}

.algebra-scene {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.pattern-blocks {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.p-block {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--ink-950);
}

.p-1 { background: #F5A623; }
.p-2 { background: #4E9B85; color: white; }
.p-3 { background: #E05A47; color: white; }
.p-4 { background: #FFFFFF; }

.algebra-title-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}

/* Geogebrakursus.dk Preview */
.preview-geogebra {
  background: linear-gradient(135deg, #1B3B52 0%, #0E2230 100%);
  color: white;
}

.geo-scene {
  width: 85%;
  height: 110px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-curve-line {
  position: absolute;
  width: 80%;
  height: 50px;
  border-bottom: 3px solid var(--sage-500);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.geo-point {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--amber-400);
  border-radius: 50%;
}

.geo-point-1 { top: 30%; left: 25%; }
.geo-point-2 { top: 55%; left: 50%; }
.geo-point-3 { top: 25%; left: 75%; }

.geo-badge-center {
  position: relative;
  z-index: 2;
  background: rgba(11, 37, 51, 0.85);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modelbyggeren.dk Preview */
.preview-modelbyggeren {
  background: linear-gradient(135deg, #0D2438 0%, #06131F 100%);
  color: white;
  position: relative;
}

.preview-modelbyggeren .model-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(78, 155, 133, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 155, 133, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.model-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.model-badge-tag {
  background: rgba(78, 155, 133, 0.22);
  color: #6EE7B7;
  border: 1px solid rgba(110, 231, 183, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.model-vector-canvas {
  background: rgba(11, 37, 51, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 90%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.model-bar-group {
  display: flex;
  gap: 5px;
  width: 100%;
  height: 28px;
}

.model-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  position: relative;
}

.bar-var {
  flex: 3;
  background: linear-gradient(135deg, #2A7B6B 0%, #1D5C50 100%);
  color: #FFFFFF;
  border: 1px solid rgba(110, 231, 183, 0.4);
}

.bar-const {
  flex: 2;
  background: linear-gradient(135deg, #C26315 0%, #9C4B0A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(243, 156, 18, 0.4);
}

.model-anchor {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #FFFFFF;
  border: 1px solid var(--ink-950);
  border-radius: 1px;
}
.anchor-tl { top: -2px; left: -2px; }
.anchor-tr { top: -2px; right: -2px; }

.model-dimension-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  padding-top: 3px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: #CBDDE6;
}

.model-tools-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.15rem;
}

.tool-chip {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-chip.active {
  background: rgba(230, 126, 34, 0.2);
  color: #FDBA74;
  border-color: rgba(230, 126, 34, 0.4);
}

.model-sub-caption {
  font-size: 0.72rem;
  color: var(--text-white-muted);
  opacity: 0.85;
}

.browser-status-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sage-700);
  background: var(--sage-100);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.project-header-badge {
  margin-bottom: 0.5rem;
}

.badge-institution {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sage-700);
  background: var(--sage-50);
  border: 1px solid rgba(78, 155, 133, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* Featured Card Layout for 5th item */
@media (min-width: 861px) {
  .project-card.project-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  
  .project-card.project-featured .browser-window {
    border-bottom: none;
    border-right: 1px solid var(--paper-border);
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .project-card.project-featured .project-preview {
    height: 100%;
    min-height: 250px;
    flex: 1;
  }
}

/* Card Body */
.project-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-border);
}

.project-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amber-600);
  transition: transform var(--transition-fast);
}

.project-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.project-card:hover .project-btn svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   OM TROELS GANNERUP CHRISTENSEN & PROFIL
   ========================================================================== */

.about-section {
  background: var(--paper-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.about-copy .section-title {
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-block: 2rem;
}

.about-cred-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.about-cred-role {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.2rem;
}

.about-cred-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.about-cred-sub {
  font-size: 0.8rem;
  color: var(--text-light);
}

.about-visual-box {
  background: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-visual-box::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-card-badge {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.about-big-quote {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 1.8rem;
  color: var(--text-white);
}

.about-values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.about-val-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.val-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-500);
  color: var(--ink-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.val-content h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.1rem;
}

.val-content p {
  font-size: 0.82rem;
  color: var(--text-white-muted);
}

/* ==========================================================================
   SÅDAN ARBEJDER VI / SAMARBEJDE
   ========================================================================== */

.approach-section {
  background: var(--ink-900);
  color: var(--text-white);
  position: relative;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.approach-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-smooth);
  position: relative;
}

.approach-step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.step-num-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--amber-400);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.step-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.step-card-text {
  font-size: 0.92rem;
  color: var(--text-white-muted);
  line-height: 1.6;
}

/* ==========================================================================
   KONTAKT & BOOKING HUB
   ========================================================================== */

.contact-section {
  background: var(--paper-bg);
  position: relative;
}

.contact-card-wrapper {
  background: var(--paper-card);
  border: 1px solid var(--paper-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-info-col h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.contact-info-col h2 em {
  font-style: italic;
  color: var(--amber-600);
}

.contact-intro-p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--paper-bg);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.channel-item:hover {
  background: var(--paper-card);
  border-color: var(--amber-500);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-meta {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.channel-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}

.company-meta-box {
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-border);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Interaktiv Forespørgsels-generator */
.inquiry-builder {
  background: var(--paper-bg);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.inquiry-header {
  margin-bottom: 1.5rem;
}

.inquiry-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.3rem;
}

.inquiry-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.topic-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.topic-btn {
  padding: 0.65rem 0.85rem;
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-800);
  text-align: left;
  transition: all var(--transition-fast);
}

.topic-btn:hover {
  border-color: var(--amber-500);
}

.topic-btn.is-active {
  background: var(--ink-900);
  color: var(--text-white);
  border-color: var(--ink-900);
}

.input-field, .textarea-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-field:focus, .textarea-field:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.textarea-field {
  min-height: 95px;
  resize: vertical;
}

.inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-send-inquiry {
  width: 100%;
}

.copy-feedback {
  display: none;
  font-size: 0.8rem;
  color: var(--sage-700);
  font-weight: 600;
  text-align: center;
  margin-top: 0.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink-950);
  color: var(--text-white-muted);
  padding-block: 3.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-white-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--amber-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--amber-400);
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform var(--transition-fast);
}

.btn-back-to-top:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   SCROLL REVEAL & ANIMAITONER
   ========================================================================== */

.reveal-fade, .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade.is-revealed, .reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-visual {
    max-width: 600px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--paper-card);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 6rem 2rem 3rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-smooth);
    z-index: 99;
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
    z-index: 101;
  }

  .mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .services-extra {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 1.8rem;
  }

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

  .approach-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .didactic-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    width: calc(100% - 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .topic-selector {
    grid-template-columns: 1fr;
  }

  .about-credentials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-fade, .reveal-up {
    opacity: 1;
    transform: none;
  }
}
