/* HOMEVISION public presentation. Shared admin/auth styles stay in site.css. */
.site-page {
  --bg: #fff; --surface: #fff; --surface-2: #f4f7f8;
  --text: #101820; --muted: #6d7780; --dark: #102122; --dark-2: #0e171b;
  --accent: #167a72; --accent-2: #11655e; --line: #dfe5e8;
  --max: 1240px; --radius: 22px;
  background: var(--bg); color: var(--text);
}
.site-page h1, .site-page h2, .site-page h3 { font-weight: 750; }
.site-page h2 { font-size: clamp(2.3rem,4.5vw,4.6rem); line-height: .98; letter-spacing: -.05em; }
.site-page .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.site-page .eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }
.site-page .button { min-height: 52px; border-radius: 999px; padding: 13px 24px; font-weight: 800; font-size: .92rem; }
.site-page .site-header { position: sticky; color: var(--text); background: #fff; border: 0; box-shadow: 0 8px 30px rgb(0 0 0 / 6%); transition: background-color .22s, color .22s, box-shadow .22s; }
.site-page:has(.hv-hero) .site-header { position: fixed; inset: 0 0 auto; margin-bottom: 0; }
.site-page .header-inner { min-height: 104px; padding-block: 16px; }
.site-page .site-header.hv-over-hero { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.site-page .brand .hv-wordmark { font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.site-page .hv-logo-link { flex-shrink: 0; padding: 6px 12px; border-radius: 10px; background: #fff; }
.site-page .brand .hv-logo { width: 120px; height: 60px; object-fit: contain; }
.site-page .site-footer .brand .hv-logo { width: 156px; height: 78px; }
.site-page .site-footer .hv-logo-link { padding: 12px 18px; }
.site-page .hv-wordmark span { color: var(--accent); }
.site-page .hv-over-hero .hv-wordmark span, .site-page .site-footer .hv-wordmark span { color: #5dd0c3; }
.site-page .nav { gap: 25px; font-weight: 700; }
.site-page .nav a:last-child { border-radius: 999px; font-size: .8rem; padding: 8px 13px; }
.site-page .hv-over-hero .nav a:last-child { border-color: rgb(255 255 255 / 30%); }
.site-page .hv-over-hero .nav a:hover { color: #7de0d4; }
.site-page .menu-toggle { color: inherit; background: transparent; border: 0; font-size: 1.7rem; }
.hv-hero { min-height: 820px; height: 100svh; position: relative; color: #fff; background: #0c1a1b; overflow: hidden; }
.hv-hero-slides { position: absolute; inset: 0; }
.hv-hero::before { z-index: 1; pointer-events: none; }
.hv-hero .hv-hero-inner { z-index: 2; }
.hv-hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hv-slideshow 24s infinite; }
.hv-hero-slide:first-child { opacity: 1; }
.hv-hero-slide:nth-child(2) { animation-delay: 8s; }
.hv-hero-slide:nth-child(3) { animation-delay: 16s; }
@keyframes hv-slideshow { 0%, 28% { opacity: 1; } 33.333%, 95% { opacity: 0; } 100% { opacity: 1; } }
.hv-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(4 19 20 / 88%), rgb(4 19 20 / 48%) 48%, rgb(4 19 20 / 18%)), linear-gradient(0deg, rgb(4 19 20 / 50%), transparent 55%); }
.hv-hero-inner { min-height: 100%; display: flex; align-items: center; padding-block: 120px 60px; position: relative; }
.hv-hero .eyebrow, .hv-about .eyebrow, .hv-cta .eyebrow { color: #9ae5dc; }
.hv-hero h1 { max-width: 1100px; font-size: clamp(3.6rem,7.4vw,7rem); line-height: .92; letter-spacing: -.065em; margin: 10px 0 0; }
.hv-hero h1 span { color: #7de0d4; }
.hv-hero p { max-width: 670px; font-size: 1.1rem; line-height: 1.7; color: rgb(255 255 255 / 78%); margin-top: 30px; }
.site-page .hv-light { border-color: rgb(255 255 255 / 38%); background: rgb(255 255 255 / 4%); color: #fff; backdrop-filter: blur(8px); }
.site-page .hv-light:hover { background: rgb(255 255 255 / 15%); }
.hv-trust { border-bottom: 1px solid var(--line); }
.hv-trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hv-trust-grid > div { padding: 28px 30px; border-right: 1px solid var(--line); }
.hv-trust-grid > div:last-child { border: 0; }
.hv-trust strong { display: block; font-size: 1rem; }
.hv-trust span { display: block; color: var(--muted); margin-top: 5px; font-size: .82rem; }
.hv-section, .site-page .projects { padding: 100px 0; }
.site-page .section-head { grid-template-columns: 1fr .75fr; gap: 60px; margin-bottom: 42px; }
.site-page .section-head p { line-height: 1.75; }
.hv-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.hv-service { min-height: 460px; border-radius: 22px; overflow: hidden; position: relative; color: #fff; background: var(--dark); }
.hv-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-service::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(3 18 19 / 95%), rgb(3 18 19 / 8%) 80%); }
.hv-service > div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.hv-service small { color: #9ae5dc; font-weight: 800; }
.hv-service h3 { font-size: 1.45rem; margin: 8px 0; }
.hv-service p { font-size: .88rem; line-height: 1.55; color: rgb(255 255 255 / 78%); }
.hv-about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--dark); color: #fff; }
.hv-about-copy { padding: 110px 70px 110px max(32px,calc((100vw - var(--max)) / 2)); }
.hv-about h2 { font-size: clamp(2.5rem,5vw,5rem); margin: 6px 0 24px; }
.hv-about-copy > p { color: rgb(255 255 255 / 68%); line-height: 1.75; max-width: 620px; }
.hv-about-image { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }
.hv-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 34px; }
.hv-values > div { padding: 18px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; }
.hv-values strong { display: block; font-size: .9rem; line-height: 1.4; margin-bottom: 7px; }
.hv-values span { display: block; font-size: .8rem; color: rgb(255 255 255 / 60%); }
.site-page .projects { background: var(--surface-2); }
.site-page .reference-results-grid { grid-template-columns: 1.3fr .7fr .7fr; grid-auto-rows: 300px; gap: 14px; }
.site-page .reference-results-grid .project-card:first-child { grid-row: span 2; }
.site-page .project-card { min-height: 0; border-radius: 18px; }
.site-page .project-card img { transition: transform .5s; }
.site-page .project-card:hover img { transform: scale(1.04); }
.site-page .project-overlay { padding: 60px 22px 22px; background: linear-gradient(transparent, rgb(4 20 21 / 90%)); }
.site-page .project-overlay span { text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: #a4e6df; }
.site-page .project-overlay h3 { font-size: 1.25rem; }
.hv-process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hv-process article { padding: 28px; border-right: 1px solid var(--line); }
.hv-process article:last-child { border: 0; }
.hv-process b { display: block; color: var(--accent); font-size: .8rem; letter-spacing: .12em; }
.hv-process h3 { margin: 30px 0 10px; }
.hv-process p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.hv-cta { padding-bottom: 100px; }
.hv-cta-box { min-height: 520px; border-radius: 28px; padding: 64px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(90deg, rgb(4 20 21 / 88%), rgb(4 20 21 / 25%)), url('../images/homevision/cta.jpg') center / cover; }
.hv-cta h2 { font-size: clamp(2.5rem,5vw,5rem); max-width: 850px; margin: 2px 0 18px; }
.hv-cta p { max-width: 620px; color: rgb(255 255 255 / 75%); }
.site-page .site-footer { background: #0e171b; padding-top: 54px; }
.site-page .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-page .footer-title { color: #fff; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.site-page .footer-brand p, .site-page .footer-links { color: rgb(255 255 255 / 60%); font-size: .86rem; }
.site-page .footer-bottom { align-items: center; justify-content: space-between; gap: 20px; border-color: rgb(255 255 255 / 10%); color: rgb(255 255 255 / 50%); }
.site-page .footer-bottom > span { margin-right: 0; }
.site-page .footer-credit { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.site-page .footer-credit img { width: 28px; height: 28px; object-fit: contain; }
.site-page .footer-credit:hover { color: #7de0d4; }
.site-page.contact-page { background: var(--surface-2); }
.site-page.contact-page .page-intro { padding: 80px 0 55px; background: var(--dark); color: #fff; margin-bottom: 48px; }
.site-page.contact-page .page-intro .eyebrow { color: #9ae5dc; }
.site-page.contact-page .page-intro h1 { font-size: clamp(3rem,6vw,6rem); letter-spacing: -.055em; }
.site-page.contact-page .page-intro p { max-width: 650px; color: rgb(255 255 255 / 70%); }
.site-page .inquiry-grid h2 { font-size: clamp(2.3rem,4vw,3.8rem); line-height: 1.05; }
.site-page .inquiry-form { box-shadow: 0 20px 60px rgb(16 24 32 / 5%); }
.site-page .inquiry-form input:not([type='checkbox']), .site-page .inquiry-form textarea { background: var(--surface-2); }
.site-page .company-details > div { border-radius: 22px; }
.site-page .company-details h2 { font-size: 1.2rem; line-height: 1.3; }
.site-page .cookie-banner h2 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.025em; }
.site-page .cookie-information h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; margin: 12px 0 20px; }
.site-page .cookie-information h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 14px; }
.site-page .cookie-information-header { margin-bottom: 26px; }
@media (max-width: 1100px) {
  .site-page .nav { gap: 15px; font-size: .8rem; }
  .hv-about-copy { padding-right: 32px; }
  .hv-values { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .site-page .menu-toggle { display: block; flex-shrink: 0; }
  .site-page .nav { display: none; position: absolute; top: calc(100% - 4px); left: 0; right: 0; padding: 14px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 20px 60px rgb(16 24 32 / 12%); max-height: calc(100svh - 110px); overflow: auto; }
  .site-page .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-page .nav a, .site-page .nav a:last-child { padding: 12px; border: 0; font-size: .9rem; }
  .site-page .hv-over-hero .nav a:hover { color: var(--accent); }
  .hv-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hv-about { grid-template-columns: 1fr; }
  .hv-about-copy { padding: 90px 32px; }
  .hv-about-image { min-height: 0; height: 460px; }
  .hv-values { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .site-page .reference-results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-page .reference-results-grid .project-card:first-child { grid-column: span 2; grid-row: auto; }
  .hv-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hv-process article:nth-child(2) { border-right: 0; }
  .hv-process article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .site-page .footer-bottom { align-items: flex-start; gap: 16px; }
  .site-page .section-head { grid-template-columns: 1fr; gap: 18px; }
  .site-page .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .site-page .container { width: calc(100% - 28px); }
  .site-page .header-inner { min-height: 88px; padding-block: 12px; }
  .site-page .brand .hv-logo { width: 104px; height: 52px; }
  .hv-hero { min-height: 720px; height: 100svh; }
  .hv-hero-inner { align-items: flex-start; padding-top: 142px; padding-bottom: 75px; }
  .hv-hero h1 { font-size: clamp(2.5rem,11.7vw,4.25rem); }
  .hv-hero p { font-size: .95rem; margin-top: 22px; }
  .hv-hero .hero-actions, .hv-cta .hero-actions { flex-direction: column; }
  .hv-hero .button, .hv-cta .button { width: 100%; }
  .hv-trust-grid { grid-template-columns: 1fr; }
  .hv-trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 2px; }
  .hv-section, .site-page .projects { padding: 74px 0; }
  .site-page .section-head { margin-bottom: 28px; }
  .hv-services, .hv-values { grid-template-columns: 1fr; }
  .hv-service { min-height: 390px; }
  .hv-about-copy { padding: 72px 18px; }
  .hv-about-image { height: 360px; }
  .site-page .reference-results-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .site-page .reference-results-grid .project-card:first-child { grid-column: auto; }
  .hv-process { grid-template-columns: 1fr; }
  .hv-process article { border-right: 0; border-bottom: 1px solid var(--line); }
  .hv-cta { padding-bottom: 74px; }
  .hv-cta-box { min-height: 500px; padding: 32px 22px; }
  .site-page.contact-page .page-intro { padding: 55px 0 45px; }
  .site-page .company-details { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-hero-slide { animation: none; }
  .hv-hero-slide:not(:first-child) { display: none; }
  .site-page .site-header, .site-page .project-card img { transition: none; }
}
