/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
:root {
  --c-deep: #0a2342;
  --c-mid: #133b6b;
  --c-teal: #2ec4b6;
  --c-teal-dark: #1a9e92;
  --c-teal-light: #e4f9f7;
  --c-white: #ffffff;
  --c-bg: #f4f8fb;
  --c-bg2: #eaf0f6;
  --c-text: #1b2d42;
  --c-text-soft: #5c7a96;
  --c-border: #cdd9e5;
  --c-accent-bg: #d4f5f2;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Source Sans 3', 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 3px 18px rgba(10,35,66,0.09);
  --shadow-lg: 0 8px 32px rgba(10,35,66,0.13);
}
body { font-family: var(--font-b); background: var(--c-bg); color: var(--c-text); line-height: 1.75; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.at-header { background: var(--c-deep); position: sticky; top: 0; z-index: 200; }
.at-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 62px; }
.at-logo { font-family: var(--font-h); font-size: 1.7rem; font-weight: 700; color: var(--c-white); letter-spacing: .02em; }
.at-logo span { color: var(--c-teal); }
.at-nav { display: flex; gap: 6px; list-style: none; }
.at-nav a { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); padding: 6px 14px; border-radius: 30px; transition: all .25s; text-transform: uppercase; letter-spacing: .06em; }
.at-nav a:hover, .at-nav a.active { background: var(--c-teal); color: var(--c-white); }
.at-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.at-burger span { width: 24px; height: 2px; background: var(--c-white); border-radius: 2px; transition: .3s; }
.at-mob-menu { display: none; background: var(--c-deep); padding: 12px 24px 20px; }
.at-mob-menu.open { display: block; }
.at-mob-menu a { display: block; padding: 10px 0; color: rgba(255,255,255,.8); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem; }

/* HERO */
.at-hero { background: linear-gradient(160deg, var(--c-deep) 0%, #0f3060 50%, #164578 100%); padding: 64px 24px 56px; position: relative; overflow: hidden; }
.at-hero::after { content: ''; position: absolute; bottom: -60px; right: -40px; width: 320px; height: 320px; border-radius: 50%; background: var(--c-teal); opacity: .06; }
.at-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.at-hero-tag { display: inline-block; background: var(--c-teal); color: var(--c-white); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 16px; border-radius: 30px; margin-bottom: 20px; }
.at-hero h1 { font-family: var(--font-h); font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--c-white); line-height: 1.22; margin-bottom: 20px; font-weight: 700; }
.at-hero-lead { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 660px; margin: 0 auto 24px; line-height: 1.8; }
.at-hero-meta { font-size: .8rem; color: rgba(255,255,255,.45); }
.at-hero-meta strong { color: var(--c-teal); }

/* SPLIT LAYOUT */
.at-split { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr 4px 340px; gap: 36px; align-items: start; }
.at-divider { background: linear-gradient(180deg, var(--c-teal) 0%, var(--c-deep) 100%); border-radius: 4px; min-height: 100%; position: sticky; top: 80px; }
.at-left {}
.at-right { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 22px; }

/* LEFT CONTENT */
.at-section { margin-bottom: 36px; }
.at-section-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-teal); margin-bottom: 8px; }
.at-section h2 { font-family: var(--font-h); font-size: 1.55rem; color: var(--c-deep); margin-bottom: 14px; line-height: 1.3; }
.at-section p { color: var(--c-text-soft); margin-bottom: 14px; font-size: .97rem; }

.at-img-block { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.at-img-block img { width: 100%; height: 280px; object-fit: cover; }
.at-img-caption { background: var(--c-white); padding: 10px 16px; font-size: .78rem; color: var(--c-text-soft); font-style: italic; }

.at-quote { background: var(--c-deep); color: var(--c-white); padding: 28px 28px; border-radius: var(--radius-lg); margin-bottom: 32px; position: relative; overflow: hidden; }
.at-quote::before { content: '\201C'; position: absolute; top: -10px; left: 14px; font-size: 6rem; font-family: var(--font-h); color: var(--c-teal); opacity: .2; line-height: 1; }
.at-quote p { font-family: var(--font-h); font-style: italic; font-size: 1.05rem; line-height: 1.6; position: relative; z-index: 2; }
.at-quote cite { display: block; margin-top: 10px; font-size: .78rem; font-style: normal; color: var(--c-teal); }

.at-highlight { background: linear-gradient(135deg, var(--c-teal-light), #d0f0ed); border-left: 5px solid var(--c-teal); border-radius: var(--radius); padding: 24px 24px; margin-bottom: 32px; }
.at-highlight h3 { font-family: var(--font-h); font-size: 1.1rem; color: var(--c-deep); margin-bottom: 10px; }
.at-highlight p { font-size: .9rem; color: var(--c-text); margin-bottom: 8px; }
.at-highlight ul { margin: 10px 0 0 18px; }
.at-highlight ul li { font-size: .88rem; color: var(--c-text-soft); margin-bottom: 5px; }

/* RIGHT SIDEBAR CARDS */
.at-fact-card { background: var(--c-white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 3px solid var(--c-teal); }
.at-fact-card h4 { font-family: var(--font-h); font-size: .95rem; color: var(--c-deep); margin-bottom: 10px; }
.at-fact-card p { font-size: .84rem; color: var(--c-text-soft); line-height: 1.6; }
.at-fact-card .at-fact-num { font-family: var(--font-h); font-size: 2.2rem; font-weight: 700; color: var(--c-teal); line-height: 1; margin-bottom: 6px; }

.at-tip-card { background: var(--c-deep); border-radius: var(--radius); padding: 20px; color: var(--c-white); }
.at-tip-card .at-tip-label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal); margin-bottom: 8px; }
.at-tip-card h4 { font-family: var(--font-h); font-size: .95rem; margin-bottom: 8px; }
.at-tip-card p { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.6; }

.at-side-quote { background: var(--c-teal-light); border-radius: var(--radius); padding: 18px; text-align: center; }
.at-side-quote blockquote { font-family: var(--font-h); font-size: .92rem; color: var(--c-deep); font-style: italic; line-height: 1.5; margin-bottom: 6px; }
.at-side-quote cite { font-size: .72rem; color: var(--c-text-soft); }

/* ARTICLE CARDS STRIP */
.at-articles-strip { background: var(--c-white); padding: 48px 24px; border-top: 3px solid var(--c-teal); }
.at-articles-inner { max-width: 1240px; margin: 0 auto; }
.at-articles-strip h2 { font-family: var(--font-h); font-size: 1.5rem; color: var(--c-deep); margin-bottom: 8px; text-align: center; }
.at-articles-strip .at-sub { text-align: center; color: var(--c-text-soft); font-size: .9rem; margin-bottom: 28px; }
.at-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.at-card { background: var(--c-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.at-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.at-card img { width: 100%; height: 180px; object-fit: cover; }
.at-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.at-card-tag { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-teal); margin-bottom: 8px; }
.at-card-body h3 { font-family: var(--font-h); font-size: 1.05rem; color: var(--c-deep); margin-bottom: 8px; line-height: 1.35; }
.at-card-body p { font-size: .84rem; color: var(--c-text-soft); flex: 1; }
.at-card-link { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--c-teal); transition: color .2s; }
.at-card-link:hover { color: var(--c-deep); }

/* NEWSLETTER */
.at-newsletter { background: linear-gradient(135deg, var(--c-deep), var(--c-mid)); padding: 48px 24px; text-align: center; }
.at-newsletter-inner { max-width: 520px; margin: 0 auto; }
.at-newsletter h2 { font-family: var(--font-h); color: var(--c-white); font-size: 1.4rem; margin-bottom: 10px; }
.at-newsletter p { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 20px; }
.at-nl-form { display: flex; gap: 10px; }
.at-nl-input { flex: 1; padding: 12px 18px; border-radius: 30px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--c-white); font-family: var(--font-b); font-size: .88rem; outline: none; transition: border-color .3s; }
.at-nl-input::placeholder { color: rgba(255,255,255,.4); }
.at-nl-input:focus { border-color: var(--c-teal); }
.at-nl-btn { padding: 12px 28px; border-radius: 30px; border: none; background: var(--c-teal); color: var(--c-white); font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .25s, transform .2s; font-family: var(--font-b); }
.at-nl-btn:hover { background: var(--c-teal-dark); transform: scale(1.04); }

/* FOOTER */
.at-footer { background: var(--c-deep); color: rgba(255,255,255,.6); padding: 40px 24px 20px; }
.at-footer-inner { max-width: 1240px; margin: 0 auto; }
.at-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.at-footer-brand .at-logo { font-size: 1.5rem; }
.at-footer-brand p { font-size: .82rem; margin-top: 10px; line-height: 1.7; max-width: 300px; }
.at-footer-col h5 { color: var(--c-white); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.at-footer-col a { display: block; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .2s; }
.at-footer-col a:hover { color: var(--c-teal); }
.at-footer-disc { font-size: .75rem; color: rgba(255,255,255,.35); line-height: 1.6; margin-bottom: 20px; padding: 16px; background: rgba(255,255,255,.04); border-radius: var(--radius); }
.at-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.at-footer-copy { font-size: .78rem; }
.at-footer-links { display: flex; gap: 16px; }
.at-footer-links a { font-size: .75rem; color: rgba(255,255,255,.4); transition: color .2s; }
.at-footer-links a:hover { color: var(--c-white); }

/* COOKIE BANNER */
#cookie-dismiss { display: none; }
.at-cookie { position: fixed; bottom: 20px; right: 20px; max-width: 360px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); z-index: 999; transition: opacity .3s, transform .3s; }
#cookie-dismiss:checked ~ .at-cookie { display: none; }
.at-cookie p { font-size: .82rem; color: var(--c-text-soft); margin-bottom: 12px; line-height: 1.5; }
.at-cookie-btns { display: flex; gap: 8px; align-items: center; }
.at-cookie-accept { padding: 8px 20px; border-radius: 30px; border: none; background: var(--c-teal); color: var(--c-white); font-weight: 700; font-size: .78rem; cursor: pointer; font-family: var(--font-b); min-height: 44px; }
.at-cookie-reject { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--c-border); background: transparent; color: var(--c-text-soft); font-size: .78rem; cursor: pointer; font-family: var(--font-b); min-height: 44px; }
.at-cookie a { font-size: .75rem; color: var(--c-teal); margin-left: 8px; }

/* ANIMATIONS */
@keyframes at-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.at-anim { animation: at-fade-up .65s ease forwards; }
.at-anim-d1 { animation: at-fade-up .65s .1s ease both; }
.at-anim-d2 { animation: at-fade-up .65s .2s ease both; }
.at-anim-d3 { animation: at-fade-up .65s .3s ease both; }

/* RESPONSIVE */
@media(max-width:960px){
  .at-split { grid-template-columns: 1fr; gap: 24px; }
  .at-divider { display: none; }
  .at-right { position: static; }
  .at-cards-grid { grid-template-columns: 1fr 1fr; }
  .at-footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px){
  .at-nav { display: none; }
  .at-burger { display: flex; }
  .at-hero { padding: 40px 16px 36px; }
  .at-hero h1 { font-size: 1.6rem; }
  .at-split { padding: 28px 16px; }
  .at-cards-grid { grid-template-columns: 1fr; }
  .at-nl-form { flex-direction: column; }
  .at-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .at-footer-bottom { flex-direction: column; align-items: flex-start; }
  .at-cookie { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}

/* ARTICLE PAGE */
.at-article-page { max-width: 1240px; margin: 0 auto; padding: 40px 24px 60px; display: grid; grid-template-columns: 1fr 4px 340px; gap: 36px; }
.at-article-content h2 { font-family: var(--font-h); font-size: 1.45rem; color: var(--c-deep); margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-teal); }
.at-article-content p { color: var(--c-text-soft); margin-bottom: 14px; font-size: .97rem; }

/* LEGAL PAGES */
.at-legal { max-width: 800px; margin: 0 auto; padding: 48px 24px 60px; }
.at-legal h1 { font-family: var(--font-h); font-size: 2rem; color: var(--c-deep); margin-bottom: 28px; }
.at-legal h2 { font-family: var(--font-h); font-size: 1.2rem; color: var(--c-deep); margin: 28px 0 12px; }
.at-legal p { color: var(--c-text-soft); margin-bottom: 12px; font-size: .92rem; }
.at-legal ul { margin: 10px 0 16px 20px; }
.at-legal ul li { font-size: .9rem; color: var(--c-text-soft); margin-bottom: 6px; }

/* SUCCESS PAGE */
.at-success { text-align: center; padding: 80px 24px; max-width: 600px; margin: 0 auto; }
.at-success h1 { font-family: var(--font-h); font-size: 2.2rem; color: var(--c-deep); margin-bottom: 16px; }
.at-success p { color: var(--c-text-soft); margin-bottom: 24px; font-size: 1rem; }
.at-btn { display: inline-block; padding: 14px 32px; background: var(--c-teal); color: var(--c-white); border-radius: 30px; font-weight: 700; font-size: .9rem; transition: background .25s, transform .2s; min-height: 44px; }
.at-btn:hover { background: var(--c-teal-dark); transform: scale(1.04); }

/* 404 */
.at-404 { text-align: center; padding: 80px 24px; }
.at-404 h1 { font-family: var(--font-h); font-size: 5rem; color: var(--c-teal); margin-bottom: 12px; }
.at-404 h2 { font-family: var(--font-h); font-size: 1.5rem; color: var(--c-deep); margin-bottom: 16px; }
.at-404 p { color: var(--c-text-soft); margin-bottom: 28px; }

/* BREADCRUMB */
.at-breadcrumb { max-width: 1240px; margin: 0 auto; padding: 14px 24px; font-size: .78rem; color: var(--c-text-soft); }
.at-breadcrumb a { color: var(--c-teal); }