/* ==========================================================================
   Armora Tedarik — Design tokens
   ========================================================================== */
:root {
  --bg-deep: #14110D;
  --bg-panel: #1D1811;
  --bg-panel-2: #241D14;
  --bg-light: #F3EEE3;
  --bg-light-2: #EAE2D0;

  --text-on-dark: #F1E9D8;
  --text-on-dark-muted: #B9AF98;
  --text-on-light: #221C13;
  --text-on-light-muted: #6B6153;

  --gold: #C79A4B;
  --gold-bright: #E4C179;
  --gold-deep: #8C6425;
  --line-on-dark: rgba(199, 154, 75, 0.28);
  --line-on-light: rgba(140, 100, 37, 0.28);

  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1B1408;
}
.btn-gold:hover { background: linear-gradient(180deg, #EFCB8E, var(--gold-bright)); }

.btn-outline-dark {
  border-color: var(--line-on-dark);
  color: var(--text-on-dark);
}
.btn-outline-dark:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-outline-light {
  border-color: var(--line-on-light);
  color: var(--text-on-light);
}
.btn-outline-light:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 17, 13, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-on-dark);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark);
}
.brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
}
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-on-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-panel);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 2px;
}
.nav-dropdown-panel a:hover { background: rgba(199,154,75,0.1); color: var(--gold-bright); }
.nav-dropdown-panel a::after { display: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  font-size: 14px;
  color: var(--text-on-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  color: var(--text-on-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg-panel);
    padding: 14px 28px 22px;
    border-bottom: 1px solid var(--line-on-dark);
  }
  .site-header.nav-open .nav-dropdown-panel {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    background: none;
    border: none;
    padding: 0 0 0 12px;
    display: none;
  }
  .site-header.nav-open .nav-dropdown.open .nav-dropdown-panel { display: block; }
  .nav-links a { padding: 10px 0; width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 78% 20%, #241C10 0%, var(--bg-deep) 55%);
  color: var(--text-on-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--line-on-dark);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 108px 0 96px;
  max-width: 640px;
}
.hero-eyebrow {
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  animation: rise 0.7s ease both;
}
.hero-lede {
  font-size: 18px;
  color: var(--text-on-dark-muted);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-emblem {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 46vw;
  opacity: 0.16;
  filter: grayscale(15%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero-emblem { display: none; }
  .hero-inner { padding: 72px 0 64px; max-width: 100%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* smaller page hero, used on interior pages */
.page-hero {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 64px 0;
}
.page-hero .crumb {
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  margin-bottom: 14px;
}
.page-hero .crumb a:hover { color: var(--gold-bright); }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.page-hero p { color: var(--text-on-dark-muted); max-width: 560px; font-size: 16.5px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--bg-deep); color: var(--text-on-dark); }
.section-panel { background: var(--bg-panel); color: var(--text-on-dark); }
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-light-2 { background: var(--bg-light-2); color: var(--text-on-light); }

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section-dark .kicker, .section-panel .kicker { color: var(--gold-bright); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { color: var(--text-on-light-muted); font-size: 16.5px; }
.section-dark .section-head p, .section-panel .section-head p { color: var(--text-on-dark-muted); }

.divider {
  width: 46px; height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 26px;
}
.section-head.center .divider { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Category cards (home)
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
.category-card {
  background: var(--bg-light);
  padding: 40px 34px;
  transition: background 0.2s ease;
}
.category-card:hover { background: var(--bg-light-2); }
.category-icon {
  width: 46px; height: 46px;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.category-card h3 { font-size: 21px; margin-bottom: 10px; }
.category-card p {
  color: var(--text-on-light-muted);
  font-size: 15px;
  margin-bottom: 20px;
}
.category-card .link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-card:hover .link-arrow { color: var(--gold); }

@media (max-width: 860px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why-choose list
   ========================================================================== */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.reason {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 22px;
}
.section-light .reason, .section-light-2 .reason { border-top-color: var(--line-on-light); }
.reason h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}
.reason p {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  margin: 0;
}
.section-light .reason p, .section-light-2 .reason p { color: var(--text-on-light-muted); }

@media (max-width: 700px) {
  .reasons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step .step-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-on-dark-muted); margin: 0; }

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product grid (category pages)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border: 1px solid var(--line-on-light);
  background: var(--bg-light);
  padding: 0;
  overflow: hidden;
}
.product-photo {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #E7DEC9, #E7DEC9 10px, #EFE8D8 10px, #EFE8D8 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid var(--line-on-light);
}
.product-body { padding: 24px 24px 28px; }
.product-body h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.3; }
.product-body p { font-size: 14.5px; color: var(--text-on-light-muted); margin: 0 0 14px; }
.product-price {
  display: inline-block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-deep);
  border-top: 1px solid var(--line-on-light);
  padding-top: 14px;
  width: 100%;
}
.product-price .unit {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-on-light-muted);
  margin-left: 4px;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-photo.has-photo {
  padding: 0;
  background: #fff;
  aspect-ratio: 1 / 1;
}

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--bg-panel);
  color: var(--text-on-dark);
  padding: 64px 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cta-band p { color: var(--text-on-dark-muted); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.contact-method {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-on-light);
}
.contact-method:last-child { border-bottom: 1px solid var(--line-on-light); }
.contact-method-icon {
  width: 22px; height: 22px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-method h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-method p { margin: 0; color: var(--text-on-light-muted); font-size: 15px; }
.contact-method a:hover { color: var(--gold-deep); }

.contact-panel {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 40px;
  border: 1px solid var(--line-on-dark);
}
.contact-panel h3 { font-size: 20px; margin-bottom: 12px; }
.contact-panel p { color: var(--text-on-dark-muted); font-size: 15px; margin-bottom: 26px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  color: var(--text-on-dark-muted);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.footer-brand-name { font-family: var(--serif); color: var(--text-on-dark); font-size: 17px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
