body {
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--text-main);
    border-radius: 50%;
    display: inline-block;
    margin: 0 1px;
}

/* Jarak antar link sedikit dirapatkan karena link sekarang punya padding sendiri */
.nav-links {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Beri bentuk pil dan padding pada semua link */
.nav-links a {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    transition:
        background 0.3s ease,
        opacity 0.3s ease;
}

/* Efek hover: muncul lingkaran transparan tipis */
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

/* Menu yang sedang aktif: muncul pil iOS (tanpa garis bawah) */
.nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-text);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-actions > a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-actions svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    position: relative;
    padding: 100px 0 40px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.07),
        transparent 65%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 720px;
}

.hero-subtitle {
    position: relative;
    top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hero p {
    color: #cccccc;
    font-size: 1.05rem;
    max-width: 52ch;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 100px;
    align-items: stretch;
}

.info-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row .lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding-top: 3px;
}

.info-row .val {
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-row .val small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.info-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.03);
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: var(--surface-color);
    opacity: 1;
}

.btn-primary svg,
.btn-outline svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 420px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 1rem;
    margin-bottom: 100px;
}

.gallery figure {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-color);
    position: relative;
}

.gallery figure:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery figure:nth-child(2) {
    grid-column: span 2;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery figure:hover img {
    transform: scale(1.03);
}

.services {
    margin-bottom: 100px;
}

.section-header {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.service-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-bottom: 100px;
}

.facility {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.facility .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    flex-shrink: 0;
}

footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom address {
    font-style: normal;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: var(--accent-text);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 200px 200px 200px;
    }
    .gallery figure:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .gallery figure:nth-child(2) {
        grid-column: span 2;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-container {
        width: 90%;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .info-card {
        padding: 1.5rem;
    }
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .section-header h2 {
        font-size: 1.85rem;
    }
    .services-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-rows: repeat(3, 200px);
    }
    .gallery figure:nth-child(1) {
        grid-column: span 2;
    }
    .gallery figure:nth-child(2) {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
