:root {
  --bg: #f4f1ea;
  --surface: #fffdf9;
  --surface-alt: #0f2237;
  --text: #112033;
  --muted: #586574;
  --line: rgba(17, 32, 51, 0.12);
  --primary: #0e4f87;
  --primary-deep: #09375e;
  --accent: #d7b776;
  --shadow: 0 20px 60px rgba(10, 28, 45, 0.15);
  --radius: 24px;
  --radius-sm: 18px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 79, 135, 0.16), transparent 28rem),
    linear-gradient(180deg, #fcfbf8 0%, #f2ede5 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(252, 251, 248, 0.84);
  border-bottom: 1px solid rgba(17, 32, 51, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 108px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a:not(.button) {
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible, 
.site-nav a:not(.button).active {
  color: var(--primary-deep);
  border-bottom: 2px solid var(--primary-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(14, 79, 135, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 79, 135, 0.32);
}

.button-small {
  min-height: 44px;
  padding: 0 1rem;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(17, 32, 51, 0.14);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5rem 0 4rem;
}

.legal-page .hero {
  padding: 2rem 0 1.5rem;
}

.legal-page .services-hero .hero-copy {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-page .section {
  padding-top: 2.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.84) 20%, rgba(255, 255, 255, 0.18) 55%),
    url("images/IMG_1051-1.jpg") center/cover no-repeat;
  filter: saturate(0.88);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 28rem);
  gap: 8rem;
  align-items: stretch;
}

.services-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.services-hero .hero-copy,
.services-hero h1,
.services-hero .lead {
  max-width: none;
}

.services-hero .hero-copy {
  width: min(100%, 48rem);
  min-height: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(10, 28, 45, 0.28);
}

.services-hero h1 {
  margin: 0 auto;
  text-align: center;
  color: var(--text);
}

.services-hero h1::after,
.about-hero h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.hero-copy,
.testimonial-card,
.contact-form,
.service-card,
.step,
.showcase-image {
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
}

.about-hero .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.about-hero .hero-copy {
  width: min(100%, 48rem);
  min-height: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(10, 28, 45, 0.28);
}

.about-hero .hero-copy,
.about-hero h1,
.about-hero .lead {
  max-width: none;
}

.about-hero h1 {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 20ch;
  margin: auto 0;
}

.hero-title {
  display: grid;
  gap: 0.08em;
  max-width: none;
}

.hero-title span {
  display: block;
}

.hero-title span:nth-child(1) {
  max-width: none;
}

.hero-title span:nth-child(2) {
  max-width: 11ch;
}

.hero-title span:nth-child(3) {
  max-width: 18ch;
}


h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: none;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.lead,
.section-heading p,
.service-card p,
.step p,
.showcase-copy p,
.contact-copy p,
.quote-note,
.site-footer p,
.trust-bar p,
.contact-list p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.lead {
  max-width: 38rem;
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
  color: var(--text);
  font-weight: 700;
}

.hero-points li {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 32, 51, 0.08);
}

.trust-bar {
  padding: 1.5rem 0 0;
}

.trust-copy {
  max-width: 62rem;
}

.trust-copy h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.trust-copy p {
  max-width: 58rem;
}

.trust-button {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.section.service-guidance-section {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(5.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at top right, rgba(14, 79, 135, 0.1), transparent 22rem),
    transparent;
}

.services-help-shell {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6.5rem);
}

.services-help-callout {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.services-help-callout {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(3rem, 6vw, 5rem) max(1rem, calc((100vw - 1120px) / 2));
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(14, 79, 135, 0.16), transparent 20rem),
    linear-gradient(180deg, #102338 0%, #0b1827 100%);
  box-shadow: none;
  color: #fff;
}

.services-help-callout::after {
  content: none;
}

.services-start-panel h2 {
  max-width: none;
  color: var(--primary-deep);
}

.services-help-callout h2 {
  max-width: none;
  color: #fff;
}

.services-help-callout p {
  max-width: 58rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.7;
}

.services-start-panel {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.services-start-panel > h2 {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(17, 32, 51, 0.14);
}

.services-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.services-call-block {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-kicker {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.services-phone-number {
  margin: 0.35rem 0 1rem;
  font-family: "Manrope", sans-serif;
  color: var(--primary-deep);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

.services-call-button {
  margin-top: 0.4rem;
}

.services-panel-form {
  width: 100%;
  justify-self: stretch;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(17, 32, 51, 0.1);
}

.project-image-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(17, 32, 51, 0.12);
  box-shadow: 0 18px 40px rgba(17, 32, 51, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-image-button:hover,
.project-image-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(17, 32, 51, 0.18);
}

.project-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-label {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.projects-form-section {
  padding-top: 0;
}

.projects-form-shell {
  display: flex;
  justify-content: center;
}

.projects-form-shell .contact-form {
  justify-self: auto;
}

.about-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.about-check-item {
  position: relative;
  display: flex;
  min-height: clamp(8rem, 13vw, 11rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2rem) clamp(1.6rem, 3vw, 2.4rem) clamp(4.2rem, 5vw, 5rem);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(17, 32, 51, 0.1);
  color: var(--text);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.about-check-item::before {
  content: "✓";
  position: absolute;
  left: clamp(1.35rem, 2.5vw, 2rem);
  top: 50%;
  display: grid;
  width: clamp(1.8rem, 3vw, 2.25rem);
  height: clamp(1.8rem, 3vw, 2.25rem);
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  transform: translateY(-50%);
}

.about-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.about-service-list span {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  color: var(--primary-deep);
  font-weight: 800;
}

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

.about-services-section .about-service-list span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.about-services-section .trust-button {
  box-shadow: none;
}

.about-services-section .trust-button:hover,
.about-services-section .trust-button:focus-visible {
  box-shadow: none;
}

.about-final-cta {
  padding-top: 0;
}

.about-final-cta h2 {
  max-width: 100%;
  margin-bottom: 1.25rem;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.about-final-cta .contact-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.about-final-cta .contact-copy .button {
  width: fit-content;
  margin-top: 0.35rem;
}

.about-final-cta .contact-copy p:not(.eyebrow) {
  margin: 0;
  font-size: 1.12rem;
}

.section {
  padding: 5.5rem 0;
}

.thank-you-page {
  min-height: 100vh;
  background: var(--bg);
}

.thank-you-hero {
  position: relative;
  overflow: clip;
  min-height: calc(100vh - 82px);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.thank-you-shell {
  position: relative;
  display: grid;
  justify-items: center;
}

.thank-you-content {
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(17, 32, 51, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.93);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-content h1 {
  max-width: 24ch;
  margin: 0 auto;
}

.thank-you-lead {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.thank-you-status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(17, 32, 51, 0.1);
  border-bottom: 1px solid rgba(17, 32, 51, 0.1);
}

.thank-you-status-item {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  color: var(--text);
  font-weight: 800;
}

.thank-you-status-item span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.thank-you-status-item p {
  margin: 0;
}

.thank-you-callout {
  display: grid;
  gap: 0.4rem;
  margin: 0 auto 2rem;
}

.thank-you-callout p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.thank-you-callout a {
  color: var(--primary-deep);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.thank-you-trust {
  display: grid;
  gap: 0.35rem;
  margin: 2rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.thank-you-trust span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.section-heading {
  max-width: none;
  margin-bottom: 2rem;
}

#service-box .section-heading h2 {
  max-width: 46rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem); 
  line-height: 1.12;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid var(--line);
}

#service-box .service-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  background: var(--surface-alt);
  box-shadow: 0 18px 42px rgba(17, 32, 51, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

#service-box .service-card img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 320ms ease, filter 320ms ease;
}

#service-box .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 34, 55, 0.08) 0%, rgba(15, 34, 55, 0.86) 100%),
    rgba(15, 34, 55, 0.12);
  opacity: 0.72;
  transition: opacity 220ms ease;
}

#service-box .service-card-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.35rem;
  color: #fff;
  transform: translateY(calc(100% - 4.8rem));
  transition: transform 260ms ease;
}

#service-box .service-card-content h3 {
  margin-bottom: 0.7rem;
}

#service-box .service-card-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

#service-box .service-card:hover,
#service-box .service-card:focus-within {
  transform: translateY(-0.55rem) scale(1.025);
  box-shadow: 0 26px 58px rgba(17, 32, 51, 0.24);
}

#service-box .service-card:hover img,
#service-box .service-card:focus-within img {
  transform: scale(1.1);
  filter: saturate(1.06) contrast(1.04);
}

#service-box .service-card:hover::after,
#service-box .service-card:focus-within::after {
  opacity: 1;
}

#service-box .service-card:hover .service-card-content,
#service-box .service-card:focus-within .service-card-content {
  transform: translateY(0);
}

#service-box .service-card:hover .service-card-content p,
#service-box .service-card:focus-within .service-card-content p {
  opacity: 1;
  transform: translateY(0);
}

.section-dark {
  background:
    radial-gradient(circle at right top, rgba(215, 183, 118, 0.16), transparent 24rem),
    linear-gradient(180deg, #102338 0%, #0b1827 100%);
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--accent);
}

.section-dark .section-heading p,
.section-dark .step p {
  color: rgba(255, 255, 255, 0.72);
}

.services-trust-section .section-heading {
  max-width: 52rem;
}

.services-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.services-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #102338 0%, #0b1827 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(17, 32, 51, 0.14);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}

.services-trust-icon {
  display: grid;
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #102338;
  font-size: 0.95rem;
}

.services-trust-closing {
  margin: 1.5rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .services-trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-icons-shell {
  display: grid;
  gap: 2rem;
}

.trust-icons-heading {
  max-width: 56rem;
}

.trust-icons-heading h2 {
  max-width: none;
}

.trust-content-space {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-item p {
  margin: 0.85rem 0 0;
  color: #fff;
  font-weight: 700;
}

.trust-copy-block {
  margin-top: 0.85rem;
  max-width: 14rem;
  color: #fff;
}

.trust-copy-block strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.trust-copy-block span {
  display: block;
  line-height: 1.5;
  font-size: 0.95rem;
}

.trust-icon {
  width: min(100%, 8rem);
  height: auto;
}

.showcase-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
  align-items: center;
}

.showcase-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.testimonial-section {
  padding-top: 0;
}

.before-after-section {
  padding: 5.5rem 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.before-after-actions {
  display: flex;
  margin-top: 1.75rem;
}

.before-after-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.before-after-card img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}

.before-after-card figcaption {
  padding: 1rem 1.2rem 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
}

.reviews-section {
  padding-top: 0;
}

.reviews-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
}

.reviews-viewport {
  overflow: hidden;
  padding: 0;
  touch-action: pan-y;
}

.reviews-track {
  display: block;
  transform: translateX(0);
  opacity: 1;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
  will-change: transform, opacity;
}

.review-card {
  flex: 0 0 100%;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transform: scale(0.9);
  opacity: 0.58;
  filter: saturate(0.84);
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease;
}

.review-text-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
}

.review-card.is-preview {
  pointer-events: none;
}

.review-text {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.review-author {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-meta {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0.85rem auto 0;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.98) 0%, rgba(242, 225, 181, 0.96) 100%);
  border: 1px solid rgba(181, 143, 58, 0.24);
  box-shadow: 0 10px 24px rgba(183, 144, 53, 0.16);
}

.review-star {
  color: #b8860b;
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.review-count {
  margin: auto 0 0;
  color: var(--muted);
  font-weight: 700;
}

.review-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: auto;
  min-height: 100%;
  border: 1px solid rgba(17, 32, 51, 0.14);
  border-radius: 1.5rem;
  background: rgba(255, 253, 249, 0.96);
  color: var(--primary-deep);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.review-arrow:hover,
.review-arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--primary-deep);
  color: #fff;
}

.review-arrow:active {
  transform: translateY(0) scale(0.96);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0;
}

.testimonial-pause {
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
}

.testimonial-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 32, 51, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.testimonial-dot.is-active {
  background: var(--primary-deep);
  transform: scale(1.15);
}

.testimonial-card {
  padding: 2.2rem;
  background: rgba(255, 253, 249, 0.96);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.quote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.quote-note {
  margin: 1rem 0 0;
}

.contact-section {
  padding-top: 0;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-section-grid > h2 {
  grid-column: 1 / -1;
  margin: 0;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-list a {
  font-weight: 800;
  color: var(--primary);
}

.contact-list .button {
  justify-self: start;
  width: fit-content;
  color: #fff;
}

.contact-form {
  width: min(100%, 28rem);
  justify-self: end;
  transform: none;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
}

.contact-details-card {
  max-width: 42rem;
}

.policy-content {
  max-width: 52rem;
}

.policy-content .policy-intro {
  margin-top: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.policy-content h2 {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.policy-content a {
  color: var(--primary);
  font-weight: 800;
}

.contact-form .form-intro {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text);
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 32, 51, 0.14);
  background: #fff;
}

.contact-form .form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #1d6b43;
}

.form-status.is-error {
  color: #a23131;
}

.bottom-contact-section {
  padding: 4.5rem 0 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(14, 79, 135, 0.16), transparent 20rem),
    linear-gradient(180deg, #102338 0%, #0b1827 100%);
  color: #fff;
}

.bottom-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.bottom-contact-column {
  padding: 0;
}

.bottom-contact-column h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid rgba(14, 79, 135, 0.9);
}

.bottom-contact-column p {
  margin: 0.55rem 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.bottom-contact-column a {
  display: block;
  margin: 0.55rem 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.bottom-contact-column a:hover,
.bottom-contact-column a:focus-visible {
  color: #fff;
}

.footer-services-link {
  margin-top: 1.15rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}


.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.site-footer.bottom-contact-section {
  padding: 4.5rem 0 1.5rem;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.footer-shell p {
  margin: 0;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0.4rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 32rem;
  justify-content: space-between;
  gap: 0.4rem 0;
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(17, 32, 51, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .service-grid,
  .before-after-grid,
  .contact-section-grid,
  .bottom-contact-grid,
  .services-start-grid,
  .about-check-grid {
    grid-template-columns: 1fr;
  }

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

  .reviews-slider {
    grid-template-columns: 1fr;
  }

  .review-arrow {
    display: none;
  }

  .review-card {
    flex-basis: 100%;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .hero-grid {
    gap: 2rem;
  }

  .contact-form {
    width: 100%;
    justify-self: stretch;
    transform: none;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  h1 {
    max-width: 18ch;
  }

  .thank-you-content h1 {
    max-width: 24ch;
  }

  .brand-copy {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  .contact-form,
  .testimonial-card {
    padding: 1.4rem;
  }

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

  .thank-you-status-list {
    grid-template-columns: 1fr;
  }

  .thank-you-actions .button {
    width: 100%;
  }
}
