/*
 * Theme Name:   Hello Elementor Child - Esaran
 * Theme URI:    https://example.com/
 * Description:  Child theme untuk Hello Elementor – Corporate Modern SaaS Style
 * Author:       Esaran
 * Author URI:   https://example.com/
 * Template:     hello-elementor
 * Version:      1.1.0
 * License:      GNU General Public License v2 or later
 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:  hello-elementor-child
 */


/* ================================================================
   DAFTAR ISI
   ────────────────────────────────────────────────────────────────
   01. Design Tokens (CSS Variables)
   02. Reset & Base Global
   03. Typography
   04. Layout – Container & Section
   05. Elementor Overrides (aman, tidak agresif)
   06. Button
   07. Card
   08. Form
   09. Hero Section
   10. Card Service (dengan hover)
   11. Utility Classes (Global Classes)
   12. Responsive
   ================================================================ */


/* ================================================================
   01. DESIGN TOKENS – CSS Variables
   Semua nilai desain dipusatkan di sini.
   Ubah di sini untuk mengubah seluruh tampilan situs.
================================================================ */
:root {

    /* — Warna Utama — */
    --color-primary:        #2563eb;   /* Biru utama */
    --color-primary-dark:   #1d4ed8;   /* Biru gelap (hover) */
    --color-primary-light:  #eff6ff;   /* Biru muda (background aksen) */
    --color-primary-rgb:    37, 99, 235;

    /* — Warna Secondary / Aksen Ungu — */
    --color-secondary:      #7c3aed;   /* Ungu aksen */
    --color-secondary-dark: #6d28d9;
    --color-secondary-light:#f5f3ff;
    --color-secondary-rgb:  124, 58, 237;

    /* — Background — */
    --color-bg:             #ffffff;   /* Background utama */
    --color-bg-soft:        #f8fafc;   /* Background section alternatif */
    --color-bg-muted:       #f1f5f9;   /* Background subtle */

    /* — Text — */
    --color-text:           #0f172a;   /* Teks utama (hampir hitam) */
    --color-text-muted:     #64748b;   /* Teks sekunder / keterangan */
    --color-text-light:     #94a3b8;   /* Teks placeholder / disabled */
    --color-text-inverse:   #ffffff;   /* Teks di atas background gelap */

    /* — Border — */
    --color-border:         #e2e8f0;   /* Border default */
    --color-border-strong:  #cbd5e1;   /* Border lebih tebal */
    --color-border-focus:   var(--color-primary);

    /* — Shadow — */
    --shadow-xs:  0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm:  0 2px 8px -1px rgba(15, 23, 42, 0.07),
                  0 1px 3px -1px rgba(15, 23, 42, 0.05);
    --shadow-md:  0 6px 20px -3px rgba(15, 23, 42, 0.09),
                  0 2px 8px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg:  0 16px 40px -6px rgba(15, 23, 42, 0.12),
                  0 4px 14px -4px rgba(15, 23, 42, 0.07);
    --shadow-xl:  0 28px 60px -10px rgba(15, 23, 42, 0.15),
                  0 8px 24px -6px rgba(15, 23, 42, 0.09);
    --shadow-glow-primary:  0 0 0 4px rgba(var(--color-primary-rgb), 0.15);
    --shadow-glow-secondary:0 0 0 4px rgba(var(--color-secondary-rgb), 0.15);

    /* — Border Radius — */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-2xl:  32px;
    --radius-full: 9999px;

    /* — Spacing — */
    --space-xs:   4px;
    --space-sm:   8px;
    --space-md:   16px;
    --space-lg:   24px;
    --space-xl:   40px;
    --space-2xl:  64px;
    --space-3xl:  96px;

    /* — Typography — */
    --font-sans:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                  Helvetica, Arial, sans-serif;
    --font-mono:  'JetBrains Mono', 'Fira Code', 'Cascadia Code',
                  'Courier New', monospace;

    --text-xs:    0.75rem;     /* 12px */
    --text-sm:    0.875rem;    /* 14px */
    --text-base:  1rem;        /* 16px */
    --text-lg:    1.125rem;    /* 18px */
    --text-xl:    1.25rem;     /* 20px */
    --text-2xl:   1.5rem;      /* 24px */
    --text-3xl:   1.875rem;    /* 30px */
    --text-4xl:   2.25rem;     /* 36px */
    --text-5xl:   3rem;        /* 48px */
    --text-6xl:   3.75rem;     /* 60px */

    --leading-tight:  1.2;
    --leading-snug:   1.4;
    --leading-normal: 1.6;
    --leading-relaxed:1.75;

    --weight-regular: 400;
    --weight-medium:  500;
    --weight-semibold:600;
    --weight-bold:    700;

    /* — Transition — */
    --transition-fast:   all 0.15s ease;
    --transition-base:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* — Container — */
    --container-max:  1200px;
    --container-pad:  24px;
}


/* ================================================================
   02. RESET & BASE GLOBAL
   Override minimal – tidak merusak Elementor
================================================================ */

/* Box-sizing universal */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Scroll halus */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Body global */
body {
    font-family:    var(--font-sans);
    font-size:      var(--text-base);
    font-weight:    var(--weight-regular);
    line-height:    var(--leading-relaxed);
    color:          var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Gambar responsif */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Link global */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Garis pemisah */
hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-xl) 0;
}

/* Kode */
code,
pre {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background: var(--color-bg-muted);
    border-radius: var(--radius-sm);
}

code {
    padding: 2px 6px;
}

pre {
    padding: var(--space-md);
    overflow-x: auto;
    border: 1px solid var(--color-border);
}


/* ================================================================
   03. TYPOGRAPHY
   Heading h1–h6 dengan skala yang proporsional
================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family:  var(--font-sans);
    font-weight:  var(--weight-bold);
    line-height:  var(--leading-tight);
    color:        var(--color-text);
    margin:       0 0 var(--space-md);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl);  letter-spacing: -0.01em; }
h6 { font-size: var(--text-lg);  letter-spacing: 0; }

/* Paragraph */
p {
    margin: 0 0 var(--space-md);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

/* Highlight / strong */
strong, b {
    font-weight: var(--weight-semibold);
    color: var(--color-text);
}

/* Lead text – paragraf pengantar besar */
.text-lead {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    font-weight: var(--weight-regular);
}

/* Label / eyebrow text kecil di atas heading */
.text-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* Gradient text untuk highlight judul */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ================================================================
   04. LAYOUT – Container & Section
================================================================ */

/* Container standar */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.container--wide {
    max-width: 1400px;
}

.container--narrow {
    max-width: 800px;
}

/* Section padding global */
.section {
    padding-top:    var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.section--sm {
    padding-top:    var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.section--lg {
    padding-top:    120px;
    padding-bottom: 120px;
}

/* Background alternating section */
.section--alt {
    background-color: var(--color-bg-soft);
}

.section--dark {
    background-color: #0f172a;
    color: var(--color-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
    color: var(--color-text-inverse);
}

.section--dark p {
    color: #94a3b8;
}

/* Section title block (centered heading group) */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--text-lg);
}


/* ================================================================
   05. ELEMENTOR OVERRIDES
   Selector yang aman – hanya memperhalus tanpa merusak layout
================================================================ */

/* Padding section Elementor – lebih lapang */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-max);
}

/* Hapus margin bawah default elemen Elementor terakhir dalam kolom */
.elementor-widget:last-child {
    margin-bottom: 0 !important;
}

/* Override warna heading Elementor agar ikut design system */
.elementor-widget-heading .elementor-heading-title {
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

/* Override teks paragraf Elementor */
.elementor-widget-text-editor p {
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* Override divider Elementor */
.elementor-divider-separator {
    border-color: var(--color-border) !important;
}

/* Override image Elementor – rounded & shadow opsional via class */
.elementor-widget-image img {
    border-radius: var(--radius-md);
}

/* Kolom Elementor – hapus overflow tersembunyi yang kadang memotong shadow */
.elementor-column-wrap {
    overflow: visible;
}


/* ================================================================
   05b. PAGE & POST CONTENT AREA
   Styling untuk tampilan halaman dan post WordPress standar
   (bukan Elementor). Selector spesifik agar tidak bentrok.
================================================================ */

/* ── Wrapper utama konten (Hello Elementor pakai .page-content / .entry-content) ── */
.page-content,
.entry-content,
.entry-summary {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-2xl) var(--container-pad);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* ── Judul halaman / post (entry-title) ── */
.entry-header {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-pad) 0;
}

.entry-title,
h1.entry-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    letter-spacing: -0.025em;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
}

/* ── Meta post (tanggal, kategori, penulis) ── */
.entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.entry-meta a {
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-meta a:hover {
    color: var(--color-primary);
}

.entry-meta .sep {
    color: var(--color-border-strong);
}

/* ── Post thumbnail (featured image) ── */
.post-thumbnail {
    max-width: 780px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--container-pad);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

/* ── Elemen dalam entry-content ── */

/* Heading dalam konten */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    line-height: var(--leading-snug);
    letter-spacing: -0.02em;
}

.entry-content h2 { font-size: var(--text-2xl); }
.entry-content h3 { font-size: var(--text-xl); }
.entry-content h4 { font-size: var(--text-lg); }

/* Paragraf */
.entry-content p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: var(--text-base);
}

/* Link dalam konten */
.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.entry-content a:hover {
    color: var(--color-primary-dark);
    text-decoration-color: var(--color-primary);
}

/* Blockquote */
.entry-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-soft);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--color-text);
    font-size: var(--text-lg);
    font-style: italic;
    line-height: var(--leading-relaxed);
}

.entry-content blockquote p {
    margin: 0;
    color: var(--color-text);
    font-size: inherit;
}

.entry-content blockquote cite {
    display: block;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
}

/* List */
.entry-content ul,
.entry-content ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.entry-content li {
    margin-bottom: var(--space-xs);
    color: var(--color-text-muted);
    line-height: 1.75;
}

.entry-content ul li::marker {
    color: var(--color-primary);
}

.entry-content ol li::marker {
    color: var(--color-primary);
    font-weight: var(--weight-semibold);
}

/* Gambar dalam konten */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
}

/* Caption gambar */
.entry-content figcaption,
.wp-caption-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
    font-style: italic;
}

/* Tabel */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.entry-content th {
    background: var(--color-bg-muted);
    color: var(--color-text);
    font-weight: var(--weight-semibold);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--color-border);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.entry-content td {
    padding: 12px 16px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:hover td {
    background: var(--color-bg-soft);
}

/* Separator / HR dalam konten */
.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: var(--space-xl) 0;
}

/* Kode inline dan blok kode */
.entry-content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--color-bg-muted);
    color: var(--color-secondary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.entry-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-lg) 0;
    font-size: var(--text-sm);
    line-height: 1.7;
    box-shadow: var(--shadow-md);
}

.entry-content pre code {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* ── Footer post (tags, share, navigation) ── */
.entry-footer {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-lg) var(--container-pad) var(--space-2xl);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.entry-footer .cat-links,
.entry-footer .tags-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
    display: inline-flex;
    padding: 4px 10px;
    background: var(--color-bg-soft);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: var(--transition-fast);
}

.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ── Navigasi antar post (prev / next) ── */
.post-navigation,
.nav-links {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-xl) var(--container-pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    transition-property: background, border-color, transform, box-shadow;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nav-next a {
    text-align: right;
}

.nav-previous .nav-subtitle,
.nav-next .nav-subtitle {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.nav-previous .nav-title,
.nav-next .nav-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    line-height: var(--leading-snug);
}

/* ── Archive / Blog list ── */
.blog .hentry,
.archive .hentry,
.search .hentry {
    max-width: 780px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    transition-property: transform, box-shadow, border-color;
}

.blog .hentry:hover,
.archive .hentry:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
}

.blog .entry-title,
.archive .entry-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--color-primary);
}

/* ── Read more link ── */
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.more-link:hover {
    gap: 10px;
    color: var(--color-primary-dark);
}

/* ── Site main wrapper – pastikan ada padding atas ── */
/* Hello Elementor langsung pakai .site-main tanpa padding */
.site-main {
    min-height: 60vh;
}

/* Khusus page dan post non-Elementor */
body.page:not(.elementor-page) .site-main,
body.single:not(.elementor-page) .site-main,
body.blog .site-main,
body.archive .site-main,
body.search .site-main {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    background: var(--color-bg);
}

/* Pastikan layout page non-Elementor punya padding container */
body.page:not(.elementor-page) .entry-content,
body.single:not(.elementor-page) .entry-content {
    padding-top: var(--space-xl);
}

/* ── Search results ── */
.search-results .page-header {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--container-pad) var(--space-xl);
}

.search-results .page-title {
    font-size: var(--text-3xl);
    color: var(--color-text);
}

.search-results .page-title span {
    color: var(--color-primary);
}

/* ── No results / 404 ── */
.no-results,
.error-404 {
    max-width: 560px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--container-pad);
    text-align: center;
}

.no-results .page-title,
.error-404 .page-title {
    font-size: var(--text-4xl);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.no-results .page-content p,
.error-404 .page-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

/* ── Comments area ── */
.comments-area {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-pad);
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.comment-body {
    padding: var(--space-lg);
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
}

.comment-author .fn {
    font-weight: var(--weight-semibold);
    color: var(--color-text);
}

.comment-metadata {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.comment-metadata a {
    color: var(--color-text-light);
    text-decoration: none;
}

.comment-content p {
    font-size: var(--text-sm);
    margin: var(--space-sm) 0 0;
}

/* ── Responsive: Page & Post ── */
@media (max-width: 768px) {
    .entry-header,
    .post-thumbnail,
    .page-content,
    .entry-content,
    .entry-footer,
    .post-navigation,
    .comments-area {
        padding-left: var(--container-pad);
        padding-right: var(--container-pad);
    }

    .entry-title,
    h1.entry-title {
        font-size: var(--text-3xl);
    }

    .post-navigation,
    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-next a {
        text-align: left;
    }

    .entry-meta {
        gap: var(--space-sm);
    }

    .blog .hentry,
    .archive .hentry {
        padding: var(--space-lg);
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .entry-title,
    h1.entry-title {
        font-size: var(--text-2xl);
    }

    .entry-content h2 { font-size: var(--text-xl); }
    .entry-content h3 { font-size: var(--text-lg); }

    .entry-content blockquote {
        padding: var(--space-md);
        font-size: var(--text-base);
    }
}


/* ================================================================
   06. BUTTON
================================================================ */

/* Base button */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost {
    display:          inline-flex;
    align-items:      center;
    justify-content:  center;
    gap:              8px;
    padding:          11px 24px;
    font-family:      var(--font-sans);
    font-size:        var(--text-sm);
    font-weight:      var(--weight-semibold);
    line-height:      1;
    letter-spacing:   0.01em;
    border-radius:    var(--radius-md);
    border:           2px solid transparent;
    cursor:           pointer;
    text-decoration:  none;
    white-space:      nowrap;
    transition:       var(--transition-base);
    transition-property: background-color, color, border-color,
                         box-shadow, transform, opacity;
    -webkit-user-select: none;
    user-select:      none;
    position:         relative;
    overflow:         hidden;
}

/* Tombol Primer – solid biru */
.btn-primary {
    background: var(--color-primary);
    color:      var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background:   var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color:        var(--color-text-inverse);
    transform:    translateY(-2px);
    box-shadow:   0 8px 24px -4px rgba(var(--color-primary-rgb), 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Tombol Secondary – ungu */
.btn-secondary {
    background: var(--color-secondary);
    color:      var(--color-text-inverse);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background:   var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color:        var(--color-text-inverse);
    transform:    translateY(-2px);
    box-shadow:   0 8px 24px -4px rgba(var(--color-secondary-rgb), 0.4);
}

/* Tombol Outline */
.btn-outline {
    background:   transparent;
    color:        var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background:   var(--color-primary);
    color:        var(--color-text-inverse);
    transform:    translateY(-1px);
    box-shadow:   var(--shadow-md);
}

/* Tombol Ghost – transparan tanpa border */
.btn-ghost {
    background:   transparent;
    color:        var(--color-text-muted);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--color-bg-muted);
    color:      var(--color-text);
}

/* Ukuran button */
.btn-sm { padding: 7px 16px; font-size: var(--text-xs); }
.btn-lg { padding: 14px 32px; font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 40px; font-size: var(--text-lg); border-radius: var(--radius-lg); }

/* Full width */
.btn-block { width: 100%; }

/* Button dengan icon leading */
.btn-icon {
    width:  40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* Override tombol WordPress default di area konten */
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
    background:    var(--color-primary);
    border-radius: var(--radius-md);
    border:        none;
    font-family:   var(--font-sans);
    font-weight:   var(--weight-semibold);
    transition:    var(--transition-base);
    cursor:        pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: var(--color-primary-dark);
    transform:  translateY(-1px);
}


/* ================================================================
   07. CARD
================================================================ */

/* Card dasar */
.card {
    background:    var(--color-bg);
    border:        1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding:       var(--space-xl);
    box-shadow:    var(--shadow-sm);
    transition:    var(--transition-base);
    transition-property: transform, box-shadow, border-color;
    position:      relative;
    overflow:      hidden;
}

/* Card dengan hover naik */
.card:hover,
.card--hover:hover {
    transform:    translateY(-4px);
    box-shadow:   var(--shadow-lg);
    border-color: var(--color-border-strong);
}

/* Card flat – tanpa shadow, hanya border */
.card--flat {
    box-shadow: none;
}

.card--flat:hover {
    box-shadow:   var(--shadow-md);
    transform:    translateY(-3px);
}

/* Card dengan background muted */
.card--muted {
    background: var(--color-bg-soft);
    border-color: transparent;
}

/* Card header */
.card__header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.card__title {
    font-size:   var(--text-xl);
    font-weight: var(--weight-semibold);
    color:       var(--color-text);
    margin:      0;
}

.card__body {
    flex: 1;
}

.card__footer {
    margin-top:  var(--space-lg);
    padding-top: var(--space-lg);
    border-top:  1px solid var(--color-border);
}

/* Badge / label kecil di dalam card */
.card__badge {
    display:       inline-flex;
    align-items:   center;
    padding:       4px 10px;
    font-size:     var(--text-xs);
    font-weight:   var(--weight-semibold);
    border-radius: var(--radius-full);
    background:    var(--color-primary-light);
    color:         var(--color-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.04em;
}

/* Icon di dalam card service */
.card__icon {
    width:         48px;
    height:        48px;
    border-radius: var(--radius-md);
    background:    var(--color-primary-light);
    display:       flex;
    align-items:   center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color:         var(--color-primary);
    flex-shrink:   0;
}

/* Grid card 3 kolom */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}


/* ================================================================
   08. FORM
   Input modern dengan focus glow
================================================================ */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display:       block;
    font-size:     var(--text-sm);
    font-weight:   var(--weight-medium);
    color:         var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.01em;
}

/* Input, textarea, select */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
    display:       block;
    width:         100%;
    padding:       11px 16px;
    font-family:   var(--font-sans);
    font-size:     var(--text-sm);
    font-weight:   var(--weight-regular);
    color:         var(--color-text);
    background:    var(--color-bg);
    border:        1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    line-height:   1.5;
    outline:       none;
    transition:    border-color 0.2s ease, box-shadow 0.2s ease;
    appearance:    none;
    -webkit-appearance: none;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-text-light);
}

/* Focus state – glow biru */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow:   var(--shadow-glow-primary);
}

/* Textarea */
textarea {
    min-height: 120px;
    resize:     vertical;
}

/* Select arrow custom */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
    width:         18px;
    height:        18px;
    border:        2px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    background:    var(--color-bg);
    cursor:        pointer;
    accent-color:  var(--color-primary);
    flex-shrink:   0;
}

/* Form error state */
.form-control.is-error,
input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.form-error {
    font-size: var(--text-xs);
    color: #ef4444;
    margin-top: var(--space-xs);
}

/* Form hint */
.form-hint {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
}

/* WP Contact Form 7 overrides */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
    width:         100%;
    padding:       11px 16px;
    font-family:   var(--font-sans);
    font-size:     var(--text-sm);
    color:         var(--color-text);
    background:    var(--color-bg);
    border:        1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    outline:       none;
    transition:    border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow:   var(--shadow-glow-primary);
}

.wpcf7-form input[type="submit"] {
    display:       inline-flex;
    padding:       11px 28px;
    background:    var(--color-primary);
    color:         var(--color-text-inverse);
    border:        none;
    border-radius: var(--radius-md);
    font-family:   var(--font-sans);
    font-size:     var(--text-sm);
    font-weight:   var(--weight-semibold);
    cursor:        pointer;
    transition:    var(--transition-base);
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--color-primary-dark);
    transform:  translateY(-1px);
    box-shadow: 0 6px 20px -3px rgba(var(--color-primary-rgb), 0.4);
}


/* ================================================================
   09. HERO SECTION
   Gradient modern ala startup (Stripe / Linear)
================================================================ */

.hero {
    position:    relative;
    padding-top:    var(--space-3xl);
    padding-bottom: var(--space-3xl);
    overflow:    hidden;
    background:  var(--color-bg);
}

/* Gradient mesh background */
.hero::before {
    content:  '';
    position: absolute;
    inset:    0;
    background:
        radial-gradient(ellipse 80% 60% at 20% -10%,
            rgba(var(--color-primary-rgb), 0.1) 0%,
            transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 110%,
            rgba(var(--color-secondary-rgb), 0.08) 0%,
            transparent 60%);
    pointer-events: none;
    z-index:  0;
}

.hero > * {
    position: relative;
    z-index:  1;
}

.hero__content {
    max-width:  680px;
    margin:     0 auto;
    text-align: center;
}

.hero__title {
    font-size:      var(--text-6xl);
    font-weight:    var(--weight-bold);
    line-height:    var(--leading-tight);
    letter-spacing: -0.03em;
    color:          var(--color-text);
    margin-bottom:  var(--space-lg);
}

.hero__subtitle {
    font-size:     var(--text-xl);
    color:         var(--color-text-muted);
    line-height:   var(--leading-relaxed);
    margin-bottom: var(--space-xl);
}

.hero__actions {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             var(--space-md);
    flex-wrap:       wrap;
}

/* Badge trust di bawah CTA */
.hero__trust {
    margin-top:  var(--space-xl);
    font-size:   var(--text-sm);
    color:       var(--color-text-light);
    display:     flex;
    align-items: center;
    justify-content: center;
    gap:         var(--space-sm);
}

/* Hero versi dark / gradient penuh */
.hero--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.hero--dark::before {
    background:
        radial-gradient(ellipse 70% 50% at 15% 20%,
            rgba(var(--color-primary-rgb), 0.2) 0%,
            transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 80%,
            rgba(var(--color-secondary-rgb), 0.15) 0%,
            transparent 60%);
}

.hero--dark .hero__title {
    color: var(--color-text-inverse);
}

.hero--dark .hero__subtitle {
    color: #94a3b8;
}


/* ================================================================
   10. CARD SERVICE
   Hover naik + shadow + border accent
================================================================ */

.card-service {
    background:    var(--color-bg);
    border:        1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding:       var(--space-xl);
    box-shadow:    var(--shadow-sm);
    transition:    var(--transition-base);
    transition-property: transform, box-shadow, border-color;
    position:      relative;
    overflow:      hidden;
    cursor:        default;
}

/* Garis aksen atas yang muncul saat hover */
.card-service::before {
    content:    '';
    position:   absolute;
    top:        0;
    left:       0;
    right:      0;
    height:     3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity:    0;
    transform:  scaleX(0);
    transform-origin: left;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-service:hover::before {
    opacity:   1;
    transform: scaleX(1);
}

.card-service:hover {
    transform:    translateY(-6px);
    box-shadow:   var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.card-service__icon {
    width:         52px;
    height:        52px;
    border-radius: var(--radius-md);
    background:    var(--color-primary-light);
    display:       flex;
    align-items:   center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color:         var(--color-primary);
    transition:    var(--transition-base);
    transition-property: background-color, transform;
}

.card-service:hover .card-service__icon {
    background: var(--color-primary);
    color:      var(--color-text-inverse);
    transform:  scale(1.08);
}

.card-service__title {
    font-size:     var(--text-xl);
    font-weight:   var(--weight-semibold);
    color:         var(--color-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.card-service__desc {
    font-size:  var(--text-sm);
    color:      var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin:     0;
}

.card-service__link {
    display:      inline-flex;
    align-items:  center;
    gap:          4px;
    margin-top:   var(--space-md);
    font-size:    var(--text-sm);
    font-weight:  var(--weight-medium);
    color:        var(--color-primary);
    transition:   var(--transition-fast);
}

.card-service__link:hover {
    gap:   8px;
    color: var(--color-primary-dark);
}


/* ================================================================
   11. UTILITY CLASSES (GLOBAL CLASSES)
   Digunakan langsung di Elementor → Advanced → CSS Classes
================================================================ */

/* — Teks alignment — */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* — Warna teks — */
.text-primary   { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-muted     { color: var(--color-text-muted) !important; }
.text-white     { color: var(--color-text-inverse) !important; }
.text-dark      { color: var(--color-text) !important; }

/* — Font size — */
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }

/* — Font weight — */
.font-regular  { font-weight: var(--weight-regular); }
.font-medium   { font-weight: var(--weight-medium); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-bold     { font-weight: var(--weight-bold); }

/* — Background — */
.bg-white   { background-color: var(--color-bg) !important; }
.bg-soft    { background-color: var(--color-bg-soft) !important; }
.bg-muted   { background-color: var(--color-bg-muted) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-dark    { background-color: #0f172a !important; }

/* — Shadow — */
.shadow-none { box-shadow: none !important; }
.shadow-xs   { box-shadow: var(--shadow-xs); }
.shadow-sm   { box-shadow: var(--shadow-sm); }
.shadow-soft { box-shadow: var(--shadow-md); }
.shadow-lg   { box-shadow: var(--shadow-lg); }
.shadow-xl   { box-shadow: var(--shadow-xl); }

/* — Border radius — */
.rounded-sm   { border-radius: var(--radius-sm) !important; }
.rounded-md   { border-radius: var(--radius-md) !important; }
.rounded-lg   { border-radius: var(--radius-lg) !important; }
.rounded-xl   { border-radius: var(--radius-xl) !important; }
.rounded-2xl  { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* — Border — */
.border        { border: 1px solid var(--color-border) !important; }
.border-none   { border: none !important; }
.border-top    { border-top: 1px solid var(--color-border) !important; }
.border-bottom { border-bottom: 1px solid var(--color-border) !important; }

/* — Overflow — */
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }

/* — Display — */
.d-block  { display: block; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }
.d-none   { display: none; }

/* — Flexbox helpers — */
.flex-center {
    display:         flex;
    align-items:     center;
    justify-content: center;
}

.flex-between {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
}

.flex-col {
    display:        flex;
    flex-direction: column;
}

.flex-wrap { flex-wrap: wrap; }
.gap-sm    { gap: var(--space-sm); }
.gap-md    { gap: var(--space-md); }
.gap-lg    { gap: var(--space-lg); }
.gap-xl    { gap: var(--space-xl); }

/* — Spacing helpers — */
.mt-0  { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }

.mb-0  { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }

.pt-0  { padding-top: 0 !important; }
.pt-sm { padding-top: var(--space-sm) !important; }
.pt-md { padding-top: var(--space-md) !important; }
.pt-lg { padding-top: var(--space-lg) !important; }
.pt-xl { padding-top: var(--space-xl) !important; }

.pb-0  { padding-bottom: 0 !important; }
.pb-sm { padding-bottom: var(--space-sm) !important; }
.pb-md { padding-bottom: var(--space-md) !important; }
.pb-lg { padding-bottom: var(--space-lg) !important; }
.pb-xl { padding-bottom: var(--space-xl) !important; }

/* — Width / Height — */
.w-full  { width: 100% !important; }
.h-full  { height: 100% !important; }
.w-auto  { width: auto !important; }
.max-w-sm     { max-width: 480px; }
.max-w-md     { max-width: 680px; }
.max-w-lg     { max-width: 900px; }
.mx-auto      { margin-left: auto; margin-right: auto; }

/* — Divider dekoratif — */
.divider {
    width:      48px;
    height:     4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
    margin:     var(--space-md) 0;
}

.divider--center {
    margin-left:  auto;
    margin-right: auto;
}

/* — Badge / Pill — */
.badge {
    display:       inline-flex;
    align-items:   center;
    gap:           4px;
    padding:       4px 10px;
    font-size:     var(--text-xs);
    font-weight:   var(--weight-semibold);
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

.badge--primary {
    background: var(--color-primary-light);
    color:      var(--color-primary);
}

.badge--secondary {
    background: var(--color-secondary-light);
    color:      var(--color-secondary);
}

.badge--muted {
    background: var(--color-bg-muted);
    color:      var(--color-text-muted);
}

/* — Highlight box (callout) — */
.highlight-box {
    background:    var(--color-primary-light);
    border-left:   4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding:       var(--space-md) var(--space-lg);
    font-size:     var(--text-sm);
    color:         var(--color-text);
}

/* — List bersih — */
.list-clean {
    list-style: none;
    margin:     0;
    padding:    0;
}

/* — List dengan centang — */
.list-check {
    list-style:    none;
    margin:        0;
    padding:       0;
}

.list-check li {
    display:     flex;
    align-items: flex-start;
    gap:         var(--space-sm);
    padding:     6px 0;
    font-size:   var(--text-sm);
    color:       var(--color-text-muted);
}

.list-check li::before {
    content:       '✓';
    display:       flex;
    align-items:   center;
    justify-content: center;
    width:         20px;
    height:        20px;
    background:    var(--color-primary-light);
    color:         var(--color-primary);
    border-radius: 50%;
    font-size:     11px;
    font-weight:   var(--weight-bold);
    flex-shrink:   0;
    margin-top:    1px;
}

/* — Glassmorphism box — */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
}

/* — Hover lift (bisa ditaruh di elemen Elementor apa pun) — */
.hover-lift {
    transition: var(--transition-base);
    transition-property: transform, box-shadow;
}

.hover-lift:hover {
    transform:  translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* — Animasi fade-in via class (pakai JS/Intersection Observer) — */
.fade-in {
    opacity:   0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
    opacity:   1;
    transform: translateY(0);
}

/* — Separator visual — */
.separator {
    display:         flex;
    align-items:     center;
    gap:             var(--space-md);
    color:           var(--color-text-light);
    font-size:       var(--text-xs);
    letter-spacing:  0.05em;
    text-transform:  uppercase;
}

.separator::before,
.separator::after {
    content: '';
    flex:    1;
    height:  1px;
    background: var(--color-border);
}


/* ================================================================
   12. RESPONSIVE
================================================================ */

@media (max-width: 1024px) {
    :root {
        --container-pad: 20px;
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }

    .hero__title  { font-size: var(--text-5xl); }
    .section--lg  { padding-top: 80px; padding-bottom: 80px; }

    .card-grid    { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --container-pad: 16px;
        --space-3xl:     64px;
        --space-2xl:     48px;
    }

    h1 { font-size: var(--text-3xl); letter-spacing: -0.01em; }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }

    .hero__title    { font-size: var(--text-4xl); }
    .hero__subtitle { font-size: var(--text-lg); }
    .hero__actions  { flex-direction: column; align-items: stretch; }

    .section--lg  { padding-top: 60px; padding-bottom: 60px; }
    .section-header { margin-bottom: var(--space-xl); }

    .card         { padding: var(--space-lg); }
    .card-service { padding: var(--space-lg); }
    .card-grid,
    .card-grid--2,
    .card-grid--3,
    .card-grid--4 { grid-template-columns: 1fr; }

    .flex-between { flex-wrap: wrap; gap: var(--space-md); }

    /* Utility responsive */
    .md\:text-center { text-align: center !important; }
    .md\:mx-auto     { margin-left: auto !important; margin-right: auto !important; }
    .md\:d-none      { display: none !important; }
    .md\:d-block     { display: block !important; }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 48px;
        --space-2xl: 40px;
    }

    .hero__title { font-size: var(--text-3xl); }
    .hero        { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

    .btn-xl { padding: 14px 28px; font-size: var(--text-base); }
    .btn-lg { padding: 12px 24px; }

    .sm\:text-center { text-align: center !important; }
    .sm\:d-none      { display: none !important; }
    .sm\:d-block     { display: block !important; }
    .sm\:w-full      { width: 100% !important; }
}
