:root {
  --bg: #f4f8f9;
  --surface: #ffffff;
  --ink: #12303a;
  --muted: #4d6770;
  --line: #d7e4e8;
  --accent: #0ea5a5;
  --accent-strong: #0f766e;
  --shadow: 0 18px 40px rgba(18, 48, 58, 0.13);
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(60rem 60rem at -10% -15%, #ddf6f6 0%, transparent 60%),
    radial-gradient(48rem 48rem at 110% 0%, #e4f4fb 0%, transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 249, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  min-width: 0;
}

.brand {
  display: inline-block;
  font-family: "Syne", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--accent-strong);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 220ms ease, color 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.15rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  padding: 6.4rem 0 5.1rem;
  background:
    linear-gradient(115deg, rgba(7, 28, 33, 0.58), rgba(12, 48, 56, 0.42)),
    url("newBgPhoto.webp") center / cover no-repeat;
  border-bottom: 1px solid rgba(16, 71, 79, 0.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
  font-weight: 700;
  color: #b2f5ea;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.08;
  max-width: 16ch;
  color: #ffffff;
}

.hero-copy p {
  max-width: 54ch;
  color: rgba(241, 250, 252, 0.93);
}

.primary-cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(14, 165, 165, 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 165, 0.48);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.hero-panel h2 {
  font-size: 1.15rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 252, 251, 0.95));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.section-intro {
  max-width: 62ch;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 12px 25px rgba(18, 48, 58, 0.08);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(18, 48, 58, 0.12);
}

.before-after-block {
  margin-top: 2rem;
}

.before-after-block h3 {
  font-size: 1.3rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.before-after-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 25px rgba(18, 48, 58, 0.08);
}

.before-after-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.before-after-card figure {
  margin: 0;
}

.before-after-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid #dbe7eb;
}

.lightbox-trigger {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-trigger img {
  transition: transform 240ms ease;
}

.lightbox-trigger:hover img {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(5, 16, 20, 0.9);
  padding: 1.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: min(1200px, 93vw);
  max-height: 80vh;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  margin: 0.8rem 0 0;
  color: #deedf2;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #12303a;
  font: inherit;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
}

.before-after-card figcaption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.video-block {
  margin-top: 2.5rem;
}

.video-block h3 {
  font-size: 1.3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

.video-card {
  background: #0a1f25;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(18, 48, 58, 0.14);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0a1f25;
}

.section-accent {
  background: linear-gradient(130deg, #e6f6f5 0%, #f2fbff 100%);
  border-top: 1px solid var(--line);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-panel h3 {
  margin: 0 0 0.6rem;
}

.contact-panel .primary-cta {
  margin-top: 0.3rem;
}

.contact-phone a {
  font-weight: 700;
  color: var(--accent-strong);
}

.contact-email a {
  font-weight: 700;
  color: var(--accent-strong);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bdd4da;
  border-radius: 10px;
  padding: 0.72rem;
  font: inherit;
  margin-bottom: 0.8rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.form-note.is-success {
  color: #0f766e;
}

.form-note.is-error {
  color: #b42318;
}

.quote-page .section {
  padding-top: 3.2rem;
}

.quote-layout {
  width: min(1280px, 95vw);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 1.3rem;
  align-items: start;
}

.quote-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.quote-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}

.quote-eyebrow {
  color: var(--accent-strong);
}

.upload-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.upload-panel h2 {
  margin: 0 0 0.45rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.dropzone {
  position: relative;
  border: 2px dashed #93bcc8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fcfd, #eef7fa);
  min-height: 230px;
  flex: 1;
  padding: 1.35rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dropzone:hover,
.dropzone:focus-visible,
.dropzone.is-dragover {
  border-color: var(--accent-strong);
  background: linear-gradient(180deg, #effafa, #e4f5f3);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
  outline: none;
}

.dropzone.has-file {
  border-color: var(--accent-strong);
}

.dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-title {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.dropzone-subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

.dropzone-file {
  margin: 0.7rem 0 0;
  padding: 0.4rem 0.65rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.35;
  border-radius: 12px;
  border: 1px solid #cfe2e7;
  background: #fff;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.4rem;
  background: #f9fdfd;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.facebook-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.facebook-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-link {
  font-weight: 700;
  color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .section {
    padding: 3.35rem 0;
  }

  .hero-grid,
  .split,
  .contact-wrap,
  .work-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    width: min(1100px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-main {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 18ch;
  }

  .contact-wrap,
  .split {
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(1100px, 96vw);
  }

  .nav-wrap {
    gap: 0.55rem;
  }

  .brand {
    font-size: clamp(1.15rem, 6.1vw, 1.4rem);
    max-width: calc(100% - 52px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    padding: 0.3rem;
    border-radius: 10px;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid rgba(14, 165, 165, 0.4);
    outline-offset: 2px;
  }

  .site-nav {
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(245, 251, 251, 0.98);
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    padding: 0.7rem 1rem 0.95rem;
    box-shadow: 0 14px 28px rgba(18, 48, 58, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.62rem 0;
    border-bottom-width: 1px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.55rem 0 3.35rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
    line-height: 1.14;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-panel {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .work-card,
  .before-after-card,
  .contact-panel,
  .contact-form,
  .upload-panel,
  .stat-card {
    border-radius: 14px;
    padding: 0.95rem;
  }

  .before-after-images {
    grid-template-columns: 1fr;
  }

  /* On mobile only show the first 3 before/after pairs */
  .before-after-card:nth-child(n+4) {
    display: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .quote-page .section {
    padding-top: 2rem;
  }

  .quote-copy h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .dropzone {
    min-height: 180px;
    padding: 1rem 0.85rem;
  }

  .primary-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .lightbox {
    padding: 0.9rem;
  }

  .lightbox-close {
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.9rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.15rem 0 3.1rem;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 9.4vw, 2rem);
  }

  .hero-copy p,
  p {
    font-size: 0.96rem;
  }

  .section h2 {
    font-size: 1.45rem;
  }

  .dropzone-title {
    font-size: 0.98rem;
  }

  .dropzone-subtitle {
    font-size: 0.86rem;
  }
}
