/* DASC MOB DESIGN — page styles: home
   Shared components (lightbox, filter buttons, page-hero light theme,
   form messages) live in assets/css/main.css. */

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 75% 50%, rgba(200,169,110,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 10% 80%, rgba(200,169,110,0.04) 0%, transparent 50%);
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s 0.35s forwards;
}
.hero-title em {
    font-style: italic;
    color: var(--gold);
    display: block;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.65s forwards;
}
.hero-right {
    position: relative;
    opacity: 0;
    animation: fadeIn 1.2s 0.5s forwards;
}
.hero-image-frame {
    position: relative;
    aspect-ratio: 6/5;
    max-height: 580px;
    overflow: hidden;
}
.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid var(--border);
    z-index: 2;
    pointer-events: none;
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) contrast(1.05);
}
/* hero-image-badge replaced by hero-scroll-hint */
.hero-corner-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    opacity: 0.4;
}
/* Scroll hint — sits where the badge was, below the image frame */
.hero-scroll-hint {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll-hint span {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}
.stats-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}
.stat-item {
    background: var(--bg-card);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: background var(--transition);
}
.stat-item:hover { background: var(--bg-mid); }
.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── SERVICES PREVIEW ── */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s ease;
}
.service-card:hover::before { height: 100%; }
.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    color: var(--gold);
}
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text);
}
.service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover .service-link { opacity: 1; }
.service-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ── WHY CUSTOM ── */
.why-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.why-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.why-feature:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.why-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(200,169,110,0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.why-feature-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.why-feature-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}
.why-feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.why-visual {
    position: relative;
}
.why-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) grayscale(0.2);
    display: block;
}
.why-quote-box {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 24px;
    max-width: 280px;
}
.why-quote-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 12px;
}
.why-quote-author {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── PORTFOLIO PREVIEW ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 3px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-mid);
    cursor: pointer;
}
.portfolio-item:first-child {
    grid-row: span 2;
    aspect-ratio: unset;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.7) contrast(1.05);
}
.portfolio-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.5) contrast(1.05);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:first-child .portfolio-overlay { opacity: 1; }
.portfolio-cat {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.portfolio-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

/* ── PROCESS ── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 60px;
}
.process-step {
    background: var(--bg-card);
    padding: 36px 24px;
    position: relative;
    transition: background var(--transition);
}
.process-step:hover { background: var(--bg-mid); }
.process-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(200,169,110,0.15);
    line-height: 1;
    margin-bottom: 16px;
}
.process-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}
.process-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg-card); border-top: 1px solid var(--border); }
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 36px;
    position: relative;
}
.testimonial-quote {
    font-size: 3rem;
    font-family: var(--font-display);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.4;
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.testimonial-star { color: var(--gold); font-size: 0.9rem; }
.testimonial-author {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}
.testimonial-location {
    font-size: 0.78rem;
    color: var(--gold);
    margin-top: 4px;
}

/* ── CTA BAND ── */
.cta-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,169,110,0.07) 0%, transparent 70%);
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
    position: relative;
}
.cta-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.8;
    position: relative;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ── CONTACT SECTION ── */
.contact-band {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(200,169,110,0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.contact-info-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.contact-info-value { color: var(--text); font-size: 0.95rem; }
.contact-info-value a { color: var(--text); text-decoration: none; transition: color var(--transition); }
.contact-info-value a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-visual { display: none; }
    .contact-band { grid-template-columns: 1fr; gap: 40px; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-item:first-child { grid-row: auto; aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
    .hero-content { padding: 90px 20px 40px; grid-template-columns: 1fr; gap: 24px; }
    .hero-right { display: block; }
    .hero-image-frame { max-height: 260px; aspect-ratio: 16/9; }
    .hero-scroll-hint { bottom: -14px; left: -8px; padding: 12px 14px; }
    .hero-corner-deco { display: none; }
    .process-steps { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
}
/* ════ LIGHT THEME OVERRIDES ════ */
[data-theme="light"] .hero-bg {
    background:
        radial-gradient(ellipse 80% 60% at 75% 50%, rgba(180,130,60,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 10% 80%, rgba(180,130,60,0.07) 0%, transparent 50%);
}
[data-theme="light"] .hero-grid-pattern {
    background-image:
        linear-gradient(rgba(140,100,40,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140,100,40,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%);
}
[data-theme="light"] .stats-bar { background: #FFFCF8; }
[data-theme="light"] .hero-scroll-hint { background: #FFFCF8; }
[data-theme="light"] .hero-image-frame::before { border-color: rgba(140,100,40,0.25); }
[data-theme="light"] .hero-image-frame img { filter: brightness(0.95) contrast(1.02); }
[data-theme="light"] .why-section { background: var(--bg-mid); }
[data-theme="light"] .testimonials-section { background: #FFFCF8; }
[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, rgba(180,130,60,0.08) 0%, rgba(245,243,239,0) 100%) !important;
}
[data-theme="light"] .portfolio-item img { filter: brightness(0.95); }

/* Reduced motion: hero elements animate from opacity 0 — force them visible */
@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions,
    .hero-right, .hero-scroll-hint { opacity: 1 !important; }
}
