/* SMARAMU IBS - gaya situs. Mobile-first. Breakpoint: 768, 1024, 1280. */
/* Font Inter self-host (opsional): letakkan inter.woff2 di public/assets/fonts/ lalu hapus tanda komentar baris berikut.
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; } */

:root {
  --green: #286A64; --green-dark: #1c4d48; --green-soft: #e8f1ef; --gold: #e3b341; --gold-dark: #c79a2b;
  --cream: #fbf7ee; --ink: #1c2b2a; --muted: #566766; --line: #dfe7e5; --white: #fff;
  --radius: 14px; --shadow: 0 2px 10px rgba(20, 50, 46, .08); --shadow-lg: 0 10px 30px rgba(20, 50, 46, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M40 6l9 20 21-5-5 21 20 9-20 9 5 21-21-5-9 20-9-20-21 5 5-21-20-9 20-9-5-21 21 5z'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); }
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--green-dark); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .7rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 820px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.ic { flex: none; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; } .btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #1c2b2a; } .btn-gold:hover { background: var(--gold-dark); color: #1c2b2a; }
.btn-outline { background: #fff; color: var(--green-dark); border-color: var(--green); } .btn-outline:hover { background: var(--green-soft); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); } .btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn-text { background: none; color: var(--green); }
.btn-lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: .35rem .9rem; font-size: .85rem; }
.btn-block { display: flex; width: 100%; margin-bottom: .6rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--green); cursor: pointer; text-decoration: underline; }
.linklike.danger { color: #b3261e; }

/* Header */
.announce { background: var(--green-dark); color: #fff; font-size: .9rem; padding: .45rem 0; text-align: center; }
.announce a { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: .75rem; min-height: 68px; position: relative; z-index: 2; background: #fff; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; color: var(--green-dark); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.1rem; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--green-dark); cursor: pointer; }
.header-cta { display: none; }
.brand, .nav-toggle, .header-cta { position: relative; z-index: 2; }
.nav { position: fixed; inset: 0; z-index: 1; background: #fff; padding: 6.5rem 1rem 1rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.nav.is-open { transform: none; visibility: visible; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a, .sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: .6rem .4rem; font: 600 1rem var(--font); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); text-decoration: none; cursor: pointer; text-align: left; }
.nav a[aria-current="page"], .sub-toggle[data-current] { color: var(--green); }
.sub { display: none; background: var(--green-soft); border-radius: 10px; margin: .25rem 0 .5rem; padding: .25rem; }
.has-sub.is-open > .sub { display: block; }
.sub a { display: block; padding: .6rem .8rem; min-height: 44px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.sub a:hover, .sub a[aria-current="page"] { background: #fff; color: var(--green); }
.nav-cta { margin-top: 1rem; }
.nav > ul > li.nav-cta > a.btn { width: 100%; justify-content: center; background: var(--gold); color: #1c2b2a; border: 2px solid transparent; border-radius: 999px; }

/* Hero */
.hero { position: relative; background: var(--green-dark); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .06; pointer-events: none; }
.hero-track { position: relative; }
.hero-slide { display: none; position: relative; min-height: 460px; align-items: center; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.hero-slide.is-active { display: flex; animation: fade .5s ease; }
.hero-bg, .hero-bg picture, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,60,56,.88), rgba(20,60,56,.35)); }
.hero-inner { position: relative; padding: 3rem 0 5rem; max-width: 760px; margin-right: auto; }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); }
.hero-sub { font-size: 1.1rem; opacity: .95; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .6rem; }
.eyebrow.dark { color: var(--green); }
.hero-controls { position: absolute; bottom: 1.2rem; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: .75rem; }
.hero-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.2); color: #fff; cursor: pointer; }
.hero-dots { display: flex; gap: .2rem; }
.dot { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.5); }
.dot.is-active::after { background: var(--gold); width: 26px; border-radius: 6px; }

/* Strip angka */
.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem 0; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--green); }
.stat strong { font: 700 2rem/1.1 var(--font-head); color: var(--green-dark); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Section */
.section { padding: 3.5rem 0; }
.section-soft { background: var(--cream); }
.section-head { margin-bottom: 2rem; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; background: var(--cream); border-radius: var(--radius); }

/* Kartu */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; margin: 0; }
a.card:hover, .news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.card-img { display: block; position: relative; overflow: hidden; background: var(--green-soft); }
.card-img img, .card-img picture { width: 100%; height: 100%; object-fit: cover; }
.ratio-3-2 { aspect-ratio: 3 / 2; } .ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-16-9 { aspect-ratio: 16 / 9; }
.img-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); opacity: .5; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { margin-bottom: .35rem; } .card-body h3 a { color: inherit; text-decoration: none; } .card-body h3 a:hover { color: var(--green); }
.card-body p:last-child { margin-bottom: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.meta.light { color: rgba(255,255,255,.9); }
.badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .75rem; font-weight: 700; }
.badge-gold { background: #fbefc9; color: #6b4e00; } .badge-off { background: #eee; color: #555; }
.teacher-card .role { color: var(--green); font-weight: 600; margin-bottom: .3rem; } .teacher-card .bio { font-size: .88rem; color: var(--muted); }
.ach-card .rank { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: #6b4e00; margin-bottom: .2rem; } .ach-card .by { color: var(--muted); font-size: .9rem; }
.pillars { display: grid; gap: 1.25rem; }
.pillar { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pillar-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: #fff; margin: 1.1rem 0 0 1.1rem; }
.pillar .pillar-ic { margin: 0 0 1rem; }
.program-card .card-body { padding-top: .8rem; }

/* Sambutan */
.principal { display: grid; gap: 1.5rem; align-items: center; }
.principal-photo { position: relative; max-width: 260px; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.principal-photo img, .principal-photo picture { width: 100%; height: 100%; object-fit: cover; }
blockquote { margin: 0 0 1rem; padding-left: 1.2rem; border-left: 4px solid var(--gold); font: italic 1.2rem/1.6 var(--font-head); color: var(--green-dark); }

/* Galeri masonry */
.masonry { column-count: 2; column-gap: .75rem; }
.masonry-item { display: block; break-inside: avoid; margin-bottom: .75rem; border-radius: 12px; overflow: hidden; background: var(--green-soft); }
.masonry-item img { width: 100%; height: auto; transition: transform .3s; } .masonry-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,20,18,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: .5rem; top: 50%; } .lb-next { right: .5rem; top: 50%; }

/* Carousel guru */
.carousel { position: relative; }
.car-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: .4rem .2rem 1rem; }
.car-item { flex: 0 0 72%; scroll-snap-align: start; } .car-item .card { height: 100%; }
.car-btn { display: none; }

/* Video */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold); color: #1c2b2a; display: grid; place-items: center; }

/* CTA, footer */
.cta { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .07; }
.cta-inner { position: relative; display: grid; gap: 1.2rem; padding: 3rem 0; }
.cta h2 { color: #fff; } .cta p { margin: 0; opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-footer { background: var(--green-dark); color: #d6e6e3; position: relative; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
.footer-title { font: 700 1.05rem var(--font-head); color: #fff; margin-bottom: .6rem; } .footer-title.dark { color: var(--green-dark); }
.plain, .social { list-style: none; margin: 0; padding: 0; } .plain li { margin-bottom: .4rem; }
.social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; } .contact-list .ic { margin-top: 3px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1rem 0 5rem; font-size: .85rem; }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .6rem 1rem; border-radius: 999px; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 700; box-shadow: var(--shadow-lg); }
.wa-float:hover { color: #fff; background: #187540; } .wa-float span { display: none; }

/* Halaman dalam */
.page-head { background: var(--green); color: #fff; position: relative; overflow: hidden; padding: 2rem 0 2.4rem; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .07; }
.page-head .wrap { position: relative; } .page-head h1 { color: #fff; margin-bottom: .3rem; }
.page-head .lead { color: #fff; font-size: 1.1rem; max-width: 680px; opacity: .95; margin-bottom: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: 0; margin: 0 0 .8rem; font-size: .85rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumb a { color: #fff; opacity: .9; }
.content-layout { display: grid; gap: 2rem; } .content-layout.has-aside { grid-template-columns: 1fr; }
.prose { font-size: 1.05rem; max-width: 74ch; } .prose img { border-radius: 12px; margin: 1rem 0; } .prose h2 { margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line); padding: .5rem; }
.prose blockquote { font-size: 1.1rem; }
.prose-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; } .prose-img img, .prose-img picture { width: 100%; height: 100%; object-fit: cover; }
.side-nav, .side-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; align-self: start; }
.side-nav ul { list-style: none; padding: 0; margin: 0; } .side-nav a { display: block; padding: .55rem 0; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-card h2 { font-size: 1.3rem; }
.article-head h1 { max-width: 22ch; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.back a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }

/* Filter, pencarian, paginasi */
.toolbar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; } .toolbar .filters { margin: 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.search { position: relative; display: flex; } .search input { flex: 1; min-height: 44px; padding: .5rem 3rem .5rem 1rem; border: 1px solid #b9c7c5; border-radius: 999px; font: inherit; }
.search button { position: absolute; right: 2px; top: 2px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.filter-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.5rem; } .filter-form label { display: flex; flex-direction: column; font-weight: 600; font-size: .85rem; gap: .25rem; }
.year-title { margin: 2rem 0 1rem; padding-bottom: .3rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2rem; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); } .pagination .dots { border: 0; background: none; }

/* Pendaftaran */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); position: relative; }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #1c2b2a; font-weight: 800; margin-bottom: .6rem; }
.timeline { list-style: none; padding: 0; margin: 0 0 1.5rem; border-left: 3px solid var(--gold); } .timeline li { padding: .5rem 0 .5rem 1rem; display: flex; flex-direction: column; } .timeline span { color: var(--muted); }
.note { background: #fff8e1; border-left: 4px solid var(--gold); padding: .8rem 1rem; border-radius: 8px; }

/* Kontak, form */
.contact-grid { display: grid; gap: 2rem; }
.info-card { display: flex; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); margin-bottom: .8rem; }
.info-card .ic { color: var(--green); margin-top: 3px; } .info-card h3 { margin: 0 0 .15rem; font-size: 1rem; } .info-card p { margin: 0; }
.map { margin-top: 2rem; } .map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }
.form .field { margin-bottom: 1rem; } .form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=number], .form input[type=date], .form input[type=datetime-local], .form input[type=search], .form select, .form textarea { width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit; border: 1px solid #aebdbb; border-radius: 10px; background: #fff; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .field.has-error input, .form .field.has-error textarea, .form .field.has-error select { border-color: #b3261e; }
.err { color: #b3261e; font-size: .88rem; margin: .3rem 0 0; font-weight: 600; } .help { color: var(--muted); font-size: .85rem; margin: .3rem 0 0; }
.req { color: #b3261e; } .two { display: grid; gap: 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; border: 1px solid; font-weight: 500; }
.alert-success { background: #e8f6ee; border-color: #8fd0a9; color: #14532d; } .alert-error { background: #fdecea; border-color: #f0a8a3; color: #7a1712; } .alert-info { background: #e7f0fb; border-color: #9ec1ec; color: #123f73; }
.error-page { padding: 5rem 0; } .error-code { font: 800 5rem/1 var(--font-head); color: var(--gold); margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Animasi muncul */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* >= 768 */
@media (min-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .masonry { column-count: 3; }
  .principal { grid-template-columns: 260px 1fr; gap: 3rem; }
  .toolbar { flex-direction: row; justify-content: space-between; align-items: center; } .search { width: 320px; }
  .steps { grid-template-columns: repeat(2, 1fr); } .two { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } .footer-bottom { padding-bottom: 1.5rem; }
  .wa-float span { display: inline; } .car-item { flex-basis: 42%; } .hero-slide { min-height: 540px; }
}
/* >= 1024 */
@media (min-width: 1024px) {
  .nav-toggle { display: none; } .header-cta { display: inline-flex; margin-left: .5rem; } .nav-cta { display: none; }
  .nav { position: static; inset: auto; z-index: auto; padding: 0; transform: none; visibility: visible; overflow: visible; background: none; }
  .nav > ul { display: flex; align-items: center; gap: .1rem; }
  .nav > ul > li > a, .sub-toggle { border: 0; padding: .5rem .8rem; border-radius: 10px; width: auto; font-size: .95rem; gap: .25rem; min-height: 44px; }
  .nav > ul > li > a:hover, .sub-toggle:hover { background: var(--green-soft); }
  .has-sub { position: relative; } .sub { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .4rem; margin: 0; z-index: 10; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .content-layout.has-aside { grid-template-columns: 1fr 300px; } .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; } .masonry { column-count: 4; }
  .car-item { flex-basis: calc((100% - 3rem) / 4); } .car-btn { display: grid; place-items: center; position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); cursor: pointer; z-index: 2; color: var(--green-dark); }
  .car-btn.prev { left: -22px; } .car-btn.next { right: -22px; } .section { padding: 4.5rem 0; }
  .hero-inner { padding: 5rem 0 6rem; }
}
