/* ========== 14 CRITTENDEN PTY LTD - SHARED STYLES ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --obsidian: #0c0c0e;
    --charcoal: #141417;
    --slate: #1c1c21;
    --graphite: #26262d;
    --steel: #3a3a44;
    --gold: #c8a45e;
    --gold-light: #dbb978;
    --gold-pale: #f0e2c0;
    --ivory: #f8f6f1;
    --cream: #edeae3;
    --warm-gray: #9a9590;
    --text-primary: #1a1a1f;
    --text-secondary: #5c5a56;
    --text-light: #8a8780;
    --text-on-dark: #e8e5df;
    --gradient-gold: linear-gradient(135deg, #c8a45e 0%, #dbb978 50%, #e8cc8a 100%);
    --gradient-dark: linear-gradient(180deg, #0c0c0e 0%, #1c1c21 100%);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== UTILITY ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

.section-label.centered { justify-content: center; }
.section-label.centered::before { display: none; }
.section-label.no-line::before { display: none; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-title.light { color: #fff; }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 540px;
    font-weight: 300;
}

.section-subtitle.light { color: rgba(255,255,255,0.5); }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.6s; }

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(12, 12, 14, 0.95);
    backdrop-filter: blur(24px);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(200,164,94,0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-text .accent { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(200,164,94,0.3);
    padding: 10px 24px;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--obsidian) !important;
    border-color: var(--gold) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--obsidian);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(200,164,94,0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: var(--font-body);
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--obsidian);
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    padding: 180px 0 110px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(200,164,94,0.03) 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,164,94,0.15), transparent);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.breadcrumb a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--gold); }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    max-width: 600px;
    margin-bottom: 20px;
    font-weight: 500;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.page-hero > .container > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 480px;
    font-weight: 300;
}

/* Decorative line at bottom */
.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,164,94,0.2), transparent);
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    background: #fff;
    padding: 44px 36px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(200,164,94,0.2);
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: color 0.4s;
}

.service-card:hover .service-icon svg { color: var(--obsidian); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: gap 0.3s;
}

.service-card:hover .card-link { gap: 12px; }

.service-card .card-link svg { width: 14px; height: 14px; }

/* ========== CONTACT / FORM ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: #fff;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,164,94,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--obsidian);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,164,94,0.2);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,164,94,0.15), transparent);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 16px;
    font-weight: 500;
}

.cta-banner p {
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== CONTACT INFO CARDS ========== */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
    text-decoration: none !important;
}

.contact-info-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 1px solid rgba(200,164,94,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contact-info-text h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text p {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-info-text a:hover { color: var(--gold); }

/* ========== SERVICE DETAIL ========== */
.service-detail { padding: 100px 0; }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: start;
}

.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 48px;
    font-weight: 500;
}

.service-detail-content h2:first-child { margin-top: 0; }

.service-detail-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

.service-detail-content ul {
    list-style: none;
    margin: 24px 0;
}

.service-detail-content ul li {
    padding: 14px 0 14px 40px;
    position: relative;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.service-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Sidebar */
.service-sidebar { position: sticky; top: 100px; }

.sidebar-card {
    background: #fff;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.sidebar-services { list-style: none; }
.sidebar-services li { border-bottom: 1px solid rgba(0,0,0,0.04); }
.sidebar-services li:last-child { border-bottom: none; }

.sidebar-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar-services a:hover,
.sidebar-services a.active {
    color: var(--gold);
    padding-left: 8px;
}

.sidebar-services a svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-services a:hover svg,
.sidebar-services a.active svg { opacity: 1; }

.sidebar-cta {
    background: var(--gradient-dark);
    padding: 36px;
    text-align: center;
    color: #fff;
}

.sidebar-cta h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 500;
}

.sidebar-cta p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 24px;
    font-weight: 300;
}

.sidebar-cta .btn-primary { width: 100%; justify-content: center; }

/* ========== FAQ ========== */
.faq-section { padding: 100px 0; background: #fff; }

.faq-header { text-align: center; margin-bottom: 56px; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--gold); }

.faq-question svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 24px; }

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

/* ========== VALUES / FEATURES ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: #fff;
    padding: 44px 32px;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.4s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.value-card .value-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(200,164,94,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.value-card .value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--obsidian);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand p {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    line-height: 1.75;
    font-weight: 300;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 22px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.2);
    font-size: 0.78rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal span {
    color: rgba(255,255,255,0.15);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 14, 0.98);
    backdrop-filter: blur(24px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.8rem;
    transition: color 0.3s;
    font-weight: 400;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MAP ========== */
.map-container {
    width: 100%;
    height: 360px;
    overflow: hidden;
    margin-top: 40px;
    background: var(--charcoal);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(80%) contrast(1.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu { display: flex; }

    .page-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .page-hero { padding: 140px 0 80px; }

    .values-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .section-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }

    .service-detail, .faq-section, .cta-banner { padding: 80px 0; }

    .footer-bottom { flex-direction: column; text-align: center; }
}
