@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #15232E;
  --primary-dark: #0E171F;
  --primary-light: #243746;
  --accent: #C4A574;
  --accent-hover: #B08F5C;
  --accent-soft: rgba(196, 165, 116, 0.14);
  --fern: #3E6B52;
  --fern-soft: rgba(62, 107, 82, 0.1);
  --bg-main: #E8EEF0;
  --bg-card: #ffffff;
  --bg-dark: #15232E;
  --text-main: #1A242C;
  --text-muted: #5A6A74;
  --text-light: #E8EEF0;
  --border: #D2DBE0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(21, 35, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(21, 35, 46, 0.1);
  --shadow-lg: 0 20px 40px rgba(14, 23, 31, 0.16);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar {
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar-inner span,
.top-bar-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(232, 238, 240, 0.92);
}

.top-bar-inner a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(232, 238, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21, 35, 46, 0.08);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo img {
  width: 42px;
  height: 42px;
}

.brand-logo span {
  color: var(--fern);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fern);
  transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-cta {
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--fern);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary:hover {
  background: #335844;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.hero-section {
  position: relative;
  padding: 100px 0 140px;
  background: linear-gradient(135deg, rgba(21, 35, 46, 0.9), rgba(62, 107, 82, 0.55)), url('../img/hero_bg.webp');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(196, 165, 116, 0.2);
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--fern);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary), #243746);
  color: #ffffff;
  padding: 60px 0;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(62, 107, 82, 0.4);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fern);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--fern);
  color: #ffffff;
  border-color: var(--fern);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 35, 46, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-main);
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  color: #ffffff;
}

.modal-header-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-content-inner {
  padding: 36px;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.modal-price-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.modal-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.modal-features {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.modal-features li i {
  color: var(--fern);
}

.about-feature-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.about-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--fern-soft);
  color: var(--fern);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--fern);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(62, 107, 82, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.legal-content {
  background: #ffffff;
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.legal-content p, .legal-content ul, .legal-content ol {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
}

.legal-content a {
  color: var(--fern);
  text-decoration: underline;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 16px;
  max-width: 340px;
  font-size: 0.95rem;
}

.footer-company p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.footer-heading {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

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

.footer-disclaimer-box {
  background: rgba(196, 165, 116, 0.1);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
}

.footer-disclaimer-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .header-inner {
    height: 70px;
  }
  .main-nav {
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }
  .main-nav.active {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title, .page-hero h1 {
    font-size: 2.3rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .legal-content {
    padding: 28px 20px;
  }
  .modal-features {
    grid-template-columns: 1fr;
  }
}
