:root {
  --petrol: #1f5f5b;
  --petrol-dark: #174946;
  --terracotta: #c4743e;
  --bg: #faf5ec;
  --bg-alt: #f1e8d9;
  --card: #fffdf8;
  --text: #43352a;
  --text-light: #8a7a68;
  --border: #e4d8c5;
  --shadow: 0 6px 24px rgba(67, 53, 42, 0.1);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.logo-accent {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--petrol);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--petrol);
  color: #fffdf8;
}

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

.btn-outline {
  border-color: var(--petrol);
  color: var(--petrol);
  background: transparent;
}

.btn-outline:hover {
  background: var(--petrol);
  color: #fffdf8;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  padding: 56px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, #f3e9d7, #faf5ec);
}

.hero-content {
  position: relative;
  color: var(--text);
  margin-bottom: 48px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 16px;
  color: #3a2f24;
  font-family: "Clash Display", sans-serif;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 32px;
  color: #5f5244;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-collage.one {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-collage.two {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.collage-tile {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.collage-cell {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.collage-cell.active {
  opacity: 1;
}

section {
  padding: 80px 0;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  color: var(--petrol-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-grid .feature-card {
  padding: 24px 16px;
}

.feature-card,
.testimonial-card,
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--petrol-dark);
}

.feature-card p,
.testimonial-card p {
  color: var(--text-light);
}

.testimonial-card {
  background: var(--bg-alt);
}

.testimonial-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.testimonial-card footer {
  margin-top: 16px;
  font-weight: 600;
  color: var(--text);
}

.about-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 40px;
}

.about-text {
  text-align: center;
}

.about-subtitle {
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-text > p:not(.about-subtitle) {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-points {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.about-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text);
  text-align: center;
}

.about-point-icon {
  font-size: 1.3rem;
}

.about-photo img {
  width: 100%;
  max-width: 560px;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .about-grid {
    gap: 24px;
  }
}

.pricing {
  background: var(--bg-alt);
}

.price-card {
  text-align: center;
}

.price-card.featured {
  background: var(--card);
  box-shadow: var(--shadow);
  border: 2px solid var(--terracotta);
  transform: scale(1.03);
}

.price-card h3 {
  margin-bottom: 8px;
  color: var(--petrol-dark);
}

.price {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--terracotta);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  color: var(--text-light);
}

.price-card li {
  padding: 6px 0;
}

.price-card li::before {
  content: "✦ ";
  color: var(--terracotta);
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-dark));
  color: #fffdf8;
}

.cta h2 {
  margin-bottom: 8px;
  color: #fffdf8;
}

.cta p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
}

.cta-form input:focus {
  outline: 3px solid rgba(196, 116, 62, 0.6);
}

.cta .btn-primary {
  background: var(--terracotta);
  color: #fffdf8;
}

.cta .btn-primary:hover {
  background: #b3642f;
}

.form-message {
  margin-top: 16px;
  font-weight: 600;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.catalog-header {
  padding: 48px 0 28px;
  text-align: center;
}

.catalog-header h1 {
  font-size: 2.2rem;
  color: var(--petrol-dark);
  margin-bottom: 8px;
}

.catalog-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.catalog-category {
  margin-bottom: 32px;
}

.catalog-category > h2 {
  font-size: 1.4rem;
  color: var(--petrol-dark);
  text-align: left;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.catalog-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  overflow: visible;
  padding-bottom: 0;
}

.catalog-subcategory {
  flex: 0 0 auto;
}

.catalog-subcategory h3 {
  font-size: 0.92rem;
  color: var(--terracotta);
  margin-bottom: 8px;
  text-align: left;
}

.catalog-sub-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.catalog-sub-photos .catalog-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.catalog-sub-photos .catalog-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.15s ease;
}

.catalog-sub-photos .catalog-item img:hover {
  transform: scale(1.04);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding-bottom: 8px;
}

.photo-strip .catalog-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.photo-strip .catalog-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.15s ease;
}

.photo-strip .catalog-item img:hover {
  transform: scale(1.04);
}

.catalog-empty.small {
  padding: 4px 0;
  text-align: left;
  font-size: 0.85rem;
}

.catalog-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.catalog-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.catalog-item:hover img {
  transform: scale(1.04);
}

.catalog-empty {
  text-align: center;
  color: var(--text-light);
  padding: 60px 0 120px;
}

.contact-header {
  padding: 64px 0 40px;
  text-align: center;
}

.contact-header h1 {
  font-size: 2.4rem;
  color: var(--petrol-dark);
  margin-bottom: 8px;
}

.contact-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 90px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 1.6rem;
}

.contact-card strong {
  color: var(--petrol-dark);
}

.contact-card p {
  color: var(--text-light);
  word-break: break-word;
}

.contact-note {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-form h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--petrol-dark);
  text-align: left;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: 2px solid var(--petrol);
}

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

.modal {
  position: fixed;
  inset: 0;
  background: rgba(43, 33, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fadeIn 0.2s ease;
}

.modal[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  animation: slideUp 0.25s ease;
}

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--terracotta);
}

.modal-box h3 {
  font-size: 1.5rem;
  color: var(--petrol-dark);
  margin-bottom: 12px;
  padding-right: 24px;
}

.modal-features {
  list-style: none;
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.modal-features li {
  padding: 4px 0;
}

.modal-features li::before {
  content: "✦ ";
  color: var(--terracotta);
}

.modal-form .field {
  margin-bottom: 14px;
}

.modal-form .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.modal-form .field input,
.modal-form .field select,
.modal-form .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.modal-form .field input[type="color"] {
  width: 64px;
  height: 40px;
  padding: 2px;
  cursor: pointer;
}

.modal-form .field.bg-color {
  margin-top: 10px;
}

.modal-form .field input:focus,
.modal-form .field textarea:focus {
  outline: 2px solid var(--petrol);
}

.form-message {
  margin-top: 14px;
  font-weight: 600;
  text-align: center;
}

.form-message.ok {
  color: var(--petrol);
}

.form-message.err {
  color: var(--terracotta);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-content {
    margin-bottom: 32px;
  }

  .hero-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-tile {
    height: 170px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .price-card.featured {
    transform: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.6rem;
  line-height: 1;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}
