:root {
  --brand-red: #c8102e;
  --brand-black: #1a1a1a;
  --brand-grey: #555;
  --brand-bg: #f7f7f5;
  --brand-white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--brand-bg);
  color: var(--brand-black);
}

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

a { color: var(--brand-red); }

/* Header */
.site-header {
  background: var(--brand-white);
  border-bottom: 3px solid var(--brand-red);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-right: 8px;
}
.brand-sub {
  font-weight: 500;
  color: var(--brand-black);
}
.header-contact { display: flex; gap: 8px; }

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-call { background: var(--brand-black); color: var(--brand-white); }
.btn-wa { background: #25D366; color: var(--brand-white); }
.btn-call:hover, .btn-wa:hover { opacity: 0.88; }

/* Hero */
.hero { position: relative; overflow: hidden; aspect-ratio: 3 / 1; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); }
.hero-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 20px;
  color: var(--brand-white);
  text-align: center;
}
.hero-text h1 { margin: 0 0 8px; font-size: 2.2rem; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.hero-text p { margin: 0; font-size: 1.1rem; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* Category tabs */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 6px;
}
.cat-tab {
  background: var(--brand-white);
  border: 2px solid #ddd;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--brand-black);
  font-size: 0.9rem;
}
.cat-tab.active, .cat-tab:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}
.cat-description { color: var(--brand-grey); margin-bottom: 20px; }

/* Grid */
.gate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}
.gate-card {
  background: var(--brand-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.gate-thumb-btn {
  border: none; padding: 0; margin: 0; background: none; cursor: pointer; display: block;
}
.gate-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.gate-card-info { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.gate-number { font-weight: 800; color: var(--brand-red); font-size: 0.95rem; }
.gate-desc { color: var(--brand-grey); font-size: 0.85rem; }
.gate-wa { margin-top: 8px; font-size: 0.8rem; font-weight: 700; text-decoration: none; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 68vh; border-radius: 6px; }
.lightbox-caption { color: var(--brand-white); margin: 14px 0; text-align: center; font-size: 1.05rem; }
.lightbox-close {
  position: absolute; top: 16px; right: 24px;
  background: none; border: none; color: var(--brand-white);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* About page */
.about-page { max-width: 720px; padding-top: 30px; padding-bottom: 50px; }
.about-breadcrumb { margin-bottom: 18px; }
.about-breadcrumb a { text-decoration: none; font-weight: 600; }
.about-page h1 { margin-bottom: 6px; }
.about-lede { font-size: 1.15rem; color: var(--brand-grey); }
.about-page p { line-height: 1.6; }
.about-page h2 { margin-top: 34px; }

/* Footer */
.site-footer { background: var(--brand-black); color: var(--brand-white); margin-top: 20px; }
.footer-inner { padding: 40px 20px; }
.footer-inner h2 { margin-top: 0; }
.footer-inner a { color: var(--brand-white); text-decoration: underline; }
.footer-buttons { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom { padding: 14px 20px; border-top: 1px solid #333; font-size: 0.8rem; color: #999; }

@media (max-width: 480px) {
  .hero-text { padding: 16px; }
  .hero-text h1 { font-size: 1.4rem; margin-bottom: 4px; }
  .hero-text p { font-size: 0.9rem; }
  .gate-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .gate-thumb { height: 120px; }
}
