/* ===== Reset & Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6d1f4a;
  --primary-dark: #571739;
  --primary-light: #8a2a5e;
  --text: #333;
  --text-light: #666;
  --bg-light: #f7f5f3;
  --border: #e5e0dc;
  --white: #ffffff;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero-image img,
.about-image img,
.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn,
.logo-placeholder,
.all-categories,
.categories-dropdown,
.cart-count,
.hero-image,
.about-image,
.category-card,
.why-image,
.product-card,
.product-image,
.product-badge,
.tips-image,
.features-bar,
.article-card,
.article-image,
.footer-logo,
.placeholder-text {
  border-radius: 3px;
}

/* ===== Placeholder ===== */
.placeholder-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e8e4e0;
  color: #999;
  font-size: 13px;
  min-height: 100%;
}

/* ===== Header ===== */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }

.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: flex-end; }
.top-nav a {
  color: var(--white);
  margin-left: 22px;
  font-size: 11px;
}
.top-nav a:hover { opacity: 0.8; }

.main-header { padding: 20px 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.logo-placeholder {
  display: inline-block;
  padding: 8px 18px;
  background: #e8e4e0;
  color: #999;
  font-size: 12px;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-links {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.primary-links a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.primary-links a:hover { color: var(--primary); }
.all-categories {
  position: relative;
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 22px;
  font-size: 15px;
  cursor: pointer;
}
.all-categories::after {
  content: "▾";
  margin-left: 10px;
  font-size: 10px;
}
.categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  color: var(--text);
  min-width: 280px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  padding: 8px 0;
  display: none;
  z-index: 50;
}
.all-categories:hover .categories-dropdown { display: block; }
.categories-dropdown li {
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
}
.categories-dropdown li:hover { background: var(--bg-light); color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 260px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-content h1 {
  font-size: 55px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 800px;
}
.hero-content p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 800px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; padding: 10px; font-size: 13px; }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--primary); }

/* ===== Section common ===== */
section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
}
.eyebrow {
  display: inline-block;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}
.eyebrow-light { color: var(--white); opacity: 0.85; }

/* ===== About ===== */
.about-section { background: #f7f7f7; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { font-size: 30px; font-weight: 400; margin-bottom: 18px; color: var(--text); }
.about-text p { color: var(--text-light); margin-bottom: 22px; }
.features-section {
  background: var(--primary);
  color: var(--white);
  padding: 0;
}
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 35px 0;
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  justify-content: center;
}
.feature-item svg {
  flex-shrink: 0;
  stroke: var(--white);
}
.about-image {
  height: 320px;
  background: #e8e4e0;
}

/* ===== Top Categories ===== */
.top-categories { background: var(--white); padding: 110px 0; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: #d4a574;
  aspect-ratio: 3 / 4;
}
.category-card .placeholder-text { background: #d4a574; color: #fff8ef; }
.category-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

/* ===== Why Us ===== */
.why-us { background: var(--primary); color: var(--white); padding: 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 380px;
}
.why-image { background: #d9d4cf; }
.why-image .placeholder-text { height: 100%; }
.why-content { padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; }
.why-content h2 { font-size: 30px; font-weight: 400; margin-bottom: 16px; }
.why-content p { margin-bottom: 22px; opacity: 0.95; font-size: 16px; }
.why-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 16px;
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--white);
  font-weight: 700;
}

/* ===== Products ===== */
.products-section { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  border: 1px solid var(--border);
  padding: 14px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  padding: 3px 8px;
  z-index: 2;
}
.product-image {
  height: 160px;
  background: #e8e4e0;
  margin-bottom: 12px;
  overflow: hidden;
}
.product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  min-height: 38px;
  line-height: 1.4;
}
.product-price {
  font-size: 14px;
  margin-bottom: 12px;
}
.old-price {
  text-decoration: line-through;
  color: var(--text-light);
  margin-right: 6px;
}
.new-price { color: var(--primary); font-weight: 700; }

/* ===== Tips ===== */
.tips-section { background: #f7f7f7; }
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.tips-image {
  height: 220px;
  background: #e8e4e0;
  margin-bottom: 20px;
}
.tips-left h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.tips-left p { color: var(--text-light); font-size: 14px; }
.tips-title {
  font-size: 22px;
  margin-bottom: 22px;
  text-align: center;
  color: var(--text);
}
.tip-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.tip-item:last-child { border-bottom: none; }
.tip-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--primary);
}
.tip-item p { font-size: 14px; color: var(--text-light); }

/* ===== Renovation banner ===== */
.renovation-banner {
  background: var(--primary);
  color: var(--white);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.renovation-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.06) 49%, rgba(255,255,255,0.06) 51%, transparent 51%);
  background-size: 60px 60px;
  pointer-events: none;
}
.renovation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}
.renovation-text { flex: 1; }
.renovation-text h2 { font-size: 30px; font-weight: 400; margin-bottom: 10px; }
.renovation-text p { font-size: 14px; opacity: 0.95; max-width: 700px; }

/* ===== Articles ===== */
.articles-section { background: #f7f7f7; }
.article-filters {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.filter-link {
  font-size: 14px;
  padding-bottom: 4px;
  color: var(--text-light);
}
.filter-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}
.article-image { height: 180px; background: #e8e4e0; }
.article-body { padding: 20px; }
.article-category {
  display: inline-block;
  font-size: 11px;
  color: var(--primary);
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

/* ===== Contact CTA ===== */
.contact-cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  opacity: 0.6;
}
.contact-cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.contact-cta h2 { font-size: 26px; margin-bottom: 16px; }
.contact-cta p { font-size: 14px; margin-bottom: 24px; opacity: 0.95; }
.contact-cta .btn { background: var(--white); color: var(--primary); border-color: var(--white); }
.contact-cta .btn:hover { background: transparent; color: var(--white); }

/* ===== Footer ===== */
.site-footer { background: #f0ece8; color: var(--text); padding-top: 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 60px;
  width: 140px;
  background: #e8e4e0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-col a { color: var(--text-light); }
.footer-col a:hover { color: var(--primary); }
.contact-list li { color: var(--text-light); }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .why-grid, .tips-grid, .renovation-inner { grid-template-columns: 1fr; }
  .renovation-inner { display: block; }
  .renovation-text { margin-bottom: 18px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .features-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { height: 60vh; }
  .hero-content h1 { font-size: 36px; }
  .why-content { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .top-nav a { margin-left: 12px; font-size: 10px; }
  .header-inner { flex-wrap: wrap; gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-bar { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-content { padding-top: 90px; }
}

/* ===== Shop page ===== */
.page-banner,
.shop-banner {
  background: var(--bg-light);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-banner h1,
.shop-banner h1 {
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.breadcrumb .current { color: var(--primary); }

.shop-section { padding: 50px 0 80px; }
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar .widget {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.shop-sidebar .widget:last-child { border-bottom: none; }
.widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.widget-search {
  display: flex;
  border: 1px solid var(--border);
  background: var(--white);
}
.widget-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
}
.widget-search button {
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 0 14px;
  cursor: pointer;
}
.widget-search button:hover { background: var(--primary-dark); }

.category-list { font-size: 14px; }
.category-list > li { margin-bottom: 6px; }
.category-list a {
  display: block;
  padding: 6px 0;
  color: var(--text);
  transition: color 0.15s, padding 0.15s;
}
.category-list a:hover { color: var(--primary); padding-left: 4px; }
.category-list ul {
  margin: 4px 0 8px 14px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.category-list ul a {
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 0;
}

.price-filter .price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.price-filter input[type="number"] {
  flex: 1;
  width: 100%;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.price-filter input[type="number"]:focus { border-color: var(--primary); }
.price-filter .price-inputs span { color: var(--text-light); }
.price-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price-actions .btn {
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.price-range {
  font-size: 12px;
  color: var(--text-light);
}

/* Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.result-count {
  font-size: 14px;
  color: var(--text-light);
}
.sort-select {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.sort-select:focus { border-color: var(--primary); }

/* Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.shop-grid .product-card { padding: 16px; }
.shop-grid .product-image { height: 210px; }
.shop-grid .product-name { font-size: 14px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}
.page-num, .page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  color: var(--text);
  transition: all 0.15s;
}
.page-num:hover, .page-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.page-num.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 700;
}
.page-dots {
  padding: 0 6px;
  color: var(--text-light);
}

.primary-links a.active { color: var(--primary); }

@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-banner h1, .page-banner h1 { font-size: 26px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ===== Image fitting inside card slots ===== */
.product-image img,
.article-image img,
.tips-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-logo { background: transparent; padding: 0; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Category cards: background image + dark overlay so labels stay legible */
.category-card { background-size: cover; background-position: center; }
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
  transition: background 0.25s ease;
}
.category-card:hover::before {
  background: linear-gradient(to top, rgba(109,31,74,0.7) 0%, rgba(109,31,74,0.25) 60%, rgba(109,31,74,0.1) 100%);
}
.category-card .category-label { z-index: 2; }

/* ===== About page ===== */
.about-intro { padding: 70px 0; }
.about-intro .about-image { height: 380px; }

.timeline-section { background: var(--bg-light); }
.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  text-align: right;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  padding-top: 2px;
}
.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 26px;
  position: relative;
  border-radius: 3px;
}
.timeline-content::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-light);
}
.timeline-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.timeline-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.stats-section {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== Contact page ===== */
.contact-intro { padding: 70px 0 30px; text-align: center; }
.contact-intro-inner { max-width: 720px; margin: 0 auto; }
.contact-intro h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 14px;
}
.contact-intro p { color: var(--text-light); }

.contact-info-section { padding: 30px 0 60px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.contact-card a { color: var(--text-light); }
.contact-card a:hover { color: var(--primary); }

.contact-form-section { background: var(--bg-light); padding: 70px 0; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-form-wrap h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
}
.contact-form-wrap > p {
  color: var(--text-light);
  margin-bottom: 28px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-form label span { color: var(--primary); }
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { margin-top: 8px; }

.contact-map {
  min-height: 460px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #e8e4e0;
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; }

@media (max-width: 960px) {
  .timeline::before { left: 80px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 24px; }
  .timeline-year { font-size: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-year { text-align: left; }
  .timeline-content::before { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-intro h2 { font-size: 24px; }
}
