/*
Theme Name: HK Legal Guide
Theme URI: https://hklegalguide.com/
Author: HK Legal Guide
Author URI: https://hklegalguide.com/
Description: A responsive, professional legal services WordPress theme for HK Legal Guide. Includes practice areas, team profiles, legal resources, and WhatsApp enquiry forms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hk-legal-guide
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/
:root{--hkl-navy:#10243a;--hkl-navy2:#183650;--hkl-gold:#caa86a;--hkl-cream:#f7f5f0;--hkl-ink:#1c2a38;--hkl-muted:#647181;--hkl-line:#e4e7eb;--hkl-white:#fff;--hkl-green:#167a59}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--hkl-ink);background:#fff;line-height:1.6}body,button,input,select,textarea{font-family:"DM Sans",Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#98702d}.hkl-wrap{width:min(1160px,92%);margin-inline:auto}.hkl-topbar{background:var(--hkl-navy);color:#e9edf2;font-size:13px}.hkl-topbar .hkl-wrap{display:flex;justify-content:space-between;gap:16px;padding:9px 0;flex-wrap:wrap}.hkl-topbar a{color:#fff}.hkl-header{position:sticky;top:0;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);z-index:99;border-bottom:1px solid var(--hkl-line)}.hkl-nav{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:22px}.hkl-brand{display:flex;align-items:center;gap:12px;font-weight:700;color:var(--hkl-navy);letter-spacing:-.4px}.hkl-brand-mark{width:42px;height:42px;border-radius:12px;background:var(--hkl-navy);color:var(--hkl-gold);display:grid;place-items:center;font-family:"Playfair Display",Georgia,serif;font-size:21px;border:1px solid #d9c28f;flex:0 0 42px}.hkl-brand-name{display:block;font-size:16px}.hkl-brand small{display:block;font-weight:500;font-size:10px;letter-spacing:2px;color:var(--hkl-muted);text-transform:uppercase;margin-top:-4px}.hkl-nav-links{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:600}.hkl-nav-links a:hover{color:#a47b34}.hkl-btn,.hkl-nav-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:12px 17px;background:var(--hkl-gold);color:var(--hkl-navy)!important;font-weight:700;border:1px solid var(--hkl-gold);cursor:pointer;transition:filter .2s}.hkl-btn:hover,.hkl-nav-cta:hover{filter:brightness(.96)}.hkl-menu-toggle{display:none;background:#fff;border:1px solid var(--hkl-line);padding:9px 12px;border-radius:8px;color:var(--hkl-navy)}
.hkl-hero{background:radial-gradient(circle at 80% 20%,#294762 0,transparent 32%),linear-gradient(120deg,#0c1e31,#173650);color:#fff;padding:82px 0 72px;overflow:hidden}.hkl-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center}.hkl-eyebrow,.hkl-kicker{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--hkl-gold);font-weight:700}.hkl-hero h1{font:700 clamp(40px,5vw,62px)/1.12 "Playfair Display",Georgia,serif;letter-spacing:-1.2px;margin:18px 0}.hkl-hero-copy{color:#d4dde6;font-size:17px;max-width:620px}.hkl-hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:28px}.hkl-btn-outline{display:inline-flex;align-items:center;justify-content:center;padding:12px 17px;border:1px solid #8294a5;color:#fff;border-radius:8px;font-weight:600}.hkl-btn-outline:hover{color:#fff;background:#ffffff12}.hkl-hero-note{font-size:12px;color:#aebdca;margin-top:20px}.hkl-search-panel{background:#fff;color:var(--hkl-ink);padding:25px;border-radius:18px;box-shadow:0 22px 70px #0003}.hkl-panel-title{font:700 23px "Playfair Display",Georgia,serif;color:var(--hkl-navy);margin:0 0 4px}.hkl-panel-sub{font-size:13px;color:var(--hkl-muted);margin:0 0 18px}.hkl-field{margin-bottom:13px}.hkl-field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px;color:#34495c}.hkl-field select,.hkl-field input,.hkl-field textarea{width:100%;border:1px solid #d9dfe5;border-radius:8px;padding:12px;background:#fff;font:inherit;color:var(--hkl-ink)}.hkl-search-panel .hkl-btn{width:100%;margin-top:5px}.hkl-small-note{font-size:12px;color:var(--hkl-muted);margin:12px 0 0}
.hkl-trust{background:var(--hkl-cream);border-bottom:1px solid #eee}.hkl-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px 0}.hkl-trust-item{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600}.hkl-trust-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;background:#fff;color:#a47b34;border:1px solid #e9dfcc;border-radius:11px;font-size:18px}
.hkl-section{padding:76px 0}.hkl-section-cream{background:var(--hkl-cream)}.hkl-section-light{background:#fbfcfd}.hkl-section-head{max-width:700px;margin-bottom:32px}.hkl-section-head.hkl-center{text-align:center;margin:0 auto 36px}.hkl-section-head h2{font:700 clamp(30px,3.4vw,42px)/1.2 "Playfair Display",Georgia,serif;color:var(--hkl-navy);margin:9px 0 13px}.hkl-section-head p{margin:0;color:var(--hkl-muted)}.hkl-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.hkl-area-card{padding:24px;border:1px solid var(--hkl-line);border-radius:13px;background:#fff;transition:.2s}.hkl-area-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #10243a0d;border-color:#d7c29b}.hkl-area-icon{height:44px;width:44px;border-radius:12px;background:#f5f0e6;display:grid;place-items:center;color:#9a7333;font-size:21px}.hkl-area-card h3{font-size:17px;margin:17px 0 7px;color:var(--hkl-navy)}.hkl-area-card p{font-size:14px;color:var(--hkl-muted);margin:0 0 14px}.hkl-text-link{font-size:13px;color:#98702d;font-weight:700}.hkl-about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:58px;align-items:center}.hkl-about-visual{min-height:340px;background:linear-gradient(145deg,#10243a,#294b67);border-radius:18px;padding:30px;display:flex;align-items:end;position:relative;overflow:hidden}.hkl-about-visual:before{content:"§";position:absolute;font:250px "Playfair Display",Georgia,serif;color:#ffffff0b;right:24px;top:-18px}.hkl-quote-card{position:relative;background:#fff;padding:22px;border-radius:12px;max-width:300px}.hkl-quote-card strong{font:700 20px "Playfair Display",Georgia,serif;color:var(--hkl-navy)}.hkl-quote-card p{font-size:13px;color:var(--hkl-muted);margin:8px 0 0}.hkl-checklist{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:23px 0}.hkl-check{font-size:14px;font-weight:600;display:flex;gap:9px}.hkl-check span{color:var(--hkl-green);font-weight:700}.hkl-team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hkl-lawyer-card{border:1px solid var(--hkl-line);border-radius:13px;padding:21px;background:#fff}.hkl-avatar{width:55px;height:55px;border-radius:50%;background:#e8edf1;color:var(--hkl-navy);display:grid;place-items:center;font:700 18px "Playfair Display",Georgia,serif;margin-bottom:15px}.hkl-lawyer-card h3{font-size:15px;line-height:1.35;margin:0 0 5px;color:var(--hkl-navy)}.hkl-lawyer-card p{font-size:12px;color:var(--hkl-muted);margin:0}.hkl-profile-tag{display:inline-block;background:#f7f4ed;color:#8a682f;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:700;margin-top:13px}.hkl-resource{background:#fff;border:1px solid var(--hkl-line);border-radius:13px;padding:23px}.hkl-resource .hkl-date{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#9a7333;font-weight:700}.hkl-resource h3{font:700 20px/1.3 "Playfair Display",Georgia,serif;color:var(--hkl-navy);margin:12px 0}.hkl-resource p{font-size:14px;color:var(--hkl-muted)}.hkl-cta-band{background:var(--hkl-navy);color:#fff;padding:48px 0}.hkl-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.hkl-cta-inner h2{font:700 30px "Playfair Display",Georgia,serif;margin:0 0 8px}.hkl-cta-inner p{color:#cbd5df;margin:0}.hkl-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:35px}.hkl-contact-card{background:var(--hkl-navy);color:#fff;padding:28px;border-radius:15px}.hkl-contact-card h3{font:700 24px "Playfair Display",Georgia,serif;margin:0 0 12px}.hkl-contact-card p{color:#d3dce4;font-size:14px}.hkl-contact-line{padding:13px 0;border-top:1px solid #ffffff25;font-size:14px;overflow-wrap:anywhere}.hkl-contact-line b{display:block;color:var(--hkl-gold);font-size:11px;text-transform:uppercase;letter-spacing:1px}.hkl-form-card{border:1px solid var(--hkl-line);padding:28px;border-radius:15px}.hkl-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hkl-form-field.hkl-full{grid-column:1/-1}.hkl-form-field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.hkl-form-field input,.hkl-form-field select,.hkl-form-field textarea{width:100%;border:1px solid #d9dfe5;border-radius:8px;padding:12px;font:inherit}.hkl-form-field textarea{min-height:120px;resize:vertical}.hkl-form-notice{font-size:12px;color:var(--hkl-muted);margin:12px 0}.hkl-footer{background:#091827;color:#c5d0db;padding:35px 0 20px}.hkl-footer-top{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;padding-bottom:25px}.hkl-footer-brand{color:#fff;font-weight:700}.hkl-footer-links{display:flex;gap:17px;flex-wrap:wrap;font-size:13px}.hkl-disclaimer{border-top:1px solid #ffffff20;padding-top:18px;font-size:11px;color:#a8b6c3}.hkl-copyright{font-size:12px;margin-top:14px}.hkl-content-area{padding:55px 0;min-height:50vh}.hkl-content-area .entry-title{font:700 clamp(30px,3.4vw,42px)/1.2 "Playfair Display",Georgia,serif;color:var(--hkl-navy)}.hkl-content-area .entry-content{max-width:850px}.hkl-content-area .entry-content img{max-width:100%;height:auto}.hkl-content-area .entry-content a{color:#98702d;text-decoration:underline}.hkl-notice{display:none;margin-top:12px;background:#e8f5ee;color:#135c43;padding:12px;border-radius:8px;font-size:13px}
@media(max-width:900px){.hkl-nav-links{gap:13px}.hkl-nav-links a:not(.hkl-nav-cta){display:none}.hkl-hero-grid,.hkl-about-grid,.hkl-contact-grid{grid-template-columns:1fr}.hkl-hero{padding:60px 0}.hkl-search-panel{max-width:580px}.hkl-team-grid{grid-template-columns:repeat(2,1fr)}.hkl-grid-3{grid-template-columns:repeat(2,1fr)}.hkl-about-grid{gap:30px}}
@media(max-width:600px){.hkl-topbar .hkl-wrap{font-size:11px}.hkl-nav{min-height:68px}.hkl-menu-toggle{display:block}.hkl-nav-links{display:none;position:absolute;top:68px;left:4%;right:4%;background:#fff;padding:18px;box-shadow:0 10px 30px #0002;border:1px solid var(--hkl-line);border-radius:12px;align-items:flex-start;flex-direction:column}.hkl-nav-links.hkl-open{display:flex}.hkl-nav-links a:not(.hkl-nav-cta){display:block}.hkl-nav-cta{display:inline-flex}.hkl-hero h1{font-size:40px}.hkl-hero-copy{font-size:15px}.hkl-trust-grid{grid-template-columns:1fr;gap:12px}.hkl-grid-3{grid-template-columns:1fr}.hkl-team-grid{grid-template-columns:1fr 1fr}.hkl-lawyer-card{padding:16px}.hkl-checklist{grid-template-columns:1fr}.hkl-cta-inner{align-items:flex-start;flex-direction:column}.hkl-form-grid{grid-template-columns:1fr}.hkl-form-field.hkl-full{grid-column:auto}.hkl-section{padding:55px 0}}
