/* Beyya Traders — Design System */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-dark: #0f766e;
  --accent-glow: rgba(13, 148, 136, 0.2);
  --shop-orange: #f85606;
  --shop-orange-dark: #e04e00;
  --shop-orange-light: #fff3ed;
  --success: #059669;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 148, 136, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(59, 130, 246, 0.04), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(13, 148, 136, 0.04), transparent);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 0;
}

.btn-ghost:hover {
  color: var(--accent-dark);
}

.btn-ghost svg {
  transition: transform var(--transition);
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-elevated) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-text h1 .serif {
  font-style: italic;
  color: var(--accent);
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-search {
  display: flex;
  max-width: 520px;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 2px solid var(--shop-orange);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(248, 86, 6, 0.12);
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 0.875rem 1rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  outline: none;
  min-width: 0;
}

.hero-search-btn {
  background: var(--shop-orange);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.hero-search-btn:hover {
  background: var(--shop-orange-dark);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-card-title {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-card-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
  border-radius: 100px;
  font-weight: 600;
}

.chart-placeholder {
  height: 200px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08) 0%, rgba(241, 245, 249, 0.5) 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light));
  clip-path: polygon(0 100%, 5% 60%, 15% 70%, 25% 40%, 35% 50%, 45% 20%, 55% 35%, 65% 10%, 75% 25%, 85% 5%, 95% 15%, 100% 0, 100% 100%);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.product-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.product-tile:hover {
  border-color: rgba(13, 148, 136, 0.25);
  background: rgba(13, 148, 136, 0.06);
}

.product-tile-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  text-align: center;
  padding: 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius);
}

.metric-value {
  font-weight: 700;
  font-size: 1.125rem;
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Shop — Lazada-style marketplace */
.shop-section {
  background: var(--bg-elevated);
  padding-top: 3rem;
}

#products {
  background: var(--bg-elevated);
}

.shop-header {
  margin-bottom: 1.5rem;
}

.shop-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.shop-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--shop-orange);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(248, 86, 6, 0.1);
  max-width: 100%;
}

.shop-search-icon {
  margin-left: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.shop-search input {
  flex: 1;
  border: none;
  padding: 0.875rem 0.75rem;
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  min-width: 0;
}

.shop-search-btn {
  background: var(--shop-orange);
  color: #fff;
  border: none;
  padding: 0.875rem 1.75rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.shop-search-btn:hover {
  background: var(--shop-orange-dark);
}

.shop-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shop-categories::-webkit-scrollbar {
  display: none;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.shop-chip:hover {
  border-color: var(--shop-orange);
  color: var(--shop-orange);
}

.shop-chip.active {
  background: var(--shop-orange);
  border-color: var(--shop-orange);
  color: #fff;
}

.shop-chip-icon {
  font-size: 1rem;
  line-height: 1;
}

.shop-results-bar {
  margin-bottom: 1rem;
}

.shop-results-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.shop-grids {
  width: 100%;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.shop-grid:last-child {
  margin-bottom: 2.5rem;
}

.shop-grid-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shop-grid-row-3 .shop-card {
  width: 100%;
  min-width: 0;
}

.shop-grid-row-3 .shop-card-image {
  aspect-ratio: 4/3;
}

.shop-grid-row-3 .shop-card-title {
  font-size: 0.9375rem;
}

.shop-grid-row-3 .shop-card-price {
  font-size: 1.5rem;
}

.shop-grid-chainsaws {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  border-color: rgba(248, 86, 6, 0.2);
  transform: translateY(-2px);
}

.shop-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.shop-card-image {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.shop-card-media {
  position: relative;
}

.shop-card-gallery .shop-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shop-card-gallery .shop-gallery-img.is-active {
  opacity: 1;
  z-index: 1;
}

.shop-card-gallery .shop-gallery-img:only-of-type {
  position: relative;
  opacity: 1;
}

.shop-gallery-dots {
  display: none;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: var(--transition);
}

.gallery-nav-btn:hover {
  background: var(--shop-orange);
  color: #fff;
}

.gallery-nav-prev {
  left: 0.5rem;
}

.gallery-nav-next {
  right: 0.5rem;
}

.gallery-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  border-radius: 100px;
}

.gallery-thumbs {
  display: flex;
  gap: 0.375rem;
  padding: 0.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs button {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-subtle);
  transition: border-color var(--transition);
}

.gallery-thumbs button.is-active {
  border-color: var(--shop-orange);
}

.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.shop-card-image img:not(.shop-gallery-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shop-card:hover .shop-card-image img:not(.shop-gallery-img),
.shop-card:hover .shop-card-gallery .shop-gallery-img.is-active {
  transform: scale(1.03);
}

.shop-card-gallery .shop-gallery-img.is-active {
  transition: opacity 0.35s ease, transform 0.3s ease;
}

.shop-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 4;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  color: #fff;
}

.shop-tag-hot {
  background: #ff424f;
}

.shop-tag-sale {
  background: var(--shop-orange);
}

.shop-tag-pro {
  background: #1a9cb0;
}

.shop-card-body {
  padding: 0.625rem 0.75rem 0.875rem;
}

.shop-card-title {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25rem;
  color: var(--text);
}

.shop-card-spec {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--shop-orange);
  margin-bottom: 0.25rem;
}

.shop-card-stock {
  font-size: 0.6875rem;
  color: var(--success);
  font-weight: 500;
}

.shop-card-actions {
  padding: 0 0.75rem 0.875rem;
  margin-top: auto;
}

.shop-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.shop-empty.hidden {
  display: none;
}

.shop-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.shop-empty h3 {
  margin-bottom: 0.5rem;
}

.shop-empty p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.shop-empty a {
  color: var(--shop-orange);
  font-weight: 600;
}

.shop-category-browse {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.shop-browse-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.shop-browse-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.shop-browse-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  font-size: 0.8125rem;
}

.shop-browse-card span {
  font-size: 1.75rem;
  line-height: 1;
}

.shop-browse-card:hover {
  border-color: var(--shop-orange);
  box-shadow: 0 2px 8px rgba(248, 86, 6, 0.1);
  color: var(--shop-orange);
}

/* Legacy product cards (blog) */
.products-block {
  margin-bottom: 3.5rem;
}

.products-block:last-child {
  margin-bottom: 0;
}

.products-block-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-dark);
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--border);
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.product-specs li span {
  color: var(--text-muted);
}

.product-specs li strong {
  font-weight: 600;
  color: var(--text);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.product-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.btn-sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Services / Products */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.service-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.08), transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(15, 23, 42, 0.03) 20px,
      rgba(15, 23, 42, 0.03) 40px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-text {
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--accent);
  opacity: 0.5;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  margin-bottom: 0.25rem;
}

.about-feature span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-subtle), #e2e8f0);
  position: relative;
  overflow: hidden;
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.6));
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.75rem;
  background: rgba(13, 148, 136, 0.12);
  color: var(--accent-dark);
  border-radius: 100px;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Blog page */
.blog-hero {
  padding: calc(var(--header-height) + 4rem) 0 3rem;
  text-align: center;
}

.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.blog-hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--sans);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(13, 148, 136, 0.08);
}

/* Article */
.article-header {
  padding: calc(var(--header-height) + 3rem) 0 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.article-category {
  color: var(--accent);
  font-weight: 600;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-excerpt {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-cover {
  max-width: 900px;
  margin: 2rem auto;
  aspect-ratio: 21/9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-cover-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(59, 130, 246, 0.08));
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(13, 148, 136, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.article-back {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #ffffff, var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.08), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta .btn {
  position: relative;
}

/* Contact */
#contact {
  background: var(--bg-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: #ffffff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 0;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .services-grid,
  .blog-grid,
  .product-grid,
  .shop-grid,
  .shop-grid-chainsaws {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-browse-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1rem;
  }

  .services-grid,
  .blog-grid,
  .product-grid,
  .shop-grid,
  .shop-grid-chainsaws {
    grid-template-columns: 1fr;
  }

  .shop-grid-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .shop-grid-row-3 .shop-card-title {
    font-size: 0.6875rem;
    -webkit-line-clamp: 3;
    min-height: auto;
  }

  .shop-grid-row-3 .shop-card-spec {
    display: none;
  }

  .shop-grid-row-3 .shop-card-price {
    font-size: 0.8125rem;
  }

  .shop-grid-row-3 .gallery-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .shop-grid-row-3 .gallery-thumbs button {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .shop-browse-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .hero-search-btn {
    width: 100%;
    padding: 0.875rem;
  }

  .shop-search {
    flex-wrap: wrap;
  }

  .shop-search input {
    width: 100%;
    flex: 1 1 100%;
    padding-left: 1rem;
  }

  .shop-search-icon {
    display: none;
  }

  .shop-search-btn {
    flex: 1;
    width: 100%;
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .gallery-thumbs button {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta {
    padding: 2.5rem 1.5rem;
  }
}
