:root {
  --bg: #FFF5E2;
  --accent: #1a98d3;
  --dark: #404E59;
  --dark-soft: #5e6d78;
  --line: rgba(64, 78, 89, 0.14);
  --panel: rgba(255, 255, 255, 0.58);
  --shadow: 0 20px 60px rgba(64, 78, 89, 0.08);

  --font-body: "Open Sans", system-ui, sans-serif;
  --font-head: "Montserrat", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- LOGO & CONTAINER GAP FIX --- */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  padding: 1.5rem 0 0; /* Reduced top/bottom padding to fix the gap */
}

.topbar-brand {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.topbar-logo {
  height: auto;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--dark);
}

.section {
  padding: 5.5rem 0;
}

.section-panel .page-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 3.5rem 2rem;
  backdrop-filter: blur(6px);
}

/* --- HERO SECTION --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  /* Removed the large VH height to reduce vertical gap */
  min-height: auto;
  padding: 2rem 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  color: var(--dark);
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6rem);
  max-width: 12ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.hero-text {
  max-width: 32rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  color: var(--dark-soft);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.btn-primary-custom {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(64,78,89,0.2);
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(64,78,89,0.12);
}

/* --- GALLERY & INFO --- */
.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-masonry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 760px;
  margin: 0 auto;
}

.gallery-item {
  flex: 0 0 140px;
  width: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 35px rgba(64, 78, 89, 0.08);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.info-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  /* Logo jumps to center */
  .topbar-brand {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1, .hero-text, .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    display: flex;
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}