/* ============================================================
   ACM Housing Valuation Methodologies — Stylesheet v1.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Rajdhani:wght@400;500;600;700&display=swap');

.acm-hvm-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    background: #07080A !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    font-family: 'Rajdhani', sans-serif;
    color: #E8E0D0;
}

/* ── Red ACM Banner Header ── */
.acm-hvm-header {
    background: linear-gradient(135deg, #6B0000 0%, #8B0000 40%, #7A0000 100%);
    border-bottom: 3px solid #C9A84C;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.acm-hvm-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(0,0,0,0.04) 40px, rgba(0,0,0,0.04) 80px);
    pointer-events: none;
}
.acm-hvm-brand { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(232,224,208,0.65); margin-bottom: 8px; }
.acm-hvm-title { font-size: 32px; font-weight: 700; color: #FFFFFF; letter-spacing: 1px; text-transform: uppercase; line-height: 1.1; margin: 0; }
.acm-hvm-sub   { font-size: 12px; color: rgba(232,224,208,0.55); letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.acm-hvm-byline { border: 1px solid rgba(201,168,76,0.6); padding: 12px 20px; text-align: center; flex-shrink: 0; }
.acm-hvm-byline-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(232,224,208,0.5); margin-bottom: 4px; }
.acm-hvm-byline-name  { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #E8CC7A; }
@media (max-width: 700px) { .acm-hvm-header { flex-direction: column; gap: 16px; padding: 24px 20px; } .acm-hvm-title { font-size: 24px; } }

/* ── Stats bar ── */
.acm-hvm-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 16px 48px;
    background: #0A0B0E;
    border-bottom: 1px solid rgba(201,168,76,0.12);
    flex-wrap: wrap;
}
.acm-hvm-stat { display: flex; flex-direction: column; align-items: center; }
.acm-hvm-stat-num { font-size: 32px; font-weight: 700; color: #E8E0D0; line-height: 1; }
.acm-hvm-stat-num.acm-hvm-gold { color: #E8CC7A; }
.acm-hvm-stat-lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #555; margin-top: 3px; }
.acm-hvm-stat-desc { font-size: 14px; color: #8A8278; margin-left: auto; max-width: 480px; line-height: 1.5; font-style: italic; }
@media (max-width: 700px) { .acm-hvm-stats { padding: 14px 20px; gap: 24px; } .acm-hvm-stat-desc { margin-left: 0; } }

/* ── Main content ── */
.acm-hvm-content { padding: 0 48px 64px; }
@media (max-width: 700px) { .acm-hvm-content { padding: 0 20px 40px; } }

/* ── Sections ── */
.acm-hvm-section { padding-top: 48px; }
.acm-hvm-section-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: #C9A84C; margin-bottom: 10px; }
.acm-hvm-section-title { font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(201,168,76,0.2); }

/* ── Body text ── */
.acm-hvm-body { font-size: 19px; line-height: 1.9; color: #B8B0A0; margin: 0 0 20px; max-width: 100%; }

/* ── Four method overview cards ── */
.acm-hvm-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1000px) { .acm-hvm-method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px)  { .acm-hvm-method-grid { grid-template-columns: 1fr; } }

.acm-hvm-method-card {
    background: #0E1014;
    border: 1px solid rgba(201,168,76,0.12);
    border-top: 3px solid rgba(201,168,76,0.3);
    padding: 22px 18px;
}
.acm-hvm-method-card.acm-proprietary { border-top-color: #C9A84C; }
.acm-hvm-method-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: rgba(201,168,76,0.2);
    line-height: 1;
    margin-bottom: 10px;
}
.acm-hvm-method-type {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
    padding: 2px 8px;
}
.type-conv { color: #8A8278; background: rgba(138,130,120,0.1); }
.type-acm  { color: #E8CC7A; background: rgba(201,168,76,0.12); }
.acm-hvm-method-name    { font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #E8E0D0; margin-bottom: 10px; }
.acm-hvm-method-summary { font-size: 14px; color: #8A8278; line-height: 1.6; }

/* ── Individual video blocks ── */
.acm-hvm-video-block {
    background: #0A0B0E;
    border: 1px solid rgba(201,168,76,0.12);
    border-left: 4px solid rgba(201,168,76,0.3);
    margin-bottom: 32px;
    overflow: hidden;
}
.acm-hvm-video-block.acm-proprietary { border-left-color: #C9A84C; }

.acm-hvm-video-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(201,168,76,0.08);
}
.acm-hvm-video-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(201,168,76,0.25);
    line-height: 1;
    flex-shrink: 0;
    width: 52px;
}
.acm-hvm-video-type   { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; display: inline-block; padding: 2px 8px; }
.acm-hvm-video-method { font-size: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #E8E0D0; }

.acm-hvm-video-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #B8B0A0;
    padding: 20px 28px 0;
    margin: 0;
}

/* ── Responsive 16:9 iframe ── */
.acm-hvm-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 28px 0;
}
.acm-hvm-video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.acm-hvm-video-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 28px;
    border-top: 1px solid rgba(201,168,76,0.08);
    margin-top: 20px;
}
.acm-hvm-video-caption-title { font-size: 14px; font-weight: 700; color: #E8CC7A; letter-spacing: 0.5px; }
.acm-hvm-yt-link { font-size: 13px; color: #C9A84C; text-decoration: none; letter-spacing: 1px; }
.acm-hvm-yt-link:hover { color: #FFE09A; text-decoration: none; }
