:root {
  --blue: #063B5C;
  --navy: #031623;
  --navy-2: #08253a;
  --teal: #18C7C1;
  --mint: #E9FFFC;
  --white: #FFFFFF;
  --ink: #1F2933;
  --muted: #9fb0ba;
  --muted-dark: #65727f;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(6, 59, 92, 0.14);
  --panel: rgba(255, 255, 255, 0.075);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --soft-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 199, 193, 0.14), transparent 31%),
    linear-gradient(180deg, #031623 0%, #061d2e 48%, #041a2a 100%);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(154, 241, 237, 0.22) 48%, transparent 50%),
    linear-gradient(115deg, transparent 0 57%, rgba(255, 255, 255, 0.12) 58%, transparent 60%);
  background-size: 190px 190px, 260px 260px;
  animation: softRain 18s linear infinite;
}

body::after {
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(24, 199, 193, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px);
  background-position: 12% 18%, 74% 10%;
  background-size: 240px 240px, 320px 320px;
  animation: slowSparkle 14s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 22, 35, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 850;
  font-size: 1.08rem;
}

.brand-logo {
  width: 58px;
  height: 58px;
  display: block;
  flex: 0 0 auto;
  background: center / contain no-repeat;
  filter: drop-shadow(0 12px 24px rgba(24, 199, 193, 0.16));
}

.brand-logo-mark {
  background-image: url("wish-up-mark.png");
}

.brand-logo-footer {
  width: 86px;
  height: 86px;
  background-image: url("wish-up-full.png");
}

.brand-name {
  color: var(--white);
  font-weight: 900;
}

.footer-brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-pad {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 86px;
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  overflow: hidden;
  background: var(--navy);
  scroll-margin-top: 86px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 22, 35, 0.96) 0%, rgba(3, 22, 35, 0.82) 43%, rgba(3, 22, 35, 0.36) 100%),
    linear-gradient(180deg, rgba(3, 22, 35, 0.18), rgba(3, 22, 35, 0.75)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1900&q=84") center/cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform: scale(1.04);
}

.hero-showcase {
  position: absolute;
  top: 112px;
  right: max(28px, calc((100vw - var(--max)) / 2));
  z-index: 1;
  width: min(38vw, 520px);
  height: 420px;
  pointer-events: none;
  perspective: 900px;
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
}

.showcase-card-one {
  inset: 0 70px 70px 0;
  background-image:
    linear-gradient(180deg, rgba(3, 22, 35, 0.03), rgba(3, 22, 35, 0.34)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1100&q=82");
  animation: floatCardOne 7s ease-in-out infinite;
}

.showcase-card-two {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 48%;
  background-image:
    linear-gradient(180deg, rgba(3, 22, 35, 0.06), rgba(3, 22, 35, 0.46)),
    url("https://images.unsplash.com/photo-1531973576160-7125cd663d86?auto=format&fit=crop&w=900&q=82");
  animation: floatCardTwo 8s ease-in-out infinite;
}

.showcase-line {
  position: absolute;
  top: 18%;
  right: 9%;
  width: 120px;
  height: 120px;
  border-top: 2px solid rgba(24, 199, 193, 0.68);
  border-right: 2px solid rgba(24, 199, 193, 0.28);
  border-radius: 0 8px 0 0;
  animation: linePulse 3.8s ease-in-out infinite;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 76px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 48px;
  margin: 0 auto;
  padding: 108px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 850;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: var(--teal);
}

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

h1 {
  max-width: 930px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.05rem, 4.7vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: var(--white);
  line-height: 1.2;
}

.hero-content p {
  max-width: 720px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--teal));
  box-shadow: 0 18px 38px rgba(24, 199, 193, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hero-facts {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 22, 35, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--soft-shadow);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

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

.billboard,
.process,
.services {
  color: var(--white);
}

.slider {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
  transform-style: preserve-3d;
  transition: transform 0.16s ease, border-color 0.25s ease;
}

.slider:hover {
  border-color: rgba(24, 199, 193, 0.42);
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 5vw, 58px);
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 0.8s ease, transform 1.4s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide.active .slide-copy {
  animation: slideCopyIn 0.85s ease both;
}

.slide-copy {
  max-width: 720px;
  color: var(--white);
}

.slide-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 22, 35, 0.42);
  backdrop-filter: blur(10px);
  font-weight: 850;
}

.slide-copy h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  line-height: 1.02;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  background: rgba(3, 22, 35, 0.58);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: rgba(24, 199, 193, 0.74);
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.2s ease, background 0.2s ease;
}

.slider-dots button.active {
  width: 54px;
  background: var(--teal);
}

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

.process-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.065);
}

.process-card span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--teal));
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.process-card p {
  margin-bottom: 0;
  color: rgba(228, 241, 245, 0.78);
}

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

.service-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card:hover {
  border-color: rgba(24, 199, 193, 0.46);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--white), var(--teal));
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--white);
}

.service-card p {
  color: rgba(228, 241, 245, 0.82);
}

.about-content p,
.contact-copy p {
  color: rgba(228, 241, 245, 0.76);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 48px;
  position: relative;
  isolation: isolate;
  color: var(--white);
}

.about::before,
.gallery::before,
.contact::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, #061d2e 0%, #08253a 100%);
}

.gallery,
.contact {
  position: relative;
  isolation: isolate;
  color: var(--white);
}

.about h2,
.gallery h2,
.contact h2 {
  color: var(--white);
}

.about-visual {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 22, 35, 0.08), rgba(3, 22, 35, 0.72)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1300&q=84") center/cover;
  box-shadow: 0 24px 60px rgba(6, 59, 92, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.16s ease;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.about-metrics span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--soft-shadow);
}

.about-metrics strong {
  display: block;
  color: var(--white);
}

.benefits {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(3, 22, 35, 0.92), rgba(3, 22, 35, 0.76)),
    url("https://images.unsplash.com/photo-1497366858526-0766cadbe8fa?auto=format&fit=crop&w=1800&q=82") center/cover;
}

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

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

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.benefit span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(24, 199, 193, 0.13);
}

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

.gallery-card {
  min-height: 292px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transform-style: preserve-3d;
  transition: transform 0.16s ease, border-color 0.25s ease;
}

.gallery-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 22, 35, 0.02), rgba(3, 22, 35, 0.72));
}

.gallery-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--white);
  font-weight: 850;
  font-size: 1.1rem;
}

.gallery-card:hover {
  border-color: rgba(24, 199, 193, 0.45);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 42px;
  align-items: start;
}

.contact-detail {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--soft-shadow);
}

.contact-detail strong,
.contact-detail span {
  display: block;
}

.contact-form {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.form-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.form-head h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.form-head p {
  margin-bottom: 0;
  color: rgba(228, 241, 245, 0.72);
}

.form-row {
  margin-bottom: 18px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(3, 22, 35, 0.62);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select option {
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 199, 193, 0.12);
}

.form-message {
  min-height: 26px;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 8px;
  font-weight: 750;
  transition: padding 0.2s ease, background 0.2s ease;
}

.form-message.error {
  padding: 14px 16px;
  border: 1px solid rgba(255, 120, 110, 0.28);
  color: #ffd6d2;
  background: rgba(180, 35, 24, 0.18);
}

.form-message.success {
  padding: 14px 16px;
  border: 1px solid rgba(24, 199, 193, 0.34);
  color: #d8fffb;
  background: rgba(24, 199, 193, 0.16);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 48px max(16px, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #031623;
}

.site-footer .brand,
.site-footer a {
  color: var(--white);
}

.footer-brand p {
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

address {
  justify-self: end;
  font-style: normal;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes softRain {
  from {
    background-position: 0 0, 80px -40px;
  }

  to {
    background-position: -260px 360px, -180px 440px;
  }
}

@keyframes slowSparkle {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.28;
  }

  to {
    transform: translate3d(18px, -24px, 0);
    opacity: 0.48;
  }
}

@keyframes slideCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-18px, -10px, 0);
  }
}

@keyframes floatCardOne {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(3deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotateY(-2deg) rotateX(5deg) translate3d(-10px, -16px, 0);
  }
}

@keyframes floatCardTwo {
  0%,
  100% {
    transform: rotateY(8deg) rotateX(-3deg) translate3d(0, 0, 40px);
  }

  50% {
    transform: rotateY(3deg) rotateX(-1deg) translate3d(12px, 12px, 40px);
  }
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.28;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.72;
    transform: translate3d(8px, -8px, 0);
  }
}

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

@media (max-width: 980px) {
  body {
    padding-top: 76px;
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--navy-2);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px;
    border-radius: 8px;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    top: 96px;
    right: 18px;
    width: 46vw;
    height: 300px;
    opacity: 0.28;
  }

  .hero-inner {
    align-items: end;
    padding-top: 86px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slider {
    min-height: 440px;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  address {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section-pad,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 62px 0;
  }

  .navbar {
    width: min(100% - 28px, var(--max));
  }

  .hero-inner {
    min-height: calc(100vh - 76px);
    padding: 72px 0 34px;
  }

  .hero-showcase {
    display: none;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .slider {
    min-height: 370px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .slider-dots button {
    width: 26px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card,
  .process-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
  }

  .process-card span {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .service-card h3,
  .process-card h3 {
    font-size: 1rem;
  }

  .service-card p,
  .process-card p,
  .benefit {
    font-size: 0.92rem;
  }

  .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .process-card h3 {
    margin-top: 0;
  }

  .about-visual,
  .gallery-card {
    min-height: 250px;
  }
}

@media (min-width: 520px) and (max-width: 640px) {
  .process-list,
  .card-grid,
  .benefit-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 10.5vw, 2.65rem);
  }

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

  .card-grid,
  .process-list,
  .benefit-list {
    gap: 12px;
  }

  .gallery-grid,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-card {
    min-height: 210px;
  }

  .benefit {
    min-height: 84px;
    align-items: flex-start;
  }
}
