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

:root {
    --bg: #f5f5f0;
    --bg-soft: #dfdfc5;
    --bg-soft-2: #f3f4e0;
    --primary: #111827;
    --accent: #b49f72;
    --accent-soft: #e0d4b0;
    --text: #111827;
    --muted: #6b7280;
    --card-bg: #ffffff;
    --border-subtle: rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.08);
    --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.05);
    --transition-fast: 180ms ease-out;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, #fefce8 0, #f5f5f0 40%, #f3f4f6 100%);
    color: var(--text);
    line-height: 1.6;
}

.page-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

/* Top bar */
.top-bar {
    background: rgba(17, 24, 39, 0.95);
    color: #e5e7eb;
    font-size: 0.82rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.5rem;
    gap: 1.5rem;
}

.top-bar a {
    color: #e5e7eb;
    text-decoration: none;
}

.dot-sep::before {
    content: "•";
    margin-inline: 0.5rem;
    color: #9ca3af;
}

/* Header & nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.8rem;
}

.brand-link {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.main-nav a {
    text-decoration: none;
    color: #111827;
    position: relative;
    padding-block: 0.25rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width var(--transition-fast);
    border-radius: 999px;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(90deg, #fefce8, #f9fafb);
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.35);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

/* Hero */
.hero {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.hero-soft {
    background: radial-gradient(circle at top left, #fefce8 0, #f9fafb 45%, #e5e7eb 100%);
}

.hero-bg-svg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-bg-svg svg {
    width: 100%;
    height: 100%;
}

.orbit {
    mix-blend-mode: multiply;
    filter: blur(0.5px);
}

.orbit-1 {
    animation: float1 12s ease-in-out infinite alternate;
}
.orbit-2 {
    animation: float2 14s ease-in-out infinite alternate;
}
.orbit-3 {
    animation: float3 18s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10px, 18px) scale(1.05); }
}
@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-16px, 8px) scale(1.08); }
}
@keyframes float3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10px, -12px) scale(1.03); }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 2.5rem;
    align-items: center;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 2.7vw + 1.2rem, 2.9rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.hero-lead {
    font-size: 1rem;
    color: #4b5563;
    max-width: 34rem;
}

.hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, #111827, #4b5563);
    color: #f9fafb;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.btn-full {
    width: 100%;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 25px rgba(15, 23, 42, 0.25);
}

.hero-meta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-meta span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(229, 231, 235, 0.7);
}

/* Hero photo card */
.hero-photo-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-ring {
    width: 260px;
    height: 260px;
    border-radius: 999px;
    padding: 0.45rem;
    background: conic-gradient(from 200deg, #e5e7d4, #dfdfc5, #fefce8, #e5e7eb);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.photo-inner {
    border-radius: inherit;
    background: #f9fafb;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    width: 85%;
    height: 85%;
    border-radius: 1.4rem;
    border: 1px dashed rgba(148, 163, 184, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.8rem;
}

.photo-badge {
    position: absolute;
    bottom: -0.9rem;
    right: 0.1rem;
    background: #111827;
    color: #f3f4f6;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.5);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

/* Float animation */
.float-anim {
    animation: floatCard 9s ease-in-out infinite alternate;
}
@keyframes floatCard {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-1.2deg); }
}

/* Hero stats */
.hero-stats {
    margin-top: 2.2rem;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(209, 213, 219, 0.7);
    box-shadow: var(--shadow-subtle);
    font-size: 0.95rem;
}
.hero-stat-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding-block: 3rem;
}
.section-alt {
    background: linear-gradient(180deg, #f9fafb, #f5f5f0);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.section-home-about .content-block {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.9rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-subtle);
}

.section-home-about .info-box {
    background: var(--bg-soft);
}

/* Content blocks */
.content-block h2 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.03em;
}
.content-block h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
}
.content-block p {
    margin-bottom: 0.7rem;
    color: #4b5563;
}
.content-block ul {
    margin-left: 1rem;
    margin-bottom: 0.7rem;
}
.content-block li {
    margin-bottom: 0.25rem;
}

/* Info box */
.info-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-subtle);
    font-size: 0.95rem;
}

/* Section header */
.section-header-with-pill {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.section-header-with-pill h2 {
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}
.section-sub {
    font-size: 0.95rem;
    color: var(--muted);
}
.pill-link {
    font-size: 0.86rem;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    text-decoration: none;
    color: #374151;
    background: rgba(243, 244, 246, 0.9);
}

/* Services */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem 1.25rem;
    box-shadow: var(--shadow-subtle);
    font-size: 0.95rem;
}
.service-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.4rem;
}

/* Work areas */
.wa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.wa-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-subtle);
}
.wa-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.wa-card a {
    text-decoration: none;
    color: var(--text);
}
.wa-detail-img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

/* Comments */
.comment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.comment-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: 0.93rem;
    box-shadow: var(--shadow-subtle);
}
.comment-text {
    color: #374151;
    margin-bottom: 0.6rem;
}
.comment-name {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Contact section */
.section-contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
    gap: 2.1rem;
}
.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-subtle);
}
.form-field {
    margin-bottom: 0.9rem;
}
.form-field label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
    color: #374151;
}
.form-field input,
.form-field textarea,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.55rem 0.6rem;
    font-size: 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    outline: none;
}
.checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.85rem;
}
.checkbox-field input {
    margin-top: 0.15rem;
}
.form-note {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    color: var(--muted);
}
.form-alert {
    border-radius: 0.8rem;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}
.form-alert.success {
    background: #ecfdf5;
    border: 1px solid #22c55e;
    color: #166534;
}
.form-alert.error {
    background: #fef2f2;
    border: 1px solid #f87171;
    color: #b91c1c;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: #111827;
    color: #e5e7eb;
    padding-block: 1.7rem;
}
.footer-inner {
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 2fr);
    gap: 2rem;
}
.footer-small {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.35rem;
}
.newsletter-form label {
    font-size: 0.8rem;
    color: #d1d5db;
}
.newsletter-row {
    display: flex;
    margin-top: 0.5rem;
    gap: 0.4rem;
}
.newsletter-row input {
    flex: 1;
    border-radius: 999px;
    border: none;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
}
.newsletter-row button {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: none;
    font-size: 0.85rem;
    background: #fef9c3;
    color: #111827;
}
.footer-social {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.7rem;
    font-size: 0.83rem;
}
.footer-social a {
    color: #e5e7eb;
    text-decoration: none;
}

/* Admin basic styling (same CSS used) */
.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 100vh;
}
.admin-sidebar {
    background: #111827;
    color: #e5e7eb;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.admin-sidebar h1 {
    font-size: 1.05rem;
}
.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.9rem;
}
.admin-sidebar a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.35rem 0.4rem;
    border-radius: 0.45rem;
}
.admin-sidebar a:hover {
    background: rgba(249, 250, 251, 0.08);
}
.admin-main {
    background: #f3f4f6;
    padding: 1.3rem 1.4rem;
}
.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.badge {
    font-size: 0.78rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
}
.admin-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(209, 213, 219, 0.7);
}
.admin-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}
.admin-form-group {
    margin-bottom: 0.9rem;
}
.admin-form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.admin-form-group textarea {
    width: 100%;
    min-height: 140px;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
}
.admin-save-btn {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
    background: #111827;
    color: #f9fafb;
}
.admin-alert {
    border-radius: 0.6rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.83rem;
    margin-bottom: 0.7rem;
}
.admin-alert.success {
    background: #ecfdf5;
    border: 1px solid #22c55e;
    color: #166534;
}

/* Login */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #fefce8, #e5e7eb);
}
.login-card {
    background: #ffffff;
    padding: 1.6rem 1.7rem;
    border-radius: 1rem;
    width: min(380px, 100% - 2rem);
    box-shadow: var(--shadow-soft);
}
.login-card h1 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.login-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}
.form-group {
    margin-bottom: 0.8rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.btn-login {
    width: 100%;
    margin-top: 0.4rem;
}
.login-note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}
.error {
    background: #fef2f2;
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.83rem;
    color: #b91c1c;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.2rem; }

/* Page hero */
.page-hero {
    padding-block: 2.3rem;
    border-bottom: 1px solid rgba(209, 213, 219, 0.9);
    background: linear-gradient(135deg, #f9fafb, #fefce8);
}
.page-hero.soft {
    background: linear-gradient(135deg, #f9fafb, #f3f4e0);
}
.page-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
}
.page-hero p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-stats-grid,
    .service-cards,
    .wa-grid,
    .comment-grid,
    .footer-grid,
    .section-grid,
    .section-contact .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .admin-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .admin-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-block: 0.8rem;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(248, 250, 252, 0.97);
        flex-direction: column;
        padding: 0.8rem 1.2rem 1rem;
        gap: 0.6rem;
        transform-origin: top;
        transform: scaleY(0.3);
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(209, 213, 219, 0.9);
    }
    .main-nav.nav-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-toggle {
        display: inline-flex;
    }
}

/* Done */
