:root {
  --ink: #202023;
  --muted: #6d6b6c;
  --paper: #f6f5f2;
  --white: #ffffff;
  --line: #d8d5ce;
  --brand: #ec1249;
  --dark: #27272a;
  --yellow: #ffd34c;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
.shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }

.site-header { position: relative; z-index: 30; height: 82px; background: var(--white); border-bottom: 1px solid #e8e5df; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 268px; height: 48px; }
.brand-crop { width: 146px; height: 44px; overflow: hidden; display: block; background: var(--brand); }
.brand-crop img { width: 146px; max-width: none; height: auto; transform: translateY(-9px); }
.brand-name { color: #3f3f42; font-size: 14px; font-weight: 800; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); font-size: 14px; font-weight: 700; }
.site-nav a { padding: 12px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }
.site-nav .nav-contact { padding: 12px 19px; color: var(--white); background: var(--brand); border: 0; }
.site-nav .nav-contact:hover, .site-nav .nav-contact[aria-current="page"] { color: var(--white); background: #c70c3c; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--white); }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero-split { min-height: 650px; display: grid; grid-template-columns: .88fr 1.12fr; background: var(--white); }
.hero-copy { display: flex; align-items: center; padding: 78px max(48px, calc((100vw - 1240px) / 2)); padding-right: clamp(42px, 6vw, 90px); border-left: 10px solid var(--brand); }
.hero-copy-inner { max-width: 620px; }
.overline, .section-label { margin-bottom: 20px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-copy h1 { margin-bottom: 25px; font-size: clamp(48px, 5.6vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero-copy > .hero-copy-inner > p:not(.overline) { max-width: 570px; margin-bottom: 32px; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.hero-photo { position: relative; min-height: 650px; margin: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo figcaption, .subhero figcaption { position: absolute; right: 12px; bottom: 10px; padding: 7px 9px; color: var(--white); background: rgba(0,0,0,.62); font-size: 10px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 23px; font-size: 14px; font-weight: 800; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--brand); }
.button-primary:hover { background: #c70c3c; }
.button-yellow { color: var(--dark); background: var(--yellow); }
.button-yellow:hover { background: #ffe17a; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link.light { color: var(--white); }

.intro-strip { color: var(--white); background: var(--dark); }
.intro-strip-inner { min-height: 114px; display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); align-items: center; }
.intro-strip-inner > p { margin: 0; color: #bdbdbf; font-size: 15px; font-weight: 750; text-transform: uppercase; }
.intro-strip-inner div { display: flex; flex-direction: column; gap: 5px; padding-left: 30px; border-left: 1px solid #4b4b4f; }
.intro-strip strong { color: var(--yellow); font-size: 24px; }
.intro-strip span { color: #bdbdbf; font-size: 12px; }

.section { padding: clamp(78px, 9vw, 124px) 0; }
.about-home { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 130px); }
.about-grid h2, .section-heading h2 { margin-bottom: 0; font-size: clamp(38px, 4.7vw, 62px); line-height: 1.05; letter-spacing: -.04em; }
.about-grid > div:last-child p { max-width: 660px; margin-bottom: 18px; color: #525052; font-size: 18px; line-height: 1.72; }

.services-home { background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { max-width: 760px; }
.section-heading .text-link { color: var(--brand); }
.service-columns { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark); border-bottom: 1px solid var(--line); }
.service-columns article { min-height: 260px; padding: 33px 34px 36px; border-right: 1px solid var(--line); }
.service-columns article:first-child { padding-left: 0; }
.service-columns article:last-child { border-right: 0; }
.service-columns span { color: var(--brand); font-size: 12px; font-weight: 800; }
.service-columns h3 { margin: 58px 0 14px; font-size: 25px; line-height: 1.15; }
.service-columns p { margin: 0; color: var(--muted); line-height: 1.6; }

.work-home { color: var(--white); background: var(--dark); }
.light-heading .section-label { color: var(--yellow); }
.work-list { border-top: 1px solid #66666a; }
.work-list article { display: grid; grid-template-columns: .8fr 1.8fr .55fr; gap: 28px; align-items: center; min-height: 112px; border-bottom: 1px solid #4c4c50; }
.work-list span { color: #b8b8ba; font-size: 13px; }
.work-list h3 { margin: 0; font-size: 20px; line-height: 1.35; }
.work-list strong { color: var(--yellow); text-align: right; }

.contact-band { padding: 72px 0; color: var(--white); background: var(--brand); }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.contact-band .section-label { color: #ffd6e0; }
.contact-band h2 { max-width: 800px; margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.04em; }

.subhero { padding: 72px 0 82px; background: var(--white); }
.subhero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.subhero-copy h1, .page-title h1 { margin-bottom: 22px; font-size: clamp(48px, 5.8vw, 74px); line-height: .98; letter-spacing: -.045em; }
.subhero-copy > p:last-child { max-width: 540px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.subhero figure { position: relative; margin: 0; }
.subhero figure img { width: 100%; height: 500px; object-fit: cover; object-position: center 38%; }
.subhero figure::before { content: ""; position: absolute; top: -16px; right: -16px; width: 140px; height: 140px; z-index: -1; background: var(--yellow); }
.service-detail { background: var(--paper); }
.service-detail article { display: grid; grid-template-columns: 90px .9fr 1.1fr; gap: 34px; padding: 40px 0; border-top: 1px solid var(--line); }
.service-detail article:last-child { border-bottom: 1px solid var(--line); }
.service-detail span { color: var(--brand); font-size: 12px; font-weight: 800; }
.service-detail h2 { margin: 0; font-size: 27px; line-height: 1.2; }
.service-detail p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.page-title { padding: 80px 0; color: var(--white); background: var(--dark); border-left: 10px solid var(--brand); }
.page-title-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.page-title .section-label { color: var(--yellow); }
.page-title h1 { margin-bottom: 0; }
.page-title-inner > p { max-width: 520px; margin-bottom: 8px; color: #c5c5c7; font-size: 18px; line-height: 1.6; }
.references { background: var(--white); }
.reference-head, .reference-list article { display: grid; grid-template-columns: 1.55fr .9fr .55fr; gap: 24px; align-items: center; }
.reference-head { padding: 0 18px 15px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reference-list { border-top: 1px solid var(--ink); }
.reference-list article { min-height: 82px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.reference-list strong { font-size: 16px; line-height: 1.4; }
.reference-list span { color: var(--muted); line-height: 1.45; }
.reference-list b { color: var(--brand); white-space: nowrap; }
.reference-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.contact-section { min-height: 480px; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-person, .company-data { min-height: 355px; padding: clamp(35px, 5vw, 64px); background: var(--paper); }
.contact-person { color: var(--white); background: var(--brand); }
.contact-person .section-label { color: #ffd5df; }
.contact-person h2 { margin-bottom: 42px; font-size: clamp(34px, 4vw, 50px); }
.contact-person a { display: block; width: fit-content; margin-top: 14px; font-size: clamp(19px, 2vw, 24px); font-weight: 750; }
.contact-person a:hover { color: var(--yellow); }
.company-data h3 { margin-bottom: 35px; font-size: clamp(28px, 3vw, 40px); }
.company-data dl { margin: 0; }
.company-data dl div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.company-data dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.company-data dd { margin: 0; font-weight: 700; line-height: 1.5; }

.site-footer { padding: 25px 0; color: #a9a9ac; background: #1c1c1f; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.site-footer a:hover { color: var(--white); }
.privacy-section { background: var(--paper); }
.privacy-intro { max-width: 760px; margin-bottom: 48px; }
.privacy-intro h1 { margin-bottom: 18px; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; }
.privacy-intro p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.privacy-card--wide { grid-column: 1 / -1; }
.privacy-card h2 { margin-bottom: 14px; font-size: 24px; }
.privacy-card p, .privacy-card li { color: var(--muted); line-height: 1.68; }
.privacy-card p:last-child { margin-bottom: 0; }
.privacy-card ul { margin: 0; padding-left: 20px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; padding-left: 32px; }
  .hero-photo { min-height: 500px; }
  .about-grid, .subhero-grid, .page-title-inner { grid-template-columns: 1fr; }
  .intro-strip-inner { grid-template-columns: repeat(3, 1fr); padding: 24px 0; }
  .intro-strip-inner > p { grid-column: 1 / -1; margin-bottom: 22px; }
  .intro-strip-inner div:first-of-type { padding-left: 0; border-left: 0; }
  .subhero figure img { height: 420px; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 30px, 1240px); }
  .site-header { height: 72px; }
  .brand { min-width: 0; height: 40px; }
  .brand-crop { width: 120px; height: 36px; }
  .brand-crop img { width: 120px; transform: translateY(-7px); }
  .brand-name { display: none; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 14px 15px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 38px rgba(0,0,0,.12); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 8px; }
  .site-nav .nav-contact { margin-top: 4px; text-align: center; }
  .hero-copy { min-height: 560px; padding: 58px 20px 58px 25px; border-left-width: 6px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-photo { min-height: 390px; }
  .intro-strip-inner { grid-template-columns: 1fr; }
  .intro-strip-inner > p { margin-bottom: 8px; }
  .intro-strip-inner div, .intro-strip-inner div:first-of-type { padding: 17px 0; border-left: 0; border-top: 1px solid #4b4b4f; }
  .section { padding: 66px 0; }
  .section-heading, .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .service-columns { grid-template-columns: 1fr; }
  .service-columns article, .service-columns article:first-child { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-columns h3 { margin-top: 26px; }
  .work-list article { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .work-list strong { text-align: left; }
  .subhero { padding: 60px 0; }
  .subhero figure img { height: 340px; }
  .subhero figure::before { top: -8px; right: -8px; }
  .service-detail article { grid-template-columns: 38px 1fr; gap: 18px; padding: 28px 0; }
  .service-detail p { grid-column: 2; }
  .page-title { padding: 58px 0; border-left-width: 6px; }
  .reference-head { display: none; }
  .reference-list article { grid-template-columns: 1fr; gap: 7px; padding: 20px 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-person, .company-data { min-height: 0; }
  .footer-inner { flex-direction: column; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
/* Unified site system */
body { font-family: "Segoe UI", Arial, sans-serif; }
.site-header { height: 82px; background: #fff; border-bottom: 1px solid var(--line); }
.nav-wrap, .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-vigil, .inner-page .brand { width: 215px; height: 46px; overflow: hidden; background: var(--brand); }
.brand-vigil img, .inner-page .brand img { width: 100%; height: 100%; object-fit: cover; object-position: bottom center; }
.main-nav, .site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.main-nav a:not(.nav-cta), .site-nav a:not(.nav-contact) { padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover:not(.nav-cta), .main-nav a.is-active, .site-nav a:hover:not(.nav-contact), .site-nav a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }
.nav-cta, .nav-contact { padding: 13px 20px !important; color: #fff !important; background: var(--brand); border: 0 !important; border-radius: 2px !important; }
.menu-toggle { display: none; padding: 10px 15px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font-weight: 700; }
.button, .home-page .button { border-radius: 2px; }
.home-page .section-label, .inner-page .section-label, .card-label {
  margin-bottom: 12px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none;
}

/* Visual refinement */
.home-hero,
.home-services,
.inner-page .subhero,
.inner-page .page-title,
.inner-page .service-detail,
.inner-page .references,
.inner-page .contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-hero::after,
.home-services::after,
.inner-page .subhero::after,
.inner-page .page-title::after,
.inner-page .service-detail::after,
.inner-page .references::after,
.inner-page .contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 69%, rgba(236,18,73,.055) 69% 69.12%, transparent 69.12% 100%),
    linear-gradient(62deg, transparent 0 84%, rgba(32,32,35,.035) 84% 84.08%, transparent 84.08% 100%);
  background-size: 520px 520px, 690px 690px;
}
.home-about { background-color: #f3f1ed; background-image: repeating-linear-gradient(132deg, transparent 0 86px, rgba(236,18,73,.035) 86px 87px, transparent 87px 174px); }
.home-about__grid { grid-template-columns: 1.08fr .92fr; }
.home-about__content { padding-left: clamp(10px, 3vw, 42px); }
.section-photo img { border-left: 0; border-right: 6px solid var(--brand); }

.home-services { background-color: #fbfbfa; }
.service-rail--three { gap: 16px; border: 0; }
.service-rail--three .service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  color: #fff;
  border: 0;
  background: #312d2e;
}
.service-rail--three .service-card::before,
.service-rail--three .service-card::after { content: ""; position: absolute; inset: 0; }
.service-rail--three .service-card::before { z-index: 0; opacity: .62; background-position: center; background-size: cover; transition: transform .35s ease, opacity .35s ease; }
.service-rail--three .service-card::after { z-index: 1; background: linear-gradient(180deg, rgba(20,19,20,.04) 12%, rgba(24,21,22,.9) 92%); }
.service-rail--three .service-card--house::before { background-image: url("assets/dubau-service-house.jpg"); }
.service-rail--three .service-card--renovation::before { background-image: url("assets/dubau-service-renovation.jpg"); }
.service-rail--three .service-card--industry::before { background-image: url("assets/dubau-service-industry.jpg"); background-position: center; filter: saturate(.72); }
.service-rail--three .service-card:hover::before { opacity: .78; transform: scale(1.035); }
.service-rail--three .service-card h3,
.service-rail--three .service-card p { position: relative; z-index: 2; }
.service-rail--three .service-card h3 { margin: 0 0 10px; font-size: 29px; }
.service-rail--three .service-card p { max-width: 360px; margin: 0; color: rgba(255,255,255,.82); }

.home-references { background: #3a3436; }
.home-references .reference-grid { gap: 12px; background: transparent; }
.home-references .reference-card { position: relative; overflow: hidden; min-height: 340px; background: #4a4245; }
.home-references .reference-card::before { content: "Originální fotografie\A bude doplněna"; position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; white-space: pre; color: rgba(255,255,255,.52); opacity: 1; background: repeating-linear-gradient(132deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px); font-size: 12px; font-weight: 750; line-height: 1.45; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.home-references .reference-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,52,54,.1), rgba(58,52,54,.92)); }
.home-references .reference-card--school::before,
.home-references .reference-card--water::before { background-image: url("assets/dubau-detail.jpg"); }
.home-references .reference-card--industrial::before { background-image: url("assets/dubau-hero.jpg"); }
.home-references .reference-card > * { position: relative; z-index: 1; }
.home-references .reference-card--lead { background: #86213d; }

.site-footer { padding: 46px 0; color: #d8d3d4; background: #2f2a2c; border-top: 5px solid var(--brand); }
.footer-wrap--rich { display: grid; grid-template-columns: 1.2fr .8fr .8fr; align-items: start; gap: 44px; }
.footer-brand, .footer-contact, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand span, .footer-contact > span { color: #aaa4a6; }
.footer-contact > span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.footer-contact a { color: #fff; font-size: 19px; font-weight: 750; }
.footer-links { gap: 11px; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #ff6b91; }

.service-detail { background-color: #f4f2ee; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-detail .service-detail-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: rgba(255,255,255,.88);
}
.service-detail .service-detail-card span { width: 140px; aspect-ratio: 1; border-radius: 50%; background-position: center; background-size: cover; box-shadow: inset 0 0 0 8px rgba(255,255,255,.65); }
.service-detail-card--house span,
.service-detail-card--industry span { background-image: url("assets/dubau-hero.jpg"); }
.service-detail-card--renovation span,
.service-detail-card--custom span { background-image: url("assets/dubau-detail.jpg"); }
.service-detail-card--industry span { background-position: 80% center; }
.service-detail .service-detail-card h2 { margin: 0 0 12px; font-size: 28px; }
.service-detail .service-detail-card p { grid-column: auto; margin: 0; font-size: 16px; }

.reference-showcase { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; }
.reference-feature { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 30px; color: #fff; background: #3c3436; }
.reference-feature::before,
.reference-feature::after { content: ""; position: absolute; inset: 0; }
.reference-feature::before { opacity: .46; background-position: center; background-size: cover; }
.reference-feature::after { background: linear-gradient(180deg, rgba(20,18,19,.1), rgba(35,29,31,.94)); }
.reference-feature--school::before,
.reference-feature--kindergarten::before { background-image: url("assets/dubau-detail.jpg"); }
.reference-feature--industry::before { background-image: url("assets/dubau-hero.jpg"); background-position: 75% center; }
.reference-feature > * { position: relative; z-index: 1; }
.reference-feature span { color: #ffd0dc; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.reference-feature h2 { margin: 12px 0 20px; font-size: clamp(23px, 2vw, 31px); line-height: 1.12; }
.reference-feature b { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); color: #fff; }
.reference-showcase .reference-feature:first-child { background: #8a1f3d; }
.reference-toggle { min-height: 52px; display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; padding: 0 22px; color: #fff; border: 0; background: var(--brand); font-weight: 750; cursor: pointer; }
.reference-toggle span { font-size: 23px; font-weight: 400; }
.reference-table-wrap { margin-top: 30px; }
.reference-table-wrap[hidden] { display: none !important; }

.contact-section { background-color: #f4f2ee; }
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-top: 5px solid var(--brand); background: #fff; box-shadow: 0 24px 60px rgba(37,30,32,.09); }
.contact-card__person, .contact-card__data { padding: clamp(34px, 5vw, 66px); }
.contact-card__person { background: #f7e9ed; }
.contact-card__person h2 { margin: 0 0 32px; font-size: clamp(32px, 3.5vw, 48px); }
.contact-card__person a { display: block; width: fit-content; margin-top: 12px; color: var(--ink); font-size: clamp(19px, 2vw, 24px); font-weight: 750; }
.contact-card__person a:hover { color: var(--brand); }
.contact-card__data { border-left: 1px solid var(--line); }
.contact-card__data h3 { margin-bottom: 30px; font-size: clamp(27px, 3vw, 38px); }
.contact-card__data dl { margin: 0; }
.contact-card__data dl div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-card__data dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.contact-card__data dd { margin: 0; font-weight: 700; line-height: 1.5; }

@media (max-width: 900px) {
  .home-about__grid { grid-template-columns: 1fr; }
  .home-about__content { padding-left: 0; }
  .section-photo { order: -1; }
  .section-photo img { border-right: 0; border-bottom: 5px solid var(--brand); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .reference-showcase { grid-template-columns: 1fr 1fr; }
  .reference-showcase .reference-feature:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .home-hero::after,
  .home-services::after,
  .inner-page .subhero::after,
  .inner-page .page-title::after,
  .inner-page .service-detail::after,
  .inner-page .references::after,
  .inner-page .contact-section::after { opacity: 1.5; background-size: 300px 300px, 410px 410px; }
  .service-rail--three { display: flex; gap: 12px; }
  .service-rail--three .service-card { flex: 0 0 84vw; min-height: 320px; border: 0; }
  .home-references { background: #3a3436; }
  .footer-wrap--rich { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact a { font-size: 18px; }
  .service-detail-grid { display: flex; gap: 14px; margin-right: -15px; overflow-x: auto; padding: 0 15px 8px 0; scroll-snap-type: x mandatory; }
  .service-detail .service-detail-card { flex: 0 0 84vw; grid-template-columns: 100px 1fr; min-height: 260px; padding: 24px; scroll-snap-align: start; }
  .service-detail .service-detail-card span { width: 92px; }
  .service-detail .service-detail-card h2 { font-size: 24px; }
  .reference-showcase { display: flex; gap: 12px; margin-right: -15px; overflow-x: auto; padding: 0 15px 8px 0; scroll-snap-type: x mandatory; }
  .reference-showcase .reference-feature, .reference-showcase .reference-feature:first-child { flex: 0 0 84vw; min-height: 320px; scroll-snap-align: start; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__person, .contact-card__data { padding: 30px 24px; }
  .contact-card__data { border-top: 1px solid var(--line); border-left: 0; }
  .contact-card__data dl div { grid-template-columns: 92px 1fr; gap: 12px; }
  .inner-page .page-title-photo { order: -1; }
}

/* Final enforcement — keep this block last */
:root {
  --brand: #d2354f;
  --brand-dark: #a5263c;
  --brand-soft: #f7e9ec;
  --content-width: 1280px;
  --pattern-line: rgba(210,53,79,.065);
}

body.home-page {
  --home-accent: var(--brand);
  --home-accent-dark: var(--brand-dark);
  --home-accent-soft: var(--brand-soft);
}

.shell,
.home-page .shell,
.inner-page .shell { width: min(var(--content-width), calc(100% - 64px)); }

.site-header,
.home-page .site-header,
.inner-page .site-header {
  height: 92px;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid #e5e2dc;
}

.nav-wrap,
.header-inner,
.home-page .nav-wrap,
.inner-page .header-inner { height: 100%; }

.brand-wordmark,
.home-page .brand-wordmark,
.inner-page .brand-wordmark {
  display: block;
  width: 210px;
  min-width: 210px;
  height: 56px;
  overflow: visible;
  background: url("assets/dubau-wordmark.png") center / contain no-repeat;
}

.brand-wordmark img,
.home-page .brand-wordmark img,
.inner-page .brand-wordmark img { width: 100%; height: 100%; opacity: 0; }

.main-nav,
.site-nav,
.home-page .main-nav { gap: 32px; }

.nav-cta,
.nav-contact,
.home-page .nav-cta,
.site-nav .nav-contact,
.button-primary,
.home-page .button-primary,
.button-yellow,
.reference-toggle {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  border-radius: 3px;
}

.nav-cta:hover,
.nav-contact:hover,
.home-page .nav-cta:hover,
.site-nav .nav-contact:hover,
.button-primary:hover,
.home-page .button-primary:hover,
.button-yellow:hover,
.reference-toggle:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.home-page .main-nav > a:hover:not(.nav-cta),
.home-page .main-nav > a.is-active,
.site-nav a:hover:not(.nav-contact),
.site-nav a[aria-current="page"] {
  color: var(--brand);
  border-color: var(--brand);
}

.home-hero,
.home-about,
.home-services,
.inner-page .subhero,
.inner-page .page-title,
.inner-page .service-detail,
.inner-page .references,
.inner-page .contact-section,
.inner-page .privacy-section {
  background-color: #fbfaf8;
  background-image:
    linear-gradient(var(--pattern-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-line) 1px, transparent 1px),
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(210,53,79,.04) 50%, transparent calc(50% + .5px));
  background-position: center top;
  background-size: 160px 160px, 160px 160px, 320px 320px;
}

.home-about,
.inner-page .service-detail,
.inner-page .references,
.inner-page .contact-section,
.inner-page .privacy-section { background-color: #f4f2ee; }

.home-hero::before,
.home-about::before,
.home-hero__visual::after,
.home-services::after,
.inner-page .subhero::after,
.inner-page .page-title::after,
.inner-page .service-detail::after,
.inner-page .references::after,
.inner-page .contact-section::after,
.subhero figure::before { display: none; }

.home-hero__visual img,
.section-photo img,
.subhero figure img,
.subhero-photo img,
.page-title-photo img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-hero { padding: 58px 0 64px; }
.home-hero__grid { grid-template-columns: .88fr 1.12fr; gap: clamp(54px,6vw,92px); }
.home-hero__visual img { height: clamp(460px,42vw,560px); }
.home-section { padding: 82px 0; }
.home-about__grid { grid-template-columns: 1fr 1fr; gap: clamp(54px,7vw,96px); }
.section-photo img { height: 410px; }

.inner-page .subhero,
.inner-page .page-title {
  padding: 58px 0;
  color: var(--ink);
  border: 0;
}

.inner-page .subhero-grid,
.inner-page .page-title-inner,
.inner-page .page-title-inner--compact {
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(54px,6vw,92px);
}

.inner-page .subhero figure img,
.inner-page .page-title-photo img { height: 390px; object-fit: cover; }
.inner-page .section { padding: 76px 0; }

.site-footer,
.home-page .site-footer,
.inner-page .site-footer { border-top: 4px solid var(--brand); }

@media (max-width: 900px) {
  .shell,
  .home-page .shell,
  .inner-page .shell { width: min(var(--content-width), calc(100% - 40px)); }

  .home-hero__grid,
  .home-about__grid,
  .inner-page .subhero-grid,
  .inner-page .page-title-inner,
  .inner-page .page-title-inner--compact { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 700px) {
  .shell,
  .home-page .shell,
  .inner-page .shell { width: calc(100% - 30px); }

  .site-header,
  .home-page .site-header,
  .inner-page .site-header { height: 72px; }

  .brand-wordmark,
  .home-page .brand-wordmark,
  .inner-page .brand-wordmark {
    width: 158px;
    min-width: 158px;
    height: 43px;
    background-size: contain;
  }

  .home-hero,
  .home-about,
  .home-services,
  .inner-page .subhero,
  .inner-page .page-title,
  .inner-page .service-detail,
  .inner-page .references,
  .inner-page .contact-section,
  .inner-page .privacy-section { background-size: 112px 112px,112px 112px,224px 224px; }

  .home-hero { padding: 34px 0 42px; }
  .home-hero__copy h1 { font-size: clamp(38px,12vw,48px); }
  .home-hero__visual img { height: 300px; }
  .home-section { padding: 56px 0; }
  .section-photo img { height: 260px; }

  .inner-page .subhero,
  .inner-page .page-title { padding: 36px 0; }

  .inner-page .subhero-copy h1,
  .inner-page .page-title h1 { font-size: clamp(34px,10vw,43px); }

  .inner-page .subhero figure img,
  .inner-page .page-title-photo img { height: 230px; }
  .inner-page .section { padding: 52px 0; }

  .service-rail,
  .service-rail--three,
  .reference-grid,
  .service-detail-grid,
  .reference-showcase { scrollbar-width: none; -webkit-overflow-scrolling: touch; }

  .service-rail::-webkit-scrollbar,
  .reference-grid::-webkit-scrollbar,
  .service-detail-grid::-webkit-scrollbar,
  .reference-showcase::-webkit-scrollbar { display: none; }

  .contact-card,
  .contact-layout,
  .privacy-grid { display: grid; grid-template-columns: 1fr; }
}

/* Approved final system — Dubau */
:root {
  --brand: #d2354f;
  --brand-dark: #a5263c;
  --brand-soft: #f7e9ec;
  --content-width: 1280px;
  --pattern-line: rgba(210, 53, 79, .065);
}

html { scrollbar-gutter: stable; }

body.home-page {
  --home-accent: var(--brand);
  --home-accent-dark: var(--brand-dark);
  --home-accent-soft: var(--brand-soft);
}

.shell,
.home-page .shell,
.inner-page .shell {
  width: min(var(--content-width), calc(100% - 64px));
}

.site-header,
.home-page .site-header,
.inner-page .site-header {
  height: 92px;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid #e5e2dc;
}

.nav-wrap,
.header-inner,
.home-page .nav-wrap,
.inner-page .header-inner {
  height: 100%;
}

.brand-wordmark,
.home-page .brand-wordmark,
.inner-page .brand-wordmark {
  display: block;
  width: 210px;
  min-width: 210px;
  height: auto;
  overflow: visible;
  background: none;
}

.brand-wordmark img,
.home-page .brand-wordmark img,
.inner-page .brand-wordmark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  object-fit: contain;
}

.main-nav,
.site-nav,
.home-page .main-nav {
  gap: 32px;
}

.nav-cta,
.nav-contact,
.home-page .nav-cta,
.site-nav .nav-contact,
.button-primary,
.home-page .button-primary,
.button-yellow,
.reference-toggle {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  border-radius: 3px;
}

.nav-cta:hover,
.nav-contact:hover,
.home-page .nav-cta:hover,
.site-nav .nav-contact:hover,
.button-primary:hover,
.home-page .button-primary:hover,
.button-yellow:hover,
.reference-toggle:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.home-page .main-nav > a:hover:not(.nav-cta),
.home-page .main-nav > a.is-active,
.site-nav a:hover:not(.nav-contact),
.site-nav a[aria-current="page"] {
  color: var(--brand);
  border-color: var(--brand);
}

.home-hero,
.home-about,
.home-services,
.inner-page .subhero,
.inner-page .page-title,
.inner-page .service-detail,
.inner-page .references,
.inner-page .contact-section,
.inner-page .privacy-section {
  background-color: #fbfaf8;
  background-image:
    linear-gradient(var(--pattern-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-line) 1px, transparent 1px),
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(210,53,79,.04) 50%, transparent calc(50% + .5px));
  background-position: center top;
  background-size: 160px 160px, 160px 160px, 320px 320px;
}

.home-about,
.inner-page .service-detail,
.inner-page .references,
.inner-page .contact-section,
.inner-page .privacy-section {
  background-color: #f4f2ee;
}

.home-hero::before,
.home-about::before,
.home-hero__visual::after,
.home-services::after,
.inner-page .subhero::after,
.inner-page .page-title::after,
.inner-page .service-detail::after,
.inner-page .references::after,
.inner-page .contact-section::after,
.subhero figure::before {
  display: none;
}

.home-hero__visual img,
.section-photo img,
.subhero figure img,
.subhero-photo img,
.page-title-photo img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-hero {
  padding: 58px 0 64px;
}

.home-hero__grid {
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(54px, 6vw, 92px);
}

.home-hero__visual img {
  height: clamp(460px, 42vw, 560px);
}

.home-section { padding: 82px 0; }

.home-about__grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(54px, 7vw, 96px);
}

.section-photo img { height: 410px; }

.inner-page .subhero,
.inner-page .page-title {
  padding: 58px 0;
  color: var(--ink);
  border: 0;
}

.inner-page .subhero-grid,
.inner-page .page-title-inner,
.inner-page .page-title-inner--compact {
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(54px, 6vw, 92px);
}

.inner-page .subhero figure img,
.inner-page .page-title-photo img {
  height: 390px;
  object-fit: cover;
}

.inner-page .section { padding: 76px 0; }

.site-footer,
.home-page .site-footer,
.inner-page .site-footer {
  border-top: 4px solid var(--brand);
}

@media (max-width: 900px) {
  .shell,
  .home-page .shell,
  .inner-page .shell {
    width: min(var(--content-width), calc(100% - 40px));
  }

  .home-hero__grid,
  .home-about__grid,
  .inner-page .subhero-grid,
  .inner-page .page-title-inner,
  .inner-page .page-title-inner--compact {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .shell,
  .home-page .shell,
  .inner-page .shell {
    width: calc(100% - 30px);
  }

  .site-header,
  .home-page .site-header,
  .inner-page .site-header {
    height: 72px;
  }

  .brand-wordmark,
  .home-page .brand-wordmark,
  .inner-page .brand-wordmark {
    width: 158px;
    min-width: 158px;
    height: auto;
    background: none;
  }

  .home-hero,
  .home-about,
  .home-services,
  .inner-page .subhero,
  .inner-page .page-title,
  .inner-page .service-detail,
  .inner-page .references,
  .inner-page .contact-section,
  .inner-page .privacy-section {
    background-size: 112px 112px, 112px 112px, 224px 224px;
  }

  .home-hero { padding: 34px 0 42px; }
  .home-hero__copy h1 { font-size: clamp(38px, 12vw, 48px); }
  .home-hero__visual img { height: 300px; }
  .home-section { padding: 56px 0; }
  .section-photo img { height: 260px; }

  .inner-page .subhero,
  .inner-page .page-title {
    padding: 36px 0;
  }

  .inner-page .subhero-copy h1,
  .inner-page .page-title h1 {
    font-size: clamp(34px, 10vw, 43px);
  }

  .inner-page .subhero figure img,
  .inner-page .page-title-photo img {
    height: 230px;
  }

  .inner-page .section { padding: 52px 0; }

  .service-rail,
  .service-rail--three,
  .reference-grid,
  .service-detail-grid,
  .reference-showcase {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-rail::-webkit-scrollbar,
  .reference-grid::-webkit-scrollbar,
  .service-detail-grid::-webkit-scrollbar,
  .reference-showcase::-webkit-scrollbar {
    display: none;
  }

  .contact-card,
  .contact-layout,
  .privacy-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Consistent layout across the homepage and all subpages */
.home-page .shell,
.inner-page .shell {
  width: min(1180px, calc(100% - 48px));
}

.home-page .site-header,
.inner-page .site-header {
  height: 88px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e8e7e1;
}

.home-page .header-inner,
.inner-page .header-inner {
  height: 100%;
}

.brand-wordmark,
.inner-page .brand-wordmark {
  width: 198px;
  height: 56px;
  overflow: hidden;
  background: #ef0a46 url("assets/dubau-wordmark.png") center / 198px auto no-repeat;
}

.brand-wordmark img,
.inner-page .brand-wordmark img {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.inner-page .page-title {
  padding: 52px 0;
  border-top: 0;
}

.inner-page .page-title-inner,
.inner-page .page-title-inner--compact {
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(42px, 6vw, 76px);
}

.inner-page .page-title-photo img {
  height: 310px;
}

.button-yellow {
  color: #fff;
  background: var(--brand);
}

.button-yellow:hover {
  color: #fff;
  background: #c90d3d;
}

@media (max-width: 700px) {
  .home-page .shell,
  .inner-page .shell {
    width: min(1180px, calc(100% - 30px));
  }

  .home-page .site-header,
  .inner-page .site-header {
    height: 72px;
  }

  .brand-wordmark,
  .inner-page .brand-wordmark {
    width: 166px;
    height: 47px;
    background-size: 166px auto;
  }

  .inner-page .page-title {
    padding: 36px 0;
  }

  .inner-page .page-title-inner,
  .inner-page .page-title-inner--compact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .inner-page .page-title-photo img {
    height: 220px;
  }
}

.home-hero { padding: 50px 0 56px; background: #fff; }
.home-hero::before, .home-about::before, .home-hero__visual::after { display: none; }
.home-hero__grid { grid-template-columns: .92fr 1.08fr; gap: clamp(42px, 6vw, 76px); }
.home-hero__copy h1 { max-width: 570px; margin-bottom: 22px; font-size: clamp(46px, 4.7vw, 62px); line-height: 1.02; letter-spacing: -.04em; }
.hero-lead { max-width: 540px; margin-bottom: 28px; font-size: 19px; line-height: 1.55; }
.home-hero__visual img { height: clamp(410px, 42vw, 510px); border-radius: 2px; }
.home-hero__visual figcaption { border-radius: 0; }
.home-section { padding: 76px 0; }
.home-about { background: #f3f2ee; }
.home-about__grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.home-page h2 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.08; }
.home-about__content > p { margin: 22px 0 28px; font-size: 17px; line-height: 1.65; }
.section-photo { margin: 0; }
.section-photo img { width: 100%; height: 370px; object-fit: cover; border-left: 6px solid var(--brand); }
.audience-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.audience-list span { padding: 9px 12px; border: 0; border-left: 3px solid var(--brand); border-radius: 0; background: transparent; font-size: 12px; }
.home-services { background-color: #fff; background-image: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 30px; }
.service-rail { gap: 0; border-left: 1px solid var(--line); }
.service-card { min-height: 220px; padding: 28px 24px; border: 1px solid var(--line); border-left: 0; border-top: 4px solid var(--brand); border-radius: 0; background: #fff; }
.service-card:hover { transform: none; background: #f6f4f8; }
.service-card h3 { margin: auto 0 12px; font-size: 24px; }
.service-card p { font-size: 14px; }
.card-label, .card-arrow { display: none; }
.home-references { background: #252123; }
.reference-grid { gap: 1px; background: rgba(255,255,255,.2); }
.reference-card, .reference-card--lead { border: 0; border-radius: 0; background: #302a2c; }
.reference-card--lead { background: #6f2035; }
.reference-card > p { letter-spacing: .02em; }
.home-contact { padding: 34px 0; border-top: 5px solid var(--brand); background: #f1eef5; }
.home-contact .button { border-radius: 2px; }
.home-page .site-footer, .inner-page .site-footer { color: #777; background: #fff; border-top: 1px solid var(--line); }
.inner-page { color: var(--ink); background: var(--paper); }
.inner-page .section { padding: 70px 0; }
.subhero { padding: 62px 0; background: #fff; border-bottom: 1px solid var(--line); }
.subhero-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.subhero-copy h1 { max-width: 590px; margin-bottom: 20px; font-size: clamp(44px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.subhero-copy > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }
.subhero figure { margin: 0; }
.subhero figure img, .subhero-photo img { width: 100%; height: 410px; object-fit: cover; border-radius: 0; }
.subhero figure figcaption, .subhero-photo figcaption { border-radius: 0; }
.service-detail { background: #f3f2ee; }
.service-detail article { grid-template-columns: 58px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.service-detail article > span { color: var(--brand); font-size: 18px; font-weight: 800; }
.service-detail h2 { font-size: 30px; }
.page-title { padding: 58px 0; color: var(--ink); background: #fff; border-top: 5px solid var(--brand); }
.page-title-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.page-title h1 { margin: 0 0 18px; font-size: clamp(44px, 5vw, 62px); line-height: 1; letter-spacing: -.04em; }
.page-title-copy > p:last-child { max-width: 560px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.page-title-photo { margin: 0; }
.page-title-photo img { width: 100%; height: 310px; object-fit: cover; }
.references { background: #f3f2ee; }
.reference-head, .reference-list article { grid-template-columns: 1.4fr 1fr .45fr; }
.reference-head { padding: 0 22px 14px; color: var(--muted); }
.reference-list { border-top: 4px solid var(--brand); background: #fff; }
.reference-list article { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.reference-list article:hover { background: #f7f6f2; }
.reference-note { margin-top: 20px; color: var(--muted); }
.contact-layout { grid-template-columns: .95fr 1fr 1.15fr; gap: 18px; align-items: stretch; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.contact-person, .company-data { min-height: 360px; padding: 34px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0; background: #fff; }
.privacy-section { background: #f3f2ee; }
.privacy-intro { max-width: 820px; }
.privacy-intro h1 { font-size: clamp(44px, 5vw, 62px); }
.privacy-grid { gap: 1px; background: var(--line); }
.privacy-card { border: 0; border-top: 4px solid var(--brand); border-radius: 0; background: #fff; }
.footer-inner, .footer-wrap { display: flex; justify-content: space-between; gap: 24px; }
@media (max-width: 900px) {
  .home-hero__grid, .home-about__grid, .subhero-grid, .page-title-inner { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-photo { grid-column: 1 / -1; }
  .contact-photo img { height: 300px; min-height: 0; }
}
@media (max-width: 700px) {
  .site-header { height: 72px; }
  .brand-wordmark { width: 166px; height: 47px; background-size: 166px auto; }
  .inner-page .brand-crop { width: 115px; height: 33px; background-size: 115px auto; }
  .inner-page .brand-name { font-size: 14px; }
  .menu-toggle, .menu-button { display: block; }
  .main-nav, .site-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 12px 15px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(0,0,0,.12); }
  .main-nav.is-open, .site-nav.is-open { display: grid; gap: 2px; }
  .main-nav a, .site-nav a { padding: 11px 8px !important; }
  .nav-cta, .nav-contact { margin-top: 4px; text-align: center; }
  .home-hero { padding: 34px 0 40px; }
  .home-hero__copy h1 { font-size: clamp(40px, 12vw, 50px); }
  .home-hero__visual img { height: 300px; }
  .home-section { padding: 58px 0; }
  .section-photo img { height: 270px; }
  .audience-list { display: block; overflow: visible; }
  .audience-list span { display: block; margin: 8px 0; }
  .section-heading { gap: 14px; }
  .service-rail, .service-rail--three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-left: 0; }
  .service-card { flex: 0 0 82vw; min-height: 210px; border-left: 1px solid var(--line); scroll-snap-align: start; }
  .reference-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .reference-card, .reference-card--lead { flex: 0 0 84vw; min-height: 290px; scroll-snap-align: start; }
  .subhero { padding: 42px 0; }
  .subhero-copy h1, .page-title h1 { font-size: 42px; }
  .subhero figure img, .subhero-photo img, .page-title-photo img { height: 280px; }
  .service-detail article { grid-template-columns: 38px 1fr; }
  .service-detail h2 { font-size: 25px; }
  .reference-head { display: none; }
  .reference-list article { grid-template-columns: 1fr; gap: 7px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-photo { grid-column: auto; }
  .contact-person, .company-data { min-height: 0; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card--wide { grid-column: auto; }
  .footer-inner, .footer-wrap { flex-direction: column; }
}


/* Homepage refresh */
body.home-page {
  --home-accent: #bd3152;
  --home-accent-dark: #87213a;
  --home-accent-soft: #f5e8eb;
  --home-ink: #20211f;
  --home-muted: #696b67;
  --home-paper: #f4f3ef;
  --home-line: #d9d8d1;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.home-page .shell { width: min(1180px, calc(100% - 48px)); }
.home-page .site-header { position: relative; height: 88px; background: rgba(255,255,255,.96); border-color: #e8e7e1; }
.home-page .nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.home-page .brand { width: auto; height: auto; overflow: visible; background: transparent; }
.home-page .brand-wordmark { width: 198px; height: 56px; overflow: hidden; background: #ef0a46 url("assets/dubau-wordmark.png") center / 198px auto no-repeat; }
.home-page .brand-wordmark img { width: 100%; height: 100%; opacity: 0; }
.home-page .main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.home-page .main-nav > a:not(.nav-cta) { padding: 12px 0; border-bottom: 2px solid transparent; }
.home-page .main-nav > a:hover:not(.nav-cta), .home-page .main-nav > a.is-active { border-color: var(--home-accent); }
.home-page .nav-cta { padding: 12px 19px; color: #fff; background: var(--home-accent); border-radius: 999px; }
.home-page .menu-toggle { display: none; padding: 10px 14px; border: 1px solid var(--home-line); border-radius: 999px; background: #fff; font-weight: 750; }
.home-hero { position: relative; overflow: hidden; padding: 54px 0 60px; background: #fff; }
.home-hero::before, .home-about::before { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(189,49,82,.11); border-radius: 50%; }
.home-hero::before { width: 480px; height: 480px; left: -310px; bottom: -280px; box-shadow: 0 0 0 62px rgba(189,49,82,.025), 0 0 0 124px rgba(189,49,82,.018); }
.home-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(42px, 6vw, 86px); }
.home-hero__copy h1 { max-width: 570px; margin-bottom: 24px; font-size: clamp(46px, 5.1vw, 66px); line-height: .99; letter-spacing: -.052em; }
.home-page .section-label { margin-bottom: 16px; color: var(--home-accent); font-size: 12px; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.hero-lead { max-width: 540px; margin-bottom: 30px; color: var(--home-muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.home-page .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.home-page .button { min-height: 50px; padding: 0 22px; border-radius: 999px; }
.home-page .button-primary { color: #fff; background: var(--home-accent); }
.home-page .button-primary:hover { background: var(--home-accent-dark); }
.home-page .text-link { font-size: 14px; }
.hero-note { margin: 30px 0 0; color: #898b87; font-size: 13px; font-weight: 650; }
.home-hero__visual { position: relative; margin: 0; }
.home-hero__visual::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 44%; height: 36%; border: 1px solid rgba(189,49,82,.24); border-radius: 22px; z-index: -1; }
.home-hero__visual img { width: 100%; height: clamp(430px, 45vw, 540px); object-fit: cover; object-position: center; border-radius: 22px; }
.home-hero__visual figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; color: #fff; background: rgba(18,20,19,.66); border-radius: 999px; font-size: 10px; }
.home-facts { position: relative; z-index: 2; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); background: rgba(244,243,239,.96); }
.fact-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact-item { display: flex; flex-direction: column; gap: 6px; padding: 24px 30px; border-right: 1px solid var(--home-line); }
.fact-item:first-child { padding-left: 0; }
.fact-item:last-child { border-right: 0; }
.fact-item span { color: #858782; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.fact-item strong { font-size: 17px; }
.home-section { position: relative; padding: 90px 0; }
.home-about { overflow: hidden; background: var(--home-paper); }
.home-about::before { width: 390px; height: 390px; right: -220px; top: 30px; box-shadow: 0 0 0 54px rgba(189,49,82,.025); }
.home-about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 9vw, 130px); }
.home-page h2 { margin-bottom: 0; font-size: clamp(36px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -.044em; }
.home-about__content > p { margin: 28px 0 32px; color: var(--home-muted); font-size: 18px; line-height: 1.7; }
.audience-list { display: flex; flex-wrap: wrap; gap: 9px; }
.audience-list span { padding: 10px 14px; border: 1px solid #cdcec7; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 13px; font-weight: 700; }
.home-services { background-color: #eae9e4; background-image: repeating-linear-gradient(128deg, transparent 0 70px, rgba(32,33,31,.025) 70px 71px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading .section-label { margin-bottom: 12px; }
.service-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-rail--three { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; min-height: 280px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #d8d8d0; border-radius: 18px; background: rgba(255,255,255,.9); transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--home-accent); }
.card-label { margin-bottom: auto; color: var(--home-accent); font-size: 11px; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { max-width: 250px; margin: 50px 0 10px; font-size: 25px; line-height: 1.08; letter-spacing: -.03em; }
.service-card p { margin-bottom: 0; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.card-arrow { position: absolute; top: 22px; right: 22px; font-size: 22px; }
.mobile-scroll-hint { display: none; }
.home-references { color: #fff; background: #242522; }
.home-references .section-label { color: #e4a8b6; }
.section-heading--light .text-link { color: #fff; }
.reference-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.reference-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.045); }
.reference-card--lead { grid-row: 1 / 3; min-height: 394px; background: linear-gradient(145deg, rgba(189,49,82,.52), rgba(255,255,255,.04)); }
.reference-card > p { margin: 0 0 38px; color: #bebfbc; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.reference-card h3 { max-width: 560px; margin: auto 0 32px; font-size: clamp(25px, 3vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.reference-card:not(.reference-card--lead) h3 { font-size: 25px; }
.reference-card > div { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: #bcbdb9; font-size: 12px; }
.reference-card strong { color: #fff; text-align: right; }
.home-contact { padding: 42px 0; background: var(--home-accent-soft); border-bottom: 1px solid #e4d4d8; }
.home-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-contact h2 { font-size: clamp(30px, 3vw, 38px); }
.home-contact .section-label { margin-bottom: 8px; }
.home-page .site-footer { padding: 28px 0; color: #6f716d; background: #fff; border-top: 0; font-size: 12px; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-wrap > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.footer-wrap strong { color: var(--home-ink); font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.home-page :focus-visible { outline-color: var(--home-accent); }

@media (max-width: 920px) {
  .home-hero__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .home-hero__copy h1 { font-size: clamp(42px, 6.2vw, 58px); }
  .home-about__grid { gap: 50px; }
}
@media (max-width: 720px) {
  .home-page .shell { width: min(100% - 30px, 1180px); }
  .home-page .site-header { height: 72px; }
  .home-page .brand-wordmark { width: 166px; height: 47px; background-size: 166px auto; }
  .home-page .menu-toggle { display: inline-flex; }
  .home-page .main-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 14px 15px 20px; background: #fff; border-bottom: 1px solid var(--home-line); box-shadow: 0 18px 35px rgba(0,0,0,.1); }
  .home-page .main-nav.is-open { display: grid; gap: 4px; }
  .home-page .main-nav a { padding: 12px 8px !important; }
  .home-page .main-nav .nav-cta { margin-top: 5px; text-align: center; }
  .home-hero { padding: 38px 0 42px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .home-hero__copy h1 { max-width: 520px; font-size: clamp(41px, 13vw, 55px); }
  .hero-lead { font-size: 18px; }
  .home-hero__visual img { height: 330px; border-radius: 17px; }
  .home-hero__visual::after { right: -7px; bottom: -7px; border-radius: 17px; }
  .fact-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fact-list::-webkit-scrollbar, .service-rail::-webkit-scrollbar, .reference-grid::-webkit-scrollbar { display: none; }
  .fact-item { min-width: 76vw; padding: 20px 22px; border-right: 1px solid var(--home-line); scroll-snap-align: start; }
  .fact-item:first-child { padding-left: 0; min-width: 70vw; }
  .home-section { padding: 66px 0; }
  .home-about__grid { grid-template-columns: 1fr; gap: 14px; }
  .home-about__content > p { margin-top: 10px; font-size: 17px; }
  .audience-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .audience-list span { flex: 0 0 auto; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 12px; }
  .mobile-scroll-hint { display: block; margin: 0 0 20px; color: #777974; font-size: 12px; font-weight: 700; }
  .mobile-scroll-hint--light { color: #bfc0bc; }
  .service-rail, .service-rail--three, .reference-grid { display: flex; gap: 12px; margin-right: -15px; overflow-x: auto; padding: 0 15px 8px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .service-card { flex: 0 0 82vw; min-height: 250px; scroll-snap-align: start; }
  .reference-card, .reference-card--lead { flex: 0 0 84vw; min-height: 310px; scroll-snap-align: start; }
  .reference-card:not(.reference-card--lead) h3 { font-size: 27px; }
  .home-contact { padding: 36px 0; }
  .home-contact__inner { align-items: flex-start; flex-direction: column; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}
/* Final homepage alignment */
.home-page .brand-vigil { width: 215px; height: 46px; overflow: hidden; background: var(--brand); }
.home-page .brand-vigil img { width: 100%; height: 100%; object-fit: cover; object-position: bottom center; }
.home-page .section-label { margin-bottom: 12px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.home-hero { padding: 50px 0 56px; background: #fff; }
.home-hero::before, .home-about::before, .home-hero__visual::after { display: none; }
.home-hero__grid { grid-template-columns: .92fr 1.08fr; gap: clamp(42px, 6vw, 76px); }
.home-hero__copy h1 { font-size: clamp(46px, 4.7vw, 62px); line-height: 1.02; }
.home-hero__visual img { height: clamp(410px, 42vw, 510px); border-radius: 2px; }
.home-hero__visual figcaption { border-radius: 0; }
.home-section { padding: 76px 0; }
.home-about { background: #f3f2ee; }
.home-about__grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.home-page h2 { font-size: clamp(34px, 3.6vw, 46px); }
.section-photo img { height: 370px; border-left: 6px solid var(--brand); border-radius: 0; }
.audience-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.audience-list span { padding: 9px 12px; border: 0; border-left: 3px solid var(--brand); border-radius: 0; background: transparent; font-size: 12px; }
.home-services { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-rail { gap: 0; border-left: 1px solid var(--line); }
.service-card { min-height: 220px; padding: 28px 24px; border: 1px solid var(--line); border-left: 0; border-top: 4px solid var(--brand); border-radius: 0; background: #fff; }
.service-card:hover { transform: none; background: #f6f4f8; }
.service-card h3 { margin: auto 0 12px; }
.home-references { background: #252123; }
.reference-grid { gap: 1px; background: rgba(255,255,255,.2); }
.reference-card, .reference-card--lead { border: 0; border-radius: 0; background: #302a2c; }
.reference-card--lead { background: #6f2035; }
.home-contact { padding: 34px 0; border-top: 5px solid var(--brand); background: #f1eef5; }
.home-page .button, .home-page .nav-cta { border-radius: 2px !important; }
@media (max-width: 900px) {
  .home-hero__grid, .home-about__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 700px) {
  .home-page .brand-vigil { width: 170px; height: 37px; }
  .home-hero { padding: 34px 0 40px; }
  .home-hero__copy h1 { font-size: clamp(40px, 12vw, 50px); }
  .home-hero__visual img { height: 300px; }
  .home-section { padding: 58px 0; }
  .section-photo img { height: 270px; }
  .audience-list { display: block; overflow: visible; }
  .audience-list span { display: block; margin: 8px 0; }
  .service-rail { display: flex; gap: 0; margin-right: -15px; overflow-x: auto; scroll-snap-type: x mandatory; border-left: 0; }
  .service-card { flex: 0 0 82vw; min-height: 210px; border-left: 1px solid var(--line); scroll-snap-align: start; }
  .reference-grid { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .reference-card, .reference-card--lead { flex: 0 0 84vw; min-height: 290px; scroll-snap-align: start; }
}

/* Final subpage alignment */
.inner-page .section-label { margin-bottom: 10px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.inner-page .page-title-copy > p:last-child { max-width: 520px; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.inner-page .page-title-inner--compact { grid-template-columns: .9fr 1.1fr; }
.inner-page .contact-section { padding-top: 52px; }
.inner-page .brand { width: auto; height: 48px; overflow: visible; background: transparent; }
.inner-page .brand-crop { width: 146px; height: 44px; overflow: hidden; background: var(--brand); }
.inner-page .brand-crop img { width: 146px; max-width: none; height: auto; object-fit: initial; transform: translateY(-9px); }
.inner-page .contact-person h2 { margin-bottom: 30px; color: var(--ink); font-size: clamp(30px, 3vw, 42px); }
.inner-page .contact-person a { display: block; margin-top: 12px; color: var(--ink); font-size: 18px; font-weight: 700; }
@media (max-width: 700px) {
  .inner-page .page-title { padding: 36px 0; }
  .inner-page .page-title-inner, .inner-page .page-title-inner--compact { grid-template-columns: 1fr; gap: 24px; }
  .inner-page .page-title-copy { min-width: 0; }
  .inner-page .page-title h1 { max-width: 100%; font-size: 34px; overflow-wrap: normal; }
  .inner-page .page-title-photo img { height: 210px; }
  .inner-page .section { padding: 48px 0; }
  .inner-page .contact-section { padding-top: 30px; }
  .inner-page .contact-photo img { height: 230px; }
  .inner-page .contact-person, .inner-page .company-data { padding: 26px 22px; }
  .inner-page .brand { width: auto; height: 40px; }
  .inner-page .brand-crop { width: 120px; height: 36px; }
  .inner-page .brand-crop img { width: 120px; transform: translateY(-7px); }
  .inner-page .brand-name { display: none; }
}

/* Final visual refinement overrides */
.home-about { background-color: #f3f1ed; background-image: repeating-linear-gradient(132deg, transparent 0 86px, rgba(236,18,73,.035) 86px 87px, transparent 87px 174px); }
.home-about__grid { grid-template-columns: 1.08fr .92fr; }
.home-about__content { padding-left: clamp(10px, 3vw, 42px); }
.section-photo img { border-left: 0; border-right: 6px solid var(--brand); }
.home-services { background-color: #fbfbfa; background-image: repeating-linear-gradient(128deg, transparent 0 82px, rgba(236,18,73,.035) 82px 83px); }
.service-rail--three { gap: 16px; border: 0; }
.service-rail--three .service-card { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 30px; color: #fff; border: 0; background: #312d2e; }
.service-rail--three .service-card::before, .service-rail--three .service-card::after { content: ""; position: absolute; inset: 0; }
.service-rail--three .service-card::before { z-index: 0; opacity: .62; background-position: center; background-size: cover; transition: transform .35s ease, opacity .35s ease; }
.service-rail--three .service-card::after { z-index: 1; background: linear-gradient(180deg, rgba(20,19,20,.04) 12%, rgba(24,21,22,.9) 92%); }
.service-rail--three .service-card--house::before { background-image: url("assets/dubau-service-house.jpg"); }
.service-rail--three .service-card--renovation::before { background-image: url("assets/dubau-service-renovation.jpg"); }
.service-rail--three .service-card--industry::before { background-image: url("assets/dubau-service-industry.jpg"); background-position: center; filter: saturate(.72); }
.service-rail--three .service-card:hover { transform: none; background: #312d2e; }
.service-rail--three .service-card:hover::before { opacity: .78; transform: scale(1.035); }
.service-rail--three .service-card h3, .service-rail--three .service-card p { position: relative; z-index: 2; }
.service-rail--three .service-card h3 { margin: 0 0 10px; font-size: 29px; }
.service-rail--three .service-card p { max-width: 360px; margin: 0; color: rgba(255,255,255,.82); }
.home-references { background: #3a3436; }
.home-references .reference-grid { gap: 12px; background: transparent; }
.home-references .reference-card, .home-references .reference-card--lead { position: relative; overflow: hidden; min-height: 340px; border: 0; background: #4a4245; }
.home-references .reference-card::before { content: "Originální fotografie\A bude doplněna"; position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; white-space: pre; color: rgba(255,255,255,.52); opacity: 1; background: repeating-linear-gradient(132deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px); font-size: 12px; font-weight: 750; line-height: 1.45; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.home-references .reference-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,52,54,.1), rgba(58,52,54,.92)); }
.home-references .reference-card--school::before, .home-references .reference-card--water::before, .home-references .reference-card--industrial::before { background-image: repeating-linear-gradient(132deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px); }
.home-references .reference-card > * { position: relative; z-index: 1; }
.home-references .reference-card--lead { background: #86213d; }
.home-page .site-footer, .inner-page .site-footer { padding: 46px 0; color: #d8d3d4; background: #2f2a2c; border-top: 5px solid var(--brand); }
.footer-wrap--rich { display: grid; grid-template-columns: 1.2fr .8fr .8fr; align-items: start; gap: 44px; }
.footer-brand, .footer-contact, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand span, .footer-contact > span { color: #aaa4a6; }
.footer-contact > span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.footer-contact a { color: #fff; font-size: 19px; font-weight: 750; }
.footer-links { gap: 11px; }
.site-footer a:hover { color: #ff6b91; }
.service-detail { background-color: #f4f2ee; background-image: repeating-linear-gradient(132deg, transparent 0 90px, rgba(236,18,73,.035) 90px 91px); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-detail .service-detail-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 28px; min-height: 250px; padding: 34px; border: 1px solid var(--line); border-top: 4px solid var(--brand); background: rgba(255,255,255,.9); }
.service-detail .service-detail-card span { width: 140px; aspect-ratio: 1; border-radius: 50%; background-position: center; background-size: cover; box-shadow: inset 0 0 0 8px rgba(255,255,255,.65); }
.service-detail-card--house span { background-image: url("assets/dubau-service-house.jpg"); }
.service-detail-card--renovation span, .service-detail-card--custom span { background-image: url("assets/dubau-service-renovation.jpg"); }
.service-detail-card--industry span { background-image: url("assets/dubau-service-industry.jpg"); background-position: center; }
.service-detail .service-detail-card h2 { margin: 0 0 12px; font-size: 28px; }
.service-detail .service-detail-card p { grid-column: auto; margin: 0; font-size: 16px; }
.references { background-color: #f4f2ee; background-image: repeating-linear-gradient(132deg, transparent 0 96px, rgba(236,18,73,.03) 96px 97px); }
.reference-showcase { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; }
.reference-feature { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 30px; color: #fff; background: #3c3436; }
.reference-feature::before, .reference-feature::after { content: ""; position: absolute; inset: 0; }
.reference-feature::before { content: "Originální fotografie\A bude doplněna"; display: grid; place-items: center; padding: 30px; white-space: pre; color: rgba(255,255,255,.52); opacity: 1; background: repeating-linear-gradient(132deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px); font-size: 12px; font-weight: 750; line-height: 1.45; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.reference-feature::after { background: linear-gradient(180deg, rgba(20,18,19,.1), rgba(35,29,31,.94)); }
.reference-feature--school::before, .reference-feature--kindergarten::before, .reference-feature--industry::before { background-image: repeating-linear-gradient(132deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px); }
.reference-feature > * { position: relative; z-index: 1; }
.reference-feature span { color: #ffd0dc; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.reference-feature h2 { margin: 12px 0 20px; font-size: clamp(23px, 2vw, 31px); line-height: 1.12; }
.reference-feature b { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); color: #fff; }
.reference-showcase .reference-feature:first-child { background: #8a1f3d; }
.reference-toggle { min-height: 52px; display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; padding: 0 22px; color: #fff; border: 0; background: var(--brand); font-weight: 750; cursor: pointer; }
.reference-toggle span { font-size: 23px; font-weight: 400; }
.reference-table-wrap { margin-top: 30px; }
.reference-table-wrap[hidden] { display: none !important; }
.contact-section { background-color: #f4f2ee; background-image: repeating-linear-gradient(132deg, transparent 0 96px, rgba(236,18,73,.03) 96px 97px); }
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-top: 5px solid var(--brand); background: #fff; box-shadow: 0 24px 60px rgba(37,30,32,.09); }
.contact-card__person, .contact-card__data { padding: clamp(34px, 5vw, 66px); }
.contact-card__person { background: #f7e9ed; }
.contact-card__person h2 { margin: 0 0 32px; font-size: clamp(32px, 3.5vw, 48px); }
.contact-card__person a { display: block; width: fit-content; margin-top: 12px; color: var(--ink); font-size: clamp(19px, 2vw, 24px); font-weight: 750; }
.contact-card__person a:hover { color: var(--brand); }
.contact-card__data { border-left: 1px solid var(--line); }
.contact-card__data h3 { margin-bottom: 30px; font-size: clamp(27px, 3vw, 38px); }
.contact-card__data dl { margin: 0; }
.contact-card__data dl div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-card__data dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.contact-card__data dd { margin: 0; font-weight: 700; line-height: 1.5; }
@media (max-width: 900px) {
  .home-about__grid { grid-template-columns: 1fr; }
  .home-about__content { padding-left: 0; }
  .section-photo { order: -1; }
  .section-photo img { border-right: 0; border-bottom: 5px solid var(--brand); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .reference-showcase { grid-template-columns: 1fr 1fr; }
  .reference-showcase .reference-feature:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .service-rail--three { display: flex; gap: 12px; }
  .service-rail--three .service-card { flex: 0 0 84vw; min-height: 320px; border: 0; }
  .footer-wrap--rich { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .footer-contact a { font-size: 18px; }
  .service-detail-grid { display: flex; gap: 14px; margin-right: -15px; overflow-x: auto; padding: 0 15px 8px 0; scroll-snap-type: x mandatory; }
  .service-detail .service-detail-card { flex: 0 0 84vw; grid-template-columns: 100px 1fr; min-height: 260px; padding: 24px; scroll-snap-align: start; }
  .service-detail .service-detail-card span { width: 92px; }
  .service-detail .service-detail-card h2 { font-size: 24px; }
  .reference-showcase { display: flex; gap: 12px; margin-right: -15px; overflow-x: auto; padding: 0 15px 8px 0; scroll-snap-type: x mandatory; }
  .reference-showcase .reference-feature, .reference-showcase .reference-feature:first-child { flex: 0 0 84vw; min-height: 320px; scroll-snap-align: start; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__person, .contact-card__data { padding: 30px 24px; }
  .contact-card__data { border-top: 1px solid var(--line); border-left: 0; }
  .contact-card__data dl div { grid-template-columns: 92px 1fr; gap: 12px; }
  .inner-page .page-title-photo { order: -1; }
}
