:root {
  --bg: #040911;
  --surface: #0a1423;
  --card: rgba(11, 23, 40, 0.78);
  --mint: #00f193;
  --teal: #00d8ad;
  --cyan: #00c2cd;
  --azure: #0097ee;
  --grad: linear-gradient(100deg, #00f193 0%, #00d8ad 34%, #00c2cd 67%, #0097ee 100%);
  --text: #f4faff;
  --text-muted: #93afc7;
  --border: rgba(0, 194, 205, 0.22);
  --border-strong: rgba(0, 241, 147, 0.45);
  --danger: #ff5c77;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 6%, rgba(0, 241, 147, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 18%, rgba(0, 151, 238, 0.09) 0%, transparent 42%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 9, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.topbar-inner {
  width: 100%;
  padding-inline: clamp(0.75rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.topbar-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}

.topbar-link {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  background: rgba(11, 23, 40, 0.65);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.topbar-link:hover {
  color: var(--mint);
  border-color: var(--border-strong);
}

.hero {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.2rem, 5vw, 3.4rem);
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.hero-logo {
  width: clamp(150px, 22vw, 220px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 24px rgba(0, 216, 173, 0.26));
}

.motto {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.motto-dull {
  color: #7d95ab;
  font-weight: 700;
  margin-right: 0.16em;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease, transform 1.2s ease;
  transform: scale(1.03);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.progress-bar {
  height: 100%;
  width: 33.33%;
  background: var(--grad);
  transition: width 0.45s ease;
}

.work {
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.section-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}

.work-list {
  border-top: 1px solid var(--border);
}

.work-item {
  border-bottom: 1px solid var(--border);
}

.work-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.25rem;
  text-align: left;
}

.work-trigger:hover .work-name {
  color: var(--mint);
}

.work-item.is-empty .work-trigger {
  cursor: default;
}

.work-item.is-empty .work-trigger:hover .work-name {
  color: inherit;
}

.work-item.is-empty .work-icon {
  display: none;
}

.work-trigger-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.work-num {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.work-name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  transition: color 0.2s;
}

.work-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(11, 23, 40, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s, color 0.2s;
}

.work-trigger[aria-expanded="true"] .work-icon {
  transform: rotate(45deg);
  background: var(--grad);
  color: var(--bg);
  border-color: transparent;
}

.work-panel {
  padding-bottom: 1.6rem;
}

.work-panel[hidden] {
  display: none;
}

.gallery-wrap {
  position: relative;
}

.gallery-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 241, 147, 0.35) transparent;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 241, 147, 0.35);
  border-radius: 999px;
}

.photo-card {
  position: relative;
  flex: 0 0 clamp(240px, 31%, 340px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.photo-card.is-portrait {
  flex: 0 0 clamp(190px, 24%, 260px);
  aspect-ratio: 3 / 4;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 16, 29, 0.88);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-arrow:hover {
  background: var(--grad);
  color: var(--bg);
  border-color: transparent;
}

.gallery-arrow.gallery-prev { left: 0.5rem; }
.gallery-arrow.gallery-next { right: 0.5rem; }

.photo-card:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.roofing-empty {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.contact {
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: stretch;
}

.contact-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.3rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.contact-panel.is-info {
  justify-content: space-between;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-highlight {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-lg);
  background: rgba(4, 9, 17, 0.55);
  border: 1px solid var(--border);
}

.contact-highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 194, 205, 0.12);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-highlight-text {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-highlight-text strong {
  color: var(--text);
  font-weight: 800;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 241, 147, 0.1), rgba(0, 151, 238, 0.1));
  border: 1px solid var(--border-strong);
  transition: transform 0.2s;
  min-width: 0;
}

.contact-link-card:hover {
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-text {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(0.84rem, 1.35vw, 1.08rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(4, 9, 17, 0.72);
  border: 1px solid var(--border);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-btn:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(4, 9, 17, 0.78);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
}

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

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(0, 241, 147, 0.15);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--danger);
}

.form-error {
  display: block;
  min-height: 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--danger);
  margin-top: 0.2rem;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--grad);
  color: var(--bg);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  text-align: center;
  padding: 1.4rem 0.5rem;
}

.form-status[hidden] {
  display: none;
}

.form-status-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.1rem;
}

.btn-secondary {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(4, 9, 17, 0.75);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
}

.about {
  padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.about-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.8rem);
  text-align: center;
}

.about-label {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.about-text {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.48;
  max-width: 780px;
  margin: 0 auto 1.2rem;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(4, 9, 17, 0.75);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cyan);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 17, 0.94);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(1080px, 94vw);
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 1px solid var(--border-strong);
}

.lightbox-counter {
  position: absolute;
  top: 1.1rem;
  left: 1.3rem;
  z-index: 3;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 16, 29, 0.85);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--mint);
}

.lightbox-btn {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close { top: 1.1rem; right: 1.3rem; }
.lightbox-prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .photo-card {
    flex: 0 0 clamp(210px, 46%, 300px);
  }
  .photo-card.is-portrait {
    flex: 0 0 clamp(170px, 36%, 240px);
  }
  .contact-link-text {
    font-size: clamp(0.8rem, 3.6vw, 1.05rem);
  }
}

@media (max-width: 640px) {
  .topbar-title {
    font-size: 0.85rem;
  }
  .topbar-link {
    padding: 0.36rem 0.8rem;
    font-size: 0.8rem;
  }
  .container {
    width: calc(100% - 1.5rem);
  }
  .slideshow {
    aspect-ratio: 4 / 3;
  }
  .gallery-strip {
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
  }
  .photo-card {
    flex: 0 0 82%;
  }
  .photo-card.is-portrait {
    flex: 0 0 66%;
  }
  .gallery-arrow {
    width: 34px;
    height: 34px;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.letterhead {
  position: relative;
  background:
    radial-gradient(ellipse 50% 90% at 50% 50%, rgba(0, 241, 147, 0.14) 0%, rgba(0, 151, 238, 0.07) 55%, transparent 85%),
    linear-gradient(180deg, #0f213a 0%, #081426 100%);
  border-bottom: 1px solid rgba(0, 241, 147, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
  padding: clamp(1.6rem, 3.6vw, 2.75rem) 0;
}

.letterhead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--grad);
}

.letterhead-inner {
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.letterhead-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.letterhead-logo {
  width: clamp(58px, 6.8vw, 84px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 22px rgba(0, 241, 147, 0.42));
}

.letterhead-name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.55rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 216, 173, 0.28));
  line-height: 1.06;
  white-space: nowrap;
}

.letterhead-inner .topbar-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hero {
  padding-top: clamp(1.5rem, 3.2vw, 2.25rem);
}

@media (max-width: 820px) {
  .letterhead-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
  }

  .letterhead-spacer {
    display: none;
  }

  .letterhead-inner .topbar-nav {
    justify-self: center;
  }
}