/* ============================================
   HOME ALLERØD LANDING PAGE
   Mobile-first · Brand-matched · CRO-optimized
   ============================================ */

/* --- FONT FACES --- */
@font-face {
  font-family: 'Home';
  src: url('fonts/Home-Light.woff2') format('woff2'),
       url('fonts/Home-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Home';
  src: url('fonts/Home-Regular.woff2') format('woff2'),
       url('fonts/Home-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Home';
  src: url('fonts/Home-Bold.woff2') format('woff2'),
       url('fonts/Home-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --red: #f12535;
  --red-hover: #c41e2b;
  --red-pressed: #a01823;
  --black: #1d1d1b;
  --grey-dark: #7b7371;
  --grey-mid: #bab3b1;
  --grey-border: #999391;
  --grey-light: #d1cccd;
  --grey-bg: #f0eeef;
  --white: #ffffff;
  --beige: #ece8dd;
  --green: #00a67d;

  --font: 'Home', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1224px;
  --gutter: 16px;
  --section-py: 48px;
  --radius-pill: 100px;
  --radius-card: 12px;
  --shadow-soft: 0 0 24px rgba(0,0,0,0.08);
  --shadow-card: 10px 10px 60px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }

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

/* --- BUTTONS (mobile-first) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: var(--shadow-card);
}
.btn-primary:active {
  background: var(--red-pressed);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--grey-light);
}
.btn-secondary:hover {
  background: var(--grey-bg);
}

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; }

/* ============================================
   HEADER (mobile-first)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.header-phone span { display: none; }

.header-cta {
  padding: 8px 16px;
  font-size: 13px;
}

/* ============================================
   HERO (mobile-first)
   ============================================ */
.hero {
  position: relative;
  padding-top: 56px; /* header height */
  background: var(--beige);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px var(--gutter) 40px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}

.hero-text h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-dark);
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-ctas .btn { width: 100%; justify-content: center; }

.hero-trust {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--grey-dark);
}
.trust-badge strong { color: var(--black); font-weight: 700; }

/* --- FORM CARD --- */
.hero-form-wrapper {
  scroll-margin-top: 64px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
}

.form-header { margin-bottom: 20px; }
.form-header h2 { font-size: 22px; margin-bottom: 4px; }
.form-header p { font-size: 13px; color: var(--grey-dark); }

.form-group {
  position: relative;
  margin-bottom: 12px;
}

.form-group input {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--font);
  font-size: 16px; /* prevents iOS zoom */
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--grey-dark); }
.form-group input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(29,29,27,0.06);
}
.form-group input.error { border-color: var(--red); }

.form-group label {
  position: absolute;
  top: -7px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-dark);
  background: var(--white);
  padding: 0 5px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  opacity: 1;
  transform: translateY(0);
}

.lead-form .btn { margin-top: 6px; }

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--grey-dark);
  margin-top: 10px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 32px 16px;
}
.form-success svg { margin: 0 auto 12px; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--grey-dark); font-size: 14px; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 0.8s linear infinite; }

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof-bar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-bg);
  padding: 24px 0;
}

.proof-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.proof-item span {
  font-size: 12px;
  color: var(--grey-dark);
}

.proof-divider { display: none; }

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 8px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.65;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  gap: 0 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-bg);
}

.benefit-icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(241,37,53,0.06);
}

.benefit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.benefit-card p { font-size: 14px; color: var(--grey-dark); line-height: 1.55; }

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  padding: var(--section-py) 0;
  background: var(--grey-bg);
  text-align: center;
}

.team-image {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 16px;
}

.team-image img {
  width: 100%;
  height: auto;
}

.team-cta {
  margin-top: 24px;
}

.team-cta p {
  font-size: 15px;
  color: var(--grey-dark);
  margin-bottom: 14px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  padding: var(--section-py) 0;
}

.video-stats {
  text-align: center;
  margin-bottom: 28px;
}

.video-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.video-stat span {
  font-size: 14px;
  color: var(--grey-dark);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.video-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 360px;
  overflow: hidden;
  background: #2a2a28;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info { padding: 12px 14px; }
.video-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}
.video-title { font-size: 14px; font-weight: 700; margin-top: 2px; }

.video-cta { text-align: center; }
.video-cta p {
  font-size: 16px;
  color: var(--grey-dark);
  margin-bottom: 14px;
}
.video-cta em { font-style: italic; color: var(--black); }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  padding: var(--section-py) 0;
  background: var(--beige);
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.process-step {
  text-align: center;
  padding: 16px;
  max-width: 300px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.process-step h3 { font-weight: 700; margin-bottom: 4px; }
.process-step p { font-size: 14px; color: var(--grey-dark); }

.process-connector { display: none; }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  padding: var(--section-py) 0;
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 16px;
}

.testimonial-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-portrait {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.testimonial-card blockquote {
  font-size: 18px;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 400;
}

.testimonial-author {
  font-size: 13px;
  color: var(--grey-dark);
  font-weight: 700;
}

.trust-logos {
  margin-top: 40px;
  text-align: center;
}

.trust-logos-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.trust-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-mid);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: var(--section-py) 0;
  background: var(--white);
}

.final-cta-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.final-cta-content h2 { margin-bottom: 12px; }
.final-cta-content p {
  font-size: 15px;
  color: var(--grey-dark);
  margin-bottom: 24px;
  line-height: 1.65;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.final-cta-buttons .btn { width: 100%; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-tagline {
  font-size: 13px;
  margin-top: 6px;
  color: rgba(255,255,255,0.4);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-right: 16px;
}
.social-link svg { fill: rgba(255,255,255,0.7); stroke: rgba(255,255,255,0.7); }
.social-link:hover svg { fill: var(--white); stroke: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.footer-logo .logo-img {
  height: 20px;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn { font-size: 15px; padding: 14px 24px; }

/* Add bottom padding so footer content isn't hidden behind sticky CTA */
.site-footer { padding-bottom: 72px; }

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.active { display: flex; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.video-modal-content {
  position: relative;
  width: 92%;
  max-width: 400px;
  max-height: 85vh;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.video-modal-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-modal-body iframe {
  width: 100%;
  aspect-ratio: 9/16;
  border: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TABLET (min-width: 600px)
   ============================================ */
@media (min-width: 600px) {
  :root { --gutter: 24px; }

  .header-phone span { display: inline; }
  .header-cta { padding: 10px 20px; font-size: 14px; }

  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; }

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

  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }

  .video-grid { gap: 16px; }
  .video-thumbnail { max-height: 360px; }

  .process-steps { flex-direction: row; justify-content: center; gap: 16px; }
  .process-connector { display: block; padding-top: 36px; }

  .final-cta-buttons { flex-direction: row; justify-content: center; }
  .final-cta-buttons .btn { width: auto; }

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

/* ============================================
   DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .header-inner { height: 64px; }
  .header-cta { padding: 10px 24px; }

  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  h3 { font-size: 20px; }

  .hero { padding-top: 64px; }

  .hero-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px var(--gutter) 72px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: start;
  }

  .hero-sub { font-size: 18px; max-width: 520px; }

  .form-card { padding: 36px 32px; }
  .form-header h2 { font-size: 24px; }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .benefit-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    border-bottom: none;
  }

  .benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
  }

  .benefit-card h3 { font-size: 18px; margin-bottom: 8px; }

  .video-grid { gap: 24px; }
  .video-thumbnail { max-height: 400px; }
  .video-info { padding: 16px 20px; }

  .process-step { max-width: 280px; }

  .testimonial-card blockquote { font-size: 24px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  /* Hide sticky CTA on desktop — form is always visible */
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 32px; }
}
