/* ==========================================================================
   Bespoke Vinyl — shared site styles
   ========================================================================== */

:root {
  --blue-deep: #0046FF;
  --blue-bright: #15B3FF;
  --blue-mid: #3452ff;
  --ink: #0a1028;
  --grey: #8a8e99;
  --white: #ffffff;

  --grid-max: 1600px;
  --grid-gutter: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
img { max-width: 100%; display: block; }

/* ================= GRID ================= */
.container {
  width: 100%;
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--grid-gutter);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #0a1028;
}
.hero--short { min-height: 60vh; }
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover;
  background-position: right center;
}
.hero__blobs { position: absolute; inset: -15%; z-index: -2; filter: blur(80px) saturate(1.1); opacity: 0.75; mix-blend-mode: screen; pointer-events: none; }
.hero__blobs span { position: absolute; display: block; width: 55vmax; height: 55vmax; border-radius: 50%; will-change: transform; }
.hero__blobs span:nth-child(1) { background: radial-gradient(circle, var(--blue-deep) 0%, transparent 60%); top: -10%; left: -10%; animation: drift1 22s ease-in-out infinite alternate; }
.hero__blobs span:nth-child(2) { background: radial-gradient(circle, var(--blue-bright) 0%, transparent 60%); bottom: -15%; right: -10%; animation: drift2 26s ease-in-out infinite alternate; }
.hero__blobs span:nth-child(3) { background: radial-gradient(circle, var(--blue-mid) 0%, transparent 65%); top: 30%; right: 15%; width: 40vmax; height: 40vmax; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { from{transform:translate3d(0,0,0) scale(1)} to{transform:translate3d(15vw,10vh,0) scale(1.15)} }
@keyframes drift2 { from{transform:translate3d(0,0,0) scale(1)} to{transform:translate3d(-12vw,-8vh,0) scale(1.2)} }
@keyframes drift3 { from{transform:translate3d(0,0,0) scale(.9)} to{transform:translate3d(-8vw,6vh,0) scale(1.1)} }
.hero__tint { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 55% at 30% 50%, var(--blue-mid) 0%, rgba(10,16,40,0.4) 100%); opacity: 0.8; }

/* ================= NAV ================= */
.nav-wrap {
  position: relative; z-index: 20;
  background: #fff;
  border-radius: 0 0 64px 64px;
  box-shadow: 0 18px 40px -22px rgba(0,30,90,.25), 0 2px 6px rgba(0,0,0,.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 0;
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 42px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav__links > li { position: relative; }
.nav__links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue-bright); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color .2s, text-decoration-color .2s; display: inline-flex; align-items: center; gap: 4px; }
.nav__links a:hover, .nav__links a.is-active { color: var(--blue-deep); text-decoration-color: var(--blue-deep); }
.nav__caret { width: 10px; height: 10px; fill: currentColor; transition: transform .2s; }
.has-dropdown:hover .nav__caret,
.has-dropdown:focus-within .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: -16px;
  min-width: 240px;
  list-style: none; margin: 0; padding: 10px 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgba(0,30,90,.25), 0 2px 6px rgba(0,0,0,.04);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 30;
}
.has-dropdown:hover .nav__dropdown,
.has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.has-dropdown::before {
  /* invisible hover bridge so the menu doesn't snap shut when moving to it */
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
}
.nav__dropdown li { display: block; }
.nav__dropdown a {
  display: block; padding: 10px 22px; font-size: 14px; font-weight: 500;
  color: var(--ink); white-space: nowrap;
}
.nav__dropdown a:hover { background: rgba(0, 70, 255, 0.06); color: var(--blue-deep); }
.nav__ctas { display: flex; align-items: center; gap: 10px; }
.nav-btn { display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--white); text-decoration: none; transition: background .2s, transform .2s; }
.nav-btn:hover { transform: translateY(-1px); }
.nav-btn--cyan { background: var(--blue-bright); }
.nav-btn--cyan:hover { background: #00a4f5; }
.nav-btn--blue { background: var(--blue-deep); }
.nav-btn--blue:hover { background: #0033cc; }
.nav__icons { display: flex; align-items: center; gap: 14px; color: #6b7280; }
.nav__icons button { background: none; border: 0; padding: 6px; color: inherit; cursor: pointer; display: inline-flex; transition: color .2s; }
.nav__icons button:hover { color: var(--ink); }
.nav__icons svg { display: block; }
/* Hide hamburger on desktop; show only below the 1200px breakpoint when nav links collapse */
.nav__icons button[aria-label="Menu"] { display: none; }
@media (max-width: 1200px) {
  .nav__icons button[aria-label="Menu"] { display: inline-flex; }
}

/* ================= HERO CONTENT ================= */
.hero__content { flex: 1; display: flex; align-items: flex-start; padding-top: 72px; padding-bottom: 40px; }
.hero__content-inner { max-width: 860px; }
.hero__kicker { display: inline-block; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.hero h1 { font-weight: 700; font-size: clamp(1.8rem, 3.78vw, 3.42rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 22px; }
.hero h2 { font-weight: 500; font-style: italic; font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.35; margin: 0 0 16px; }
.hero--service h2 { font-weight: 700; font-style: normal; font-size: clamp(1.2rem, 1.9vw, 1.55rem); }
.hero p { font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.55; max-width: 60ch; margin: 0 0 30px; opacity: .92; }
.hero p strong { font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }

/* ================= BUTTONS ================= */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .25s, background .25s, color .25s, border-color .25s; border: 2px solid transparent; color: var(--white); }
.btn:hover { transform: translateY(-2px); }
.btn__arrow { font-size: 16px; transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue-bright); border-color: var(--blue-bright); }
.btn--primary:hover { background: #00a4f5; border-color: #00a4f5; }
.btn--blue { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--blue:hover { background: #0033cc; border-color: #0033cc; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--blue-deep); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ================= LOGO STRIP ================= */
.hero__logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 3%;
  padding: 40px 0 36px;
  align-items: center;
}
.hero__logos img { max-width: 100%; height: auto; opacity: .85; filter: brightness(0) invert(1); }

/* ================= SERVICES GRID (home) ================= */
.services {
  padding: 90px 0;
  background: linear-gradient(135deg, #0046FF 0%, #15B3FF 100%);
  color: var(--white);
  position: relative;
}
.services__head { margin-bottom: 50px; text-align: center; }
.services__head h2 { margin: 0 0 12px; font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.services__head p { margin: 0; font-weight: 400; font-size: 15px; opacity: .95; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.svc-card { display: flex; flex-direction: column; gap: 18px; }
.svc-card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-radius: 4px; }
.svc-card h3 { margin: 0; font-weight: 700; font-size: 18px; }
.svc-card p { margin: 0; font-size: 14px; line-height: 1.5; opacity: .95; }
.svc-card .btn { align-self: flex-start; background: transparent; color: var(--white); border-color: var(--white); padding: 10px 18px; gap: 12px; margin-top: auto; font-size: 13px; }
.svc-card .btn:hover { background: var(--white); color: var(--blue-deep); }

/* ================= SERVICE ROWS (services + detail pages) ================= */
.svc-rows { padding: 80px 0 40px; background: #fff; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 60px 0; }
.svc-row--reverse .svc-row__media { order: -1; }
.svc-row__media img { width: 100%; height: auto; border-radius: 10px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-row__content h2 { font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; margin: 0 0 20px; color: var(--ink); }
.svc-row__content p { font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 20px; max-width: 52ch; }
.svc-row__list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.svc-row__list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); }
.svc-row__list li::before {
  content: "";
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--blue-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

/* ================= PAGE HEAD (simple light hero) ================= */
.pagehead {
  background: linear-gradient(135deg, #0046FF 0%, #15B3FF 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 30%, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.pagehead__inner { position: relative; max-width: 800px; }
.pagehead h1 { margin: 14px 0 14px; font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; }
.pagehead p { margin: 0; font-size: clamp(.95rem, 1.15vw, 1.1rem); line-height: 1.55; opacity: .95; max-width: 60ch; }

/* ================= GALLERY GRID ================= */
.gallery { padding: 80px 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__grid a { display: block; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: #f5f6f8; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__grid a:hover img { transform: scale(1.05); }

/* ================= REVIEWS SECTION ================= */
.reviews { padding: 70px 0 50px; }
.reviews__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.reviews__head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.reviews__summary { display: flex; align-items: center; gap: 18px; }
.reviews__rating { text-align: right; line-height: 1.15; }
.reviews__rating strong { display: block; font-size: 22px; font-weight: 700; }
.reviews__rating .meta { font-size: 12px; color: var(--grey); }
.reviews__stars { color: #f5b000; letter-spacing: 2px; font-size: 13px; }
.reviews__write { background: var(--blue-deep); color: #fff; padding: 10px 22px; border-radius: 4px; font-weight: 600; font-size: 13px; text-decoration: none; }
.reviews__write:hover { background: #0033cc; }
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.review-card { border: 1px solid #ececec; border-radius: 3px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.review-card__top { display: flex; justify-content: space-between; align-items: center; }
.review-card__stars { display: flex; align-items: center; gap: 6px; color: #f5b000; font-size: 13px; }
.review-card__stars b { background: #f5b000; color: #fff; border-radius: 2px; padding: 1px 6px; font-size: 12px; font-weight: 700; }
.review-card__date { font-size: 12px; color: var(--grey); }
.review-card__text { font-size: 13px; line-height: 1.45; color: #333; margin: 0; }
.review-card__text .more { color: var(--grey); }
.review-card__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.review-card__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-card__g { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: inline-flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 11px; color: #4285F4; }
.reviews__credit { text-align: right; margin-top: 18px; font-size: 11px; color: var(--grey); }
@media (max-width: 1200px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews__grid { grid-template-columns: 1fr; } .reviews__head { flex-direction: column; align-items: flex-start; } }

/* ================= WORK WITH US ================= */
.work { padding: 70px 0; background: linear-gradient(90deg, #15B3FF 0%, #0046FF 100%); color: var(--white); }
.work__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.work h2 { margin: 0 0 16px; font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
.work p { margin: 0; font-size: 15px; line-height: 1.55; max-width: 58ch; opacity: .95; }
.work__cta { justify-self: start; }
.work__cta a { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-deep); color: #fff; padding: 16px 28px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; }
.work__cta a:hover { background: #0033cc; }

/* ================= ABOUT ================= */
.about { padding: 110px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img { aspect-ratio: 1 / 1; background-image: url('about.jpg'); background-size: cover; background-position: center; }
.about__kicker { color: #ff7530; font-weight: 600; font-size: 14px; margin: 0 0 10px; border-bottom: 1px solid #ff7530; display: inline-block; padding-bottom: 2px; }
.about h3 { margin: 0 0 22px; font-weight: 700; font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
.about p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #333; }
.about p strong { font-weight: 700; color: var(--ink); }
.about__cta { display: inline-flex; align-items: center; gap: 30px; background: var(--blue-bright); color: #fff; padding: 11px 22px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 13px; margin-top: 10px; }
.about__cta:hover { background: #00a4f5; }

/* ================= CONTACT ================= */
.contact { padding: 90px 0 240px; background: var(--blue-deep); color: var(--white); position: relative; }
.contact__head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.contact h2 { margin: 0 0 18px; font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.contact__head p { margin: 0; font-size: 15px; line-height: 1.55; opacity: .95; }
.contact__form {
  position: relative; max-width: 680px; margin: 0 auto -180px;
  background: #fff; color: var(--ink); border-radius: 10px;
  padding: 24px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.35);
  z-index: 2; overflow: hidden;
}
.contact__form iframe { display: block; width: 100%; }

/* ================= MAP ================= */
.map { height: 600px; filter: grayscale(1) contrast(0.95); border: 0; width: 100%; display: block; }

/* ================= FOOTER ================= */
footer { background: #0a0a0a; color: #aaa; font-size: 12px; padding: 30px 0; }
footer p { line-height: 1.7; }
footer a { color: #ddd; text-decoration: underline; }

/* ================= BREAKPOINT: 1200px ================= */
@media (max-width: 1200px) {
  :root { --grid-max: 1200px; --grid-gutter: 32px; }
  .nav__links { display: none; }
  /* Mobile nav: hide search, show only the primary "Get A Quote" CTA */
  .nav__icons button[aria-label="Search"] { display: none; }
  .nav__ctas { display: flex; gap: 8px; margin-right: 6px; }
  .nav__ctas .nav-btn--cyan { display: none; }
  .nav__ctas .nav-btn--blue { padding: 10px 16px; font-size: 13px; }
  .hero__content-inner { max-width: 100%; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .work__inner { grid-template-columns: 1fr; }
  .work__cta { justify-self: start; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { max-width: 100%; }
  .svc-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .svc-row--reverse .svc-row__media { order: 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================= BREAKPOINT: 400px ================= */
@media (max-width: 400px) {
  :root { --grid-gutter: 16px; }
  .hero__bg { background-attachment: scroll; }
  .nav { padding: 8px 14px 8px 16px; border-radius: 40px; }
  .nav__brand img { height: 22px; }
  .nav__ctas .nav-btn--blue { padding: 8px 12px; font-size: 12px; }
  .hero h1 { font-size: 1.65rem; }
  .hero__logos { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .btn { gap: 12px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .about__grid { gap: 24px; }
  .contact { padding-bottom: 200px; }
  .contact__form { margin-inline: calc(var(--grid-gutter) * -1); border-radius: 0; }
  .gallery__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__blobs span { animation: none; }
}
