/* ========================================
   01. GLOBAL SETTINGS
======================================== */

:root {
  --ink: #191b1e;
  --muted: #585e64;
  --line: #d3d6d8;
  --silver: #e7e9eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #626c78;
  outline-offset: 5px;
}

.wrap {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}


/* ========================================
   02. HEADER AND NAVIGATION
======================================== */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

header.nav {
  position: relative;
  isolation: isolate;
}

/* Brushed stainless steel background */

header.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;

  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.15) 0px,
      rgba(0,0,0,0.04) 1px,
      transparent 2px,
      transparent 3px
    ),
    linear-gradient(
      110deg,
      #bfc2c5,
      #f1f2f3 25%,
      #c9cccf 50%,
      #e9ebed 75%,
      #bfc2c5
    );

  border-bottom: 1px solid #a5a8ab;
}

/* Business logo */

.brand {
  text-decoration: none;
  display: block;
  min-width: 0;
}

.brand-logo {
  height: 180px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Navigation links */

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}


/* ========================================
   03. HOMEPAGE BANNER
======================================== */

/* Dark hero with genuine before/after photography */
.hero {
  background: #08090a;
  color: #fff;
  border-block: 1px solid #303236;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: 44px;
}
.hero-copy .eyebrow { color: #b6bbc0; }
.hero .hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: #aeb4ba;
  margin-bottom: 22px;
}
.hero .hero-copy h1 span { color: #fff; }
.hero .hero-copy p { color: #d0d3d6; font-size: 17px; }
.hero .button { background: #e9ebed; color: #191b1e; }
.hero .button:hover { background: #bfc5ca; }
.hero-comparison {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  background: #17191b;
}
.comparison-photo { grid-area: 1 / 1; margin: 0; position: relative; }
.comparison-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.comparison-photo figcaption {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; color: #fff; background: #000b;
  font-size: 12px; letter-spacing: 2px; font-weight: 700;
}
.after-photo { opacity: 0; transition: opacity 1s ease-in-out; }
.hero-comparison.show-after .after-photo { opacity: 1; }
.hero-comparison.switching .after-photo { transition: none; }
.comparison-controls {
  position: absolute; z-index: 2; bottom: 14px; right: 14px; left: 14px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: flex-end;
}
.comparison-count { margin-right: auto; background: #000c; color: #fff; padding: 8px; font-size: 12px; }
.comparison-toggle, .comparison-next {
  background: #000c; color: #fff; border: 1px solid #ffffff66;
  padding: 8px 12px; font: inherit; font-size: 12px; cursor: pointer;
}

.comparison-toggle:focus-visible, .comparison-next:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width: 700px) {
  .hero-layout { grid-template-columns: 1fr; padding-block: 26px 40px; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-comparison { grid-template-columns: 1fr 1fr; aspect-ratio: auto; gap: 4px; }
  .comparison-photo { grid-area: auto; }
  .after-photo { transition: none; opacity: 1; }
  .comparison-controls { position: static; grid-column: 1 / -1; padding: 8px; }
  .comparison-toggle { display: none; }
}

/* ========================================
   04. TYPOGRAPHY
======================================== */

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}

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

h1 {
  font-size: clamp(48px, 7.5vw, 98px);
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin-bottom: 24px;
}

h1 span {
  color: #555c62;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-bottom: 28px;
}

h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
}


/* ========================================
   05. BUTTONS
======================================== */

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  padding: 15px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
  transition: background 0.2s ease;
}

.button:hover {
  background: #444444;
}


/* ========================================
   06. SERVICES
======================================== */

.section {
  padding-block: 78px;
}

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

.cards article {
  border: 1px solid var(--line);
  padding: 30px;
  background: #f9f9fa;
}

.cards p {
  font-size: 15px;
  margin-bottom: 0;
}

.number {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 38px;
}


/* ========================================
   07. INSTAGRAM PROJECT GALLERY
======================================== */

.projects {
  padding-top: 30px;
  padding-bottom: 80px;
}

.projects h2 {
  margin-bottom: 16px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
  align-items: start;
  justify-items: center;
}

.instagram-grid > * {
  min-width: 0;
}

.instagram-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.instagram-grid blockquote {
  padding: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.instagram-grid iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.instagram-footer {
  text-align: center;
  margin-top: 35px;
}


/* ========================================
   08. ABOUT SECTION
======================================== */

.about {
  background: #eef0f1;
  border-block: 1px solid var(--line);
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span {
  border: 1px solid #bfc4c8;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}


/* ========================================
   09. CONTACT SECTION
======================================== */

.muted {
  font-size: 14px;
}

.contact p {
  margin-bottom: 8px;
}


/* ========================================
   10. FOOTER
======================================== */

footer {
  background: #232629;
  color: #ffffff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 25px;
  font-size: 13px;
}

.footer span {
  color: #c9cdd0;
}


/* ========================================
   11. TABLET LAYOUT
======================================== */

@media (max-width: 1050px) {

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

}


/* ========================================
   12. MOBILE LAYOUT
======================================== */

@media (max-width: 700px) {

  .wrap {
    width: calc(100% - 36px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  nav {
    gap: 18px;
  }

  .brand-logo {
    height: 90px;
  }

  .hero p {
    font-size: 17px;
  }

  .cards,
  .split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section,
  .about {
    padding-block: 48px;
  }

  .number {
    margin-bottom: 24px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .footer {
    flex-wrap: wrap;
  }

}


/* ========================================
   13. ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

}

/* ========================================
   CONTACT AND GOOGLE MAPS
======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.contact-details h3 {
  font-size: 30px;
  margin-bottom: 15px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
}

.contact-links a {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* Mobile contact layout */

@media (max-width: 700px) {

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

  .contact-map iframe {
    height: 300px;
  }

}

/* ========================================
   CUSTOMER REVIEWS
======================================== */

.reviews {
  padding-block: 65px;
}

.reviews h2 {
  margin-bottom: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #f9f9fa;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.review-stars {
  color: #e5a000;
  font-size: 24px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.review-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.review-source {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.reviews-footer {
  text-align: center;
  margin-top: 30px;
}

/* Mobile reviews layout */

@media (max-width: 700px) {

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .review-card {
    padding: 24px;
  }

  .reviews {
    padding-block: 40px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .review-card {
    transition: none;
  }

  .review-card:hover {
    transform: none;
  }
}

/* Homepage call button */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .call-button {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.hero .call-button:hover {
  background: #ffffff;
  color: #191b1e;
}