/* =============================================
   Zosemax Fireplaces Experts – MAIN STYLESHEET
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0d0d0d;
  --carbon:   #141414;
  --charcoal: #1e1c1a;
  --ash:      #2a2724;
  --fire-yellow: #f5a623;
  --fire-orange: #e8621a;
  --fire-red:    #c0392b;
  --fire-glow:   #ff6b00;
  --cream:    #f5f0e8;
  --text-muted: #9e9688;
  --white:    #ffffff;
  --radius:   12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire-orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.55);
}
.btn-primary.full-width { width: 100%; justify-content: center; font-size: 1rem; padding: 1.1rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--cream);
  font-weight: 500; font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(245,240,232,0.25);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--fire-orange); color: var(--fire-orange); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(245,166,35,0.12);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); font-weight: 700; }
.logo-accent { color: var(--fire-orange); }

.nav-links {
  display: flex; list-style: none;
  gap: 2rem; margin: 0 auto;
}
.nav-links a {
  color: rgba(245,240,232,0.8); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--fire-orange);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switcher { display: flex; align-items: center; gap: 0.3rem; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
  padding: 0.2rem 0.4rem; border-radius: 4px;
  transition: color 0.2s;
}
.lang-btn.active, .lang-btn:hover { color: var(--fire-orange); }
.lang-sep { color: var(--text-muted); font-size: 0.8rem; }

.nav-cta {
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black); font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 1.4rem; border-radius: 50px;
  text-decoration: none; transition: var(--transition);
  box-shadow: 0 2px 12px rgba(245,166,35,0.3);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,166,35,0.5); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 650px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.88) 0%,
    rgba(13,13,13,0.65) 50%,
    rgba(13,13,13,0.35) 100%
  );
}
.hero-embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-content {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  padding-top: 5rem;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fire-yellow); margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white); margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.4s both;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-size: 1.1rem; color: rgba(245,240,232,0.8);
  max-width: 500px; margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.6s both;
}
.hero-cta-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s both;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex; gap: 0; align-items: center;
  animation: fadeUp 0.8s 1s both;
}
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--fire-yellow);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(245,240,232,0.15);
  margin: 0 2rem;
}
.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-indicator span {
  display: block; width: 24px; height: 38px;
  border: 2px solid rgba(245,240,232,0.3); border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: var(--fire-orange); border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { top: 6px; opacity: 1; } 100% { top: 22px; opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- SERVICES ---------- */
.services { background: var(--carbon); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--charcoal);
  border: 1px solid rgba(245,240,232,0.06);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,166,35,0.06), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(232,98,26,0.35); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: rgba(245,166,35,0.4);
  background: linear-gradient(160deg, var(--ash), var(--charcoal));
}
.service-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black); font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 50px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.service-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(245,166,35,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon-wrap { background: rgba(245,166,35,0.18); }
.service-icon { width: 32px; height: 32px; color: var(--fire-orange); }
.service-title { font-size: 1.25rem; color: var(--white); margin-bottom: 0.25rem; }
.service-type { font-size: 0.78rem; color: var(--fire-yellow); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--fire-orange); text-decoration: none; transition: gap 0.2s; display: inline-flex; gap: 0.3rem; }
.service-link:hover { color: var(--fire-yellow); }

/* ---------- AI SECTION ---------- */
.ai-section {
  background: linear-gradient(135deg, #1a0800, #200e00, #0d0d0d);
  position: relative; overflow: hidden;
  padding: 6rem 1.5rem;
}
.ai-embers { position: absolute; inset: 0; pointer-events: none; }
.ai-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.ai-badge {
  display: inline-block; background: rgba(245,166,35,0.15);
  color: var(--fire-yellow); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(245,166,35,0.3);
  padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1.2rem;
}
.ai-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 1rem; }
.ai-subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.ai-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.ai-btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: #000;
  font-weight: 700; font-size: 0.9rem; padding: 0.85rem 1.8rem;
  border-radius: 50px; text-decoration: none; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.ai-btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }

.ai-btn-call {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--cream);
  font-weight: 600; font-size: 0.9rem; padding: 0.85rem 1.8rem;
  border-radius: 50px; text-decoration: none;
  border: 1.5px solid rgba(245,240,232,0.25);
  transition: var(--transition);
}
.ai-btn-call:hover { border-color: var(--fire-orange); color: var(--fire-orange); }
.ai-btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* AI Chat Mock */
.ai-chat-mock {
  background: var(--charcoal);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.chat-header {
  background: var(--ash); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  border-bottom: 1px solid rgba(245,166,35,0.1);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.chat-name { display: block; font-weight: 600; font-size: 0.95rem; color: var(--white); }
.chat-status { font-size: 0.75rem; color: #4cde80; }
.chat-messages { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 180px; }
.chat-msg {
  max-width: 80%; padding: 0.65rem 1rem;
  border-radius: 16px; font-size: 0.87rem; line-height: 1.5;
}
.chat-msg.bot { background: var(--ash); color: var(--cream); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user {
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black); font-weight: 500;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-typing {
  display: flex; gap: 5px; align-items: center; padding: 0.5rem 0;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--fire-orange); opacity: 0.6;
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-5px); opacity: 1; } }

/* ---------- GALLERY ---------- */
.gallery { background: var(--black); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85), transparent 55%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; align-items: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.88rem; font-weight: 500; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--carbon); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--charcoal);
  border: 1px solid rgba(245,240,232,0.06);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(245,166,35,0.2); transform: translateY(-4px); }
.test-stars { color: var(--fire-yellow); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.test-text { color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 0.9rem; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--fire-red), var(--fire-orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--white);
}
.test-name { font-weight: 600; font-size: 0.95rem; color: var(--white); }
.test-location { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- CONTACT ---------- */
.contact { background: var(--black); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-desc { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 0.97rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 0.9rem; color: var(--cream); font-size: 0.95rem; }
.contact-icon { width: 20px; height: 20px; color: var(--fire-orange); flex-shrink: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
input, select, textarea {
  background: var(--charcoal);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius);
  color: var(--cream); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none; width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(158,150,136,0.5); }
input:focus, select:focus, textarea:focus {
  border-color: var(--fire-orange);
  box-shadow: 0 0 0 3px rgba(232,98,26,0.15);
}
select { appearance: none; cursor: pointer; }
select option { background: var(--charcoal); }
textarea { resize: vertical; min-height: 110px; }
.form-success {
  background: rgba(76,222,128,0.1); border: 1px solid rgba(76,222,128,0.3);
  color: #4cde80; padding: 1rem; border-radius: var(--radius);
  text-align: center; font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--carbon);
  border-top: 1px solid rgba(245,166,35,0.1);
  padding: 3rem 1.5rem;
}
.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-tagline { font-size: 0.83rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--fire-orange); }
.footer-copy { font-size: 0.78rem; color: rgba(158,150,136,0.5); }

/* ---------- EMBERS ANIMATION ---------- */
.ember {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--fire-yellow), var(--fire-orange));
  pointer-events: none; animation: floatEmber linear infinite;
  opacity: 0;
}
@keyframes floatEmber {
  0%   { opacity: 0; transform: translate(0,0) scale(1); }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .ai-container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(13,13,13,0.98); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(245,166,35,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
}
@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .ai-buttons { flex-direction: column; }
  .section-container { padding: 4rem 1.25rem; }
}

/* =============================================
   MULTI-PAGE ADDITIONS
   ============================================= */

/* --- Active nav link --- */
.nav-links a.active-link { color: var(--fire-orange); }
.nav-links a.active-link::after { transform: scaleX(1); }

/* --- Inner page hero (40vh) --- */
.inner-hero {
  position: relative; height: 42vh; min-height: 320px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #1a0600, #0d0d0d);
  overflow: hidden;
}
.inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.5) 100%);
  z-index: 1;
}
.inner-hero-content {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 3rem;
  width: 100%;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--fire-orange); text-decoration: none; }
.breadcrumb a:hover { color: var(--fire-yellow); }
.inner-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white);
  animation: fadeUp 0.7s 0.1s both;
}
.inner-hero-sub {
  color: rgba(245,240,232,0.7); font-size: 1rem; margin-top: 0.6rem;
  animation: fadeUp 0.7s 0.25s both;
}

/* --- New Footer (multi-column) --- */
.footer { background: var(--carbon); border-top: 1px solid rgba(245,166,35,0.1); padding: 4rem 1.5rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 4rem; margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,0.07);
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition);
  text-decoration: none;
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { border-color: var(--fire-orange); color: var(--fire-orange); background: rgba(232,98,26,0.08); }

.footer-links-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fire-yellow); margin-bottom: 0.25rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(158,150,136,0.5); }
.footer-legal { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; color: rgba(158,150,136,0.4); }
.footer-legal a { color: rgba(158,150,136,0.5); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-muted); }

/* --- Reveal animation --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* --- Blog Cards --- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.06);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(232,98,26,0.25); }
.blog-card-img { height: 220px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-cat {
  position: absolute; top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black); font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em;
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-card-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); line-height: 1.3; }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.blog-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 600; color: var(--fire-orange);
  text-decoration: none; margin-top: 0.5rem; transition: gap 0.2s;
}
.blog-card-link:hover { gap: 0.7rem; color: var(--fire-yellow); }

/* Blog post content */
.post-content { max-width: 780px; margin: 0 auto; }
.post-content h2 { font-size: 1.7rem; color: var(--white); margin: 2.5rem 0 1rem; }
.post-content p  { color: var(--text-muted); line-height: 1.9; margin-bottom: 1.2rem; }
.post-content ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1.2rem; line-height: 1.9; }
.post-content strong { color: var(--cream); }

/* --- Gallery filter buttons --- */
.gallery-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.1);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1.25rem; border-radius: 50px; cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  border-color: transparent; color: var(--black);
}

/* --- FAQ Accordion --- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.07);
  border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(232,98,26,0.3); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 1.5rem; cursor: pointer; gap: 1rem;
}
.faq-question span { font-weight: 600; color: var(--white); font-size: 0.97rem; }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(245,166,35,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--fire-orange); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.5rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.5rem 1.3rem; }

/* --- About Timeline --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--fire-yellow), var(--fire-red));
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--fire-orange); border: 2px solid var(--black);
  box-shadow: 0 0 0 3px rgba(232,98,26,0.3);
}
.timeline-year { font-size: 0.78rem; font-weight: 700; color: var(--fire-yellow); letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.timeline-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* --- Values grid --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.value-card {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.06);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); border-color: rgba(245,166,35,0.2); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 0.6rem; }
.value-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* --- Process steps --- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; counter-reset: steps; }
.process-step { position: relative; text-align: center; counter-increment: steps; }
.process-step::before {
  content: counter(steps); display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
  color: var(--black); font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
}
.process-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.process-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* --- Admin Panel --- */
.admin-page { background: var(--black); min-height: 100vh; padding-top: 80px; }
.admin-login {
  max-width: 420px; margin: 6rem auto; padding: 3rem;
  background: var(--charcoal); border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-lg);
}
.admin-login h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 0.5rem; }
.admin-login p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }
.admin-dashboard { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.admin-topbar h1 { font-size: 1.8rem; color: var(--white); }
.btn-danger {
  background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.4);
  color: #e74c3c; font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 1.2rem; border-radius: 8px; cursor: pointer; transition: var(--transition);
}
.btn-danger:hover { background: rgba(192,57,43,0.3); }
.posts-table { width: 100%; border-collapse: collapse; }
.posts-table th {
  text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.posts-table td { padding: 1rem; border-bottom: 1px solid rgba(245,240,232,0.05); color: var(--cream); font-size: 0.9rem; vertical-align: middle; }
.posts-table tr:hover td { background: rgba(245,166,35,0.04); }
.status-badge {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
}
.status-published { background: rgba(76,222,128,0.12); color: #4cde80; }
.status-draft { background: rgba(158,150,136,0.12); color: var(--text-muted); }
.admin-editor {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.07);
  border-radius: var(--radius-lg); padding: 2rem; margin-top: 2rem;
}
.editor-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.admin-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.93); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-content { max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-content img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,0.7); width: auto; height: auto; }
.lb-caption { color: var(--cream); font-size: 0.95rem; text-align: center; }
.lb-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
  color: var(--fire-yellow); width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lb-close:hover { background: var(--fire-orange); color: #000; }
.lb-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.25);
  color: var(--fire-yellow); width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lb-arrow:hover { background: var(--fire-orange); color: #000; }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* --- Pagination --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 3rem; flex-wrap: wrap; }
.page-btn {
  background: var(--charcoal); border: 1px solid rgba(245,240,232,0.1);
  color: var(--text-muted); padding: 0.55rem 1.1rem; border-radius: 8px;
  cursor: pointer; font-size: 0.88rem; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--fire-orange); border-color: var(--fire-orange); color: var(--black); font-weight: 700; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* --- Gallery nav --- */
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.gallery-nav-btn {
  background: var(--charcoal); border: 1px solid rgba(245,166,35,0.25);
  color: var(--fire-orange); font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.4rem; border-radius: 50px; cursor: pointer; transition: var(--transition);
}
.gallery-nav-btn:hover { background: var(--ash); border-color: var(--fire-orange); }
.gallery-counter { color: var(--text-muted); font-size: 0.85rem; }

/* --- Responsive additions --- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links-grid { grid-template-columns: repeat(2,1fr); }
  .editor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-links-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Logo Styles */
.logo-img { max-height: 60px; width: auto; object-fit: contain; }
.logo-img-footer { max-height: 80px; width: auto; object-fit: contain; border-radius: 4px; }

