:root {
  --bg: #fbf9f6;
  --paper: #fff;
  --accent: #b76e4e;
  --accent-soft: #eedfcf;
  --muted: #6b6b6b;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
  --radius: 14px;
  --maxw: 1100px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg), #ffffff);
  color: #222;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px;
}

header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  top: 0;
  z-index: 40;
  position: sticky;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-blank {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f7f2ee);
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0, 0, 0, 0.06);
  color: var(--muted);
  font-weight: 700;
}
.brand h1 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}
nav ul {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav a.link {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}
nav a.link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
}
.hero h2.hero-title {
  margin-top: 4px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.lead {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.intro {
  color: var(--muted);
  max-width: 56ch;
}
.hero-buttons {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: white;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn.btn-outline {
  background: var(--paper);
  color: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.preview {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}

.hero-preview {
  width: 385px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

section {
  padding: 48px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  scroll-margin-top: 80px;
}

.about-cards {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.card {
  background: var(--paper);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.04);
}
.card-text {
  flex: 1;
}
.card-values {
  width: 260px;
}
.card-values ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.card-values li {
  margin-bottom: 4px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery .item {
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f6f2, #fff);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.gallery .item:hover {
  transform: scale(1.02);
}
.gallery .item h4 {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
  z-index: 2;
}
.gallery .item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: var(--paper);
  border-radius: 12px;
  padding: 18px;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

.modal-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (min-width: 800px) {
  .modal-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.service {
  flex: 1 1 200px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
  flex-wrap: wrap;
}

.contact-row input,
.contact-row textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee;
  font-size: 0.95rem;
}

.contact-row form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-coord .note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

footer {
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.social-icons div {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .preview {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  nav ul {
    display: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .mock {
    width: 200px;
    height: 230px;
  }
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.85rem;
}

.social-link .icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-link:hover .icon {
  transform: translateY(-2px);
  opacity: 0.8;
}
