:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #102a43;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --amber: #f59e0b;
  --whatsapp: #20b15a;
  --shadow: 0 22px 60px rgba(13, 32, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

body.gallery-modal-open {
  overflow: hidden;
}

body.gallery-modal-open::after {
  position: fixed;
  z-index: 55;
  inset: 0;
  content: "";
  background: rgba(4, 10, 18, 0.78);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(180px, 21vw, 280px);
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-phone {
  padding: 11px 14px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-media {
  position: relative;
  z-index: 0;
  background-image: url("assets/gallery/8.jpeg");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 20, 35, 0.98) 0%, rgba(10, 34, 56, 0.84) 48%, rgba(8, 20, 32, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.24));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 6vw, 86px);
  padding-top: 112px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions,
.form-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.15;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 12px 28px rgba(32, 177, 90, 0.3);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn-ghost {
  color: var(--teal-dark);
  background: #e6f5f2;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin: 44px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.trust-strip div {
  padding: 18px;
}

.trust-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-strip dt {
  font-size: 1.2rem;
  font-weight: 950;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading h2 {
  color: var(--navy);
}

.section-heading p:not(.eyebrow),
.quote-copy p,
.service-card p,
.timeline p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.section-intro {
  background: var(--soft);
}

.intro-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  background: #d8f3ed;
  border-radius: 8px;
  font-weight: 950;
}

.services {
  background: #fff;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(17, 24, 39, 0.08);
}

.card-visual {
  min-height: 190px;
  background: #d7dee8;
}

.card-visual img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}

.card-body a {
  color: var(--teal-dark);
  font-weight: 950;
}

.gallery-section {
  background: var(--soft);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-featured,
.gallery-grid button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d7dee8;
  cursor: pointer;
}

.gallery-featured {
  min-height: 560px;
  box-shadow: var(--shadow);
}

.gallery-featured img,
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-featured:hover img,
.gallery-grid button:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.gallery-featured span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(11, 23, 38, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

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

.gallery-grid button {
  aspect-ratio: 1 / 1;
}

.gallery-dialog {
  width: min(1100px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #0b1726;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.gallery-dialog.is-open {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.gallery-dialog::backdrop {
  background: rgba(4, 10, 18, 0.78);
}

.gallery-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: rgba(11, 23, 38, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.process {
  background: var(--navy);
  color: #fff;
}

.process .section-heading h2 {
  color: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--navy);
  background: var(--amber);
  border-radius: 8px;
  font-weight: 950;
}

.timeline p {
  color: rgba(255, 255, 255, 0.75);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--soft);
}

.contact-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-panel p {
  margin-bottom: 10px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 950;
}

details p {
  margin: 14px 0 0;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(70px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.location-copy h2 {
  color: var(--navy);
}

.location-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #d7dee8;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #0b1726;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo {
  display: block;
  width: min(310px, 80vw);
  height: auto;
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}

.footer-links a {
  color: #fff;
  font-weight: 900;
}

.floating-actions {
  position: fixed;
  z-index: 25;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-weight: 950;
}

.float-call {
  background: var(--navy);
}

.float-whatsapp {
  background: var(--whatsapp);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-phone {
    text-align: center;
  }

  .intro-grid,
  .service-grid,
  .gallery-layout,
  .timeline,
  .quote-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .gallery-featured {
    min-height: 380px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .brand {
    width: min(208px, 62vw);
    padding: 6px 8px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 20, 35, 0.95), rgba(6, 20, 35, 0.7));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  .trust-strip,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .quote-form {
    padding: 18px;
  }

  .location-actions .btn {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }

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

  .floating-actions {
    right: 10px;
    left: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .floating-actions a {
    flex: 1;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}
