/* Danka Property Care V4 */

:root {
  --black: #101010;
  --white: #ffffff;
  --ivory: #f8f5ef;
  --stone: #ddd5c8;
  --olive: #68755a;
  --olive-dark: #4e5944;
  --gold: #b89c6a;
  --text: #2c2c2c;
  --muted: #6b6b6b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--white);
  color: var(--black);
}

body.no-scroll { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(184, 156, 106, 0.78);
  outline-offset: 4px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 26px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: 0.25s ease;
}

.header.scrolled,
.header.inner-page {
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.07);
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a.active { border-bottom-color: currentColor; }

.page-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 34px;
  min-height: 92px;
  padding: 22px 7% 24px;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  overflow: visible;
}

.page-nav a {
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.page-nav a:hover,
.page-nav a.active {
  border-bottom-color: currentColor;
}

.page-nav-item {
  position: relative;
  display: grid;
  justify-content: center;
}

.page-subnav-static {
  position: absolute;
  top: 25px;
  left: 50%;
  display: none;
  gap: 18px;
  align-items: center;
  width: max-content;
  transform: translateX(-50%);
}

.services-nav-item:has(.active) .page-subnav-static {
  display: flex;
}

.page-subnav-static a {
  padding: 8px 0 0;
  border-bottom: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.25px;
  line-height: 1.35;
  white-space: nowrap;
}

.page-subnav-static a:hover,
.page-subnav-static a.active {
  color: var(--olive-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.34)),
    url("../images/home-hero.jpg") center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  padding: 70px 24px 92px;
}

.language-switcher {
  position: absolute;
  top: 28px;
  right: 34px;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: center;
}

.language-switcher button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 0 0 6px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.language-switcher button:hover,
.language-switcher button.active {
  border-bottom-color: currentColor;
}

.header .language-switcher {
  position: static;
  margin-left: 24px;
  gap: 10px;
  flex-shrink: 0;
}

.header .language-switcher button {
  color: inherit;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.hero-content {
  width: 100%;
  max-width: 1180px;
  animation: heroFadeUp 0.9s ease both;
}

.hero-logo {
  width: 494px;
  max-width: 92vw;
  margin: 0 auto 46px;
}

.hero-subtitle {
  margin: 0 auto 35px;
  max-width: 1180px;
  font-size: clamp(23px, 2.64vw, 33px);
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ffffff;
  white-space: nowrap;
}

.hero-services {
  text-transform: uppercase;
  letter-spacing: 2.75px;
  font-size: 15.5px;
  margin-bottom: 42px;
}

.hero-menu {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14.5px;
  font-weight: 700;
}

.hero-menu a {
  position: relative;
  padding: 0 20px;
  color: var(--white);
  text-decoration: none;
}

.hero-menu a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-50%);
}

.hero-menu a:hover {
  border-bottom: 1px solid currentColor;
}

.hero-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.hero-footer a {
  color: inherit;
  text-decoration: none;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 15px 34px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

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

.btn-dark { color: var(--black); }
.btn-dark:hover { background: var(--black); color: var(--white); }
.btn-muted {
  color: var(--muted);
  border-color: var(--stone);
}
.btn-muted:hover {
  background: var(--ivory);
  color: var(--black);
}

.section { padding: 110px 7%; }

.section-ivory { background: var(--ivory); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}

.center { text-align: center; }

.kicker {
  margin-bottom: 18px;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 6px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 26px;
  font-weight: 600;
}

h3 {
  font-size: 23px;
  margin-bottom: 16px;
  font-weight: 600;
}

p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 18px;
}

.lead {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

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

.photo {
  min-height: 540px;
  background: var(--stone) center/cover no-repeat;
}

.photo.property { background-image: url("../images/property.jpg"); }
.photo.about { background-image: url("../images/about.jpg"); }

.services-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  min-height: 285px;
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 42px 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.card-number {
  margin-bottom: 24px;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  line-height: 1.75;
}

.value-strip {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--stone);
  border-left: 1px solid var(--stone);
}

.value {
  padding: 28px 16px;
  background: var(--white);
  border-right: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.cta {
  background:
    linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
    url("../images/contact.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta p {
  color: var(--white);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  min-height: 34vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.38)),
    url("../images/home-hero.jpg") center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 118px 7% 46px;
}

.page-hero p {
  color: var(--white);
  max-width: 780px;
}

.service-list {
  display: grid;
  gap: 30px;
}

.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--stone);
}

.service-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-row h2 {
  font-size: 28px;
  margin-bottom: 0;
}

.service-copy p:last-child {
  margin-bottom: 0;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 12px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link::after {
  content: "\00a0→";
  font-size: 14px;
  line-height: 1;
}

.text-link:hover {
  text-decoration: none;
}

.text-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.text-link:hover::before,
.text-link:focus-visible::before {
  transform: scaleX(1);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}

.page-hero + .page-nav + .section:has(.service-detail) {
  padding-top: 64px;
}

.service-detail aside {
  position: sticky;
  top: 104px;
}

.service-detail h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
}

.service-detail p {
  max-width: 760px;
}

.service-detail-list {
  max-width: 760px;
  margin: 32px 0 0;
  padding-left: 22px;
  list-style: disc;
}

.service-detail-list li {
  padding: 0 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
}

.service-detail-list li::marker {
  color: var(--olive);
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  max-width: 760px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--stone);
}

.service-detail-actions .btn {
  padding: 13px 28px;
}

.service-detail-actions .text-link {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-panel {
  background: var(--ivory);
  border: 1px solid var(--stone);
  padding: 40px;
}

.contact-item {
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 5px;
}

.contact-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.social-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
}

.social-link:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.contact-page .page-hero {
  min-height: 25vh;
  padding-bottom: 34px;
}

.contact-page .page-hero h1 {
  margin-bottom: 12px;
}

.contact-page .page-hero p {
  margin-bottom: 0;
}

.contact-form-section {
  padding-top: 48px;
  padding-bottom: 62px;
}

.contact-focus-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.66fr) minmax(0, 1.34fr);
  gap: 38px;
  align-items: start;
}

.form-intro {
  max-width: 520px;
  position: sticky;
  top: 108px;
}

.form-intro h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.contact-form-stack {
  display: grid;
  gap: 18px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 22px 24px 24px;
}

.form-grid {
  display: grid;
  column-gap: 14px;
  row-gap: 0;
}

.form-grid-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-primary .form-field:last-child {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.form-field label,
.privacy-check {
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.35px;
  line-height: 1.55;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  padding: 7px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  height: 112px;
  resize: vertical;
  min-height: 108px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(104, 117, 90, 0.16);
  outline: 0;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #a7432f;
}

.field-error {
  display: block;
  min-height: 0;
  color: #a7432f;
  font-size: 11px;
  line-height: 1.25;
}

.field-error:not(:empty) {
  margin-top: 2px;
}

.privacy-check {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 0;
  text-transform: none;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--olive);
}

.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.form-actions .btn {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.form-actions .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-status {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.7;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  border-color: rgba(104, 117, 90, 0.38);
  background: rgba(104, 117, 90, 0.12);
  color: var(--olive-dark);
}

.form-status.error {
  border-color: rgba(167, 67, 47, 0.35);
  background: rgba(167, 67, 47, 0.08);
  color: #7a2f21;
}

.form-contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 24px;
}

.form-contact-panel .contact-item {
  margin-bottom: 0;
}

.form-contact-panel .contact-item strong {
  color: var(--olive);
  font-size: 11px;
}

.form-contact-panel .contact-social {
  grid-column: 1 / -1;
}

.spam-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  left: -1px;
  opacity: 0;
  pointer-events: none;
}

.policy-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 60px;
}

.policy-copy h3 {
  margin-top: 34px;
}

.policy-copy h3:first-child {
  margin-top: 0;
}

.policy-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 0 7% 42px;
  text-align: center;
  color: var(--muted);
  border-top: 0;
  font-size: 13px;
}

.footer a { text-decoration: none; }

.legal-links {
  display: flex;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .social-links,
.hero-footer .social-links {
  justify-content: center;
  margin-top: 12px;
}

.footer .social-link,
.hero-footer .social-link {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.16));
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--stone);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 24px;
}

.cookie-copy h2 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.cookie-copy p {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.cookie-copy a {
  color: var(--olive-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(-56px); }
}

@media (min-width: 921px) and (max-height: 760px) {
  .hero-logo {
    width: 330px;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .hero-services {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .hero-menu {
    font-size: 13px;
  }

  .hero-footer {
    bottom: 16px;
  }
}

@media (max-width: 920px) {
  .menu-btn { display: none; }

  .nav {
    display: flex;
    position: static;
    gap: 18px;
    background: transparent;
    color: inherit;
  }

  .nav a {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .page-nav {
    gap: 18px;
    min-height: 86px;
    padding: 20px 24px 28px;
    flex-wrap: wrap;
  }

  .page-nav a {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .page-subnav-static {
    gap: 12px;
    max-width: calc(100vw - 48px);
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page-subnav-static a {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .header,
  .header.scrolled,
  .header.inner-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .grid-2,
  .services-grid,
  .contact-grid,
  .contact-focus-grid,
  .form-contact-panel,
  .form-grid,
  .policy-content,
  .service-detail,
  .service-row {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 82px 24px;
  }

  .contact-page .page-hero {
    min-height: 24vh;
    padding-bottom: 30px;
  }

  .contact-form-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .form-intro {
    max-width: none;
    position: static;
  }

  .service-detail aside {
    position: static;
  }

  .contact-form {
    padding: 22px 20px 24px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero {
    min-height: 22vh;
    padding: 92px 24px 24px;
  }

  .cookie-banner {
    padding: 12px;
  }

  .cookie-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero + .page-nav + .section {
    padding-top: 38px;
  }

  .page-hero + .page-nav + .section .reveal {
    opacity: 1;
    transform: none;
  }

  h1 {
    letter-spacing: 3px;
  }

  .language-switcher {
    top: 18px;
    right: 18px;
    gap: 10px;
  }

  .header .language-switcher {
    position: static;
    margin-left: auto;
    gap: 10px;
  }

  .language-switcher button {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .photo {
    min-height: 350px;
  }

  .hero-logo {
    width: 416px;
    max-width: 92vw;
  }

  .hero-subtitle {
    font-size: 23px;
    white-space: normal;
  }

  .hero-menu {
    row-gap: 14px;
    font-size: 13px;
  }

  .hero-menu a {
    padding: 0 14px;
  }
}
