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

:root {
  --plum:        #4A1C4D;
  --plum-dark:   #360F38;
  --plum-light:  #6B3A6E;
  --gold:        #C8963E;
  --gold-light:  #E8B96A;
  --cream:       #FAF7F2;
  --cream-dark:  #F0EBE2;
  --white:       #FFFFFF;
  --text:        #1A1218;
  --text-mid:    #4A3D4E;
  --text-muted:  #7A6B7E;
  --border:      #E0D8E4;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 8px rgba(74, 28, 77, 0.08);
  --shadow-md:   0 4px 20px rgba(74, 28, 77, 0.12);
  --shadow-lg:   0 8px 40px rgba(74, 28, 77, 0.16);

  --transition:  0.24s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--plum); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--plum-light); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.bg-cream { background: var(--cream); }
.bg-plum  { background: var(--plum); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title.centered { text-align: center; }
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
}

.section-sub.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74, 28, 77, 0.3);
}
.btn-primary:hover {
  background: var(--plum-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(74, 28, 77, 0.38);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 10px 26px;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--plum);
}
.btn-ghost:hover { background: var(--cream); color: var(--plum); }

.btn-large { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-full  { width: 100%; display: block; }
.btn-sm    { padding: 8px 18px; font-size: 0.875rem; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo:hover { color: var(--plum-dark); text-decoration: none; }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav a:hover { color: var(--plum); text-decoration: none; }
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(36, 10, 38, 0.82) 0%,
    rgba(36, 10, 38, 0.55) 55%,
    rgba(36, 10, 38, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  background: rgba(200, 150, 62, 0.15);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(200, 150, 62, 0.3);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--plum-light), var(--border));
  z-index: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.step:last-child { padding-bottom: 0; }

.step-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  background: var(--plum);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74, 28, 77, 0.28);
}

.step-body { padding-top: 12px; }

.step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.format-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.format-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.format-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.format-img-wrap:hover .format-img { transform: scale(1.03); }

.format-text .section-title { margin-bottom: 20px; }

.format-text > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.format-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.format-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.trust-text .section-title { margin-bottom: 24px; }

.trust-sub {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 16px;
}

.trust-sub:last-of-type { margin-bottom: 32px; }

.trust-img-wrap {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.trust-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.apply-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.apply-text .section-title { margin-bottom: 16px; }

.apply-text > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.apply-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  opacity: 0.75;
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.field-wrap {
  margin-bottom: 20px;
  position: relative;
}

.field-wrap label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.field-wrap input,
.field-wrap select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.field-wrap input:focus,
.field-wrap select:focus {
  border-color: var(--plum-light);
  box-shadow: 0 0 0 3px rgba(74, 28, 77, 0.1);
}

.field-wrap input.error,
.field-wrap select.error {
  border-color: #C0392B;
}

.field-wrap input::placeholder { color: var(--text-muted); opacity: 0.6; }

.field-error {
  display: none;
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 4px;
}

.field-error.visible { display: block; }

.checkbox-wrap label { font-size: 0.875rem; cursor: pointer; }

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--plum);
}

.checkbox-label span { line-height: 1.5; }
.checkbox-label a { color: var(--plum); text-decoration: underline; }

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--plum);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item[open] summary { color: var(--plum); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--plum); }

.faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.footer-logo { color: var(--white); }
.footer-logo:hover { color: rgba(255,255,255,0.8); }

.footer-tagline {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.company-info {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); text-decoration: none; }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-content a {
  color: var(--plum);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.success-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: var(--cream);
}

.success-inner {
  text-align: center;
  max-width: 540px;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1;
}

.success-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 20px;
}

.success-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.success-sub {
  font-size: 0.975rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 36px;
}

.legal-section {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-inner {
  max-width: 760px;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-inner h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-inner ul {
  margin: 8px 0 16px 20px;
}

.legal-inner ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-inner a { color: var(--plum); text-decoration: underline; }
.legal-inner a:hover { color: var(--plum-dark); }

.legal-back {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .format-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .format-img { height: 320px; }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-img-wrap {
    width: 100%;
    max-width: 380px;
  }

  .trust-img { height: 300px; }

  .apply-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
  }

  .nav.open { transform: translateY(0); }

  .nav a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .steps::before { display: none; }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .btn-large { padding: 14px 28px; font-size: 1rem; }
}
