/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #050816 0, #05010d 40%, #020008 100%);
  color: #f7f7ff;
  line-height: 1.6;
}
.section { padding: 4rem 7vw; }
.section-alt { background: rgba(255,255,255,0.02); }
.section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.section-intro { max-width: 42rem; opacity: 0.95; margin-bottom: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 7vw; backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(3,3,15,0.9), rgba(3,3,15,0.6), transparent);
}
.logo { text-decoration: none; color: inherit; }
.logo-main { font-weight: 800; letter-spacing: 0.05em; font-size: 1.2rem; text-transform: uppercase; }
.logo-main span { color: #7cf4ff; }
.logo-tagline { display: block; font-size: 0.75rem; opacity: 0.75; }

/* Nav & dropdown */
.main-nav a,
.main-nav button.dropdown-toggle {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #e8e9ff;
  opacity: 0.85;
  background: none;
  border: 0;
  cursor: pointer;
}
.main-nav a:hover,
.main-nav button.dropdown-toggle:hover { opacity: 1; }

.nav-dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: 100%; right: 0;
  min-width: 220px; padding: .4rem;
  display: none;
  background: rgba(10,8,30,0.98);
  border: 1px solid rgba(124,244,255,0.25);
  border-radius: .6rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: .5rem .6rem; border-radius: .4rem; color: #e8e9ff; text-decoration: none;
}
.dropdown-menu a:hover { background: rgba(124,244,255,0.12); }

/* Hero */
.hero {
  padding: 5rem 7vw 4rem; display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1.5fr); gap: 3rem; align-items: center;
}
.hero-text h1 { font-size: clamp(2.4rem, 4vw, 3rem); margin-bottom: 1rem; }
.hero-accent { display: inline-block; background: linear-gradient(120deg, #ff7de9, #7cf4ff, #ffd85e);
  -webkit-background-clip: text; color: transparent; }
.hero-text p { max-width: 32rem; opacity: 0.85; }
.hero-actions { margin: 1.75rem 0 0.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn.big { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn.primary { background: radial-gradient(circle at top left, #ff7de9, #7a5cff); border-color: transparent; color: #05020a; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.btn.primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,.75); }
.btn.ghost { background: transparent; color: #e8e9ff; }
.hero-note { font-size: 0.8rem; opacity: 0.7; margin-top: 0.4rem; }

/* Hero art */
.hero-art { position: relative; min-height: 260px; }
.hero-card {
  position: relative; padding: 1.5rem; border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #201240, #070313);
  border: 1px solid rgba(124,244,255,0.3); box-shadow: 0 18px 50px rgba(0,0,0,.7);
}
.hero-pill-row { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.hero-pill {
  display: inline-flex; align-items: center; padding: .2rem .7rem; border-radius: 999px;
  background: rgba(124,244,255,0.1); border: 1px solid rgba(124,244,255,0.5);
  font-size: .75rem; font-weight: 600;
}
.hero-pill-note { font-size: .85rem; opacity: .85; }
.hero-card h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.hero-card ul { list-style: none; font-size: .9rem; opacity: .9; }
.hero-card li::before { content: "✦"; margin-right: .4rem; font-size: .8rem; opacity: .7; }
.hero-orbit { position: absolute; inset: -20px; border-radius: 999px; border: 1px dashed rgba(124,244,255,.35);
  opacity: .7; animation: orbit 16s linear infinite; }
.hero-orbit.small { inset: 20px; border-color: rgba(255,125,233,0.4); animation-duration: 22s; }
@keyframes orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Services cards */
.cards {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.5rem;
}
.card {
  padding: 1.4rem; border-radius: 1.2rem; background: rgba(10,8,30,0.95);
  border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 12px 30px rgba(0,0,0,.55);
}
.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }

/* ===== CATEGORY CAROUSEL (snug, centered) ===== */
#categories { padding-top: 1.25rem; padding-bottom: 2.5rem; }
#categories h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  text-align: center;
  line-height: 1.2;
  margin-bottom: .4rem;
  background: linear-gradient(120deg, #ff7de9, #7cf4ff, #ffd85e);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(124,244,255,.18));
}
#categories .section-intro {
  text-align: center; font-weight: 800; font-size: 1.1rem; color: #ffffff; opacity: .98; margin: 0 auto 1.1rem;
}

.category-carousel { --gap: 0.5rem; position: relative; margin-top: 0.25rem; }
.carousel-viewport {
  overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,8,30,0.7); touch-action: pan-y;
}
.carousel-track {
  display: flex; gap: var(--gap);
  padding: 0.25rem; transform: translateX(0); transition: transform 300ms ease;
}

/* Three-up desktop, two-up medium, one-up mobile */
.category-card { flex: 0 0 calc((100% - (var(--gap) * 2)) / 3); text-decoration: none; color: inherit; }
@media (max-width: 1200px) { .category-card { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 800px) { .category-card { flex-basis: 100%; } }

.category-card-body {
  height: 100%; display: flex; flex-direction: column; gap: .5rem; padding: 0.7rem;
  border-radius: 1rem; background: radial-gradient(circle at top, #21123f, #070313);
  border: 1px solid rgba(124,244,255,0.25); box-shadow: 0 16px 45px rgba(0,0,0,.7);
  text-align: center; align-items: center;
}

/* Apply the accent style to ALL category titles */
.category-card h3.title-accent {
  font-size: 1.12rem;
  background: linear-gradient(120deg, #ffd85e, #ffb3f1);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 216, 94, 0.15));
}
.category-card p { opacity: .9; font-size: .9rem; }

.pill { align-self: center; margin-top: .2rem; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid rgba(124,244,255,.45); background: rgba(124,244,255,.12); }

/* Portrait, no-crop image frame */
.thumb-solo {
  display: flex; align-items: center; justify-content: center;
  padding: 0; border-radius: .6rem; background: transparent; border: none; height: 330px;
}
.thumb-solo img { max-height: 100%; max-width: 100%; width: auto; display: block; object-fit: contain; }
@media (max-width: 800px) { .thumb-solo { height: 270px; } }

/* Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.6); color: #fff; font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
}
.carousel-arrow[disabled] { opacity: .4; cursor: not-allowed; }
.carousel-arrow.prev { left: .4rem; }
.carousel-arrow.next { right: .4rem; }

/* Subpage galleries, lightbox, modal, etc. (unchanged) */
.gallery-grid {
  position: relative; z-index: 1; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 1.5rem;
}
.gallery-item {
  background: rgba(10,8,30,0.95); border-radius: 1rem; padding: .6rem;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 12px 30px rgba(0,0,0,.55);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 330px; object-fit: contain;
  background: rgba(255,255,255,0.06); border-radius: .8rem; display: block;
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
}
@media (max-width: 800px) { .gallery-item img { height: 270px; } }
.gallery-item figcaption { margin-top: .4rem; font-size: .78rem; opacity: .9; }

.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 100; }
.lightbox.is-open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.lightbox-content { position: relative; z-index: 101; padding: .75rem; }
.lightbox-img {
  max-width: min(92vw, 1100px); max-height: 85vh; border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.9); object-fit: contain;
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none;
}
.lightbox-close {
  position: absolute; top: -2.2rem; right: 0; border: none; background: rgba(0,0,0,.8);
  color: #fff; font-size: 1.6rem; line-height: 1; border-radius: 999px; width: 2rem; height: 2rem; cursor: pointer;
}
.lightbox-watermark {
  position: absolute; inset: 0; background-repeat: repeat; background-size: 240px 240px;
  opacity: .28; mix-blend-mode: overlay; pointer-events: none;
}
@media print { .lightbox-img { display: none !important; } }

.contact-cta-row { display: flex; justify-content: center; }

.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 120; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.modal-card {
  position: relative; z-index: 121; width: min(920px, 92vw);
  background: rgba(10,8,30,0.98);
  border: 1px solid rgba(124,244,255,0.25);
  border-radius: 1rem; padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 22px 60px rgba(0,0,0,.85);
}
.modal-close { position: absolute; top: .6rem; right: .6rem; border: none;
  background: rgba(0,0,0,.65); color: #fff; width: 2rem; height: 2rem; border-radius: 999px; font-size: 1.2rem; cursor: pointer; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: .9rem; margin-bottom: .4rem; opacity: .95; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .65rem .75rem; border-radius: .6rem;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #fff;
}
.checkbox-row, .radio-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.field-hint { display: block; opacity: .7; font-size: .75rem; margin-top: .25rem; }
.hidden-field { display: none; }
.form-actions { margin-top: 1rem; display: flex; align-items: center; gap: .8rem; }
.form-note { opacity: .8; font-size: .85rem; }
.hidden-thanks { display: none; }
.hidden-thanks.is-visible { display: block; text-align: center; }
.modal-card h3 { margin: 0 0 .6rem; }

/* Responsive */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .main-nav { display: none; } /* (unchanged) */
  .section { padding: 3rem 6vw; }
}

/* ---- Page title gradient utilities ---- */
.page-title { margin-bottom: .5rem; line-height: 1.2; }

.title-gp {
  /* gold → purple (matches carousel accent) */
  background: linear-gradient(120deg, #ffd85e, #ffb3f1);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 216, 94, 0.15));
}

.title-purple {
  /* purple → indigo for Towns */
  background: linear-gradient(120deg, #c084fc, #7a5cff);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(122, 92, 255, 0.2));
}