/* ============================================================
   BDS VIP - Luxury Real Estate CSS
   ============================================================ */

/* CSS Variables */
:root {
    --gold: #C9A84C;
    --gold-dark: #A07830;
    --gold-light: #E8D5A3;
    --gold-border: #D4AF70;
    --bg: #FAFAF7;
    --white: #FFFFFF;
    --dark: #1C1C1C;
    --text: #2D2D2D;
    --muted: #6B6B6B;
    --border: #E8E0D0;
    --shadow: rgba(28, 28, 28, 0.08);
    --shadow-gold: rgba(201, 168, 76, 0.25);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 100px 0;
}

/* ============ SECTION TITLE ============ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 12px auto 0;
}

.section-left .section-title::after {
    margin: 12px 0 0;
}

.section-desc {
    color: var(--muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ GOLD DIVIDER ============ */
.gold-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border));
}

.gold-divider::before { left: 0; }
.gold-divider::after { right: 0; background: linear-gradient(90deg, var(--gold-border), transparent); }

.gold-divider-icon {
    display: inline-block;
    color: var(--gold);
    font-size: 1.2rem;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-gold);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: #333;
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gold-light);
    border-color: var(--gold-border);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    height: var(--header-height);
}

.site-header.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

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

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav li.active a::after {
    width: 60%;
}

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

.header-cta {
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 90vh;
    background:
        linear-gradient(135deg, rgba(28,28,28,0.82) 0%, rgba(45,37,32,0.78) 50%, rgba(28,20,16,0.88) 100%),
        url('../images/hero-bg.jpg') center center / cover no-repeat;
    background-color: #1C1C1C;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        45deg,
        var(--gold) 0px,
        var(--gold) 1px,
        transparent 1px,
        transparent 30px
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: var(--radius-sm);
}

.hero-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold);
    font-weight: 800;
}

.hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-search {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius);
    padding: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 580px;
}

.hero-search select,
.hero-search input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--white);
    font-size: 0.9rem;
    flex: 1;
    min-width: 160px;
}

.hero-search select option {
    background: var(--dark);
    color: var(--white);
}

.hero-search select::placeholder,
.hero-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.hero-search .btn {
    flex-shrink: 0;
}

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--dark);
    padding: 0;
    border-top: 2px solid var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide: var(--border);
}

.stat-item {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-suffix {
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

/* ============ PROJECT CARDS ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 12px var(--shadow);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(201,168,76,0.2), 0 4px 16px var(--shadow);
    border-color: var(--gold);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--border);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D0, #D4C5A9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-green {
    background: rgba(34,197,94,0.9);
    color: white;
}

.badge-gold {
    background: rgba(201,168,76,0.9);
    color: var(--dark);
}

.badge-gray {
    background: rgba(107,107,107,0.9);
    color: white;
}

.featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.card-location svg {
    color: var(--gold);
    flex-shrink: 0;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title a:hover {
    color: var(--gold);
}

.card-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* ============ NEWS CARDS ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Featured news card — horizontal layout */
.news-card-featured {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--shadow);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    margin-bottom: 32px;
}

.news-card-featured:hover {
    box-shadow: 0 12px 30px var(--shadow);
    border-color: var(--gold-border);
}

.news-card-featured .card-image {
    overflow: hidden;
    min-height: 240px;
}

.news-card-featured .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-featured .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 28px;
}

.news-card-featured .news-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
}

.news-card-featured .news-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--shadow);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px var(--shadow);
    border-color: var(--gold-border);
}

.news-card .card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.04);
}

.news-card .card-image-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.news-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 400;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 10px;
    color: var(--dark);
}

.news-title a:hover {
    color: var(--gold);
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
}

.read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}

.read-more:hover {
    color: var(--gold-dark);
}

.read-more::after {
    content: '→';
    transition: transform 0.2s;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 3px solid var(--gold-border);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--gold-light), var(--border));
    border-radius: var(--radius-lg);
    border: 3px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--muted);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

.about-text .section-tag {
    margin-bottom: 8px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-feature {
    border-left: 2px solid var(--gold-border);
    padding-left: 14px;
}

.about-feature-text h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--dark);
}

.about-feature-text p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* ============ CEO SECTION ============ */
.ceo-section {
    background: var(--bg);
}

.ceo-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: center;
}

.ceo-photo-wrap {
    position: relative;
}

.ceo-photo {
    position: relative;
    border: 2px solid var(--gold-border);
    overflow: hidden;
}

.ceo-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.ceo-photo-fallback {
    display: none;
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--dark) 0%, #2D2520 100%);
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 6px;
}

.ceo-photo::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: -1;
    pointer-events: none;
}

.ceo-name-badge {
    position: absolute;
    bottom: -12px;
    left: 20px;
    background: var(--gold);
    padding: 8px 22px;
    z-index: 1;
}

.ceo-name-badge span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark);
}

.ceo-role {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin: 4px 0 20px;
}

.ceo-bio {
    color: var(--muted);
    line-height: 1.9;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.ceo-credentials {
    display: flex;
    gap: 36px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ceo-cred-item {
    text-align: center;
}

.ceo-cred-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.ceo-cred-label {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ============ WHY CHOOSE US ============ */
.why-section {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 36px 20px;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: rgba(255,255,255,0.03);
}

.feature-item:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
    transform: translateY(-4px);
}

.feature-item::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 20px
    );
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* ============ CONTACT FORM ============ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-control.error {
    border-color: #e74c3c;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);
}

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

.breadcrumb li:last-child span {
    color: var(--gold);
    font-weight: 500;
}

/* ============ PAGE HERO (small) ============ */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2D2520 100%);
    padding: 70px 0;
    padding-top: calc(var(--header-height) + 50px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.1) 0%, transparent 70%);
}

.page-hero h1 {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* ============ FILTER BAR ============ */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.filter-bar .filter-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination ul {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.pagination li.active a,
.pagination li a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.pagination .page-prev,
.pagination .page-next {
    width: auto;
    padding: 0 14px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============ SIDEBAR ============ */
.content-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-news-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--border);
}

.sidebar-news-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 4px;
}

.sidebar-news-title a:hover {
    color: var(--gold);
}

.sidebar-news-date {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ============ DETAIL PAGE ============ */
.project-detail-hero {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-border);
    margin-bottom: 36px;
    background: var(--border);
}

.project-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.project-info-table tr {
    border-bottom: 1px solid var(--border);
}

.project-info-table tr:last-child {
    border-bottom: none;
}

.project-info-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
}

.project-info-table td:first-child {
    font-weight: 500;
    color: var(--muted);
    width: 40%;
    background: var(--bg);
}

.project-info-table td:last-child {
    color: var(--dark);
}

.project-content {
    line-height: 1.8;
    color: var(--text);
    font-size: 0.95rem;
}

.project-content h2,
.project-content h3,
.project-content h4 {
    font-family: var(--font-heading);
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.project-content ul,
.project-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.project-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.8;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
}

/* ============ ARTICLE CONTENT ============ */
.article-body {
    line-height: 1.85;
    font-size: 1rem;
    color: var(--text);
}

.article-body h2, .article-body h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 14px;
}

.article-body h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-top: 8px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body img {
    border-radius: var(--radius);
    margin: 20px 0;
    border: 1px solid var(--border);
}

.article-body blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    margin: 20px 0;
    background: var(--gold-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--dark);
}

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body ul li {
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

/* ============ ARTICLE META ============ */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--muted);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============ ABOUT PAGE ============ */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mv-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
}

.mv-card.mission {
    background: var(--dark);
    color: var(--white);
}

.mv-card.vision {
    background: var(--gold-light);
}

.mv-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.mv-card.mission h3 {
    color: var(--gold);
}

.mv-card p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.mv-card.mission p {
    color: rgba(255,255,255,0.75);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--gold-border);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-3px);
}

.value-card::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 16px;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--gold-border);
    box-shadow: 0 8px 24px var(--shadow);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-border));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-dark);
    border: 3px solid var(--gold-border);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-info-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--gold-border);
    box-shadow: 0 4px 16px var(--shadow);
}

.contact-info-card::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 12px;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 24px;
}

.map-placeholder {
    background: linear-gradient(135deg, #e8e0d0, #d4c5a9);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ============ ADMIN QUICK STYLES ============ */
.flash-message {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============ FOOTER ============ */
.site-footer {
    background: #111;
    color: rgba(255,255,255,0.75);
}

.footer-top {
    padding: 60px 0;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 50px;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
}

.footer-desc {
    margin-top: 14px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    padding: 7px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact-info li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
    line-height: 1.5;
}

.footer-contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 500;
}

.footer-contact-info a {
    color: rgba(255,255,255,0.55);
}

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

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

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

/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 500;
    box-shadow: 0 4px 14px var(--shadow-gold);
    font-size: 1.2rem;
    font-weight: 300;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ============ PLACEHOLDER ELEMENTS ============ */
.placeholder-text,
.placeholder-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 1px;
}

.card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--gold-light), #e0d4ba);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ============ LOADING ANIMATION ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
    background-size: 468px 100%;
    animation: shimmer 1.2s infinite;
    border-radius: var(--radius-sm);
}

/* ============ SITEMAP / MISC ============ */
.sitemap-section {
    padding: 60px 0;
}

.sitemap-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    font-size: 1.1rem;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sitemap-links a {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sitemap-links a:hover {
    color: var(--gold);
}

/* ============ RELATED PROJECTS ============ */
.related-section {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .projects-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrap {
        max-width: 500px;
        margin: 0 auto;
    }

    .ceo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured .card-body {
        padding: 24px 22px;
    }

    /* tin-tuc.php sidebar layout */
    .news-sidebar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        z-index: 999;
        padding: 80px 24px 30px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px var(--shadow);
        border-left: 2px solid var(--gold-border);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border);
    }

    .main-nav a::after {
        display: none;
    }

    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .ceo-photo-wrap {
        max-width: 380px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 44px) 0 52px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-actions {
        gap: 10px;
        flex-wrap: wrap;
    }

    .hero-search {
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
    }

    .hero-search select,
    .hero-search input {
        min-width: unset;
        width: 100%;
    }

    .hero-search .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured .card-body {
        padding: 20px 18px;
    }

    .news-card-featured .news-title {
        font-size: 1.1rem;
    }

    /* tin-tuc sidebar stacks below content */
    .news-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .section-header .section-title {
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .page-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-hero p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .news-grid,
    .news-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card .card-body {
        padding: 16px;
    }

    .news-title {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .breadcrumb {
        font-size: 0.78rem;
    }

    .section {
        padding: 38px 0;
    }

    .container {
        padding: 0 14px;
    }
}
