﻿:root {
  --cream: #F7F3E9;
  --navy: #0F1B2D;
  --caramel: #C9A36B;
  --text: #1C1C1C;
  --white: #FFFFFF;
  --border: #E6E0D6;
  --navy-hover: #1a2b42;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(15, 27, 45, 0.08);
  --shadow-hover: 0 16px 30px rgba(15, 27, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--navy);
}

.section-subtitle {
  margin: 0 0 26px;
  color: #4d4d4d;
  max-width: 720px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(201, 163, 107, 0.18);
  color: #6b4a1d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.3s ease;
}

.topbar.scrolled {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.brand small {
  font-size: 0.72rem;
  opacity: 0.82;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.14);
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
}

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

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

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-nav {
  padding: 9px 14px;
  font-size: 0.88rem;
  background-color: var(--caramel);
  color: #2e2113;
}

.btn-nav:hover {
  background-color: #d2b184;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: #15243a;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1563805042-7684c019e1cb?auto=format&fit=crop&w=1600&q=75");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 27, 45, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.2;
}

.hero p {
  margin: 0 0 24px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.value-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.value-item h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.testimonial-card p {
  margin-top: 0;
}

.testimonial-author {
  color: #5b5b5b;
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 66px 0 38px;
}

.page-header h1 {
  margin: 0 0 10px;
  color: var(--navy);
}

.page-header p {
  margin: 0;
  max-width: 700px;
}

.timeline {
  border-left: 2px solid var(--caramel);
  padding-left: 20px;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--caramel);
  position: absolute;
  left: -26px;
  top: 18px;
}

.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background-color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--caramel);
  box-shadow: 0 6px 14px rgba(15, 27, 45, 0.1);
  transform: scale(1.03);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.placeholder-icon {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  border: 1px dashed #d7c4ab;
  background-color: #fcf9f2;
  color: #7a5a32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.product-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: none;
  color: #424242;
  font-size: 0.95rem;
}

.product-detail.open {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-info li {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info li:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background-color: var(--white);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #9c9c9c;
}

.error-text {
  color: #8d1f1f;
  font-size: 0.84rem;
  min-height: 1em;
}

.cta-strip {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 52px 0 0;
  margin-top: 64px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0;
  color: var(--white);
}

.footer-col h3 {
  font-size: 1.32rem;
  font-weight: 700;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-subtitle {
  margin: 4px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.footer-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.24s ease, text-decoration-color 0.24s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--caramel);
  text-decoration: underline;
  text-decoration-color: var(--caramel);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.footer-social a:hover {
  transform: scale(1.05);
  color: var(--caramel);
  border-color: var(--caramel);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0 22px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .grid-3,
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

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

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 4%;
    gap: 14px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .nav-menu.open {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 10px;
  }

  .values,
  .grid-3,
  .grid-2,
  .product-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 66vh;
  }

  .footer {
    padding-top: 44px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    padding: 16px 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
