/* VGV-stav */

:root {
  --ink: #1a2428;
  --plaster: #f3eee6;
  --accent: #1e4554;
  --panel: #1e4554;
  --line: #d9d0c3;
  --muted: #6b645b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--plaster);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
header {
  background: var(--plaster);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: max(10px, env(safe-area-inset-top));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

header .wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  line-height: 1.1;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  color: var(--accent);
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-text [data-site="name"] {
  font-family: Newsreader, Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-text [data-i18n="logo.tagline"] {
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-nav-title .logo-img {
  height: 28px;
  filter: invert(1) brightness(0.96);
}

.menu-toggle {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #c4b8a8;
  border-radius: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-toggle:hover,
.menu-toggle:active {
  background: #ebe4d8;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle .burger-line:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.desk-nav,
.lang-buttons.desk-lang {
  display: none;
}

/* Overlay + side nav (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 21, 0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 86vw);
  height: 100%;
  height: 100dvh;
  background: var(--panel);
  color: var(--plaster);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.side-nav.is-open {
  transform: translateX(0);
}

.side-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}

.menu-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--plaster);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
}

.menu-close:hover {
  background: rgba(244, 239, 230, 0.08);
}

.side-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.side-nav nav a {
  color: var(--plaster);
  text-decoration: none;
  font-size: 17px;
  padding: 14px 22px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-left: 3px solid transparent;
}

.side-nav nav a:hover,
.side-nav nav a:active {
  background: rgba(244, 239, 230, 0.06);
  border-left-color: #c4b8a8;
}

.side-nav nav a.active {
  border-left-color: #d9a48c;
  font-weight: 600;
}

.lang-switcher {
  margin-top: auto;
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.lang-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b8a8;
  margin-bottom: 10px;
}

.lang-buttons {
  display: flex;
  gap: 8px;
}

.lang-btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 239, 230, 0.28);
  border-radius: 2px;
  background: transparent;
  color: var(--plaster);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--plaster);
  color: var(--panel);
  border-color: var(--plaster);
}

.desk-lang .lang-btn {
  flex: none;
  min-height: 34px;
  min-width: 40px;
  color: var(--ink);
  border-color: #c4b8a8;
  background: transparent;
}

.desk-lang .lang-btn.is-active {
  background: var(--ink);
  color: var(--plaster);
  border-color: var(--ink);
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* Layout */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 16px 88px;
  min-height: 60vh;
  width: 100%;
}

h1,
h2,
h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.25rem, 3.4vw, 1.65rem);
  margin: 36px 0 12px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

p {
  margin-bottom: 12px;
}

.lede {
  font-size: 1.12rem;
  max-width: 36em;
  color: #3d3830;
}

/* Buttons */
[hidden] {
  display: none !important;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fbf8f2;
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  font-size: 16px;
  line-height: 1.3;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  min-height: 44px;
  border-radius: 2px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover,
.btn:active {
  background: #163742;
  border-color: #163742;
  color: #fbf8f2;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-secondary:hover,
.btn-secondary:active {
  background: #efe6da;
  color: var(--accent);
}

.hero-actions,
.cta-row,
.estimate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions .btn,
.cta-row .btn,
.estimate-actions .btn {
  width: 100%;
}

/* Home */
.hero {
  max-width: 34em;
  margin-bottom: 36px;
  padding: 8px 0 4px;
}

.hero h1 {
  margin-bottom: 10px;
}

.featured {
  display: grid;
  gap: 16px;
  margin: 8px 0 8px;
}

.featured-photo {
  background: var(--panel);
  width: 75%;
}

.featured-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.featured-photo.photo-portrait img {
  aspect-ratio: 3 / 4;
  object-position: center 30%;
}

.featured-caption {
  max-width: 34em;
}

.featured-kicker {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b645b;
  margin-bottom: 6px;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin: 8px 0 20px;
}

.service-list li {
  border-bottom: 1px solid var(--line);
}

.service-list a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
}

.service-list a:hover h3 {
  color: var(--accent);
}

.service-list p {
  margin: 0;
  color: #5c564e;
  font-size: 15px;
}

.steps {
  max-width: 34em;
}

.steps ol {
  margin: 8px 0 16px 1.1em;
}

.steps li {
  margin-bottom: 8px;
}

.areas {
  font-size: 15px;
  color: #5c564e;
  max-width: 40em;
}

/* Project frames */
.photo-frame {
  background: var(--panel);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-frame.photo-portrait img {
  aspect-ratio: 3 / 4;
  object-position: left center;
}

.project-photos .photo-portrait img {
  object-position: center;
}

.project {
  margin-bottom: 36px;
}

.project .meta {
  font-size: 15px;
  color: #5c564e;
  margin-bottom: 12px;
}

.before-after,
.project-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.project-photos.compact {
  width: 70%;
}

.ba-item label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b645b;
  margin-bottom: 6px;
}

/* Service pages */
.split {
  display: grid;
  gap: 20px;
  margin: 16px 0 8px;
}

.faq {
  max-width: 40em;
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 8px 0 0;
  color: #3d3830;
}

.narrow {
  max-width: 38em;
}

/* Estimate */
.estimate-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.estimate-form {
  max-width: none;
}

.estimate-form fieldset {
  border: 1px solid var(--line);
  background: #fbf8f2;
  padding: 14px 14px 16px;
  margin: 0 0 14px;
}

.estimate-form legend {
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  padding: 0 6px;
  font-size: 16px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.choice-grid-3 {
  grid-template-columns: 1fr;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  min-height: 44px;
  border: 1px solid #d0c6b8;
  background: #fffdf8;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-title {
  font-weight: 600;
}

.choice-hint {
  font-size: 13px;
  color: #5c564e;
}

.choice:hover {
  border-color: var(--accent);
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: #f3e7de;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.choice:has(input:disabled) {
  display: none;
}

.field-hint {
  font-size: 14px;
  color: #5c564e;
  margin-bottom: 10px;
}

.area-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.area-row input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--accent);
}

.area-input {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
}

.area-input input,
.field select,
.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b7ad9f;
  font-size: 16px;
  font-family: inherit;
  border-radius: 2px;
  background: #fffdf8;
}

.area-input input:focus,
.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.extra-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #d0c6b8;
  background: #fffdf8;
  cursor: pointer;
}

.extra input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.extra:has(input:checked) {
  border-color: var(--accent);
  background: #f3e7de;
}

.estimate-result {
  background: #fbf8f2;
  border: 1px solid var(--line);
  padding: 18px 16px;
}

.estimate-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b645b;
  margin-bottom: 6px;
}

.estimate-range {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}

.estimate-summary {
  font-size: 14px;
  color: #3d3830;
  margin-bottom: 12px;
}

.estimate-disclaimer {
  font-size: 13px;
  color: #5c564e;
  margin-bottom: 16px;
}

/* Forms */
form {
  max-width: 520px;
  width: 100%;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c564e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

form .btn {
  width: 100%;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #9a4030;
}

.field.is-invalid .field-error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #c9897a;
  outline-color: #c9897a;
}

.field.is-valid input,
.field.is-valid textarea {
  border-color: #8aa882;
}

.form-note {
  font-size: 14px;
  color: #5c564e;
  margin-top: 12px;
}

.form-msg {
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #b7ad9f;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: #e7efe4;
  border-color: #8aa882;
}

.form-msg.err {
  background: #f6e4de;
  border-color: #c9897a;
}

.contact-box {
  background: #fbf8f2;
  border: 1px solid var(--line);
  padding: 16px;
  margin-top: 8px;
  word-wrap: break-word;
}

.contact-box p {
  margin-bottom: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.suppliers {
  margin-top: 56px;
}

.supplier-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 36px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.supplier-row a {
  display: flex;
  align-items: center;
  height: 36px;
}

.supplier-row img {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
}

/* Footer */
footer {
  background: var(--panel);
  color: #cfc6ba;
  padding: 28px 16px 88px;
  padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom)));
  font-size: 14px;
  line-height: 1.6;
}

footer a {
  color: #e8d3c8;
}

footer .wrap {
  max-width: 1040px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-name {
  font-family: Newsreader, Georgia, serif;
  font-size: 20px;
  color: var(--plaster);
}

.footer-legal {
  font-size: 13px;
  color: #9a9186;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--plaster);
  border-top: 1px solid var(--line);
}

.sticky-cta .btn {
  flex: 1;
}

/* Mobile WhatsApp — sits above the sticky bar */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #128c7e;
  color: var(--plaster);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(28, 25, 21, 0.28);
  text-decoration: none;
}

.wa-fab:hover,
.wa-fab:focus-visible {
  background: #0e7367;
  color: var(--plaster);
}

/* Tablet */
@media (min-width: 700px) {
  .hero-actions,
  .cta-row,
  .estimate-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-actions .btn,
  .cta-row .btn,
  .estimate-actions .btn,
  form .btn {
    width: auto;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .choice-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .area-row {
    flex-direction: row;
    align-items: center;
  }

  .area-row input[type="range"] {
    flex: 1;
  }

  .before-after {
    grid-template-columns: 1fr 1fr;
  }

  .project-photos {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .project-photos.two {
    grid-template-columns: 1fr 1fr;
  }

  .featured {
    grid-template-columns: 43.125% 42.5%;
    justify-content: start;
    align-items: end;
    gap: 28px;
  }

  .featured-photo {
    width: auto;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 32px;
  }
}

/* Wide tablet / small laptop — layout only, burger stays */
@media (min-width: 900px) {
  main {
    padding: 40px 20px 64px;
  }

  .estimate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
  }

  .estimate-result {
    position: sticky;
    top: 80px;
  }

  footer {
    padding: 36px 20px 28px;
  }
}

/* Desktop bar — hide the whole thing until every link fits on one row */
@media (min-width: 1140px) {
  .menu-toggle {
    display: none;
  }

  .desk-nav {
    display: flex;
    align-items: center;
    gap: 4px 12px;
    margin-left: 12px;
    flex: 1;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .desk-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
  }

  .desk-nav a:hover,
  .desk-nav a.active {
    color: var(--accent);
  }

  .lang-buttons.desk-lang {
    display: flex;
    gap: 6px;
    margin-left: 8px;
    flex-shrink: 0;
  }

  .sticky-cta {
    display: none;
  }

  .wa-fab {
    display: none;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 30px;
  }

  .logo-text [data-site="name"] {
    font-size: 16px;
  }

  main {
    padding: 20px 12px 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .side-nav,
  .nav-overlay,
  .burger-line {
    transition: none;
  }
}
