:root {
  --ink: #0d0d0c;
  --muted: #6b665c;
  --paper: #fcf9f2;
  --surface: #ffffff;
  --line: rgba(13, 13, 12, 0.07);
  --line-focus: rgba(255, 94, 0, 0.25);
  --accent: #ff5e00;
  --accent-hover: #e04f00;
  --accent-light: rgba(255, 94, 0, 0.06);
  --accent-light-hover: rgba(255, 94, 0, 0.12);
  --radius: 20px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 12px rgba(13, 13, 12, 0.02);
  --shadow-md: 0 12px 32px rgba(13, 13, 12, 0.05);
  --shadow-lg: 0 24px 60px rgba(13, 13, 12, 0.08);
  --shadow-orange: 0 12px 30px rgba(255, 94, 0, 0.2);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 84px;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(252, 249, 242, 0.8);
  box-shadow: 0 8px 30px rgba(13, 13, 12, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand i {
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.site-header nav {
  display: none;
}

.header-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.header-button:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

/* Base Layout Containers */
.hero,
.section,
.intro,
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 116px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 9.5vw, 68px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero p {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 28px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: var(--transition);
  width: 100%;
}

.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-orange);
}

.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 94, 0, 0.28);
}

.primary:active {
  transform: translateY(0);
}

.secondary {
  color: var(--ink);
  background: rgba(13, 13, 12, 0.04);
  border: 1px solid var(--line);
}

.secondary:hover {
  background: rgba(13, 13, 12, 0.08);
  transform: translateY(-2px);
}

.secondary:active {
  transform: translateY(0);
}

/* Hero image wrapper */
.hero-image-wrapper {
  width: 100%;
  height: 280px;
  border-radius: 24px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Intro Section */
.intro {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.intro p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* Global Sections style */
.section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2,
.application h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 8.5vw, 48px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-heading p,
.application p,
.legal-note p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

/* Steps (Process Cards) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.steps article:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: var(--accent-light);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 94, 0, 0.1);
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

/* Taglists (Benefits & Trips badges) */
.benefit-list,
.trip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-list span,
.trip-list span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: var(--transition);
  cursor: default;
}

.benefit-list span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: var(--transition);
}

.benefit-list span:hover,
.trip-list span:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: scale(1.02);
}

.benefit-list span:hover::before {
  transform: scale(1.3);
}

/* Lead Form & Inputs */
.application {
  border-top: 1px solid var(--line);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

fieldset {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  font-size: 15px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(13, 13, 12, 0.12);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230e0d0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

input::placeholder {
  color: rgba(13, 13, 12, 0.35);
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.12);
  background: #ffffff;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-note,
.form-success {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.form-note {
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.form-note strong {
  color: var(--ink);
}

.form-success {
  display: none;
  padding: 16px;
  border-radius: 12px;
  color: #1b4332;
  background: #d8f3dc;
  border: 1px solid rgba(27, 67, 50, 0.12);
  font-weight: 700;
  text-align: center;
  animation: slideUpIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success.is-visible {
  display: block;
}

.form-success.is-error {
  color: #721c24;
  background: #f8d7da;
  border-color: rgba(114, 28, 36, 0.15);
}

/* Legal Note */
.legal-note {
  border-top: 1px solid var(--line);
}

.legal-note p {
  max-width: 800px;
  font-size: 13px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Floating mobile CTA */
.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(255, 94, 0, 0.3);
  font-weight: 850;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: var(--transition);
  animation: slideUpIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.mobile-sticky-cta:active {
  transform: translateY(0) scale(0.98);
}

.mobile-sticky-cta.is-hidden,
body:has(#formular:target) .mobile-sticky-cta,
body:has(#leadForm:focus-within) .mobile-sticky-cta {
  display: none !important;
}

/* Scroll Animation States */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop and Tablet Media Queries */
@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    right: auto;
    left: 50%;
    width: min(1080px, calc(100% - 32px));
    transform: translateX(-50%);
    top: 20px;
    padding: 8px 8px 8px 24px;
  }

  .site-header nav {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
  }

  .site-header nav a {
    transition: var(--transition);
  }

  .site-header nav a:hover {
    color: var(--ink);
  }

  .header-button {
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 64px;
    align-items: center;
    padding-top: 154px;
    padding-bottom: 86px;
  }

  .hero-copy {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(48px, 6.2vw, 76px);
    margin-bottom: 24px;
  }

  .hero p {
    font-size: 19px;
    margin-bottom: 32px;
  }

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

  .hero-actions .button {
    width: auto;
  }

  .hero-image-wrapper {
    height: 520px;
    border-radius: 32px;
    padding: 8px;
  }

  .hero-image {
    border-radius: 24px;
  }

  .hero-note {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 16px;
  }

  .intro {
    padding: 72px 0;
  }

  .intro p {
    font-size: 24px;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .application h2 {
    font-size: clamp(38px, 4.5vw, 54px);
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
    gap: 20px;
  }

  .steps article {
    padding: 32px 24px;
  }

  .benefit-list,
  .trip-list {
    max-width: 860px;
    gap: 12px;
  }

  .application {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }

  .lead-form {
    margin-top: 0;
    padding: 36px;
  }

  .form-row {
    flex-direction: row;
  }

  .form-row label {
    flex: 1;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 64px;
  }

  .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-image-wrapper {
    height: 240px;
  }

  .lead-form {
    padding: 20px 16px;
  }
}
