:root {
  --bg: #FAF8F5;
  --surface: #ffffff;
  --text: #1C1C1C;
  --muted: #5A5A5A;
  --gold: #C9A84C;
  --soft: #F4F1ED;
  --border: rgba(28, 28, 28, 0.12);
  --shadow: 0 24px 70px rgba(28, 28, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.45rem;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin-bottom: 0.35rem;
  border-radius: 999px;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero,
.page-hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,248,245,0.96)),
    url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  background-blend-mode: lighten;
}

.hero-inner,
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 620px;
}

.hero-text {
  margin-top: 1.2rem;
}

.hero-visual {
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title,
.page-title,
.section-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.hero-copy p,
.section-copy,
.section-text,
.card-copy,
.team-copy,
.footer-copy {
  color: var(--muted);
  font-size: 1rem;
  max-width: 48rem;
}

.hero-actions,
.section-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn,
.filter-button,
.social-button {
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn {
  background: var(--text);
  color: var(--surface);
}

.btn:hover,
.filter-button.active,
.filter-button:hover,
.social-button:hover {
  transform: translateY(-2px);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2,
.page-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 0.75rem;
}

.grid,
.product-grid,
.feature-grid,
.values-grid,
.team-grid {
  display: grid;
  gap: 1.75rem;
}

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

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

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

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.product-card,
.value-card,
.team-card,
.testimonial-card,
.newsletter-card,
.contact-card,
.footer-card {
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-card,
.product-card,
.value-card,
.team-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card img,
.product-card img,
.team-card img,
.gallery-figure img {
  border-radius: 1.5rem 1.5rem 0 0;
  object-fit: cover;
  min-height: 240px;
}

.feature-card-content,
.product-card-content,
.value-card-content,
.team-card-content,
.testimonial-content,
.newsletter-content,
.contact-card-content {
  padding: 1.8rem;
}

.feature-card h3,
.product-card h3,
.value-card h3,
.team-card h3,
.testimonial-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.feature-card p,
.product-card p,
.value-card p,
.team-card p,
.testimonial-card p,
.newsletter-copy,
.contact-copy {
  margin: 0;
  color: var(--muted);
}

.feature-card a,
.product-card button,
.testimonial-card a {
  color: var(--gold);
}

.feature-card a {
  font-weight: 700;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-price {
  font-weight: 700;
  color: var(--text);
}

.product-actions,
.testimonial-footer,
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.product-actions button,
.btn,
.filter-button,
.newsletter-button {
  min-width: 160px;
}

.product-actions .heart-btn {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 1rem;
  color: var(--text);
  font-size: 1.1rem;
}

.product-actions .heart-btn:hover {
  background: rgba(201,168,76,0.12);
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
}

.testimonial-footer {
  margin-top: auto;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-name {
  font-weight: 700;
}

.newsletter-card {
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.newsletter-copy {
  font-size: 1.05rem;
}

.newsletter-form {
  width: 100%;
  grid-template-columns: 1fr auto;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--soft);
}

.newsletter-button {
  border-radius: 1rem;
  background: var(--text);
  color: var(--surface);
  min-width: 160px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.contact-card,
.contact-details {
  background: var(--surface);
  padding: 2rem;
}

.contact-card-content,
.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details h3,
.contact-card h3 {
  margin: 0;
}

.contact-details p,
.contact-details a,
.contact-details li {
  color: var(--muted);
}

.contact-details a:hover,
.newsletter-button:hover,
.btn:hover,
.btn-secondary:hover,
.btn-outline:hover {
  color: var(--text);
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--soft);
  color: var(--text);
}

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

.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

footer {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(28, 28, 28, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 50;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(95vw, 1100px);
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.9);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-figure img {
  display: block;
}

.gallery-caption {
  padding: 1rem;
  background: rgba(255,255,255,0.94);
}

.gallery-caption p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  background: linear-gradient(180deg, rgba(250,248,245,1), rgba(250,248,245,1));
}

.page-hero-inner {
  grid-template-columns: 1fr;
}

.page-hero-copy {
  max-width: 680px;
}

.value-card,
.team-card {
  text-align: left;
}

.team-card img {
  min-height: 280px;
}

.team-card-content {
  padding: 1.75rem;
}

.value-card .value-icon,
.choose-card .choose-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.1rem;
  background: rgba(201,168,76,0.12);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.choose-card {
  padding: 2rem;
}

.choose-card h3 {
  margin: 0 0 0.75rem;
}

.choose-card p {
  margin: 0;
}

.feature-card a {
  color: var(--gold);
}

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

.base-heading {
  margin: 0 0 1rem;
}

@media (max-width: 1040px) {
  .hero-inner,
  .contact-grid,
  .section-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .grid.columns-4,
  .grid.columns-3,
  .choose-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(250,248,245,0.98);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 1rem 0;
  }

  .hero,
  .page-hero {
    padding: 3rem 0;
  }

  .hero-title,
  .page-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .feature-grid,
  .grid.columns-3,
  .grid.columns-4,
  .choose-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .filter-bar,
  .section-actions,
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-button,
  .btn,
  .filter-button,
  .product-actions button {
    width: 100%;
  }

  .gallery-grid {
    column-count: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}
