/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Work+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --w-black: #0a0a0a;
  --w-white: #fafafa;
  --w-bg: #f2f1ef;
  --w-orange: #FF5A00;
  --w-orange-soft: #FFF1E8;
  --w-orange-mid: #FFDCC8;
  --w-gray: #5a5a5a;
  --w-gray-light: #e6e5e3;
  --w-gray-dark: #333;
  --w-font-display: 'Syne', sans-serif;
  --w-font-body: 'Work Sans', sans-serif;
  --w-radius: 8px;
  --w-shadow: 0 2px 20px rgba(0,0,0,0.06);
  --w-shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
}

body {
  font-family: var(--w-font-body);
  background: var(--w-bg);
  color: var(--w-black);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === HEADER === */
.w-header {
  background: var(--w-black);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--w-orange);
}
.w-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.w-logo {
  font-family: var(--w-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--w-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.w-logo span { color: var(--w-orange); }
.w-nav { display: flex; gap: 6px; align-items: center; }
.w-nav a {
  font-family: var(--w-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.w-nav a:hover, .w-nav a.w-active {
  color: var(--w-white);
  background: rgba(255,90,0,0.15);
}
.w-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.w-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--w-white);
  border-radius: 2px;
  transition: 0.3s;
}
.w-mobile-nav {
  display: none;
  background: var(--w-black);
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.w-mobile-nav.w-open { display: block; }
.w-mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.w-mobile-nav a:hover { color: var(--w-orange); }

/* === HERO === */
.w-hero {
  background: var(--w-black);
  padding: 56px 20px 48px;
  color: var(--w-white);
}
.w-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.w-hero-tag {
  display: inline-block;
  background: var(--w-orange);
  color: var(--w-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.w-hero h1 {
  font-family: var(--w-font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}
.w-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.w-hero-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.w-hero-meta strong { color: rgba(255,255,255,0.65); }

/* === MAIN LAYOUT === */
.w-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.w-content {}

/* === STEP BLOCKS === */
.w-step {
  position: relative;
  background: var(--w-white);
  border-radius: var(--w-radius);
  padding: 40px 36px 36px;
  margin-bottom: 28px;
  box-shadow: var(--w-shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid var(--w-orange);
}
.w-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--w-shadow-hover);
}
.w-step-num {
  font-family: var(--w-font-display);
  font-size: 7rem;
  font-weight: 800;
  color: var(--w-orange-soft);
  line-height: 1;
  position: absolute;
  top: -10px;
  right: 16px;
  user-select: none;
  pointer-events: none;
}
.w-step h2 {
  font-family: var(--w-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 14px;
  position: relative;
}
.w-step p {
  color: var(--w-gray);
  font-size: 0.95rem;
  margin-bottom: 12px;
  position: relative;
}
.w-step-tag {
  display: inline-block;
  background: var(--w-orange-soft);
  color: var(--w-orange);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === SECTION HEADERS === */
.w-section-label {
  font-family: var(--w-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--w-orange);
  margin-bottom: 8px;
}
.w-section-title {
  font-family: var(--w-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--w-black);
  margin-bottom: 8px;
}
.w-section-sub {
  font-size: 0.9rem;
  color: var(--w-gray);
  margin-bottom: 24px;
}

/* === INTRO BLOCK === */
.w-intro {
  background: var(--w-white);
  border-radius: var(--w-radius);
  padding: 32px;
  box-shadow: var(--w-shadow);
  margin-bottom: 28px;
}
.w-intro h2 {
  font-family: var(--w-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 14px;
}
.w-intro p {
  color: var(--w-gray);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* === IMAGE BLOCK === */
.w-img-block {
  border-radius: var(--w-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--w-shadow);
  position: relative;
}
.w-img-block img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.w-img-caption {
  background: var(--w-white);
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--w-gray);
  font-style: italic;
}

/* === HIGHLIGHT BOX === */
.w-highlight {
  background: var(--w-orange);
  color: var(--w-white);
  border-radius: var(--w-radius);
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.w-highlight::before {
  content: '→';
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 5rem;
  opacity: 0.12;
  font-family: var(--w-font-display);
}
.w-highlight h3 {
  font-family: var(--w-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.w-highlight p {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 8px;
}
.w-highlight ul {
  margin: 12px 0 0 18px;
  list-style: disc;
}
.w-highlight ul li {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

/* === DARK HIGHLIGHT === */
.w-highlight-dark {
  background: var(--w-black);
  color: var(--w-white);
  border-radius: var(--w-radius);
  padding: 32px;
  margin-bottom: 28px;
}
.w-highlight-dark h3 {
  font-family: var(--w-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--w-orange);
}
.w-highlight-dark p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* === QUOTE BLOCK === */
.w-quote {
  border-left: 4px solid var(--w-orange);
  background: var(--w-white);
  border-radius: 0 var(--w-radius) var(--w-radius) 0;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--w-shadow);
}
.w-quote blockquote {
  font-family: var(--w-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--w-black);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 8px;
}
.w-quote cite {
  font-size: 0.78rem;
  color: var(--w-gray);
  font-style: normal;
}

/* === REC CARDS === */
.w-rec-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.w-rec-card {
  display: flex;
  gap: 16px;
  background: var(--w-white);
  border-radius: var(--w-radius);
  padding: 20px;
  box-shadow: var(--w-shadow);
  align-items: flex-start;
  transition: transform 0.25s;
  border-left: 3px solid transparent;
}
.w-rec-card:hover {
  transform: translateX(4px);
  border-left-color: var(--w-orange);
}
.w-rec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--w-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.w-rec-card h4 {
  font-family: var(--w-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 4px;
}
.w-rec-card p {
  font-size: 0.82rem;
  color: var(--w-gray);
  line-height: 1.55;
}

/* === CONCLUSION === */
.w-conclusion {
  background: var(--w-orange-soft);
  border-radius: var(--w-radius);
  padding: 32px;
  border-left: 5px solid var(--w-orange);
  margin-bottom: 28px;
}
.w-conclusion h3 {
  font-family: var(--w-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 12px;
}
.w-conclusion p {
  color: var(--w-gray-dark);
  font-size: 0.93rem;
  margin-bottom: 10px;
}

/* === SIDEBAR === */
.w-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.w-sb-card {
  background: var(--w-white);
  border-radius: var(--w-radius);
  padding: 22px 18px;
  box-shadow: var(--w-shadow);
}
.w-sb-card h4 {
  font-family: var(--w-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--w-orange);
}
.w-sb-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--w-gray-light);
  text-decoration: none;
  transition: opacity 0.2s;
}
.w-sb-item:last-child { border-bottom: none; }
.w-sb-item:hover { opacity: 0.7; }
.w-sb-num {
  font-family: var(--w-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--w-orange-mid);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}
.w-sb-title { font-size: 0.82rem; font-weight: 500; color: var(--w-black); line-height: 1.4; }
.w-sb-cat { font-size: 0.68rem; color: var(--w-orange); margin-top: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

.w-sb-quote {
  background: var(--w-black);
  color: rgba(255,255,255,0.8);
  border-radius: var(--w-radius);
  padding: 22px 18px;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.6;
}
.w-sb-quote footer {
  margin-top: 10px;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--w-orange);
  font-weight: 600;
}

.w-sb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.w-sb-tag {
  background: var(--w-gray-light);
  color: var(--w-gray);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
}
.w-sb-tag:hover { background: var(--w-orange); color: var(--w-white); }

.w-sb-tip {
  background: var(--w-orange-soft);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 10px;
}
.w-sb-tip-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-orange);
  margin-bottom: 6px;
}
.w-sb-tip p { font-size: 0.8rem; color: var(--w-gray-dark); }

/* === NEWSLETTER === */
.w-newsletter {
  background: var(--w-orange);
  border-radius: var(--w-radius);
  padding: 26px 18px;
  text-align: center;
}
.w-newsletter h4 {
  font-family: var(--w-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--w-white);
  margin-bottom: 8px;
}
.w-newsletter p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.w-nl-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 4px;
  border: none;
  font-family: var(--w-font-body);
  font-size: 0.84rem;
  margin-bottom: 8px;
  outline: none;
  background: var(--w-white);
}
.w-nl-btn {
  width: 100%;
  padding: 10px;
  background: var(--w-black);
  color: var(--w-white);
  font-family: var(--w-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.w-nl-btn:hover { opacity: 0.85; }

/* === FOOTER === */
.w-footer {
  background: var(--w-black);
  color: rgba(255,255,255,0.6);
  padding: 48px 20px 20px;
}
.w-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.w-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.w-footer-brand .w-logo { font-size: 1.4rem; }
.w-footer-brand p {
  font-size: 0.82rem;
  margin-top: 10px;
  line-height: 1.7;
  max-width: 300px;
}
.w-footer-col h5 {
  color: var(--w-white);
  font-family: var(--w-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.w-footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.w-footer-col a:hover { color: var(--w-orange); }
.w-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.w-footer-copy { font-size: 0.75rem; }
.w-footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 800px;
}
.w-footer-links { display: flex; gap: 16px; }
.w-footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  transition: color 0.2s;
}
.w-footer-links a:hover { color: var(--w-orange); }

/* === COOKIE BANNER === */
.w-cookie-toggle { display: none; }
.w-cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--w-black);
  color: rgba(255,255,255,0.8);
  padding: 20px 24px;
  border-radius: var(--w-radius);
  max-width: 360px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  z-index: 9999;
  font-size: 0.82rem;
  line-height: 1.6;
}
.w-cookie-toggle:checked ~ .w-cookie-banner { display: none; }
.w-cookie-banner p { margin-bottom: 14px; }
.w-cookie-banner a { color: var(--w-orange); text-decoration: underline; }
.w-cookie-actions { display: flex; gap: 8px; }
.w-cookie-accept,
.w-cookie-reject {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--w-font-body);
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-cookie-accept {
  background: var(--w-orange);
  color: var(--w-white);
  flex: 1;
}
.w-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  flex: 1;
}

/* === ARTICLE PAGE (non-home) === */
.w-article-page { margin-bottom: 28px; }
.w-article-page h2 {
  font-family: var(--w-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--w-black);
  margin: 30px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--w-orange);
}
.w-article-page p {
  color: var(--w-gray);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.w-article-page blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--w-orange-soft);
  border-left: 4px solid var(--w-orange);
  font-style: italic;
  color: var(--w-gray-dark);
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 0 var(--w-radius) var(--w-radius) 0;
}

/* === LEGAL PAGES === */
.w-legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.w-legal h1 {
  font-family: var(--w-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--w-black);
  margin-bottom: 24px;
}
.w-legal h2 {
  font-family: var(--w-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--w-black);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--w-orange);
}
.w-legal p {
  color: var(--w-gray);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.w-legal-date {
  font-size: 0.78rem;
  color: var(--w-gray);
  margin-bottom: 24px;
}

/* === SUCCESS PAGE === */
.w-success {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
}
.w-success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.w-success h1 {
  font-family: var(--w-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--w-black);
  margin-bottom: 14px;
}
.w-success p {
  color: var(--w-gray);
  font-size: 1rem;
  margin-bottom: 28px;
}
.w-success-btn {
  display: inline-block;
  background: var(--w-orange);
  color: var(--w-white);
  padding: 14px 36px;
  font-family: var(--w-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  min-height: 44px;
}
.w-success-btn:hover { opacity: 0.85; }

/* === 404 === */
.w-404 {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}
.w-404-num {
  font-family: var(--w-font-display);
  font-size: 8rem;
  font-weight: 800;
  color: var(--w-orange-mid);
  line-height: 1;
  margin-bottom: 12px;
}
.w-404 h1 {
  font-family: var(--w-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 12px;
}
.w-404 p {
  color: var(--w-gray);
  margin-bottom: 28px;
}
.w-404-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.w-404-links a {
  color: var(--w-orange);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.w-404-links a:hover { opacity: 0.7; }

/* === GRID CARDS === */
.w-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.w-grid-card {
  background: var(--w-white);
  border-radius: var(--w-radius);
  padding: 24px 20px;
  box-shadow: var(--w-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 3px solid var(--w-orange);
}
.w-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--w-shadow-hover);
}
.w-grid-card h4 {
  font-family: var(--w-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--w-black);
  margin-bottom: 8px;
}
.w-grid-card p {
  font-size: 0.84rem;
  color: var(--w-gray);
  line-height: 1.55;
}

/* === ANIMATIONS === */
@keyframes w-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.w-anim { animation: w-fade-up 0.5s ease forwards; }
.w-anim-2 { animation: w-fade-up 0.5s 0.1s ease both; }
.w-anim-3 { animation: w-fade-up 0.5s 0.2s ease both; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .w-main { grid-template-columns: 1fr; }
  .w-sidebar { position: static; }
  .w-hero h1 { font-size: 1.8rem; }
  .w-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .w-grid-2 { grid-template-columns: 1fr; }
  .w-step-num { font-size: 5rem; }
}
@media (max-width: 600px) {
  .w-nav { display: none; }
  .w-burger { display: flex; }
  .w-hero { padding: 36px 16px 32px; }
  .w-main { padding: 24px 16px 40px; }
  .w-step { padding: 28px 20px 24px; }
  .w-intro { padding: 24px 18px; }
  .w-highlight { padding: 24px 18px; }
  .w-cookie-banner { left: 16px; right: 16px; max-width: none; bottom: 12px; }
  .w-footer-bottom { flex-direction: column; align-items: flex-start; }
}
