/* ============================================================
   style.css — Ferdinand Hutahaean & Co
   Struktur: Base/Desktop dulu → media query di bawah
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2F;
    --navy: #0A1628;
    --navy-mid: #112240;
    --navy-light: #1A3A6B;
    --cream: #F5F0E8;
    --cream-dark: #EDE6D6;
    --white: #FFFFFF;
    --gray: #8892A4;
    --text: #2C3E50;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all 0.4s var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    height: 65px;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav-logo-main {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-logo-sub {
    font-size: 0.55rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    height: 1px;
    background: var(--gold);
    transition: right 0.3s var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    right: 0;
}

.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 10px 24px;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger — hidden by default on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    width: 34px;
    height: 34px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    display: block;
    transition: all 0.3s;
    transform-origin: center;
}

/* Animasi hamburger → X saat menu terbuka */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.mobile-menu a:hover {
    color: var(--gold);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(17, 34, 64, 0.85) 50%, rgba(10, 22, 40, 0.95) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-lines::before,
.hero-lines::after {
    content: '';
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.hero-lines::before {
    left: 10%;
    height: 70%;
    top: 15%;
    animation: lineFade 4s ease-in-out infinite;
}

.hero-lines::after {
    right: 10%;
    height: 60%;
    top: 20%;
    animation: lineFade 4s ease-in-out infinite 2s;
}

@keyframes lineFade {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 900px;
    animation: heroFadeUp 1.2s var(--transition) both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 20px;
    margin-bottom: 2rem;
    animation: heroFadeUp 1.2s var(--transition) 0.2s both;
}

.hero-badge span {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-badge::before {
    content: '⚖';
    color: var(--gold);
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: heroFadeUp 1.2s var(--transition) 0.4s both;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
    max-width: 560px;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: heroFadeUp 1.2s var(--transition) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: heroFadeUp 1.2s var(--transition) 0.8s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--navy);
    padding: 16px 36px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    padding: 15px 36px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.hero-stats {
    position: absolute;
    right: 8%;
    bottom: 12%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: heroFadeUp 1.2s var(--transition) 1s both;
}

.hero-stat {
    text-align: right;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== SECTION BASE ===== */
section {
    padding: 8rem 10%;
}

.section-label {
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.9;
    max-width: 600px;
}

/* ===== ABOUT ===== */
#about {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    width: 100%;
    padding-bottom: 125%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.about-img-frame::before {
    content: '⚖';
    position: absolute;
    font-size: 15rem;
    color: rgba(201, 168, 76, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-img-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-emblem {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: -2px;
}

.about-emblem-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
}

.about-badge-float {
    position: absolute;
    right: -30px;
    bottom: 60px;
    background: var(--gold);
    color: var(--navy);
    padding: 20px 24px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-badge-float strong {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}

.about-corner-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
}

.about-vision {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--cream);
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: all 0.3s;
}

.about-feature:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.about-feature-text strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.about-feature-text span {
    font-size: 0.7rem;
    color: var(--gray);
}

#about-content {
    text-align: justify;
}

/* ===== PRACTICE AREAS ===== */
#practice {
    background: var(--navy);
}

.practice-header {
    text-align: center;
    margin-bottom: 5rem;
}

.practice-header .section-label {
    justify-content: center;
}

.practice-header .section-label::before {
    display: none;
}

.practice-header .section-desc {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: rgba(201, 168, 76, 0.1);
}

.practice-card {
    background: var(--navy-mid);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.4s var(--transition);
}

.practice-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--gold);
    transition: right 0.4s var(--transition);
}

.practice-card:hover {
    background: var(--navy-light);
    transform: translateY(-4px);
}

.practice-card:hover::before {
    right: 0;
}

.practice-card-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.practice-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.practice-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.practice-card-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.9;
}

/* ===== STATS BAR ===== */
#stats {
    background: var(--gold);
    padding: 4rem 10%;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(10, 22, 40, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== TEAM ===== */
#team {
    background: var(--cream);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s var(--transition);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    padding-bottom: 110%;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.team-photo-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-photo-avatar {
    width: 100px;
    height: 100px;
    background: rgba(201, 168, 76, 0.2);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s var(--transition);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-edu {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    white-space: pre-line;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.team-pos {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
    background: var(--navy-mid);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header .section-label {
    justify-content: center;
}

.testimonials-header .section-label::before {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--gold);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-client strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.testimonial-client span {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ===== NEWS ===== */
#news {
    background: var(--white);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.news-card {
    background: var(--cream);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.news-card.featured {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.news-thumb {
    width: 100%;
    padding-bottom: 55%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb.tall {
    padding-bottom: 100%;
}

.news-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.2;
}

.news-body {
    padding: 1.5rem;
    flex: 1;
}

.news-cat {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.news-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.7rem;
}

.news-card.featured .news-title {
    font-size: 1.6rem;
}

.news-excerpt {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.news-meta {
    font-size: 0.65rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: gap 0.3s;
}

.news-card:hover .news-read-more {
    gap: 10px;
}

/* ===== CONTACT ===== */
#contact {
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: start;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-detail:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

/* ===== CONTACT FORM ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select option {
    background: var(--navy);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-success {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding: 3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gold);
}

.footer-copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    letter-spacing: 1px;
}

.footer-admin a {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-admin a:hover {
    color: var(--gold);
}

/* ===== ADMIN PANEL ===== */
#admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0d1117;
}

#admin-overlay.active {
    display: flex;
}

.admin-sidebar {
    width: 260px;
    background: #161b22;
    border-right: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.admin-logo {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.admin-logo-main {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.admin-logo-sub {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.admin-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.admin-nav-section {
    padding: 0.5rem 1.5rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 1rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 1.5rem;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    background: none;
    border-right: none;
    width: 100%;
    text-align: left;
    border-top: none;
    border-bottom: none;
}

.admin-nav-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
}

.admin-nav-item.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.admin-nav-item .nav-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-user {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.admin-user strong {
    display: block;
    color: var(--white);
    font-size: 0.8rem;
}

.admin-logout {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.2);
    color: rgba(255, 120, 120, 0.8);
    padding: 6px 12px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-logout:hover {
    background: rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    background: #161b22;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.admin-topbar-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-topbar-title span {
    color: var(--gold);
}

.admin-view-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 6px 14px;
    transition: all 0.2s;
    background: none;
    cursor: pointer;
}

.admin-view-site:hover {
    background: rgba(201, 168, 76, 0.1);
}

.admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-card {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.admin-field {
    margin-bottom: 1rem;
}

.admin-field label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 10px 14px;
    font-size: 0.82rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    border-color: var(--gold);
}

.admin-field textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-field select option {
    background: #161b22;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-admin:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-admin-outline {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
}

.btn-admin-outline:hover {
    background: rgba(201, 168, 76, 0.1);
}

.btn-admin-danger {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff6b6b;
}

.btn-admin-danger:hover {
    background: rgba(255, 80, 80, 0.25);
}

.btn-admin-sm {
    padding: 6px 12px;
    font-size: 0.6rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(80, 200, 120, 0.15);
    color: #50c878;
}

.badge-inactive {
    background: rgba(255, 80, 80, 0.15);
    color: #ff6b6b;
}

.badge-published {
    background: rgba(80, 200, 120, 0.15);
    color: #50c878;
}

.badge-draft {
    background: rgba(255, 200, 80, 0.15);
    color: #ffc850;
}

.badge-unread {
    background: rgba(100, 150, 255, 0.15);
    color: #6496ff;
}

.badge-read {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
}

.admin-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.admin-modal-bg.open {
    display: flex;
}

.admin-modal {
    background: #1a2030;
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-modal-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold);
}

.admin-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.admin-modal-close:hover {
    color: var(--white);
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold);
    color: var(--navy);
    padding: 14px 24px;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s var(--transition);
    max-width: 350px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: #ff6b6b;
    color: white;
}

.admin-login {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.admin-login-box {
    width: 400px;
    padding: 3rem;
    background: #161b22;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.admin-login-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.3rem;
}

.admin-login-sub {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.admin-login-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.login-error {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff6b6b;
    padding: 10px 14px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-stat-card {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.dash-stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.dash-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.unread-badge {
    background: #ff6b6b;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}


/* ============================================================
   MEDIA QUERIES — letakkan di bawah semua base styles
   ============================================================ */

/* --- 1024px: tablet landscape --- */
@media (max-width: 1024px) {
    section {
        padding: 5rem 6%;
    }

    #about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-badge-float {
        right: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    #contact {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        display: none;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-row: auto;
    }
}

/* --- 768px: tablet portrait / large phone --- */
@media (max-width: 768px) {
    #navbar {
        z-index: 9000;
    }

    #hero,
    section {
        isolation: auto;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 4rem 5%;
    }

    #about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-badge-float {
        right: 0;
        bottom: 20px;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-row: auto;
    }

    .news-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    #contact {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .admin-sidebar {
        width: 220px;
    }

    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid-2,
    .admin-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- 480px: small phone --- */
@media (max-width: 480px) {

    /* Navbar tetap di atas semua konten */
    #navbar {
        z-index: 9000;
        padding: 0 4%;
        height: 60px;
    }

    .nav-logo-main {
        font-size: 0.85rem;
        letter-spacing: 0;
    }

    .nav-logo-sub {
        font-size: 0.42rem;
        letter-spacing: 1px;
    }

    /* Hero — konten tidak overflow */
    #hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 90px 4% 80px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-scroll {
        bottom: 16px;
    }

    section {
        padding: 3rem 4%;
    }

    #stats {
        padding: 2.5rem 4%;
    }

    /* About */
    #about {
        padding: 3rem 4%;
    }

    .about-corner-accent {
        width: 50px;
        height: 50px;
        top: -10px;
        left: -10px;
    }

    .about-badge-float {
        right: 0;
        bottom: 10px;
        padding: 12px 14px;
    }

    .about-badge-float strong {
        font-size: 1.6rem;
    }

    /* Stats */
    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    /* Contact */
    #contact {
        padding: 3rem 4%;
    }

    /* Footer */
    footer {
        padding: 2rem 4%;
    }

    /* Mobile menu */
    .mobile-menu {
        gap: 1.25rem;
    }

    .mobile-menu a {
        font-size: 1.2rem;
    }

    /* Admin */
    .admin-sidebar {
        position: fixed;
        left: -260px;
        height: 100%;
        transition: left 0.3s;
        z-index: 10001;
    }

    .admin-sidebar.open {
        left: 0;
    }

    .admin-login-box {
        width: 92%;
        padding: 2rem 1.25rem;
    }

    .admin-modal {
        width: 96%;
        padding: 1.25rem;
    }
}

/* Modal artikel */
.article-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.article-modal-bg.open {
    display: flex;
}

.article-modal {
    background: #fff;
    width: 100%;
    max-width: 760px;
    margin: auto;
    position: relative;
}

.article-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem 0;
}

.article-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8892A4;
    line-height: 1;
}

.article-modal-close:hover {
    color: #0A1628;
}

.article-modal-content {
    padding: 0 2.5rem 2.5rem;
}

.article-modal-meta {
    font-size: 0.7rem;
    color: #8892A4;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.article-modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #0A1628;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #C9A84C;
}

.article-modal-body {
    font-size: 0.9rem;
    color: #2C3E50;
    line-height: 1.9;
}

.article-modal-body h1,
.article-modal-body h2,
.article-modal-body h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #0A1628;
    margin: 1.5rem 0 0.75rem;
    font-weight: 500;
}

.article-modal-body h2 {
    font-size: 1.3rem;
}

.article-modal-body p {
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .article-modal-content {
        padding: 0 1.25rem 2rem;
    }

    .article-modal-title {
        font-size: 1.4rem;
    }
}