:root {
  --navy: #1a3a5c;
  --navy-dark: #0f2438;
  --orange: #c8572a;
  --orange-light: #e06a38;
  --light: #f4f6f8;
  --mid: #dde3ea;
  --text: #2c2c2c;
  --text-muted: #666;
  --white: #fff;
  --nav-h: 64px;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

/* ── HEADER / NAV ── */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 4px;
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .5px;
  margin-right: 16px;
  flex-shrink: 0;
}

.nav-brand span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, background .15s;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.nav-links > li > a.active { color: var(--orange); }

.nav-caret {
  font-size: .65rem;
  opacity: .7;
  transition: transform .2s;
}

.nav-links > li.open > button .nav-caret { transform: rotate(180deg); }

/* dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--navy-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  list-style: none;
}

.nav-links > li.open .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  transition: background .15s, color .15s;
}

.nav-dropdown a:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── HERO ── */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 em { color: var(--orange); font-style: normal; }

.hero p {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 560px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s, transform .1s;
}

.btn:active { transform: scale(.97); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  margin-left: 12px;
}

.btn-outline:hover { border-color: var(--white); }

/* ── SECTION ── */

.section { padding: 60px 20px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.section-title-line {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 12px;
}

/* ── SERVICE GRID ── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  background: var(--white);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 16px;
}

.service-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-card-body p {
  font-size: .855rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.service-card-body a {
  font-size: .855rem;
  font-weight: 600;
  color: var(--orange);
}

.service-card-body a:hover { text-decoration: underline; }

/* ── GALLERY GRID ── */

.gallery-header {
  background: var(--light);
  padding: 36px 20px;
  border-bottom: 1px solid var(--mid);
}

.gallery-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

.gallery-header p { color: var(--text-muted); margin-top: 6px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  border-radius: var(--radius);
  transition: opacity .15s, transform .15s;
}

.gallery-thumb:hover { opacity: .88; transform: scale(1.015); }

/* ── LIGHTBOX ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  user-select: none;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background .15s;
  z-index: 1000;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.3); }

.lb-close {
  top: 20px;
  right: 24px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  background: rgba(0,0,0,.4);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── INFO PAGE ── */

.info-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.info-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-page .accent-line {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 24px;
}

.info-page p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.info-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

.info-page ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.info-page ul li {
  padding: 8px 12px;
  background: var(--light);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
}

/* ── CONTACT ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: flex; gap: 12px; }

.form-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.form-field label { font-size: .875rem; font-weight: 600; color: var(--navy); }

.form-field input,
.form-field textarea,
.form-field select {
  padding: 10px 12px;
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.contact-info h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
}

.contact-item p { font-size: .9rem; color: var(--text-muted); }

.contact-item strong { display: block; color: var(--text); font-size: .95rem; }

/* ── BEFORE/AFTER ── */

.ba-note {
  background: var(--light);
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 60px auto;
}

/* ── FOOTER ── */

#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 40px 20px;
  text-align: center;
  font-size: .875rem;
}

#site-footer a { color: var(--orange); }
#site-footer a:hover { text-decoration: underline; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a { color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--white); }

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: var(--nav-h); left: 0; background: var(--navy-dark); padding: 12px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  #site-header { position: relative; }
  .nav-inner { flex-wrap: wrap; }
  .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.05); display: block; margin: 4px 0 4px 12px; }
  .nav-links > li.open .nav-dropdown { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 56px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 12px; }
}
