/* ===========================
   Condo-Inspired Theme – Hurricane Techs
   Deep Navy + Orange Accent
   =========================== */

/* --- Google Font loaded in base.tmpl --- */

:root {
    --primary: #0f1b2d;
    --primary-light: #1a2d4a;
    --accent: #f7941d;
    --accent-hover: #e8850a;
    --accent-light: rgba(247,148,29,0.12);
    --accent-border: rgba(247,148,29,0.4);
    --accent-gradient: rgba(247,148,29,0.15);
    --accent-overlay: rgba(247,148,29,0.6);
    --accent-ring: rgba(247,148,29,0.12);
    --dark: #0b1120;
    --white: #ffffff;
    --light: #f5f7fa;
    --lighter: #eef1f5;
    --text: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #e2e6ea;
    --success: #27ae60;
    --error: #e74c3c;
    --font: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-accent: 0 8px 24px rgba(247,148,29,0.3);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --container: 1240px;
    --header-height: 70px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior:smooth; font-size:16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { color: var(--accent); text-decoration:none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style:none; }
h1,h2,h3,h4,h5 { line-height:1.25; color: var(--primary); font-weight:700; }

/* ===========================
   Layout
   =========================== */
.container {
    width:100%; max-width:var(--container);
    margin:0 auto; padding:0 24px;
}

.section { padding:100px 0; position:relative; }
.section-sm { padding:70px 0; }
.section-light { background:var(--light); }
.section-dark {
    background: var(--primary);
    color: var(--white);
}
.section-dark h2,.section-dark h3,.section-dark h4,.section-dark p { color:var(--white); }
.section-dark .section-label { color: var(--accent); }

.section-accent {
    background: var(--accent);
    color: var(--white);
}

.text-center { text-align:center; }

/* Section Header – Condo style with small label + big heading */
.section-header {
    margin-bottom: 60px;
}
.section-header.centered { text-align:center; }
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    padding-left: 48px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 2px;
    background: var(--accent);
}
.section-header.centered .section-label {
    padding-left: 0;
    padding-bottom: 0;
}
.section-header.centered .section-label::before {
    display: none;
}
.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}
.section-header.centered p { margin:0 auto; }

/* Diagonal / Angled Dividers */
.angle-top {
    position: relative;
}
.angle-top::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.angle-bottom::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
}

/* ============= Section Geometric Transitions ============= */
/* Layered angular folds with thick accent band, alternating up/down */

/* Base chevron (unused, kept for compat) */
.chevron-divider {
    position: relative;
    height: 100px;
    background: var(--white);
    overflow: hidden;
    z-index: 5;
}

/* Fold UP – white to dark (stats entry): peak at 35% from left */
.diag-cut-dark {
    position: relative;
    height: 100px;
    background: var(--white);
    z-index: 5;
}
.diag-cut-dark::before {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--accent);
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}
.diag-cut-dark::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--primary);
    clip-path: polygon(0 55%, 38% 10%, 100% 30%, 100% 100%, 0 100%);
    z-index: 2;
}

/* Fold DOWN – dark to white (stats exit): valley at 60% from left */
.diag-cut-light {
    position: relative;
    height: 100px;
    background: var(--primary);
    z-index: 5;
    margin-top: -2px;
}
.diag-cut-light::before {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--accent);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}
.diag-cut-light::after {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--white);
    clip-path: polygon(0 30%, 55% 20%, 100% 60%, 100% 100%, 0 100%);
    z-index: 2;
}

/* Fold UP – white to dark (services entry): peak at 65% from left */
.chevron-divider-dark {
    position: relative;
    height: 100px;
    background: var(--white);
    z-index: 5;
}
.chevron-divider-dark::before {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--accent);
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}
.chevron-divider-dark::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--primary);
    clip-path: polygon(0 50%, 62% 5%, 100% 20%, 100% 100%, 0 100%);
    z-index: 2;
}

/* Fold DOWN – dark to white (CTA entry): descent from right */
.chevron-divider-reverse {
    position: relative;
    height: 100px;
    background: var(--primary);
    z-index: 5;
    margin-top: -2px;
}
.chevron-divider-reverse::before {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--accent);
    clip-path: polygon(0 75%, 100% 30%, 100% 100%, 0 100%);
    z-index: 1;
}
.chevron-divider-reverse::after {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: calc(100% + 2px);
    background: var(--white);
    clip-path: polygon(0 50%, 45% 15%, 100% 65%, 100% 100%, 0 100%);
    z-index: 2;
}

/* Left-side geometric accent for CTA section */
.cta-section .geo-accent-left {
    position: absolute;
    top: 0; left: 0;
    width: 45%;
    height: 120px;
    background: var(--accent);
    clip-path: polygon(0 0, 80% 0, 50% 100%, 0 60%);
    z-index: 0;
    opacity: 0.3;
}

/* Geometric watermark text – background decoration */
.geo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255,255,255,0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;
    z-index: 1;
}
.section-dark .geo-watermark { color: rgba(255,255,255,0.04); }
.section-light .geo-watermark,
.section .geo-watermark { color: rgba(0,0,0,0.05); }

/* ===========================
   Top Bar
   =========================== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-info {
    display: flex;
    gap: 24px;
    align-items: center;
}
.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-info svg { flex-shrink:0; }
.top-bar-social {
    display: flex;
    gap: 12px;
    align-items: center;
}
.top-bar-social a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
    display: flex;
}
.top-bar-social a:hover { color: var(--accent); }

/* ===========================
   Navigation (Condo-style sticky)
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.main-nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--primary); }
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}
.logo .logo-img { height: 40px; width: auto; border-radius: 8px; }
.logo-text { white-space:nowrap; }
.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
}
.nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    transition: all var(--transition);
    position: relative;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: scaleX(1);
}
.nav-menu li a:hover { color: var(--accent); }
.nav-menu li a.active { color: var(--accent); }

/* CTA button in nav */
.nav-cta {
    margin-left: 16px;
}
.nav-cta a {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all var(--transition) !important;
}
.nav-cta a::after { display:none !important; }
.nav-cta a:hover {
    background: var(--accent-hover) !important;
    box-shadow: var(--shadow-accent) !important;
    transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================
   Hero / Slider (Condo-style full-width)
   =========================== */
.hero { position:relative; overflow:hidden; }
.hero-slider { position:relative; height:600px; }

/* Bold accent strip at hero bottom – left pointed triangle descending right */
.hero-accent-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 10;
    overflow: hidden;
}
.hero-accent-strip::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(0 60%, 6% 0, 100% 55%, 100% 100%, 0 100%);
}
.hero-slide {
    position: absolute; inset:0;
    display: flex; align-items:center;
    opacity:0; transition: opacity 1s ease;
    color: var(--white);
    background-size:cover; background-position:center;
}
.hero-slide.active { opacity:1; }

/* Diagonal overlay – Condo signature */
.hero-overlay {
    position: absolute; inset:0;
    background: linear-gradient(135deg, rgba(15,27,45,0.92) 0%, rgba(15,27,45,0.7) 50%, rgba(15,27,45,0.4) 100%);
    z-index:1;
}
/* Geometric accent shape */
.hero-slide::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--accent-gradient) 100%);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.hero-slide .container { position:relative; z-index:3; }
.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--accent-border);
    border-radius: 4px;
}
.hero-slide h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hero-slide p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.7;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-dots {
    position:absolute; bottom:85px; left:50%; transform:translateX(-50%);
    display:flex; gap:10px; z-index:15;
}
.hero-dot {
    width:10px; height:10px; border-radius:50%;
    background:rgba(255,255,255,0.35); cursor:pointer;
    transition: all var(--transition); border:none;
}
.hero-dot.active {
    background: rgba(255,255,255,0.8);
    transform: scale(1.15);
}

/* ===========================
   Buttons (Condo-style)
   =========================== */
.btn {
    display:inline-block; padding:13px 30px;
    font-size:0.9rem; font-weight:600;
    border-radius:6px; border:2px solid transparent;
    cursor:pointer; transition: all var(--transition);
    text-align:center; line-height:1.4;
    font-family: var(--font);
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-dark:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
}
.btn-lg { padding:15px 38px; font-size:1rem; }
.btn + .btn { margin-left:12px; }

/* ===========================
   Page Banners (Bold geometric with chevron)
   =========================== */
.page-banner {
    background: var(--primary);
    padding: 80px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute; inset:0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}
/* Chevron bottom – asymmetric angle */
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 42% 0, 100% 100%);
    z-index: 2;
}
/* Accent overlay – disabled */
.page-banner-accent {
    display: none;
}
/* Large watermark text behind banner title */
.page-banner .banner-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255,255,255,0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;
    z-index: 1;
}
.page-banner .container { position:relative; z-index:4; }
.page-banner .section-label {
    color: var(--accent);
    padding-left: 0;
}
.page-banner .section-label::before { display:none; }
.page-banner h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* Accent underline below h1 */
.page-banner h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}
.banner-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
}
/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Banner variants */
.page-banner-about::before {
    background-image: url('https://images.unsplash.com/photo-1584677123573-7446380b6d69?w=1600&h=500&fit=crop&q=60');
}
.page-banner-products::before {
    background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?w=1600&h=500&fit=crop&q=60');
}
.page-banner-services::before {
    background-image: url('https://images.unsplash.com/photo-1542621334-a254cf47733d?w=1600&h=500&fit=crop&q=60');
}
.page-banner-showcase::before {
    background-image: url('https://images.unsplash.com/photo-1559744339-9ea435c9b2b4?w=1600&h=500&fit=crop&q=60');
}
.page-banner-blog::before {
    background-image: url('https://images.unsplash.com/photo-1513828742140-ccaa28f3eda0?w=1600&h=500&fit=crop&q=60');
}
.page-banner-contact::before {
    background-image: url('https://images.unsplash.com/photo-1513828418004-7aa1c7e5c824?w=1600&h=500&fit=crop&q=60');
}

/* ===========================
   Stats Counter (Condo signature)
   =========================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-item {
    text-align: center;
    padding: 32px 16px;
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.stat-item:last-child::after { display:none; }
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.section-dark .stat-label { color: rgba(255,255,255,0.7); }
.section-dark .stat-item::after { background: rgba(255,255,255,0.1); }

/* ===========================
   Cards – Products / Services (Condo-style)
   =========================== */
/* --- Product Geo Grid: staggered geometric layout --- */
.product-geo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 24px;
    position: relative;
}
/* Card sizing: alternate large/small for visual rhythm */
.product-geo-grid .geo-card:nth-child(1) { grid-column: 1 / 8; }
.product-geo-grid .geo-card:nth-child(2) { grid-column: 8 / 13; margin-top: 40px; }
.product-geo-grid .geo-card:nth-child(3) { grid-column: 1 / 5; margin-top: 10px; }
.product-geo-grid .geo-card:nth-child(4) { grid-column: 5 / 13; margin-top: 10px; }
.product-geo-grid .geo-card:nth-child(5) { grid-column: 1 / 7; }
.product-geo-grid .geo-card:nth-child(6) { grid-column: 7 / 13; margin-top: 30px; }

.geo-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.geo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Geometric clipped image – taller */
.geo-card .card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    display: block;
    cursor: pointer;
}
.geo-card:nth-child(1) .card-image { clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.geo-card:nth-child(2) .card-image { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%); }
.geo-card:nth-child(3) .card-image { clip-path: polygon(0 0, 100% 0, 92% 100%, 0 88%); }
.geo-card:nth-child(4) .card-image { clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 90%); }
.geo-card:nth-child(5) .card-image { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.geo-card:nth-child(6) .card-image { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
.geo-card .card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.geo-card:hover .card-image img { transform: scale(1.08); }

/* Varied accent decorations per card */
.geo-card::after {
    content: '';
    position: absolute;
    background: var(--accent);
    z-index: 2;
    opacity: 0.85;
    transition: all var(--transition);
}
/* Card 1: bottom-right triangle */
.geo-card:nth-child(1)::after {
    bottom: 0; right: 0;
    width: 60px; height: 60px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Card 2: top-left triangle */
.geo-card:nth-child(2)::after {
    top: 0; left: 0;
    width: 50px; height: 50px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* Card 3: left strip */
.geo-card:nth-child(3)::after {
    top: 20%; left: 0;
    width: 5px; height: 60%;
    clip-path: none;
    border-radius: 0 3px 3px 0;
}
/* Card 4: bottom-left parallelogram */
.geo-card:nth-child(4)::after {
    bottom: 0; left: 0;
    width: 70px; height: 50px;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}
/* Card 5: top-right corner fold */
.geo-card:nth-child(5)::after {
    top: 0; right: 0;
    width: 55px; height: 55px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
/* Card 6: bottom stripe */
.geo-card:nth-child(6)::after {
    bottom: 0; left: 0; right: 0;
    width: 100%; height: 4px;
    clip-path: none;
}
.geo-card:hover::after {
    opacity: 1;
}

/* Card body in geo layout */
.geo-card .card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.geo-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.geo-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    flex: 1;
}

/* Responsive: stack on tablet/mobile */
@media (max-width: 900px) {
    .product-geo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-geo-grid .geo-card:nth-child(n) {
        grid-column: auto;
        margin-top: 0;
    }
}
@media (max-width: 600px) {
    .product-geo-grid {
        grid-template-columns: 1fr;
    }
    .geo-card .card-image { height: 180px; }
    .geo-card::after { width: 40px; height: 40px; }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: none;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.card-dark:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
}
.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: block;
    cursor: pointer;
}
.card-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 0.6s ease;
}
.card:hover .card-image img { transform:scale(1.1); }
/* Accent strip at bottom of image */
.card-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.card:hover .card-image::after { transform:scaleX(1); }

.card-image-dark { border-bottom: 1px solid rgba(255,255,255,0.08); }
.card-body { padding: 24px 28px 28px; flex:1; display:flex; flex-direction:column; }
.card-icon {
    color: var(--accent);
    margin-bottom: 18px;
    padding: 0;
}
.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex:1;
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.65); }
.card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.card-link:hover { gap:10px; color: var(--accent-hover); }

/* ===========================
   About Preview (Home page – Condo style)
   =========================== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 420px;
    object-fit: cover;
}
/* Floating accent badge */
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-accent);
}
.about-badge .badge-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}
.about-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.about-content .section-header { margin-bottom:24px; }
.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}
.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text);
}
.about-feature-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ===========================
   Process Steps (Condo-style numbered)
   =========================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.process-item {
    text-align: center;
    padding: 36px 24px;
    position: relative;
}
.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: var(--shadow-accent);
}
.process-item h3 { font-size:1.05rem; margin-bottom:10px; }
.process-item p { font-size:0.9rem; color:var(--text-secondary); }

/* ===========================
   CTA Section (Condo-style with image bg)
   =========================== */
.cta-section {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.cta-section::before {
    content: '';
    position: absolute; inset:0;
    background: url('https://images.unsplash.com/photo-1651525670054-279c154bc3b6?w=1600&h=400&fit=crop&q=60') center/cover no-repeat;
    opacity: 0.08;
}
/* Diagonal accent stripe */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--accent-gradient) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-section .container { position:relative; z-index:3; }
.cta-section h2 {
    color:var(--white); font-size:2.4rem; font-weight:800;
    margin-bottom:16px;
}
.cta-section p {
    color:rgba(255,255,255,0.8); margin-bottom:32px;
    font-size:1.05rem; max-width:600px;
}
.cta-section.text-center p { margin-left:auto; margin-right:auto; }

/* ===========================
   Products Page (Condo-style cards)
   =========================== */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.product-card {
    display: grid;
    grid-template-columns: minmax(320px, 40%) 1fr;
    gap: 0;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.product-image {
    padding: 32px 0 32px 32px;
    overflow: hidden;
    position: relative;
}
.product-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    border-radius: calc(var(--radius-xl) - 4px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
}
.product-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform:scale(1.08); }
/* Number overlay */
.product-number {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}
.product-placeholder {
    width:100%; height:100%;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
    color: var(--text-muted);
}
.placeholder-sm { min-height: 200px; }
.product-info {
    padding: 32px 40px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    font-weight: 700;
}
.product-info h3 a {
    color: inherit;
}
.product-info h3 a:hover {
    color: var(--accent);
}
.product-excerpt {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.product-summary {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.product-actions {
    margin-top: 4px;
}

/* ===========================
   Services Page
   =========================== */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}
.service-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.service-card-full {
    display: grid;
    grid-template-columns: minmax(300px, 40%) 1fr;
    gap: 0;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.service-card-full:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-image {
    padding: 32px 0 32px 32px;
    overflow: hidden;
    position: relative;
}
.service-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    border-radius: calc(var(--radius-xl) - 4px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
}
.service-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 0.6s ease;
}
.service-card-full:hover .service-image img { transform:scale(1.08); }
.service-info {
    padding: 32px 40px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.service-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 700;
}
.service-info h3 a {
    color: inherit;
}
.service-info h3 a:hover {
    color: var(--accent);
}
.service-excerpt {
    color: var(--text) !important;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.service-summary {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.service-actions {
    margin-top: 4px;
}

/* Sidebar */
.services-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-widget {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 28px;
}
.sidebar-widget h4 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
}
.sidebar-posts li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-posts li:last-child { border-bottom:none; }
.sidebar-posts a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
    transition: color var(--transition);
}
.sidebar-posts a:hover { color: var(--accent); }
.sidebar-posts time {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.tag-cloud { display:flex; flex-wrap:wrap; gap:8px; }
.tag {
    display:inline-block; padding:6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-weight: 500;
}
.tag:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.sidebar-cta {
    background: var(--primary) !important;
    color: var(--white);
}
.sidebar-cta h4 { color:var(--white); border-bottom-color:rgba(255,255,255,0.15); }
.sidebar-cta p { color:rgba(255,255,255,0.75); font-size:0.88rem; margin-bottom:16px; }

/* ===========================
   Showcase Page (Condo-style portfolio)
   =========================== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.showcase-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.showcase-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.showcase-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 0.6s ease;
}
.showcase-card:hover .showcase-image img { transform:scale(1.1); }
.showcase-overlay {
    position: absolute; inset:0;
    background: linear-gradient(135deg, rgba(15,27,45,0.85) 0%, var(--accent-overlay) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.showcase-card:hover .showcase-overlay { opacity:1; }
.showcase-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border: 2px solid var(--white);
    border-radius: 6px;
    transition: all var(--transition);
}
.showcase-overlay span:hover {
    background: var(--white);
    color: var(--primary);
}
.showcase-info { padding: 24px; }
.showcase-info h3 { font-size:1.1rem; margin-bottom:8px; font-weight:700; }
.showcase-info p { font-size:0.88rem; color:var(--text-secondary); margin-bottom:12px; }
.showcase-meta {
    display:flex; flex-direction:column; gap:4px;
    font-size:0.82rem; color:var(--text-muted);
}

/* ===========================
   Blog Page (Condo-style)
   =========================== */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    justify-content: center;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--light);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    height: 200px;
    overflow: hidden;
}
.blog-card-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform:scale(1.1); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.8rem;
}
.blog-category {
    background: var(--accent);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-card-body time { color: var(--text-muted); }
.blog-card-body h3 { font-size:1.1rem; margin-bottom:8px; }
.blog-card-body p { font-size:0.88rem; color:var(--text-secondary); margin-bottom:12px; }

/* ===========================
   Taxonomy Archive Pages (/category/*, /tag/*)
   =========================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.archive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.archive-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}
.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}
.archive-card-body {
    padding: 20px;
}
.archive-card-meta {
    margin-bottom: 8px;
}
.archive-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    color: #fff;
}
.badge-product { background: #2563eb; }
.badge-service { background: #7c3aed; }
.badge-showcase { background: #059669; }
.badge-post { background: #d97706; }
.archive-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.archive-card-body h3 a {
    color: var(--text-primary);
    text-decoration: none;
}
.archive-card-body h3 a:hover {
    color: var(--primary);
}
.archive-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.archive-card-body .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.archive-card-body .read-more:hover {
    text-decoration: underline;
}
.empty-state {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===========================
   Detail Pages (Product, Service, Showcase, Post)
   =========================== */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    align-items: start;
}
.detail-image {
    position: sticky;
    top: 100px;
    min-width: 0;
    overflow: hidden;
}
.detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Product Gallery */
.gallery-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}
.gallery-main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: opacity .25s ease;
}
.gallery-thumbs-strip {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    min-width: 0;
    scrollbar-width: none;           /* Firefox */
}
.gallery-thumbs-strip::-webkit-scrollbar {
    height: 6px;
    background: transparent;
}
.gallery-thumbs-strip::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
    transition: background .3s ease;
}
.gallery-thumbs-strip:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
}
.gallery-thumbs-strip:hover {
    scrollbar-width: thin;           /* Firefox hover */
    scrollbar-color: rgba(0,0,0,.2) transparent;
}
.gallery-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .6;
    transition: all .2s ease;
}
.gallery-thumb:hover {
    opacity: .85;
}
.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .2);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    color: rgba(0, 0, 0, .4);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background .2s ease, color .2s ease;
    backdrop-filter: blur(4px);
    z-index: 2;
}
.gallery-nav:hover {
    background: rgba(255, 255, 255, .7);
    color: rgba(0, 0, 0, .75);
}
.gallery-nav-prev {
    left: 10px;
}
.gallery-nav-next {
    right: 10px;
}

.detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.detail-body {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
}
.detail-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin: 24px 0 12px;
}
.detail-body p { margin-bottom: 14px; }
.detail-body ul, .detail-body ol {
    margin: 12px 0 12px 20px;
    color: var(--text-secondary);
}
.detail-body li { margin-bottom: 6px; }
.detail-body strong { color: var(--text-dark); }
.detail-body img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}
.detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.detail-meta-bar {
    display: flex;
    gap: 32px;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.detail-meta-bar .meta-item {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.detail-meta-bar strong {
    color: var(--primary);
}

/* Post Detail */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.post-featured-image {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}
.post-featured-image img {
    width: 100%;
    display: block;
}
.post-body {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.02rem;
}
.post-body h2, .post-body h3 {
    color: var(--primary);
    margin: 28px 0 12px;
}
.post-body h2 { font-size: 1.5rem; }
.post-body h3 { font-size: 1.25rem; }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol {
    margin: 12px 0 16px 20px;
}
.post-body li { margin-bottom: 8px; }
.post-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}
.post-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 20px 0;
    background: var(--gray-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}
.post-tags {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 32px;
}
.post-tags strong { margin-right: 8px; }
.tag-link {
    display: inline-block;
    padding: 3px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 4px 4px 4px 0;
    transition: all var(--transition);
}
.tag-link:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 1px 4px rgba(247, 148, 29, 0.25);
}
.tag-link:active,
.tag-link.active {
    background: #d97706;
    color: var(--white);
    box-shadow: 0 1px 3px rgba(247, 148, 29, 0.40) inset;
}
.post-nav {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.post-meta-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
}
.post-tags-inline { display: flex; gap: 8px; }
.tag-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255,255,255,.15);
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.sidebar-post {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post a {
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: color var(--transition);
}
.sidebar-post a:hover { color: var(--accent); }
.sidebar-post time {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.sidebar-cat {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--gray-light);
    transition: color var(--transition);
}
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover { color: var(--accent); }
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tags .tag-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(247, 148, 29, 0.25);
    transition: all var(--transition);
}
.sidebar-tags .tag-badge:hover {
    background: #e8830d;
    box-shadow: 0 3px 10px rgba(247, 148, 29, 0.45);
    transform: translateY(-1px);
}
.sidebar-tags .tag-badge:active,
.sidebar-tags .tag-badge.active {
    background: #d97706;
    box-shadow: 0 1px 3px rgba(247, 148, 29, 0.40) inset;
    transform: translateY(0);
}

/* Placeholder for large images */
.placeholder-lg {
    height: 400px;
}

@media (max-width: 768px) {
    .detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .detail-image { position: static; }
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .detail-content h2 { font-size: 1.5rem; }
}

/* ===========================
   About Page
   =========================== */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}
.content-block p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.principles-list {
    max-width: 800px;
    margin: 0 auto;
}
.principle-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.principle-item:last-child { border-bottom:none; }
.principle-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 56px;
    line-height: 1;
}
.principle-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.principle-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.exp-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.exp-icon { color:var(--accent); margin-bottom:18px; }
.exp-card h3 { font-size:1.05rem; margin-bottom:10px; }
.exp-card p { font-size:0.9rem; color:var(--text-secondary); }

/* ===========================
   Contact Page (Condo-style)
   =========================== */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.contact-info-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}
.contact-info-card h4 { font-size:1rem; margin-bottom:10px; }
.contact-info-card p { font-size:0.88rem; color:var(--text-secondary); }

.contact-map { border-radius: var(--radius-xl); overflow:hidden; }
.map-placeholder {
    height: 320px;
    background: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 12px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}
.required { color: var(--error); }
.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
.form-group textarea { resize:vertical; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===========================
   Footer (Condo-style dark multi-column)
   =========================== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding-top: 48px;
    position: relative;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
}
.footer-logo .logo-img { height: 36px; width: auto; border-radius: 8px; }
.footer-logo .logo-text {
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
}
.footer-about p {
    font-size: 0.87rem;
    line-height: 1.5;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-break: break-word;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-contact h4,
.footer-news h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}
.footer-contact h4::after,
.footer-news h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px;
    height: 2px;
    background: var(--accent);
}
.footer-contact ul li {
    font-size: 0.87rem;
    margin-bottom: 6px;
    line-height: 1.45;
}
.footer-contact strong { color: var(--white); font-weight: 600; }
.footer-news ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-news ul li:last-child { border-bottom:none; }
.footer-news a {
    color: rgba(255,255,255,0.7);
    font-size: 0.87rem;
    display: block;
    margin-bottom: 4px;
    transition: color var(--transition);
}
.footer-news a:hover { color: var(--accent); }
.footer-news time {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom {
    padding: 14px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ===========================
   Scroll to Top
   =========================== */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 900;
    box-shadow: var(--shadow-accent);
}
.scroll-top.visible { opacity:1; visibility:visible; }
.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .hero-slider { height: 500px; }
    .hero-slide h1 { font-size: 2.4rem; }
    .services-layout { grid-template-columns: 1fr; }
    .services-sidebar { order: -1; }
    .about-section { grid-template-columns: 1fr; gap:32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .top-bar { display:none; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu li a::after { display:none; }
    .nav-menu li:last-child a { border-bottom:none; }
    .nav-cta { margin-left:0; }
    .nav-cta a {
        display: block !important;
        text-align: center !important;
        margin-top: 8px !important;
    }

    .hero-slider { height: 450px; }
    .hero-slide h1 { font-size: 2rem; }
    .hero-slide p { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns .btn { text-align:center; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom:40px; }
    .section-header h2 { font-size: 1.8rem; }
    .page-banner { padding: 60px 0 90px; }
    .page-banner h1 { font-size: 2rem; }
    .chevron-divider, .chevron-divider-dark, .chevron-divider-reverse,
    .diag-cut-dark, .diag-cut-light { height: 70px; }
    .page-banner::after { height: 50px; }
    .page-banner-accent { height: 53px; }
    .hero-accent-strip { height: 50px; }

    .product-card { grid-template-columns:1fr; align-items:stretch; }
    .product-image { padding: 24px 24px 0; }
    .product-image-link { aspect-ratio: 4 / 3; }
    .product-info { padding:24px; }
    .service-card-full { grid-template-columns:1fr; align-items:stretch; }
    .service-image { padding: 24px 24px 0; }
    .service-image-link { aspect-ratio: 4 / 3; }
    .service-info { padding:24px; }
    .form-row { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; }
    .blog-grid { grid-template-columns:1fr; }
    .archive-grid { grid-template-columns:1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap:16px; }
    .stat-number { font-size: 2.2rem; }
    .stat-item::after { display:none; }

    .btn + .btn { margin-left:0; margin-top:10px; }
}

@media (max-width: 480px) {
    .hero-slider { height: 400px; }
    .hero-slide h1 { font-size: 1.6rem; }
    .hero-label { font-size: 0.7rem; }
    .contact-info-grid { grid-template-columns:1fr; }
    .page-banner { padding: 50px 0 80px; }
    .page-banner h1 { font-size: 1.6rem; }
    .chevron-divider, .chevron-divider-dark, .chevron-divider-reverse,
    .diag-cut-dark, .diag-cut-light { height: 50px; }
    .page-banner::after { height: 40px; }
    .page-banner-accent { height: 43px; }
    .hero-accent-strip { height: 36px; }
    .section-header h2 { font-size: 1.5rem; }
}

/* ===========================
   Blue Color Scheme (Cleanroom Industry)
   =========================== */
[data-color-scheme="blue"] {
    --primary: #0c2d5a;
    --primary-light: #14407a;
    --accent: #2e8bc0;
    --accent-hover: #1d6fa0;
    --accent-light: rgba(46,139,192,0.12);
    --accent-border: rgba(46,139,192,0.4);
    --accent-gradient: rgba(46,139,192,0.15);
    --accent-overlay: rgba(46,139,192,0.6);
    --accent-ring: rgba(46,139,192,0.12);
    --dark: #081e3f;
    --shadow-accent: 0 8px 24px rgba(46,139,192,0.3);
}
