:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2a37;
  --muted: #5b6472;
  --primary: #216571;
  --primary-soft: #e7f2f4;
  --border: #dde3ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-weight: 600;
}

.main-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero {
  padding: 3rem 0 2rem;
}

.opening-alert {
  padding: 1rem 0 0;
}

.opening-alert .container {
  background: #fff3cd;
  color: #5c4500;
  border: 1px solid #e7cd85;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.intro {
  color: var(--muted);
  max-width: 62ch;
}

.brand-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.brand-columns h2 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.brand-list {
  margin: 0;
  padding-left: 1.1rem;
}

.brand-list li {
  margin-bottom: 0.3rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1rem;
}

.contact-layout > div {
  display: flex;
  flex-direction: column;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.hp-fields {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.form-alert {
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form-alert.success {
  background: #e7f6eb;
  color: #1f6b39;
  border: 1px solid #b7e0c2;
}

.form-alert.error {
  background: #fdeced;
  color: #8b1e28;
  border: 1px solid #f3bcc2;
}

.map-panel {
  flex: 1 1 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-link {
  margin: 0.6rem 0 0;
}

.map-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-slider {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: 5s; }
.hero-slider img:nth-child(3) { animation-delay: 10s; }
.hero-slider img:nth-child(4) { animation-delay: 15s; }
.hero-slider img:nth-child(5) { animation-delay: 20s; }

@keyframes heroFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-secondary {
  color: var(--primary);
  background: var(--primary-soft);
}

.section {
  padding: 0 0 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: block;
}

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  display: block;
}

.reveal-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card,
  .reveal-card.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  background: #111827;
  color: #dbe2ea;
  padding: 2rem 0 1rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-card p + p {
  margin-top: 0.3rem;
}

.footer-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem !important;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #c9d2dc;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding-top: 0.5rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .gallery-grid,
  .brand-columns,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-slider {
    width: min(100%, 420px);
  }
}
