/*
Theme Name: Phuc Long Tech
Theme URI: https://phuclongtech.vn
Author: Phuc Long Technology
Author URI: https://phuclongtech.vn
Description: Theme WordPress chuyên nghiệp cho Công ty TNHH Giải pháp Công nghệ Phục Long - chuyên dịch vụ sửa chữa máy tính, bảo trì văn phòng, lắp đặt mạng - camera - báo động, cung cấp linh kiện IT. Thiết kế năng động nhiều màu sắc, chuẩn SEO, tối ưu tốc độ.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phuc-long
Tags: business, technology, services, responsive, seo-friendly, vietnamese, colorful, modern
*/

:root {
    --color-primary: #FF6B35;
    --color-primary-dark: #E85826;
    --color-secondary: #004E89;
    --color-accent: #00A8E8;
    --color-yellow: #FFD23F;
    --color-success: #06A77D;
    --color-purple: #7B2CBF;
    --color-pink: #FF477E;
    --color-dark: #1A1A2E;
    --color-gray: #6C757D;
    --color-light-gray: #F8F9FA;
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-cool: linear-gradient(135deg, #00A8E8 0%, #004E89 100%);
    --gradient-purple: linear-gradient(135deg, #7B2CBF 0%, #FF477E 100%);
    --gradient-green: linear-gradient(135deg, #06A77D 0%, #00A8E8 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1200px;
    --font-heading: 'Be Vietnam Pro', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-dark); line-height: 1.7; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--color-primary); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--color-dark); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all .3s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--gradient-warm); color: #fff; box-shadow: 0 4px 16px rgba(255,107,53,.35); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; }
.btn-secondary { background: var(--gradient-cool); color: #fff; }
.btn-secondary:hover { transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* LOGO */
.site-logo-svg { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 48px; height: 48px; flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-text-wrap .logo-brand { font-family: var(--font-heading); font-weight: 900; font-size: 24px; letter-spacing: .5px; background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-text-wrap .logo-tag { font-size: 10px; font-weight: 600; color: var(--color-gray); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

/* TOP BAR */
.top-bar { background: var(--gradient-cool); color: #fff; padding: 8px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--color-yellow); }
.top-info span { margin-right: 20px; }
.top-social a { margin-left: 12px; font-size: 16px; font-weight: 700; }

/* HEADER */
.site-header { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 20px; }
.main-menu { display: flex; gap: 4px; align-items: center; }
.main-menu li { position: relative; }
.main-menu li a { padding: 10px 14px; color: var(--color-dark); font-weight: 600; font-size: 14.5px; border-radius: 50px; display: block; transition: all .25s; }
.main-menu li a:hover, .main-menu li.current-menu-item > a { background: var(--gradient-warm); color: #fff; }
.main-menu li.menu-item-has-children > a::after { content: " \25BC"; font-size: 9px; }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow-md); border-radius: var(--radius-sm); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.main-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a { border-radius: 0; padding: 10px 18px; }
.sub-menu li a:hover { background: var(--color-light-gray); color: var(--color-primary); }
.header-phone { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--gradient-warm); color: #fff !important; border-radius: 50px; font-weight: 700; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--color-secondary); }

/* HERO */
.hero { background: var(--gradient-hero); position: relative; overflow: hidden; padding: 80px 0 100px; color: #fff; }
.hero::before { content: ""; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,210,63,.4) 0%, transparent 70%); animation: float 6s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; bottom: -150px; left: -150px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,71,126,.3) 0%, transparent 70%); animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-block; padding: 8px 18px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.3); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .highlight { background: linear-gradient(90deg, var(--color-yellow), #FF477E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { font-size: 18px; opacity: .95; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat-num { font-size: 36px; font-weight: 800; background: linear-gradient(90deg, var(--color-yellow), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat-label { font-size: 13px; opacity: .9; text-transform: uppercase; letter-spacing: 1px; }

/* HERO VISUAL with floating cards */
.hero-visual { position: relative; min-height: 480px; }
.hero-main-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(135deg, #1e3c72, #2a5298); }
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-float-card { position: absolute; background: #fff; color: var(--color-dark); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; min-width: 200px; animation: floatCard 4s ease-in-out infinite; }
.hero-float-card .ic { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.hero-float-card strong { display: block; font-size: 14px; line-height: 1.2; }
.hero-float-card small { color: var(--color-gray); font-size: 12px; }
.hero-float-card.fc1 { top: 30px; left: -30px; }
.hero-float-card.fc1 .ic { background: var(--gradient-warm); }
.hero-float-card.fc2 { bottom: 50px; right: -20px; animation-delay: 1s; }
.hero-float-card.fc2 .ic { background: var(--gradient-green); }
.hero-float-card.fc3 { bottom: 200px; left: -50px; animation-delay: 2s; }
.hero-float-card.fc3 .ic { background: var(--gradient-purple); }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* SECTION TITLE */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow { display: inline-block; padding: 6px 18px; border-radius: 50px; background: var(--color-light-gray); color: var(--color-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title h2 { margin-bottom: 15px; }
.section-title h2 .accent { background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title p { color: var(--color-gray); max-width: 720px; margin: 0 auto; font-size: 17px; }

/* SERVICE CARDS - with image */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s; border: 1px solid #f0f0f0; cursor: pointer; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-img { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4)); }
.service-img .badge-icon { position: absolute; bottom: -26px; left: 24px; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 800; z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.service-card:nth-child(1) .badge-icon { background: var(--gradient-warm); }
.service-card:nth-child(2) .badge-icon { background: var(--gradient-cool); }
.service-card:nth-child(3) .badge-icon { background: var(--gradient-purple); }
.service-card:nth-child(4) .badge-icon { background: var(--gradient-green); }
.service-body { padding: 38px 24px 26px; }
.service-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-body p { color: var(--color-gray); margin-bottom: 16px; font-size: 14.5px; }
.service-link { color: var(--color-primary); font-weight: 700; }
.service-link::after { content: " \2192"; transition: transform .25s; display: inline-block; }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* PRODUCTS */
.products { background: linear-gradient(180deg, #fff 0%, var(--color-light-gray) 100%); }
.product-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 35px; flex-wrap: wrap; }
.product-tab { padding: 10px 22px; background: #fff; border: 2px solid #e5e7eb; border-radius: 50px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; font-family: inherit; }
.product-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.product-tab.active { background: var(--gradient-warm); border-color: transparent; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.product-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .product-img { aspect-ratio: 1; background: #f4f4f5; overflow: hidden; position: relative; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: contain; padding: 15px; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card .sale-tag { position: absolute; top: 10px; left: 10px; background: var(--color-pink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; z-index: 2; }
.product-card .product-info { padding: 16px 18px 20px; }
.product-card .product-cat { font-size: 11px; text-transform: uppercase; color: var(--color-accent); font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; }
.product-card .product-name { font-size: 14.5px; font-weight: 600; color: var(--color-dark); line-height: 1.4; margin-bottom: 10px; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-card .price-now { color: var(--color-primary); font-weight: 800; font-size: 16px; }
.product-card .price-old { color: var(--color-gray); text-decoration: line-through; font-size: 13px; }
.products-cta { text-align: center; margin-top: 40px; }

/* WHY US */
.why-us { background: var(--color-light-gray); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius-md); padding: 32px 24px; transition: all .3s; border-left: 5px solid var(--color-primary); }
.why-card:nth-child(2) { border-left-color: var(--color-accent); }
.why-card:nth-child(3) { border-left-color: var(--color-purple); }
.why-card:nth-child(4) { border-left-color: var(--color-success); }
.why-card:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h4 { margin-bottom: 10px; font-size: 1.15rem; }
.why-card p { color: var(--color-gray); font-size: 14.5px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.process-step { text-align: center; }
.process-num { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--gradient-warm); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; box-shadow: 0 8px 20px rgba(255,107,53,.35); }
.process-step:nth-child(2) .process-num { background: var(--gradient-cool); }
.process-step:nth-child(3) .process-num { background: var(--gradient-purple); }
.process-step:nth-child(4) .process-num { background: var(--gradient-green); }
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--color-gray); font-size: 14.5px; }

/* CTA BANNER */
.cta-banner { background: var(--gradient-warm); color: #fff; padding: 60px 0; border-radius: var(--radius-lg); margin: 0 20px; position: relative; overflow: hidden; }
.cta-banner .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { font-size: 17px; opacity: .95; }
.cta-banner .btn { background: #fff; color: var(--color-primary); padding: 16px 32px; font-size: 16px; }
.cta-banner .btn:hover { background: var(--color-dark); color: #fff; }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius-md); padding: 32px 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--color-primary); transition: all .3s; }
.testimonial-card:nth-child(2) { border-top-color: var(--color-accent); }
.testimonial-card:nth-child(3) { border-top-color: var(--color-purple); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--color-yellow); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: var(--color-dark); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-warm); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.testimonial-info strong { display: block; }
.testimonial-info small { color: var(--color-gray); }

/* PARTNERS - MARQUEE auto scroll */
.partners { padding: 50px 0 60px; background: var(--color-light-gray); }
.partners h2 { font-size: 1.8rem; text-align: center; }
.partner-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-top: 35px; }
.partner-track { display: flex; gap: 28px; width: max-content; animation: scrollLeft 28s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner { flex: 0 0 auto; min-width: 180px; height: 96px; background: #fff; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: 18px 28px; font-weight: 800; color: var(--color-secondary); text-align: center; box-shadow: var(--shadow-sm); transition: all .3s; font-size: 15px; letter-spacing: .3px; }
.partner:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-md); color: var(--color-primary); }
.partner.purple { color: var(--color-purple); }
.partner.green { color: var(--color-success); }
.partner.pink { color: var(--color-pink); }
.partner.orange { color: var(--color-primary); }
.partner.cyan { color: var(--color-accent); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-marquee.reverse .partner-track { animation: scrollRight 32s linear infinite; }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--gradient-cool); color: #fff; border-radius: var(--radius-md); padding: 40px; }
.contact-info-card h3 { color: #fff; margin-bottom: 20px; }
.contact-info-card .info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info-card .info-item .ic { width: 44px; height: 44px; background: rgba(255,255,255,.18); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-card .info-item strong { display: block; margin-bottom: 4px; }
.contact-info-card .info-item a { color: #fff; }
.contact-info-card .info-item a:hover { color: var(--color-yellow); }
.contact-form { background: #fff; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; transition: border-color .25s; }
.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* FOOTER */
.site-footer { background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%); color: #cbd5e1; padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--gradient-warm); border-radius: 3px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #cbd5e1; font-size: 14.5px; transition: all .25s; }
.footer-col ul li a:hover { color: var(--color-yellow); padding-left: 5px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border-radius: 50%; color: #fff; transition: all .3s; font-weight: 700; }
.footer-social a:hover { background: var(--gradient-warm); transform: translateY(-3px); }
.footer-logo .site-logo-svg { color: #fff; margin-bottom: 14px; }
.footer-logo .logo-tag { color: #94a3b8; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 14px; color: #94a3b8; }

/* FLOATING BUTTONS */
.float-btns { position: fixed; right: 18px; bottom: 80px; z-index: 998; display: flex; flex-direction: column; gap: 12px; }
.float-btns a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: all .25s; position: relative; }
.float-btns .float-call { background: #06A77D; }
.float-btns .float-zalo { background: #0078ff; }
.float-btns .float-fb { background: #1877f2; }
.float-btns a:hover { transform: scale(1.1); }

/* BLOG */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16/10; background: var(--gradient-cool); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-content { padding: 24px; }
.post-meta { font-size: 13px; color: var(--color-gray); margin-bottom: 10px; }
.post-meta span { margin-right: 12px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--color-dark); }
.post-card h3 a:hover { color: var(--color-primary); }
.post-excerpt { color: var(--color-gray); font-size: 14.5px; margin-bottom: 16px; }

.single-post-wrap { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.single-post-wrap h1 { margin-bottom: 20px; }
.single-content { font-size: 16.5px; line-height: 1.85; }
.single-content p { margin-bottom: 18px; }
.single-content h2, .single-content h3 { margin: 30px 0 14px; }
.single-content ul, .single-content ol { margin: 0 0 18px 24px; }
.single-content ul li, .single-content ol li { list-style: disc; margin-bottom: 8px; }
.single-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.single-content blockquote { border-left: 4px solid var(--color-primary); padding: 14px 22px; background: var(--color-light-gray); margin: 20px 0; border-radius: 0 8px 8px 0; font-style: italic; }

.page-banner { background: var(--gradient-hero); color: #fff; padding: 60px 0 50px; text-align: center; position: relative; overflow: hidden; }
.page-banner h1 { color: #fff; position: relative; z-index: 2; }
.breadcrumb { position: relative; z-index: 2; margin-top: 14px; font-size: 14px; opacity: .9; }
.breadcrumb a { color: var(--color-yellow); }
.breadcrumb span { margin: 0 8px; }

/* LOGO IMAGE */
.site-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo-img { max-height: 56px; height: auto; width: auto; max-width: 200px; display: block; }
.footer-logo { display: block; margin-bottom: 16px; }
.footer-logo .site-logo-img { max-height: 60px; filter: brightness(0) invert(1); }

/* MAP SECTION */
.map-section { padding: 0; position: relative; }
.map-wrap { position: relative; height: 460px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-overlay { position: absolute; top: 30px; left: 30px; background: #fff; border-radius: var(--radius-md); padding: 24px 26px; box-shadow: var(--shadow-lg); max-width: 340px; z-index: 2; }
.map-overlay h3 { font-size: 1.15rem; margin-bottom: 10px; }
.map-overlay p { font-size: 14px; color: var(--color-gray); margin-bottom: 14px; line-height: 1.5; }
.map-overlay .btn { padding: 10px 18px; font-size: 14px; }

/* RESPONSIVE - Mobile First Optimizations */
@media (max-width: 1024px) {
    .hero-grid { gap: 36px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-col:nth-child(4) { grid-column: span 3; }
}
@media (max-width: 992px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:nth-child(4) { grid-column: span 2; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
    .main-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 18px; box-shadow: var(--shadow-md); gap: 2px; max-height: calc(100vh - 80px); overflow-y: auto; }
    .main-menu.open { display: flex; }
    .main-menu li { width: 100%; }
    .main-menu li a { padding: 14px 16px; border-radius: 8px; font-size: 15px; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 4px 18px; }
    .sub-menu li a { padding: 10px 14px; font-size: 13.5px; }
    .top-info span:nth-child(3) { display: none; }
    .hero-visual { min-height: auto; }
    .hero-float-card.fc1 { top: 14px; left: 0; }
    .hero-float-card.fc2 { bottom: 14px; right: 0; }
    .hero-float-card.fc3 { display: none; }
    .map-overlay { position: static; max-width: none; margin: 24px 16px -40px; }
    .map-wrap { height: 380px; }
}
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .container { padding: 0 16px; }
    .hero { padding: 50px 0 70px; }
    .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .hero-desc { font-size: 15.5px; }
    .hero-cta .btn { font-size: 14.5px; padding: 13px 22px; }
    .hero-stats { gap: 12px; padding-top: 22px; margin-top: 28px; }
    .hero-stat-num { font-size: 26px; }
    .hero-stat-label { font-size: 11px; }
    .hero-main-img { aspect-ratio: 5/4; }
    .hero-float-card { min-width: 160px; padding: 10px 14px; }
    .hero-float-card strong { font-size: 12.5px; }
    .hero-float-card small { font-size: 11px; }
    .hero-float-card .ic { width: 36px; height: 36px; font-size: 18px; }
    .section-title { margin-bottom: 32px; }
    .section-title p { font-size: 14.5px; padding: 0 6px; }
    .service-grid, .why-grid, .process-grid, .testimonial-grid { gap: 16px; }
    .service-body { padding: 32px 18px 22px; }
    .service-img .badge-icon { width: 48px; height: 48px; font-size: 18px; bottom: -22px; left: 18px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-card .product-img img { padding: 8px; }
    .product-card .product-info { padding: 12px 12px 16px; }
    .product-card .product-name { font-size: 13px; min-height: 36px; }
    .product-card .price-now { font-size: 14.5px; }
    .product-card .price-old { font-size: 11.5px; }
    .product-card .sale-tag { font-size: 10px; padding: 3px 7px; }
    .product-tab { padding: 9px 16px; font-size: 12.5px; min-height: 40px; }
    .why-card { padding: 24px 18px; }
    .cta-banner { padding: 40px 22px; margin: 0 16px; }
    .cta-banner h2 { font-size: 1.5rem; }
    .cta-banner .container { justify-content: center; text-align: center; }
    .cta-banner .btn { padding: 14px 24px; }
    .partner { min-width: 140px; height: 78px; font-size: 13.5px; padding: 12px 18px; }
    .partner-track { gap: 18px; }
    .testimonial-card { padding: 24px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col:nth-child(4) { grid-column: auto; }
    .top-bar .container { justify-content: center; text-align: center; gap: 4px; }
    .top-info { display: block; text-align: center; }
    .top-info span { display: inline-block; margin: 0 8px 4px 0; }
    .top-social { text-align: center; width: 100%; }
    .header-phone { padding: 8px 12px; font-size: 13.5px; }
    .site-logo-img { max-height: 46px; max-width: 160px; }
    .float-btns { right: 10px; bottom: 14px; gap: 8px; }
    .float-btns a { width: 48px; height: 48px; font-size: 20px; }
    .map-overlay { padding: 18px 20px; }
    .map-overlay h3 { font-size: 1.05rem; }
    .map-wrap { height: 340px; }
    .contact-info-card { padding: 32px 24px; }
    .contact-form { padding: 28px 22px; }
}
@media (max-width: 480px) {
    .hero-grid { gap: 28px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hero-stat-num { font-size: 22px; }
    .hero-cta { gap: 8px; width: 100%; }
    .hero-cta .btn { flex: 1; min-width: 0; justify-content: center; }
    .header-phone { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card .product-img { aspect-ratio: 1.1; }
    .top-info span { font-size: 12.5px; }
    .partner { min-width: 120px; height: 70px; font-size: 12.5px; padding: 10px 14px; }
    .map-wrap { height: 300px; }
}

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: var(--color-primary); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 9999; }
.skip-link:focus { left: 10px; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 12px auto; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0; }
.pagination a, .pagination span { padding: 10px 14px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.pagination .current { background: var(--gradient-warm); color: #fff; }
