/*
Theme Name: Petani Pintar
Theme URI: https://petanipintar.id
Author: PT Rumah Projek Nusantara
Description: Tema WordPress khusus untuk portal informasi pertanian Petani Pintar. Berita ditarik otomatis dari postingan, dengan bagian harga pasar yang bisa diatur lewat widget.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petani-pintar
*/

:root{
  --cream:#F2EEDF;
  --cream-2:#EAE4CF;
  --green-deep:#0B3B1D;
  --green-deep-2:#123F22;
  --green-mid:#1F7A40;
  --gold:#E2A438;
  --gold-dark:#B9812A;
  --soil:#145C2A;
  --ink:#1A2418;
  --ink-soft:#454F42;
  --white:#FBFAF4;
  --maxw:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans', -apple-system, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  color:var(--ink);
  margin:0;
  line-height:1.12;
  font-weight:600;
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer;}

:focus-visible{outline:3px solid var(--gold-dark); outline-offset:2px;}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* ---------- Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--cream);
  border-bottom:1px solid rgba(34,48,26,0.14);
}
.nav-row{display:flex; align-items:center; justify-content:space-between; padding:18px 0;}
.brand{display:flex; align-items:center; gap:10px;}
.brand-logo{height:46px; width:auto; display:block;}
nav.primary-nav ul{display:flex; gap:30px;}
nav.primary-nav a{
  font-size:15px; font-weight:500; color:var(--ink-soft);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:border-color .2s ease, color .2s ease;
}
nav.primary-nav a:hover{color:var(--green-deep); border-color:var(--gold-dark);}
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green-deep); color:var(--cream);
  padding:11px 20px; border-radius:999px; font-size:14px; font-weight:600;
  border:1px solid var(--green-deep);
  transition:background .2s ease;
}
.nav-cta:hover{background:var(--green-mid); color:var(--cream);}
.burger{
  display:none; width:40px; height:40px; border:1px solid rgba(34,48,26,0.25);
  border-radius:8px; background:transparent; align-items:center; justify-content:center;
}
.burger span, .burger span::before, .burger span::after{
  content:''; display:block; width:18px; height:2px; background:var(--green-deep); position:relative;
}
.burger span::before{position:absolute; top:-6px;}
.burger span::after{position:absolute; top:6px;}
.mobile-panel{display:none;}

@media (max-width: 900px){
  nav.primary-nav, .nav-row > .nav-cta{display:none;}
  .burger{display:flex;}
  .mobile-panel.open{display:block; padding:6px 0 22px 0; border-top:1px solid rgba(34,48,26,0.12);}
  .mobile-panel ul{display:flex; flex-direction:column; gap:4px; padding-top:10px;}
  .mobile-panel a{display:block; padding:12px 4px; font-size:16px; font-weight:500; color:var(--ink-soft);}
  .mobile-panel .nav-cta{display:inline-flex; margin-top:10px;}
}

/* ---------- Hero ---------- */
.hero{background:var(--green-deep); color:var(--cream); position:relative; overflow:hidden;}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 88% -10%, rgba(226,164,56,0.16), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 34px);
  pointer-events:none;
}
.hero-inner{position:relative; display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center; padding:76px 0 84px 0;}
.eyebrow-tag{display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--gold); font-weight:600; margin-bottom:20px;}
.eyebrow-tag::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--gold);}
.hero h1{font-size:clamp(34px, 4.6vw, 54px); color:var(--white); max-width:15ch; letter-spacing:-0.01em;}
.hero p.lede{margin-top:22px; font-size:17.5px; color:rgba(251,250,244,0.82); max-width:46ch;}
.hero-actions{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}
.btn{display:inline-flex; align-items:center; gap:9px; padding:14px 26px; border-radius:999px; font-size:15px; font-weight:600; border:1px solid transparent; transition:transform .18s ease, background .18s ease, border-color .18s ease;}
.btn:hover{transform:translateY(-1px);}
.btn-gold{background:var(--gold); color:var(--green-deep);}
.btn-gold:hover{background:#eeb655; color:var(--green-deep);}
.btn-outline{border-color:rgba(251,250,244,0.4); color:var(--cream);}
.btn-outline:hover{border-color:var(--cream); background:rgba(251,250,244,0.06); color:var(--cream);}

.hero-stats{display:flex; gap:34px; margin-top:46px; flex-wrap:wrap;}
.hero-stats div{border-left:2px solid rgba(226,164,56,0.55); padding-left:14px;}
.hero-stats strong{display:block; font-family:'Fraunces',serif; font-size:26px; color:var(--white);}
.hero-stats span{font-size:13.5px; color:rgba(251,250,244,0.68);}

.board{background:var(--cream); border-radius:16px; padding:26px 26px 20px 26px; box-shadow:0 30px 60px -20px rgba(0,0,0,0.45); animation:riseIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay:.15s;}
@keyframes riseIn{from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);}}
.board-head{display:flex; justify-content:space-between; align-items:baseline; border-bottom:1px solid rgba(34,48,26,0.16); padding-bottom:14px; margin-bottom:6px;}
.board-head h3{font-size:18px; color:var(--green-deep);}
.board-head span{font-size:12.5px; color:var(--ink-soft);}
.board-row{display:flex; justify-content:space-between; align-items:center; padding:13px 0; border-bottom:1px dashed rgba(34,48,26,0.16); font-size:14.5px;}
.board-row:last-of-type{border-bottom:none;}
.board-row .name{color:var(--ink); font-weight:500;}
.board-row .name small{display:block; color:var(--ink-soft); font-weight:400; font-size:12px;}
.board-row .price{display:flex; align-items:center; gap:8px; font-variant-numeric:tabular-nums; font-weight:600;}
.trend{font-size:12px; font-weight:700; padding:2px 7px; border-radius:6px;}
.trend.up{background:rgba(75,107,59,0.16); color:var(--green-mid);}
.trend.down{background:rgba(178,60,44,0.14); color:#B23C2C;}
.board-foot{margin-top:8px; padding-top:12px; border-top:1px solid rgba(34,48,26,0.16); font-size:12px; color:var(--ink-soft);}

@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr; padding:52px 0 60px 0; gap:40px;}
  .hero h1{max-width:none;}
}

/* ---------- Section shell ---------- */
section{padding:88px 0;}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:44px; flex-wrap:wrap;}
.section-head h2{font-size:clamp(26px,3vw,36px); max-width:20ch;}
.section-head p{color:var(--ink-soft); max-width:42ch; font-size:15.5px;}
.kicker{color:var(--soil); font-weight:600; font-size:14px; margin-bottom:10px; display:block;}

/* ---------- Kategori ---------- */
.field-grid{display:grid; grid-template-columns:repeat(6, 1fr); grid-auto-rows:minmax(150px, auto); gap:14px;}
.plot{background:var(--white); border:1px solid rgba(34,48,26,0.14); border-radius:12px; padding:20px; display:flex; flex-direction:column; justify-content:space-between; transition:border-color .2s ease, background .2s ease;}
.plot:hover{border-color:var(--green-mid); background:#fdfcf6;}
.plot svg{width:26px; height:26px; stroke:var(--soil); fill:none; stroke-width:1.6;}
.plot-thumb-img{width:44px; height:44px; border-radius:8px; object-fit:cover;}
.plot h4{font-size:15.5px; font-weight:600;}
.plot p{font-size:12.8px; color:var(--ink-soft); margin-top:4px;}
.plot.big{grid-column:span 2; grid-row:span 2; justify-content:flex-start; gap:16px;}
.plot.big svg{width:34px; height:34px;}
.plot-cover{width:100%; aspect-ratio:16/9; border-radius:12px; overflow:hidden;}
.plot-cover img, .plot-cover-img{width:100%; height:100%; object-fit:cover; display:block;}
.plot.big .plot-thumb-img{width:56px; height:56px;}
.plot.big h4{font-size:19px;}
.plot.big p{font-size:13.5px;}
.plot.wide{grid-column:span 2; justify-content:flex-start; gap:14px;}
.plot-cover-wide{aspect-ratio:21/9;}

@media (max-width:980px){
  .field-grid{grid-template-columns:repeat(3,1fr); grid-auto-rows:minmax(150px, auto);}
  .plot.big{grid-column:span 3; grid-row:span 1; flex-direction:row; align-items:center; gap:16px;}
  .plot.big > svg{flex-shrink:0;}
  .plot.big .plot-cover{width:110px; aspect-ratio:1/1; flex-shrink:0;}
}
@media (max-width:600px){
  .field-grid{grid-template-columns:repeat(2,1fr);}
  .plot.wide{grid-column:span 2;}
  .plot.big{grid-column:span 2;}
}

/* ---------- Berita (loop postingan) ---------- */
.news-list{border-top:1px solid rgba(34,48,26,0.16);}
.news-item{display:grid; grid-template-columns:110px 110px 1fr auto; gap:20px; align-items:center; padding:26px 0; border-bottom:1px solid rgba(34,48,26,0.16);}
.news-thumb{width:100%; max-width:160px; aspect-ratio:1/1; border-radius:10px; overflow:hidden; background:var(--cream-2); flex-shrink:0;}
.news-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.news-date{font-size:13px; color:var(--soil); font-weight:600;}
.news-item h3{font-size:19.5px; margin-bottom:6px; font-weight:600;}
.news-item h3 a:hover{color:var(--green-mid);}
.news-item p{font-size:14px; color:var(--ink-soft); max-width:60ch;}
.news-tag{font-size:12px; font-weight:600; color:var(--green-deep); background:rgba(75,107,59,0.14); padding:6px 12px; border-radius:999px; white-space:nowrap;}
.news-empty{padding:30px 0; color:var(--ink-soft); font-size:14.5px;}
@media (max-width:760px){
  .news-item{grid-template-columns:1fr; gap:10px;}
  .news-thumb{max-width:180px;}
  .news-tag{justify-self:flex-start;}
}

/* ---------- Harga pasar ---------- */
.market{background:var(--green-deep-2); color:var(--cream); border-radius:20px; padding:48px 44px;}
.market .section-head h2, .market .section-head p{color:var(--white);}
.market .section-head p{color:rgba(251,250,244,0.72);}
.market-table{width:100%; border-collapse:collapse;}
.market-table th{text-align:left; font-size:12.5px; font-weight:600; color:rgba(251,250,244,0.6); padding:0 14px 12px 14px; border-bottom:1px solid rgba(251,250,244,0.2);}
.market-table td{padding:16px 14px; border-bottom:1px solid rgba(251,250,244,0.12); font-size:15px;}
.market-table td.num{font-variant-numeric:tabular-nums; font-weight:600; text-align:right;}
.market-table tr:last-child td{border-bottom:none;}
.market-note{margin-top:20px; font-size:12.5px; color:rgba(251,250,244,0.55);}
.market-widget-area .textwidget, .market-widget-area p{color:rgba(251,250,244,0.9);}
.table-scroll{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch;}
.table-scroll .market-table{min-width:460px;}

/* ---------- Tips ---------- */
.tips-row{display:grid; grid-template-columns:repeat(3,1fr); gap:30px;}
.tip{border-top:3px solid var(--gold-dark); padding-top:22px;}
.tip svg{width:30px; height:30px; stroke:var(--green-deep); fill:none; stroke-width:1.6; margin-bottom:16px;}
.tip-thumb-img{width:110px; height:110px; max-width:120px; border-radius:10px; object-fit:cover; margin-bottom:16px;}
.tip h3{font-size:19px; margin-bottom:10px;}
.tip h3 a:hover{color:var(--green-mid);}
.tip p{font-size:14.5px; color:var(--ink-soft);}
@media (max-width:820px){.tips-row{grid-template-columns:1fr;}}

/* ---------- Testimoni tambahan (beranda) ---------- */
.testi-row{display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:20px;}
.testi-mini{background:var(--white); border:1px solid rgba(34,48,26,0.14); border-radius:14px; padding:22px;}
.testi-mini blockquote{font-size:14.5px; color:var(--ink); margin-bottom:14px; line-height:1.6;}
.testi-mini .who{display:flex; align-items:center; gap:10px;}
.testi-mini .avatar{width:36px; height:36px;}
.testi-mini .who strong{display:block; font-size:13.5px;}
.testi-mini .who span{font-size:12px; color:var(--ink-soft);}
@media (max-width:600px){.testi-row{grid-template-columns:1fr;}}

/* ---------- Peluang + kisah ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:start;}
.opportunity h2{font-size:28px; margin-bottom:16px; max-width:16ch;}
.opportunity p{color:var(--ink-soft); font-size:15.5px; margin-bottom:22px; max-width:44ch;}
.opportunity ul{display:flex; flex-direction:column; gap:14px;}
.opportunity li{display:flex; gap:12px; font-size:14.5px; align-items:flex-start;}
.opportunity li svg{width:18px; height:18px; stroke:var(--green-mid); flex-shrink:0; margin-top:2px;}
.opportunity li a{text-decoration:underline; text-decoration-color:rgba(31,122,64,0.35); text-underline-offset:3px;}
.opportunity li a:hover{color:var(--green-mid);}
.story{background:var(--cream-2); border-radius:16px; padding:36px; position:relative;}
.story blockquote{font-family:'Fraunces', serif; font-size:22px; line-height:1.4; color:var(--ink); margin-bottom:22px;}
.story .who{display:flex; align-items:center; gap:12px;}
.avatar{width:44px; height:44px; border-radius:50%; background:var(--soil); flex-shrink:0;}
.story .who strong{display:block; font-size:14.5px;}
.story .who span{font-size:13px; color:var(--ink-soft);}
@media (max-width:900px){.split{grid-template-columns:1fr;}}

/* ---------- Newsletter ---------- */
.cta-band{background:var(--green-deep); color:var(--cream); border-radius:20px; padding:56px 48px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap;}
.cta-band h2{color:var(--white); font-size:28px; max-width:16ch;}
.cta-band p{color:rgba(251,250,244,0.75); margin-top:10px; max-width:38ch; font-size:14.5px;}
.cta-form{display:flex; gap:10px; flex-wrap:wrap;}
.cta-form input{padding:14px 18px; border-radius:999px; border:1px solid rgba(251,250,244,0.3); background:rgba(251,250,244,0.06); color:var(--white); font-size:14.5px; min-width:240px;}
.cta-form input::placeholder{color:rgba(251,250,244,0.5);}
.cta-form input:focus{outline:2px solid var(--gold); border-color:transparent;}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--green-deep); color:rgba(251,250,244,0.72); padding-top:64px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(251,250,244,0.14);}
.foot-logo-badge{display:inline-flex; background:var(--cream); padding:14px 20px; border-radius:14px;}
.foot-logo-badge img{height:58px; width:auto; display:block;}
.foot-brand p{margin-top:14px; font-size:13.5px; max-width:32ch; color:rgba(251,250,244,0.62);}
footer h5{color:var(--white); font-size:13.5px; font-weight:600; margin-bottom:16px;}
footer li{margin-bottom:11px; font-size:13.5px;}
footer a:hover{color:var(--gold);}
.foot-bottom{display:flex; justify-content:space-between; padding:22px 0; font-size:12.5px; flex-wrap:wrap; gap:10px; color:rgba(251,250,244,0.5);}
@media (max-width:820px){.foot-grid{grid-template-columns:1fr 1fr; row-gap:36px;}}

/* ---------- Halaman artikel tunggal & arsip ---------- */
.page-header-simple{background:var(--green-deep); color:var(--white); padding:56px 0;}
.page-header-simple h1{color:var(--white); font-size:clamp(26px,3.4vw,38px);}
.page-header-simple p{color:rgba(251,250,244,0.7); margin-top:10px;}
.page-header-simple .news-tag{background:rgba(226,164,56,0.18); color:var(--gold);}
.single-wrap{max-width:760px; margin:0 auto; padding:0 28px;}
.entry-meta{font-size:13px; color:var(--soil); font-weight:600; margin-bottom:14px;}
.entry-thumb{border-radius:14px; overflow:hidden; margin-bottom:32px;}
.entry-content{font-size:16.5px; color:var(--ink);}
.entry-content p{margin-bottom:20px;}
.entry-content h2{font-size:24px; margin:36px 0 14px 0;}
.entry-content h3{font-size:20px; margin:28px 0 12px 0;}
.entry-content img{border-radius:12px; margin:20px 0;}
.entry-content a{color:var(--green-mid); text-decoration:underline;}
.back-link{display:inline-block; margin-bottom:30px; font-size:14px; font-weight:600; color:var(--soil);}
.pagination-row{display:flex; justify-content:space-between; padding:30px 0 60px 0;}
.pagination-row a{font-weight:600; color:var(--green-deep); border:1px solid rgba(34,48,26,0.2); padding:10px 20px; border-radius:999px;}

/* ---------- Badge tag kecil (halaman Artikel Menarik & Harga Pasar) ---------- */
.tag-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px;}
.tag-chip{font-size:12px; font-weight:600; color:var(--green-mid); background:rgba(31,122,64,0.12); padding:5px 12px; border-radius:999px;}

/* ---------- Grid kartu kisah petani ---------- */
.story-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:26px;}
.story-card{background:var(--white); border:1px solid rgba(34,48,26,0.14); border-radius:14px; overflow:hidden; display:flex; flex-direction:column;}
.story-card .story-thumb{aspect-ratio:16/10; background:var(--cream-2); overflow:hidden;}
.story-card .story-thumb img{width:100%; height:100%; object-fit:cover;}
.story-card .story-body{padding:22px;}
.story-card h3{font-size:19px; margin-bottom:8px;}
.story-card p{font-size:14px; color:var(--ink-soft);}
.story-card .story-more{display:inline-block; margin-top:14px; font-size:13.5px; font-weight:600; color:var(--green-mid);}
@media (max-width:760px){.story-grid{grid-template-columns:1fr;}}

/* ---------- E-Katalog ---------- */
.catalog-filter{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px;}
.catalog-filter a{font-size:13.5px; font-weight:600; padding:9px 18px; border-radius:999px; border:1px solid rgba(34,48,26,0.2); color:var(--ink-soft);}
.catalog-filter a.is-active, .catalog-filter a:hover{background:var(--green-deep); color:var(--cream); border-color:var(--green-deep);}
.catalog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.product-card{background:var(--white); border:1px solid rgba(34,48,26,0.14); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:border-color .2s ease;}
.product-card:hover{border-color:var(--green-mid);}
.product-thumb{aspect-ratio:1/1; background:var(--cream-2); overflow:hidden;}
.product-thumb img{width:100%; height:100%; object-fit:cover;}
.product-body{padding:18px; display:flex; flex-direction:column; gap:8px; flex:1;}
.product-cat{font-size:11.5px; font-weight:600; color:var(--green-mid); text-transform:none;}
.product-body h3{font-size:16.5px;}
.product-price{font-family:'Fraunces',serif; font-size:19px; color:var(--green-deep); font-weight:600; margin-top:auto;}
.product-stock{font-size:12px; color:var(--ink-soft);}
.product-card .btn{margin:0 18px 18px 18px; text-align:center; justify-content:center;}
@media (max-width:900px){.catalog-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.catalog-grid{grid-template-columns:1fr;}}

/* ---------- Sejarah / timeline (Tentang Kami) ---------- */
.timeline{display:flex; flex-direction:column; gap:0;}
.timeline-row{display:grid; grid-template-columns:120px 1fr; gap:24px; padding:22px 0; border-bottom:1px solid rgba(34,48,26,0.14);}
.timeline-row:last-child{border-bottom:none;}
.timeline-row .year{font-family:'Fraunces',serif; font-size:22px; color:var(--green-mid);}
.timeline-row h4{font-size:16.5px; margin-bottom:6px;}
.timeline-row p{font-size:14px; color:var(--ink-soft);}
@media (max-width:600px){.timeline-row{grid-template-columns:1fr; gap:4px;}}

/* ---------- Panel "Apa itu Petani Pintar" ---------- */
.about-split{display:grid; grid-template-columns:0.8fr 1.2fr; gap:50px; align-items:center;}
.about-logo-panel{background:var(--cream-2); border:1px solid rgba(34,48,26,0.14); border-radius:20px; padding:40px; display:flex; align-items:center; justify-content:center;}
.about-logo-panel img{width:100%; max-width:280px;}
@media (max-width:820px){.about-split{grid-template-columns:1fr;}}

/* ---------- Penyesuaian Tablet (≤ 768px) ---------- */
@media (max-width: 768px){
  .wrap{padding:0 22px;}
  section{padding:64px 0;}
  .section-head{margin-bottom:32px;}
  .hero-inner{padding:48px 0 52px 0; gap:32px;}
  .board{padding:22px 22px 18px 22px;}
  .market{padding:36px 26px;}
  .cta-band{padding:40px 30px;}
  .single-wrap{padding:0 22px;}
}

/* ---------- Penyesuaian HP (≤ 600px) ---------- */
@media (max-width: 600px){
  .wrap, .single-wrap{padding:0 32px;}
  section{padding:48px 0;}
  .hero-inner{padding:40px 0 44px 0;}
  .eyebrow-tag{font-size:13px;}
  .hero p.lede{font-size:16px;}
  .hero-actions{gap:10px;}
  .btn{padding:12px 20px; font-size:14px; width:100%; justify-content:center;}
  .hero-actions .btn{flex:1 1 auto;}
  .hero-stats{gap:20px; margin-top:34px;}
  .hero-stats strong{font-size:22px;}
  .board{padding:20px 18px 16px 18px;}
  .board-row{padding:11px 0; font-size:13.5px;}
  .brand-logo{height:36px;}
  .plot{padding:16px;}
  .news-item{padding:20px 0;}
  .news-item h3{font-size:17.5px;}
  .market{padding:30px 18px; border-radius:16px;}
  .market-table th, .market-table td{padding:12px 10px; font-size:13px;}
  .tip{padding-top:18px;}
  .story{padding:26px;}
  .story blockquote{font-size:19px;}
  .cta-band{padding:32px 22px; border-radius:16px;}
  .cta-band h2{font-size:23px;}
  .cta-form{width:100%;}
  .cta-form input{min-width:0; flex:1 1 auto;}
  .cta-form .btn{width:auto;}
  .foot-grid{grid-template-columns:1fr; row-gap:32px;}
  .foot-logo-badge{padding:12px 16px;}
  .foot-logo-badge img{height:44px;}
  .foot-bottom{flex-direction:column; align-items:flex-start;}
}

/* ---------- Penyesuaian HP kecil (≤ 380px) ---------- */
@media (max-width: 380px){
  .hero h1{font-size:28px;}
  .hero-stats{flex-direction:column; gap:14px;}
  .hero-stats div{border-left:none; border-top:2px solid rgba(226,164,56,0.55); padding-left:0; padding-top:8px;}
}
