/* MobilX — global styles */

:root {
  --ink: #1a1a1a;
  --accent: #b8875f;
  --accent-dark: #a07650;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .04);
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 76px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--ink); }
p { margin: 0; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-x { color: var(--accent); }
.brand-light { color: #fff; }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-weight: 500;
  color: #374151;
  padding: 6px 2px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { background: #f3f4f6; }

/* mobile menu open state — added via JS */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0; right: 0;
  top: var(--nav-h);
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 20px 18px;
  gap: 4px;
}
.nav-open .nav-links a {
  padding: 10px 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .05s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: #f5f5f5; }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: linear-gradient(to bottom, #fafafa, #fff);
}
.hero-inner { text-align: center; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section base ---------- */

.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-soft);
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- Categories ---------- */

.cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  /* not interactive — no cursor change */
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.about-grid > div > p {
  color: #374151;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.stat {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  color: var(--muted);
  font-weight: 500;
}

.about-visual { display: flex; justify-content: center; }
.about-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  background: linear-gradient(135deg, var(--accent), var(--ink));
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}
.about-emoji {
  font-size: 3.4rem;
  margin-bottom: 12px;
}
.about-card p {
  font-size: 1.3rem;
  font-weight: 600;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.gallery figure:hover { box-shadow: var(--shadow-md); }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Contact ---------- */

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

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-card { padding: 32px; }

/* honeypot — hidden from humans, visible to bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: #374151;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 14px;
  padding: 0;
  font-size: .95rem;
  min-height: 1.2em;
}
.form-status.is-success {
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.form-status.is-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
}
.info-icon {
  flex-shrink: 0;
  background: rgba(184, 135, 95, .12);
  color: var(--accent);
  padding: 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
}
.info-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.info-item p { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #d1d5db;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-title {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: #9ca3af;
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }
.muted { color: #9ca3af; margin-top: 12px; }

.social { display: flex; gap: 10px; }
.social a {
  background: rgba(255, 255, 255, .08);
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  transition: background-color .2s;
}
.social a:hover { background: var(--accent); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 22px;
  text-align: center;
  color: #9ca3af;
  font-size: .92rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

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

  .section { padding: 60px 0; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }

  .hero-actions .btn { width: 100%; }
}
