/* =========================
   Seven Hill T.S. Website
   ========================= */

:root {
  --navy: #07143f;
  --navy-light: #142451;
  --pink: #c50050;
  --pink-dark: #99003e;
  --white: #ffffff;
  --background: #f5f4f5;
  --light-grey: #e2dfe2;
  --grey: #74747a;
  --dark-grey: #292a31;
  --black: #111116;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Reusable typography
   ========================= */

h1,
h2 {
  margin: 24px 0;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  font-size: clamp(52px, 6.2vw, 86px);
}

h2 {
  font-size: clamp(50px, 6.2vw, 82px);
}

h3 {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--pink);
  font-style: normal;
}

p {
  line-height: 1.65;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-label {
  margin: 0;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.accent-text {
  color: var(--pink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--pink);
  color: var(--white);
  padding: 17px 22px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.small-button {
  padding: 13px 17px;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding: 14px 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================
   Top bar
   ========================= */

.topbar {
  background: var(--pink);
  color: var(--white);
  padding: 8px 16px;
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.topbar span {
  padding: 0 12px;
}

/* =========================
   Navigation
   ========================= */

.navigation {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  width: 145px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}

.logo img {
  width: 105px;
  height: 105px;
  object-fit: contain;
  transform: none;
  mix-blend-mode: multiply;
}

.navigation nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation nav a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navigation nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.navigation nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle, .mobile-nav-actions { display: none; }
.navigation {
  position: relative;
  z-index: 50;
  min-height: 96px;
  padding-inline: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 30px rgba(7, 20, 63, .16);
}

.navigation::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .98);
}

.navigation .logo {
  width: 154px;
  height: 88px;
  padding: 3px 10px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.navigation .logo img { width: 146px; height: 86px; mix-blend-mode: normal; }
.brand-logo { flex-direction: column; gap: 1px; text-decoration: none; }
.brand-skyline { display: flex; align-items: end; gap: 3px; height: 22px; border-bottom: 2px solid var(--pink); }
.brand-skyline i { display: block; width: 8px; background: linear-gradient(180deg, var(--navy), var(--pink)); clip-path: polygon(50% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); }
.brand-skyline i:nth-child(1) { height: 13px; }
.brand-skyline i:nth-child(2) { height: 20px; }
.brand-skyline i:nth-child(3) { height: 16px; }
.brand-skyline i:nth-child(4) { height: 22px; }
.brand-skyline i:nth-child(5) { height: 15px; }
.brand-name { display: grid; justify-items: center; line-height: 1; }
.brand-name b { color: var(--pink); font-size: 14px; letter-spacing: -.04em; }
.brand-name b span { color: var(--navy); margin-left: 3px; }
.brand-name small { margin-top: 2px; color: var(--navy); font-size: 8px; font-weight: 900; letter-spacing: .28em; }
.navigation nav > a { color: var(--navy); }
.navigation nav a { transition: color 180ms ease, transform 180ms ease; }
.navigation nav > a:hover { color: #ff4b91; transform: translateY(-2px); }

/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      125deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.017) 18px,
      rgba(255, 255, 255, 0.017) 19px
    ),
    var(--navy);
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-company {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 22px;
  padding: 18px 24px 17px;
  border-left: 6px solid var(--pink);
  background: rgba(7, 20, 63, .76);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}
.hero-company span { color: white; font-size: clamp(20px, 2.2vw, 32px); font-weight: 950; letter-spacing: .16em; }
.hero-company strong { margin-top: 7px; color: #ff397f; font-size: clamp(30px, 3.5vw, 50px); line-height: .95; letter-spacing: .045em; }

.hero-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image: url("seven-hill-hero.png");
  background-position: center;
  background-size: cover;
  animation: heroPhotoReveal 1.1s ease both;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(7,20,63,.97) 25%, rgba(7,20,63,.74) 52%, rgba(7,20,63,.08) 100%),
    linear-gradient(0deg, rgba(7,20,63,.55), transparent 42%);
}

@keyframes heroPhotoReveal {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 700px) {
  .hero-photo {
    background-position: 64% center;
    opacity: .62;
  }

  .hero-photo::after {
    background: linear-gradient(90deg, rgba(7,20,63,.98), rgba(7,20,63,.7));
  }
}

.eyebrow {
  margin: 0;
  color: #d3d7e4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "—";
  margin-right: 8px;
  color: var(--pink);
}

.hero-description {
  max-width: 590px;
  color: #c6cad7;
  font-size: 17px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 57, 127, .72);
}

.hero-description strong { display: block; margin-bottom: 7px; color: white; font-size: 19px; letter-spacing: .02em; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 36px 0 54px;
}

.hero .text-link {
  color: var(--white);
}

.hero-number {
  position: absolute;
  z-index: 1;
  top: 5%;
  right: 6vw;
  color: rgba(255, 255, 255, 0.025);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 600px;
  line-height: 0.9;
  transform: rotate(4deg);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.trust-row {
  display: flex;
  gap: 42px;
  max-width: 850px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 25px;
}

.trust-row article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.check {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-size: 12px;
}

.trust-row strong,
.trust-row small {
  display: block;
}

.trust-row strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-row small {
  color: #a7acbb;
  font-size: 9px;
}

/* =========================
   Moving-style service banner
   ========================= */

.service-banner {
  overflow: hidden;
  background: var(--pink);
  color: var(--white);
  padding: 16px;
  text-align: center;
  white-space: nowrap;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 16px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* =========================
   Section heading
   ========================= */

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-heading > p {
  margin-bottom: 28px;
  color: var(--grey);
}

/* =========================
   Services
   ========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--light-grey);
  border-left: 1px solid var(--light-grey);
}

.service-card {
  position: relative;
  min-height: 320px;
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 28px;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), #ff4b8d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.service-card::after {
  content: "↗";
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--pink);
  font-size: 24px;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(7, 20, 63, 0.1);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  transform: scaleX(1);
}

.service-card:hover::after,
.service-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.service-card:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.card-number {
  color: #8a8a91;
  font-size: 9px;
}

.service-symbol {
  display: block;
  margin: 34px 0;
  color: var(--pink);
  font-size: 35px;
  transition: color 220ms ease, transform 260ms ease;
}

.service-card:hover .service-symbol {
  color: var(--pink);
  transform: rotate(90deg) scale(1.18);
}

.service-card p {
  color: var(--grey);
  font-size: 14px;
}

.service-card > a {
  position: absolute;
  bottom: 26px;
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover > a::after {
  transform: scaleX(1);
}

.service-card > a:hover {
  color: var(--pink);
}

.legal-note {
  margin-top: 20px;
  color: var(--grey);
  font-size: 10px;
}

/* =========================
   Two-column sections
   ========================= */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
}

/* =========================
   Why Seven Hill
   ========================= */

.dark-section {
  background: var(--navy);
  color: var(--white);
  padding: 110px 0;
}

.dark-description {
  max-width: 580px;
  margin-bottom: 34px;
  color: #aeb4c4;
}

.reasons {
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.reasons article {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
  padding: 27px 0;
}

.reasons article > span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
}

.reasons h3 {
  color: var(--white);
}

.reasons p {
  margin: 0;
  color: #aeb4c4;
  font-size: 14px;
}

/* =========================
   Projects
   ========================= */

.projects-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.project-image {
  position: relative;
  height: 370px;
  overflow: hidden;
  background: #9ca3b3;
}

.project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 300ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}

.project-one {
  background:
    linear-gradient(145deg, rgba(7, 20, 63, 0.15), rgba(197, 0, 80, 0.2)),
    #aeb3bf;
}

.project-two {
  background:
    linear-gradient(145deg, rgba(7, 20, 63, 0.32), rgba(197, 0, 80, 0.22)),
    #767f94;
}

.project-three {
  background:
    linear-gradient(145deg, rgba(7, 20, 63, 0.15), rgba(197, 0, 80, 0.24)),
    #a78c78;
}

.project-image::after {
  content: "";
  position: absolute;
  top: -25%;
  left: 25%;
  width: 65%;
  height: 150%;
  border: 20px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 25px rgba(7, 20, 63, 0.08);
  transform: rotate(32deg);
}

.project-image span {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 18px;
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-image strong {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 15px;
  color: rgba(255, 255, 255, 0.48);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 72px;
}

.project-card > small {
  display: block;
  margin-top: 16px;
  color: var(--pink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 7px;
}

/* =========================
   Areas
   ========================= */

.areas-section {
  background: var(--navy-light);
  color: var(--white);
  padding: 100px 0;
}

.areas-section p:not(.section-label) {
  color: #b8bdcc;
}

.areas-section .text-link {
  color: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.areas-grid span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 17px 5px;
  font-size: 13px;
}

/* =========================
   Testimonial
   ========================= */

.testimonial-section {
  background: #e8e4e8;
  text-align: center;
}

.quotation-mark {
  height: 70px;
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 90px;
}

.testimonial-section blockquote {
  max-width: 930px;
  margin: 10px auto 30px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.3vw, 42px);
  font-style: italic;
  line-height: 1.35;
}

.testimonial-section strong,
.testimonial-section small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.testimonial-section small {
  margin-top: 8px;
  color: var(--grey);
  letter-spacing: 0;
  text-transform: none;
}

/* =========================
   FAQ
   ========================= */

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--light-grey);
}

.faq-list details {
  border-bottom: 1px solid var(--light-grey);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 23px 0;
  font-size: 14px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--pink);
  font-size: 20px;
}

.faq-list details p {
  margin: 0;
  padding: 0 40px 22px 0;
  color: var(--grey);
  font-size: 14px;
}

/* =========================
   Quote section
   ========================= */

.quote-section {
  background: var(--navy);
  color: var(--white);
  padding: 110px 0;
}

.quote-section p:not(.section-label) {
  color: #aeb4c4;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-top: 38px;
  font-size: 14px;
}

.contact-details a {
  color: var(--pink);
  font-weight: 800;
}

.quote-form {
  background: var(--navy-light);
  padding: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #68708a;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  padding: 12px 0;
  font-size: 14px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #878da0;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--pink);
}

.quote-form select option {
  background: var(--white);
  color: var(--navy);
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-button {
  width: 100%;
}

.quote-form > small {
  display: block;
  margin-top: 13px;
  color: #8e94a6;
  text-align: center;
  font-size: 9px;
}

/* =========================
   Footer
   ========================= */

footer {
  background: var(--black);
  color: var(--white);
  padding: 55px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 55px;
}

.footer-logo { width: 180px; height: 112px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.15); background: white; box-shadow: 0 14px 35px rgba(0,0,0,.28); }
.footer-logo img { width: 150px; height: 96px; object-fit: contain; mix-blend-mode: normal; }
.footer-logo .brand-skyline { height: 38px; gap: 5px; }
.footer-logo .brand-skyline i { width: 13px; }
.footer-logo .brand-skyline i:nth-child(1) { height: 22px; }
.footer-logo .brand-skyline i:nth-child(2) { height: 34px; }
.footer-logo .brand-skyline i:nth-child(3) { height: 27px; }
.footer-logo .brand-skyline i:nth-child(4) { height: 38px; }
.footer-logo .brand-skyline i:nth-child(5) { height: 25px; }
.footer-logo .brand-name b { font-size: 22px; }
.footer-logo .brand-name small { font-size: 11px; }

.footer-grid p {
  margin-top: 0;
  color: #96969c;
  font-size: 13px;
}

.footer-grid p strong { color: white; font-size: 15px; }
.footer-grid p a { color: #ff4b91; font-weight: 800; }
.footer-grid p .google-link { display: inline-block; margin-top: 9px; padding-bottom: 2px; border-bottom: 1px solid currentColor; }

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #33343a;
  margin-top: 40px;
  padding-top: 20px;
  color: #797980;
  font-size: 9px;
}

/* =========================
   Customer chat
   ========================= */

.chat-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}

.chat-button {
  min-width: 76px;
  height: 58px;
  border: 0;
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 12px 35px rgba(7, 20, 63, 0.35);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat-button span {
  margin-left: 5px;
  color: #80ef9a;
  font-size: 8px;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(365px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #d9d7db;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 22px 70px rgba(7, 20, 63, 0.4);
}

.chat-window[hidden] {
  display: none;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--navy);
  color: var(--white);
  padding: 18px;
}

.chat-header strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat-header small {
  display: block;
  margin-top: 6px;
  color: #b3b8c8;
}

.chat-header small span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #6fe189;
}

.chat-header > button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 25px;
}

.chat-messages {
  height: 235px;
  overflow-y: auto;
  background: #f5f4f5;
  padding: 18px;
}

.chat-messages p {
  max-width: 86%;
  margin: 0 0 10px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.5;
}

.bot-message {
  border: 1px solid #dedce0;
  background: var(--white);
}

.user-message {
  margin-left: auto !important;
  background: var(--pink);
  color: var(--white);
}

.quick-questions {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
}

.chat-limit {
  margin: 0;
  padding: 8px 12px 0;
  color: var(--grey);
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.chat-form input:disabled,
.chat-form button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.quick-questions button {
  flex: 1;
  border: 1px solid #d8d6dc;
  background: var(--white);
  color: var(--navy);
  padding: 7px 5px;
  font-size: 9px;
}

.quick-questions button:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.chat-form {
  display: flex;
  background: var(--white);
  padding: 10px 12px;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid #d8d6dc;
  outline: 0;
  padding: 11px;
  color: var(--navy);
  font-size: 13px;
}

.chat-form input:focus {
  border-color: var(--pink);
}

.chat-form button {
  width: 44px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
}

.chat-quote-link {
  display: block;
  background: var(--pink);
  color: var(--white);
  padding: 13px;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {
  .navigation nav {
    gap: 15px;
  }

  .navigation nav a {
    font-size: 9px;
  }

  .section-heading,
  .two-column,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .project-card:first-child {
    grid-column: 1 / -1;
  }
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    font-size: 8px;
  }

  body.nav-open { overflow: hidden; }
  .navigation { min-height: 80px; width: 100%; padding: 0 16px; box-shadow: 0 8px 28px rgba(7, 20, 63, .2); }
  .navigation .logo { width: 122px; height: 72px; }
  .navigation .logo img { width: 116px; height: 70px; }
  .small-button { display: none; }

  .menu-toggle {
    position: relative; z-index: 53; display: grid; place-content: center; gap: 5px;
    width: 48px; height: 48px; margin-left: auto; padding: 0;
    border: 1px solid rgba(7, 20, 63, .13); border-radius: 14px;
    background: var(--pink); box-shadow: 0 8px 22px rgba(197, 0, 80, .28); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 4px; background: white; transition: transform 260ms ease, opacity 180ms ease, width 260ms ease; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { width: 0; opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .navigation nav {
    position: fixed; z-index: 52; top: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: min(88vw, 390px); height: 100dvh; padding: 118px 24px 30px;
    background: radial-gradient(circle at 100% 0, rgba(197, 0, 80, .25), transparent 35%), var(--navy);
    box-shadow: -24px 0 70px rgba(0, 0, 0, .3); transform: translateX(110%); visibility: hidden;
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1), visibility 320ms;
  }
  .navigation::after { content: ""; position: fixed; z-index: 51; inset: 0; background: rgba(2, 8, 28, .62); opacity: 0; visibility: hidden; backdrop-filter: blur(4px); transition: opacity 260ms ease, visibility 260ms; }
  .navigation.menu-open::after { opacity: 1; visibility: visible; }
  .navigation.menu-open nav { transform: translateX(0); visibility: visible; }
  .navigation nav > a { padding: 17px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: white; font-size: 16px; letter-spacing: .12em; }
  .navigation nav > a::after { display: none; }
  .navigation nav > a:hover { color: #ff4b91; transform: translateX(7px); }

  .mobile-nav-actions { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
  .mobile-nav-actions a { display: flex; justify-content: center; padding: 16px; border-radius: 5px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-nav-actions .mobile-call { border: 1px solid rgba(255, 255, 255, .45); color: white; }
  .mobile-nav-actions .mobile-quote { border: 1px solid var(--pink); background: var(--pink); color: white; animation: buttonPulse 2.8s ease-in-out infinite; }

  .logo {
    width: 115px;
    height: 85px;
  }

  .logo img {
    width: 85px;
    height: 85px;
    transform: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  h1 { font-size: clamp(48px, 14vw, 66px); }

  .hero-company span { font-size: 17px; }
  .hero-company strong { font-size: clamp(27px, 8vw, 38px); }

  h2 {
    font-size: clamp(48px, 13vw, 65px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 30px 0 45px;
  }

  .hero-number {
    right: -170px;
    font-size: 520px;
    opacity: 0.55;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .section,
  .dark-section,
  .quote-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card:first-child {
    grid-column: auto;
  }

  .service-card {
    min-height: 275px;
  }

  .project-image {
    height: 310px;
  }

  .areas-grid {
    margin-top: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-form {
    padding: 26px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .chat-container {
    right: 16px;
    bottom: 16px;
  }
}

/* =========================
   Small mobile
   ========================= */

@media (max-width: 430px) {
  .service-banner {
    text-align: left;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-row article:last-child {
    display: none;
  }

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

  .quick-questions {
    overflow-x: auto;
  }

  .quick-questions button {
    min-width: 90px;
  }
}

/* =========================
   Website animations
   ========================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes numberFloat {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes toolFloatOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
  50% { transform: translate3d(18px, -25px, 0) rotate(7deg); }
}

@keyframes toolFloatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(14deg); }
  50% { transform: translate3d(-20px, 22px, 0) rotate(-8deg); }
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 0, 80, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(197, 0, 80, 0); }
}

@keyframes buttonFlash {
  0%, 45%, 100% {
    background-color: var(--pink);
    color: var(--white);
    filter: brightness(1);
  }
  50%, 85% {
    background-color: #ff176f;
    color: var(--white);
    filter: brightness(1.22);
  }
}

@keyframes emergencyFlash {
  0%, 48%, 100% {
    background: #ffffff;
    color: var(--pink);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  52%, 88% {
    background: #ffe100;
    color: var(--navy);
    box-shadow: 0 0 18px rgba(255,225,0,.75);
  }
}

@keyframes bannerMove {
  from { background-position: 0 0; }
  to { background-position: 80px 0; }
}

@keyframes chatOpen {
  from { opacity: 0; transform: translateY(15px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.logo { animation: fadeIn 700ms ease both; }
.eyebrow { animation: fadeUp 650ms ease 100ms both; }
.hero h1 { animation: fadeUp 750ms ease 220ms both; }
.hero-description { animation: fadeUp 750ms ease 340ms both; }
.hero-actions { animation: fadeUp 750ms ease 460ms both; }
.trust-row { animation: fadeUp 750ms ease 580ms both; }
.hero-number { animation: numberFloat 7s ease-in-out infinite; }

.hero-tools {
  position: absolute;
  z-index: 1;
  top: 5%;
  right: 2vw;
  bottom: 5%;
  width: min(45vw, 620px);
  opacity: .72;
  pointer-events: none;
}

.hero-tools::before,
.hero-tools::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-tools::before {
  width: 480px;
  height: 480px;
  box-shadow: 0 0 80px rgba(197,0,80,.14), inset 0 0 65px rgba(197,0,80,.08);
}

.hero-tools::after {
  width: 285px;
  height: 285px;
  border-style: dashed;
  animation: toolOrbit 24s linear infinite;
}

.floating-tool {
  position: absolute;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(197,0,80,.05));
  box-shadow: inset 0 0 45px rgba(197,0,80,.18), 0 24px 55px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
}

.floating-tool img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: invert(14%) sepia(97%) saturate(6600%) hue-rotate(329deg)
    brightness(88%) contrast(108%) drop-shadow(0 10px 16px rgba(0,0,0,.35));
}

.floating-tool::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
}

.tool-hammer { top: 5%; right: 3%; animation: toolFloatOne 5.8s ease-in-out infinite; }
.tool-wrench { top: 43%; right: 43%; animation: toolFloatTwo 6.6s ease-in-out infinite; }
.tool-screwdriver { top: 62%; right: 2%; animation: toolFloatOne 7.2s ease-in-out -1.5s infinite; }
.tool-ruler { top: 8%; right: 50%; animation: toolFloatTwo 7.8s ease-in-out -2s infinite; }

@keyframes toolOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 700px) {
  .hero-tools { right: -115px; width: 330px; opacity: .26; }
  .hero-tools::before { width: 310px; height: 310px; }
  .hero-tools::after { width: 185px; height: 185px; }
  .floating-tool { width: 105px; height: 105px; border-radius: 25px; }
  .floating-tool img { width: 55px; height: 55px; }
}
.button,
.chat-button {
  animation: buttonFlash 1.8s ease-in-out infinite,
    buttonPulse 2.8s ease-in-out infinite;
}

.button:hover,
.chat-button:hover {
  animation-play-state: paused;
  background: var(--pink-dark);
  filter: brightness(1);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.emergency-sign {
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  padding: 5px 12px;
  font-weight: 900;
  letter-spacing: .12em;
  animation: emergencyFlash 1.6s ease-in-out infinite;
}

.emergency-sign:hover {
  animation-play-state: paused;
  background: #ffe100;
  color: var(--navy);
}

.service-banner {
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 35px,
    rgba(255, 255, 255, 0.08) 35px,
    rgba(255, 255, 255, 0.08) 70px
  );
  animation: bannerMove 4s linear infinite;
}

.service-card,
.project-card,
.reasons article,
.areas-grid span {
  transition: transform 220ms ease, box-shadow 220ms ease,
    background-color 220ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(7, 20, 63, 0.15);
}

.reasons article:hover { transform: translateX(8px); }
.areas-grid span:hover { background: rgba(197, 0, 80, 0.18); transform: translateX(5px); }
.chat-window { transform-origin: bottom right; animation: chatOpen 220ms ease both; }

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