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

:root {
  --white: #ffffff;
  --bg: #f5f7f6;
  --gray-light: #e8ede9;
  --gray: #b0b8b3;
  --green: #a8d5ba;
  --green-dark: #7bc8a4;
  --green-deep: #4a9e6e;
  --text: #2d3a32;
  --text-light: #5a6b60;
  --radius: 18px;
  --shadow: 0 4px 24px rgba(45,58,50,.07);
  --shadow-hover: 0 8px 36px rgba(45,58,50,.13);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;font-size:16px;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;}
a{color:var(--green-deep);text-decoration:none;transition:color var(--transition);}
a:hover{color:var(--green-dark);}
img{max-width:100%;height:auto;border-radius:var(--radius);display:block;}

/* HEADER */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.85);backdrop-filter:blur(14px);border-bottom:1px solid var(--gray-light);padding:0 1.5rem;}
.header-inner{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:64px;}
.logo{font-size:1.5rem;font-weight:800;color:var(--green-deep);letter-spacing:-1px;}
.logo span{color:var(--green-dark);}
.nav-links{display:flex;gap:1.5rem;list-style:none;}
.nav-links a{font-size:.9rem;font-weight:500;color:var(--text-light);padding:6px 0;position:relative;}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--green-dark);transition:width var(--transition);}
.nav-links a:hover::after{width:100%;}
.burger{display:none;background:none;border:none;cursor:pointer;width:44px;height:44px;position:relative;}
.burger span,.burger span::before,.burger span::after{display:block;width:22px;height:2px;background:var(--text);position:absolute;left:11px;transition:var(--transition);}
.burger span{top:50%;transform:translateY(-50%);}
.burger span::before{content:'';top:-7px;}
.burger span::after{content:'';top:7px;}

/* LAYOUT */
.container{max-width:1240px;margin:0 auto;padding:0 1.5rem;}
.layout-main{display:grid;grid-template-columns:1fr 340px;gap:2.5rem;padding:2.5rem 0;}
.content-area{min-width:0;}
.sidebar{display:flex;flex-direction:column;gap:1.5rem;}
.sidebar-card{background:var(--white);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);transition:box-shadow var(--transition);}
.sidebar-card:hover{box-shadow:var(--shadow-hover);}
.sidebar-card h3{font-size:1rem;font-weight:700;margin-bottom:.75rem;color:var(--green-deep);}
.sidebar-card ul{list-style:none;display:flex;flex-direction:column;gap:.5rem;}
.sidebar-card li{font-size:.88rem;color:var(--text-light);}

/* HERO */
.hero{background:linear-gradient(135deg,var(--green) 0%,var(--green-dark) 100%);border-radius:calc(var(--radius)*1.5);padding:3.5rem 3rem;margin-bottom:2.5rem;color:var(--white);position:relative;overflow:hidden;}
.hero::before{content:'';position:absolute;width:320px;height:320px;background:rgba(255,255,255,.08);border-radius:50%;top:-80px;right:-60px;}
.hero .tag{display:inline-block;background:rgba(255,255,255,.2);padding:4px 14px;border-radius:99px;font-size:.78rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:1rem;}
.hero h1{font-size:2.6rem;font-weight:800;line-height:1.15;margin-bottom:1rem;max-width:640px;}
.hero p{font-size:1.08rem;opacity:.92;max-width:560px;margin-bottom:1.5rem;}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1.8rem;border-radius:99px;font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:all var(--transition);}
.btn-white{background:var(--white);color:var(--green-deep);}
.btn-white:hover{background:var(--gray-light);color:var(--green-deep);transform:translateY(-2px);}
.btn-green{background:var(--green-deep);color:var(--white);}
.btn-green:hover{background:var(--green-dark);transform:translateY(-2px);}

/* CARDS */
.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:all var(--transition);}
.card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px);}
.card-body{padding:1.5rem;}
.card-body .cat{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--green-deep);margin-bottom:.4rem;}
.card-body h3{font-size:1.15rem;font-weight:700;margin-bottom:.5rem;line-height:1.35;}
.card-body p{font-size:.9rem;color:var(--text-light);}

.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem;}

/* SECTIONS */
.section{margin-bottom:2.5rem;}
.section-title{font-size:1.5rem;font-weight:800;margin-bottom:1.2rem;position:relative;display:inline-block;}
.section-title::after{content:'';display:block;width:40px;height:3px;background:var(--green-dark);border-radius:3px;margin-top:6px;}
blockquote{border-left:4px solid var(--green-dark);padding:1rem 1.5rem;margin:1.5rem 0;background:var(--white);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--text-light);}

/* FEATURES */
.features-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem;}
.feature-card{background:var(--white);border-radius:var(--radius);padding:2rem 1.5rem;text-align:center;box-shadow:var(--shadow);transition:all var(--transition);}
.feature-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px);}
.feature-icon{width:56px;height:56px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.5rem;}
.feature-card h3{font-size:1.05rem;font-weight:700;margin-bottom:.5rem;}
.feature-card p{font-size:.88rem;color:var(--text-light);}

/* SUBSCRIBE */
.subscribe-box{background:linear-gradient(135deg,var(--green-dark),var(--green-deep));border-radius:var(--radius);padding:2.5rem;color:var(--white);text-align:center;margin-bottom:2.5rem;}
.subscribe-box h2{font-size:1.6rem;font-weight:800;margin-bottom:.6rem;}
.subscribe-box p{opacity:.9;margin-bottom:1.2rem;font-size:.95rem;}
.subscribe-form{display:flex;gap:.75rem;max-width:460px;margin:0 auto;}
.subscribe-form input[type=email]{flex:1;min-height:44px;border:none;border-radius:99px;padding:0 1.2rem;font-size:.95rem;}
.subscribe-form input[type=email]:focus{outline:2px solid var(--white);}

/* ARTICLE PAGE */
.article-hero{position:relative;border-radius:calc(var(--radius)*1.5);overflow:hidden;margin-bottom:2rem;}
.article-hero img{width:100%;max-height:420px;object-fit:cover;}
.article-hero .overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.55) 0%,transparent 60%);display:flex;align-items:flex-end;padding:2.5rem;}
.article-hero .overlay h1{color:#fff;font-size:2.2rem;font-weight:800;max-width:600px;line-height:1.2;}
.article-content{max-width:760px;}
.article-content h2{font-size:1.35rem;font-weight:700;margin:2rem 0 .8rem;color:var(--green-deep);}
.article-content p{margin-bottom:1rem;font-size:1rem;}
.article-content ul,.article-content ol{margin:1rem 0 1rem 1.5rem;display:flex;flex-direction:column;gap:.4rem;}
.article-content li{font-size:.95rem;color:var(--text-light);}
.disclaimer-box{background:var(--gray-light);border-radius:var(--radius);padding:1.2rem 1.5rem;margin-top:2rem;font-size:.85rem;color:var(--text-light);}

/* FOOTER */
.site-footer{background:var(--white);border-top:1px solid var(--gray-light);padding:2.5rem 1.5rem;margin-top:3rem;}
.footer-inner{max-width:1240px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;}
.footer-links{display:flex;gap:1.2rem;list-style:none;}
.footer-links a{font-size:.85rem;color:var(--text-light);}
.footer-copy{font-size:.82rem;color:var(--gray);}
.footer-disclaimer{width:100%;font-size:.78rem;color:var(--gray);margin-top:.75rem;line-height:1.5;}

/* COOKIE BANNER */
.cookie-banner{position:fixed;bottom:1.5rem;right:1.5rem;z-index:999;max-width:380px;}
.cookie-check{display:none;}
.cookie-box{background:var(--white);border-radius:var(--radius);padding:1.5rem;box-shadow:0 8px 40px rgba(0,0,0,.12);font-size:.85rem;color:var(--text-light);line-height:1.5;transition:opacity var(--transition),transform var(--transition);}
.cookie-check:checked ~ .cookie-box{display:none;}
.cookie-btns{display:flex;gap:.75rem;margin-top:1rem;}
.cookie-btns label,.cookie-btns a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1.2rem;border-radius:99px;font-size:.85rem;font-weight:600;cursor:pointer;border:none;}
.cookie-accept{background:var(--green-deep);color:var(--white);}
.cookie-decline{background:var(--gray-light);color:var(--text);}

/* SUCCESS / 404 */
.msg-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;text-align:center;padding:2rem;}
.msg-page h1{font-size:2.8rem;font-weight:800;margin-bottom:.75rem;color:var(--green-deep);}
.msg-page p{font-size:1.1rem;color:var(--text-light);margin-bottom:1.5rem;max-width:480px;}

/* LEGAL */
.legal-page{max-width:760px;margin:0 auto;padding:2.5rem 0;}
.legal-page h1{font-size:2rem;font-weight:800;margin-bottom:1.5rem;color:var(--green-deep);}
.legal-page h2{font-size:1.2rem;font-weight:700;margin:1.5rem 0 .6rem;color:var(--text);}
.legal-page p{margin-bottom:1rem;font-size:.95rem;color:var(--text-light);}

/* TIPS GRID */
.tips-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2.5rem;}
.tip-card{background:var(--white);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);border-left:4px solid var(--green-dark);transition:all var(--transition);}
.tip-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);}
.tip-card h4{font-size:1rem;font-weight:700;margin-bottom:.4rem;}
.tip-card p{font-size:.88rem;color:var(--text-light);}

/* RESPONSIVE */
@media(max-width:900px){
  .layout-main{grid-template-columns:1fr;}
  .cards-grid,.features-row{grid-template-columns:1fr 1fr;}
  .tips-grid{grid-template-columns:1fr;}
  .nav-links{display:none;position:fixed;inset:0;background:rgba(255,255,255,.97);flex-direction:column;align-items:center;justify-content:center;gap:2rem;z-index:200;}
  .nav-links.open{display:flex;}
  .nav-links a{font-size:1.2rem;}
  .burger{display:flex;align-items:center;justify-content:center;}
  .hero h1{font-size:1.8rem;}
  .hero{padding:2.5rem 1.5rem;}
  .subscribe-form{flex-direction:column;}
}
@media(max-width:560px){
  .cards-grid,.features-row{grid-template-columns:1fr;}
  .header-inner{height:56px;}
  .hero h1{font-size:1.5rem;}
  .article-hero .overlay h1{font-size:1.4rem;}
  .footer-inner{flex-direction:column;text-align:center;}
}

/* ANIMATIONS */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}
.fade-up{animation:fadeUp .6s ease both;}

.text-section { padding: 3rem 0; border-top: 1px solid #eee; }
.text-section.alt { background: #f7faf8; border-radius: 10px; padding: 2.5rem 2rem; margin: 1.5rem 0; border-top: none; }
.text-section-inner { max-width: 680px; }
.text-section h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.text-section p { font-size: 0.95rem; line-height: 1.85; color: #555; margin-bottom: 0.9rem; }
.text-section p:last-child { margin-bottom: 0; }