:root {
  --ink: #10212a;
  --muted: #5d6b72;
  --line: #d9e3e6;
  --paper: #f7f9f9;
  --white: #ffffff;
  --steel: #6e858f;
  --teal: #087f8c;
  --gold: #d69b34;
  --graphite: #142d36;
  --shadow: 0 24px 60px rgba(8, 28, 36, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  background: var(--white);
  z-index: 20;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 227, 230, 0.8);
}
.nav {
  width: min(1180px, calc(100% - 24px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: clamp(168px, 18vw, 238px);
  height: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--teal));
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 0.78rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #29434d;
  font-weight: 700;
}
.nav-menu a { padding: 8px 0; }
.nav-cta {
  padding: 10px 16px !important;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 96vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 128px 0 56px;
  color: var(--white);
  overflow: hidden;
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 26, 0.92) 0%, rgba(7, 20, 26, 0.7) 38%, rgba(7, 20, 26, 0.2) 78%),
    linear-gradient(0deg, rgba(7, 20, 26, 0.74), transparent 45%);
}
.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions, .quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { color: var(--white); background: var(--teal); }
.btn-secondary { color: var(--ink); background: var(--white); }
.btn-light { color: var(--ink); background: #edf5f6; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 44px 0 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-proof div {
  padding: 16px;
  background: rgba(9, 31, 38, 0.64);
}
.hero-proof dt { color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; }
.hero-proof dd { margin: 3px 0 0; font-weight: 800; }

.section { padding: 88px 0; }
.intro-band, .process-band, .quote-band {
  background: var(--graphite);
  color: var(--white);
}
.intro-grid, .quote-grid, .process-grid, .location-grid, .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 40px;
  align-items: start;
}
.intro-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.intro-grid p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 750;
}
.text-link {
  color: var(--gold);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}
.gallery-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.gallery-total {
  flex: 0 0 auto;
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 850;
}
.section-heading h2, .process-grid h2, .quote-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.04;
}
.section-heading p:not(.eyebrow), .quote-grid p { color: var(--muted); }
.quote-band .quote-grid p, .process-band span { color: rgba(255, 255, 255, 0.76); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card, .contact-panel, .admin-card, details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 28, 36, 0.06);
}
.service-card {
  padding: 26px;
  min-height: 230px;
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  color: var(--teal);
  border-bottom: 2px solid var(--gold);
  font-weight: 900;
}
.service-card h3, .project-card h3 { margin: 20px 0 8px; font-size: 1.35rem; }
.service-card p, .project-card p { margin: 0; color: var(--muted); }

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}
.project-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.project-card > div {
  position: absolute;
  inset: auto 16px 16px;
  padding: 16px;
  color: var(--white);
  background: rgba(9, 31, 38, 0.78);
  border-radius: var(--radius);
}
.project-card p { color: rgba(255, 255, 255, 0.8); }
.project-large {
  grid-row: span 2;
}
.project-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-tone-a {
  background: linear-gradient(135deg, rgba(8,127,140,0.22), rgba(255,255,255,0.28)), repeating-linear-gradient(90deg, #dbe7ea 0 8px, #f8fbfb 8px 18px);
}
.project-tone-b {
  background: linear-gradient(135deg, rgba(214,155,52,0.24), rgba(255,255,255,0.2)), repeating-linear-gradient(45deg, #eef5f6 0 10px, #cad8dc 10px 12px);
}
.project-tone-c {
  background: linear-gradient(135deg, rgba(20,45,54,0.16), rgba(8,127,140,0.14)), linear-gradient(90deg, transparent 48%, #8599a0 49% 51%, transparent 52%);
}

.gallery-tabs {
  display: flex;
  gap: 10px;
  padding: 0 0 20px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  white-space: nowrap;
  cursor: pointer;
}
.gallery-tab small {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted);
  background: #edf3f4;
  font-weight: 850;
}
.gallery-tab.is-active {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}
.gallery-tab.is-active small {
  color: var(--ink);
  background: var(--gold);
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.work-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #d8e3e6;
  cursor: pointer;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}
.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.04);
}
.work-card span {
  position: absolute;
  inset: auto 10px 10px;
  max-width: calc(100% - 20px);
  padding: 7px 9px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(7, 22, 27, 0.78);
  font-size: 0.8rem;
  font-weight: 850;
  text-align: left;
}
.gallery-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
}
.has-lightbox {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 72px 18px 24px;
  background: rgba(5, 15, 19, 0.9);
}
.lightbox[hidden] {
  display: none;
}
.lightbox figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow);
}
.lightbox figcaption {
  color: var(--white);
  font-weight: 850;
}
.lightbox-close,
.lightbox-arrow {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
}
.lightbox-arrow {
  width: 52px;
  height: 72px;
  font-size: 2rem;
}

.quote-band {
  background: linear-gradient(135deg, var(--graphite), #0c5661);
}
.quote-grid {
  align-items: center;
}
.quote-grid h2, .quote-grid p { margin-top: 0; }
.location-grid {
  grid-template-columns: 0.9fr 1.1fr;
}
.location-heading { margin-bottom: 0; }
.contact-panel {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.contact-panel div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-panel div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-panel span, .contact-panel a { color: var(--muted); }
.map {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-section { background: #edf3f4; }
.faq-grid { grid-template-columns: 0.85fr 1.15fr; }
.faq-list { display: grid; gap: 12px; }
details { padding: 18px 20px; }
summary {
  cursor: pointer;
  font-weight: 850;
}
details p { margin: 10px 0 0; color: var(--muted); }

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #07161b;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}
.footer-brand { color: var(--white); }
.footer-brand .brand-logo {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--white);
}
.site-footer a { display: block; margin-top: 8px; color: var(--white); }
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--white);
  background: #128c7e;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #edf3f4, #ffffff);
}
.admin-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}
.admin-card {
  padding: clamp(20px, 5vw, 42px);
}
.admin-brand { margin-bottom: 32px; }
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-row { display: grid; gap: 7px; }
.form-wide { grid-column: 1 / -1; }
label { font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid #bfcfd4;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(8, 127, 140, 0.28);
  outline-offset: 2px;
}
.field-error {
  min-height: 1.2em;
  color: #a3362d;
  font-weight: 700;
}
.form-status {
  margin: 10px 0 0;
  font-weight: 800;
}
.form-status.success { color: #087f45; }
.form-status.error { color: #a3362d; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    inset: 72px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .hero { min-height: 92vh; padding-top: 116px; }
  .hero-proof, .services-grid, .intro-grid, .process-grid, .quote-grid, .location-grid, .faq-grid, .footer-grid, .quote-form {
    grid-template-columns: 1fr;
  }
  .gallery-heading {
    display: grid;
    align-items: start;
  }
  .gallery-total {
    margin: 0;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 6px;
    padding-inline: 8px;
  }
  .lightbox-arrow {
    width: 42px;
    height: 58px;
  }
  .project-large { grid-row: span 1; }
  .project-card { min-height: 280px; }
}

@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: 2.7rem; }
  .hero-actions .btn, .quote-actions .btn { width: 100%; }
  .hero-proof div { padding: 13px; }
  .service-card { min-height: auto; }
  .work-gallery { gap: 10px; }
  .work-card span { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
