:root {
  --color-accent: #ee6a24;
  --color-accent-dark: #d1560f;
  --color-ink: #22262b;
  --color-ink-soft: #52585f;
  --color-bg: #ffffff;
  --color-bg-muted: #f6f5f3;
  --color-border: #e6e3df;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink-soft);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--color-ink);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.9rem, 3vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
}

.nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--color-accent-dark);
  border-bottom-color: var(--color-accent);
}

@media (max-width: 640px) {
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list li {
    border-top: 1px solid var(--color-border);
  }

  .nav__list a {
    display: block;
    padding: 0.9rem 1.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--color-ink);
}

.hero__img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  opacity: 0.55;
}

.hero__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
}

.hero__caption h1,
.hero__caption p {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--cta {
  background: var(--color-ink);
  color: #fff;
  text-align: center;
}

.section--cta h2,
.section--cta p {
  color: #fff;
}

.section__heading {
  text-align: center;
  margin-bottom: 2rem;
}

.lede {
  font-size: 1.1rem;
  max-width: 60ch;
}

.split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 2fr 3fr;
}

.split--reverse .split__text {
  order: 2;
}

.split__media img {
  border-radius: 8px;
}

@media (max-width: 800px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__text {
    order: 0;
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card h3 {
  color: var(--color-accent-dark);
}

/* Gallery */
.gallery-group {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-thumb {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  max-width: 92vw;
  max-height: 90vh;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(10, 10, 10, 0.85);
}

.lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__nav--prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--color-ink);
  margin: 1rem 0 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form .antispam {
  display: none;
}

.contact-form .btn {
  margin-top: 1.5rem;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-status--ok {
  background: #e6f4ea;
  color: #1e7a34;
}

.form-status--error {
  background: #fdeaea;
  color: #b3261e;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.office {
  margin-bottom: 1.5rem;
}

.office h3 {
  margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
