@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    /* Legal-document palette: deep ink navy, warm paper, restrained brass gold.
       The bright logo gold is reserved for the seal and single accent rules only. */
    --primary-color: #0a2354;
    --ink: #10203f;
    --navy: #0a2354;
    --navy-deep: #071634;
    --gold: #a97e2f;
    --gold-bright: #f4c430;
    --paper: #faf8f4;
    --paper-2: #f1ede4;
    --line: rgba(10, 35, 84, 0.14);
    --line-invert: rgba(244, 196, 48, 0.28);
    --muted: #5c6472;
    --secondary-color: #f4c430;
    --dark-color: #071634;
    --light-bg: #f1ede4;
    --gold-gradient: linear-gradient(135deg, #f4c430 0%, #d9a62b 100%);
    --navy-gradient: linear-gradient(135deg, #0a2354 0%, #071634 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
}

body.loaded {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4, .display-serif {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.01em;
}

.mono-tag {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.08em;
}

a { color: inherit; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    background: var(--navy) !important;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(244, 196, 48, 0.18);
}

.navbar.scrolled {
    padding: 0.55rem 0;
    background: var(--navy-deep) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin: 0 1rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.4px;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-bright);
    transition: width 0.25s ease;
}

.nav-link:hover { color: #fff !important; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.btn-consult {
    background: transparent !important;
    color: var(--gold-bright) !important;
    border: 1px solid var(--gold-bright) !important;
    border-radius: 2px;
    padding: 0.6rem 1.6rem !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    transition: all 0.25s ease;
}

.btn-consult:hover {
    background: var(--gold-bright) !important;
    color: var(--navy-deep) !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--navy-deep);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 3px;
    }
    .nav-link { margin: 0.5rem 0; }
    .btn-consult { margin-top: 1rem; width: 100%; text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-carousel-wrapper {
    position: relative;
}

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 150px 0 0;
    background-color: var(--navy);
    /* --hero-bg is set per-slide inline; the gradient overlay always lives here
       so markup only ever needs to pass the image URL. */
    background-image: linear-gradient(120deg, rgba(7, 22, 52, 0.94) 20%, rgba(10, 35, 84, 0.82) 100%), var(--hero-bg, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(244, 196, 48, 0.45);
    color: var(--gold-bright);
    padding: 0.5rem 1.1rem;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.22;
}

.hero .gold-text {
    color: var(--gold-bright);
    font-style: italic;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 2.3rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
}

.hero-cta {
    position: relative;
    z-index: 2;
}

.hero-trust-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(244, 196, 48, 0.22);
    padding-top: 1.4rem;
    padding-bottom: 2.5rem;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    padding-right: 1.6rem;
    margin-right: 1.6rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-trust-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.hero-trust-item i {
    color: var(--gold-bright);
    font-size: 0.85rem;
}

.btn-hero {
    padding: 0.95rem 2.4rem;
    font-size: 0.85rem;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-hero-primary { background: var(--gold-bright); color: var(--navy-deep); }
.btn-hero-primary:hover { background: #fff; color: var(--navy-deep); }

.btn-hero-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-hero-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.carousel-indicators {
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--gold-bright);
    opacity: 0.4;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.carousel-indicators .active { opacity: 1; }

.carousel-control-prev,
.carousel-control-next {
    width: 6%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon { filter: none; opacity: 0.6; }

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon { opacity: 1; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section {
    background: var(--navy-deep);
    color: white;
    padding: 0;
    border-top: 1px solid rgba(244, 196, 48, 0.18);
}

.stat-box {
    text-align: center;
    padding: 3rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.row > div:last-child .stat-box { border-right: none; }

.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 0.4rem;
}

.stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Motto
   ========================================================================== */
.motto-section {
    background: var(--navy-deep);
    color: white;
    padding: 3.8rem 0;
    position: relative;
    border-top: 1px solid rgba(244, 196, 48, 0.22);
    border-bottom: 1px solid rgba(244, 196, 48, 0.22);
}

.motto-section .motto-quote {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.motto-section .motto-latin {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
}

.motto-section .motto-id {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 780px;
    margin: 0 auto;
}

.motto-section .motto-id em { color: var(--gold-bright); font-style: italic; }

/* ==========================================================================
   Section headers — clause numbering echoes the firm's proposal document
   ========================================================================== */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}

.section-eyebrow .clause-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
}

.section-eyebrow .clause-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
}

.section-eyebrow span.clause-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.text-white .section-eyebrow span.clause-label,
.text-white .section-eyebrow .clause-num { color: rgba(255, 255, 255, 0.85); }
.text-white .section-eyebrow .clause-line { background: var(--gold-bright); }

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 3rem;
    max-width: 620px;
}

.text-center .section-eyebrow,
.text-center.section-eyebrow { justify-content: center; }

section.text-white .section-title,
.section-title.text-white { color: #fff; }

section.text-white .section-subtitle,
.section-subtitle.text-white { color: rgba(255, 255, 255, 0.72); }

/* ==========================================================================
   Practice Areas
   ========================================================================== */
.practice-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2.8rem 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.practice-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.practice-icon {
    width: 140px;
    height: 140px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0 auto 1.8rem;
    overflow: hidden;
}

.practice-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.9rem;
    text-align: center;
}

.practice-card p {
    color: var(--muted);
    text-align: center;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Read-more trigger (opens the detail modal) — shared by Practice & Team cards
   ========================================================================== */
.card-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 1.1rem;
    background: none;
    border: none;
    border-top: 1px dashed var(--line);
    padding-top: 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    transition: color 0.25s ease;
}

.card-more-btn:hover { color: var(--gold); }
.card-more-btn i { transition: transform 0.25s ease; }
.card-more-btn:hover i { transform: translateX(3px); }

/* About section reads left-aligned prose, not a boxed card, so its
   read-more trigger drops the card's full-width dashed divider. */
.about-more-btn {
    justify-content: flex-start;
    width: auto;
    border-top: none;
    padding-top: 0;
    margin-top: 0.2rem;
    margin-bottom: 1.6rem;
}

/* ==========================================================================
   Detail modal (Practice Areas & Team bios)
   ========================================================================== */
.law-modal {
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--paper);
}

.law-modal .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 2rem;
    align-items: flex-start;
}

.law-modal .modal-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.4rem;
    margin: 0;
}

.law-modal .modal-title-position {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.4rem;
}

.law-modal .modal-body {
    padding: 2rem;
    color: var(--muted);
    line-height: 1.9;
    font-size: 1rem;
}

.law-modal .modal-body p:last-child { margin-bottom: 0; }

.law-modal .btn-close {
    opacity: 0.55;
    margin-top: 0.2rem;
}
.law-modal .btn-close:hover { opacity: 1; }
.law-modal .btn-close:focus { box-shadow: none; }

/* ==========================================================================
   Ruang Lingkup (scope tabs + accordion)
   ========================================================================== */
.scope-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.6rem;
    flex-wrap: wrap;
}

.scope-nav-btn {
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 0.7rem 1.8rem;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    transition: all 0.25s ease;
}

.scope-nav-btn.active,
.scope-nav-btn:hover {
    background: var(--navy);
    color: #fff;
}

.scope-pane { display: none; }
.scope-pane.active { display: block; }

.accordion-item {
    border: 1px solid var(--line) !important;
    margin-bottom: 0.9rem;
    border-radius: 3px !important;
    overflow: hidden;
    box-shadow: none;
}

.accordion-button {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink) !important;
    background: var(--paper) !important;
    font-size: 1.02rem;
}

.accordion-button:not(.collapsed) {
    background: var(--paper-2) !important;
    color: var(--navy) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold);
}

.accordion-button::after {
    filter: none;
}

.accordion-body { color: var(--muted); font-size: 0.96rem; }
.accordion-body ul { margin-bottom: 0; padding-left: 1.2rem; }
.accordion-body li { margin-bottom: 0.5rem; }

/* ==========================================================================
   Visi & Misi list
   ========================================================================== */
.testimonial-card ul li i { color: var(--gold-bright); }

/* ==========================================================================
   About
   ========================================================================== */
.about-img { border-radius: 3px; border: 1px solid var(--line); }

.about-text h2 {
    font-size: 2.2rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-legal-basis {
    background: var(--paper-2);
    border-left: 2px solid var(--gold);
    border-radius: 2px;
    padding: 1.1rem 1.4rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

.about-legal-basis strong { color: var(--navy); }

.about-features { margin-top: 2rem; }

.feature-item { display: flex; align-items: start; margin-bottom: 1.5rem; }

.feature-icon {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.4rem; font-weight: 600; }
.feature-text p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Skema Kerjasama & Biaya
   ========================================================================== */
.biaya-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 3px;
    padding: 2.4rem;
    height: 100%;
    transition: all 0.3s ease;
}

.biaya-card:hover { transform: translateY(-6px); border-color: var(--gold); }

.biaya-card .biaya-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--gold-bright);
    padding: 0.35rem 1rem;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.2rem;
}

.biaya-card h3 {
    color: var(--ink);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.biaya-card ul { padding-left: 1.2rem; color: var(--muted); margin-bottom: 0; }
.biaya-card ul li { margin-bottom: 0.7rem; line-height: 1.6; }
.biaya-card ul li i { color: var(--gold); margin-right: 0.5rem; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.team-img { width: 100%; height: 300px; object-fit: contain; }

.team-avatar {
    width: 100%;
    height: 190px;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.team-avatar::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.team-avatar span {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 1px;
}

.team-content { padding: 1.8rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.team-content h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.4rem; font-weight: 600; }

.team-position {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--gold);
    font-size: 0.75rem;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.team-content p { color: var(--muted); line-height: 1.7; margin-bottom: 0; font-size: 0.9rem; text-align: left; }

.team-social { display: flex; justify-content: center; gap: 12px; margin-top: 1.1rem; }
.team-social a {
    width: 36px;
    height: 36px;
    background: var(--paper-2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.25s;
}
.team-social a:hover { background: var(--gold-bright); color: var(--navy-deep); }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial-section { background: var(--navy-deep); color: white; padding: 6rem 0; }

.testimonial-card {
    background: transparent;
    border: 1px solid rgba(244, 196, 48, 0.22);
    border-radius: 3px;
    padding: 2.6rem;
    height: 100%;
}

.testimonial-stars { display: none; }

.testimonial-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-text::before {
    content: '\201C';
    font-family: 'Fraunces', serif;
    display: block;
    font-size: 2.6rem;
    color: var(--gold-bright);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.2rem;
}

.author-img { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--gold-bright); object-fit: cover; }
.author-info h5 { margin: 0; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; }
.author-info span { color: var(--gold-bright); font-size: 0.85rem; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
    border: 1px solid var(--line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    background: var(--paper);
    overflow: hidden;
}

.blog-card img { height: 220px; object-fit: cover; }

.blog-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--muted);
}

.blog-card h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.2rem;
}

.blog-card p { color: var(--muted); font-size: 0.95rem; }

.blog-read-more {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 600;
}
.blog-read-more:hover { color: var(--gold); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(rgba(7, 22, 52, 0.93), rgba(7, 22, 52, 0.93)),
        url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920') center/cover fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(244, 196, 48, 0.18);
}

.cta-section h2 { font-size: 2.6rem; font-weight: 600; margin-bottom: 1.3rem; }
.cta-section p { font-family: 'Inter', sans-serif; font-size: 1.1rem; margin-bottom: 2.3rem; color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-info-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2.4rem;
    text-align: center;
    height: 100%;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0 auto 1.3rem;
}

.contact-info-box h4 { color: var(--ink); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.8rem; }
.contact-info-box p { color: var(--muted); margin: 0; font-size: 1rem; }
.contact-info-box a { color: var(--ink); text-decoration: none; transition: color 0.3s; }
.contact-info-box a:hover { color: var(--gold); }

.form-control, .form-select {
    border-radius: 2px;
    border-color: var(--line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(169, 126, 47, 0.18);
}

.btn-hero-primary.w-100 { border-radius: 2px; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--navy-deep);
    color: white;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(244, 196, 48, 0.22);
}

footer h5 {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

footer p.text-white-50 { line-height: 1.8; }

footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

footer a:hover { color: var(--gold-bright); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.wa-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; }

.wa-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.wa-float a:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3); }

/* ==========================================================================
   Swiper / misc
   ========================================================================== */
.swiper-slide { height: auto; }
.swiper-slide > * { height: 100%; }
.swiper { padding-bottom: 40px; }
.swiper-pagination-bullet-active { background: var(--gold-bright) !important; }

@media print {
    .navbar, .wa-float, .btn, footer { display: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hero { min-height: unset; padding: 120px 0 70px; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }

    .hero-trust-row { flex-direction: column; gap: 0.7rem; }
    .hero-trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 0.6rem;
        margin-right: 0;
        width: 100%;
    }

    .section-title { font-size: 1.8rem; }

    .stat-box { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 2rem 1rem; }
    .stat-number { font-size: 2.1rem; }

    .navbar-brand { font-size: 1rem; }
    .navbar-brand img { height: 60px; }

    .scope-nav-btn { padding: 0.6rem 1.2rem; font-size: 0.72rem; }

    .motto-section .motto-quote { font-size: 1.15rem; }
    .motto-section .motto-latin { font-size: 1.1rem; }

    .carousel-control-prev, .carousel-control-next { width: 10%; }
}