:root {
  --solar: #f8b400;
  --solar-bright: #ffd84d;
  --green: #45c82f;
  --green-deep: #178b23;
  --navy: #08285a;
  --ink: #061833;
  --sky: #dff4ff;
  --white: #ffffff;
  --soft: #f7fbff;
  --muted: #506174;
  --line: rgba(8, 40, 90, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 80px rgba(8, 40, 90, 0.16);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 216, 77, 0.4), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(69, 200, 47, 0.24), transparent 28%),
    radial-gradient(circle at 52% 48%, rgba(68, 156, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #f6fbff 0%, #eaf8ff 46%, #fffaf0 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

body::before {
  background-image:
    linear-gradient(rgba(8, 40, 90, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 40, 90, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.65) 42%, transparent 64%),
    radial-gradient(circle at 28% 86%, rgba(255, 193, 7, 0.2), transparent 24%);
  animation: ambientSweep 15s ease-in-out infinite alternate;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--solar-bright);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container,
.navbar {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px) saturate(150%);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(8, 40, 90, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(8, 40, 90, 0.14));
}

.footer-brand .brand-logo {
  width: 70px;
  height: 70px;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
}

.brand-text small {
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(8, 40, 90, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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);
}

.nav-menu {
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.nav-link {
  display: block;
  padding: 0.78rem 0.9rem;
  color: var(--navy);
  font-weight: 800;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-deep);
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.28), rgba(69, 200, 47, 0.14));
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 124px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.96), rgba(247, 251, 255, 0.72), rgba(247, 251, 255, 0.96)),
    url("../assets/site-photos/site-photo-01.jpg") center / cover no-repeat;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 16% -8% auto auto;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(255, 216, 77, 0.48), rgba(69, 200, 47, 0.2), rgba(20, 101, 191, 0.18), rgba(255, 216, 77, 0.48));
  filter: blur(34px);
  opacity: 0.75;
  animation: orbSpin 18s linear infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2.55rem, 12vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 680px;
  color: #34475f;
  font-size: 1.08rem;
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0.55rem 0.88rem;
  color: var(--navy);
  font-weight: 900;
  border: 1px solid rgba(248, 180, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 32px rgba(248, 180, 0, 0.14);
  backdrop-filter: blur(16px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.18rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--solar-bright), var(--solar) 52%, #ff9f1c);
  box-shadow: 0 18px 38px rgba(248, 180, 0, 0.26);
}

.btn-ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(8, 40, 90, 0.16);
  backdrop-filter: blur(16px);
}

.hero-panel {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.8), rgba(69, 200, 47, 0.54), rgba(8, 40, 90, 0.32));
  filter: blur(18px);
  opacity: 0.65;
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-panel img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-panel img.is-switching {
  opacity: 0.45;
  transform: scale(0.985);
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 144px;
  padding: 0.92rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(8, 40, 90, 0.16);
  backdrop-filter: blur(18px) saturate(150%);
}

.floating-card strong {
  color: var(--green-deep);
  font-size: 1.75rem;
  line-height: 1;
}

.floating-card span {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.floating-card-one {
  top: 8%;
  left: -4%;
}

.floating-card-two {
  right: -2%;
  bottom: 8%;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.trust-grid,
.feature-grid,
.service-grid,
.project-grid,
.contact-layout,
.footer-grid,
.calc-layout,
.faq-layout {
  display: grid;
  gap: 1rem;
}

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

.stat-card,
.glass-card,
.service-card,
.testimonial-shell,
.map-card,
.cta-card,
.project-card,
.timeline-item,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(155%);
}

.stat-card {
  min-height: 132px;
  display: grid;
  place-content: center;
  padding: 1.2rem;
  text-align: center;
}

.stat-card span {
  color: var(--green-deep);
  font-size: clamp(2rem, 9vw, 3.35rem);
  font-weight: 950;
  line-height: 1;
}

.stat-card p {
  margin: 0.5rem 0 0;
  color: var(--navy);
  font-weight: 850;
}

.feature-grid,
.service-grid,
.project-grid {
  grid-template-columns: 1fr;
}

.glass-card,
.service-card {
  padding: 1.35rem;
}

.card-icon,
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 950;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--solar-bright), var(--green));
  box-shadow: 0 14px 28px rgba(69, 200, 47, 0.18);
}

.service-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -42% 25%;
  height: 150px;
  background: radial-gradient(circle, rgba(248, 180, 0, 0.2), transparent 68%);
  transition: transform 0.3s ease;
}

.service-card:hover,
.glass-card:hover,
.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 80px rgba(8, 40, 90, 0.18);
}

.service-card:hover::after {
  transform: scale(1.3);
}

.calc-layout {
  align-items: center;
}

.calc-card {
  display: grid;
  gap: 1rem;
}

.calc-card label {
  color: var(--navy);
  font-weight: 900;
}

.input-wrap {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.input-wrap span {
  color: var(--green-deep);
  font-weight: 950;
  margin-right: 0.6rem;
}

.input-wrap input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.calc-message {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green-deep);
  font-weight: 850;
}

.calc-results {
  display: grid;
  gap: 0.75rem;
}

.calc-results div {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  border: 1px solid rgba(8, 40, 90, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.calc-results span {
  color: var(--muted);
  font-size: 0.85rem;
}

.calc-results strong {
  color: var(--green-deep);
  font-size: 1.25rem;
}

.project-grid {
  grid-auto-flow: dense;
}

.project-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(6, 24, 51, 0.72));
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.25rem;
  transform: translateY(10px);
  transition: transform 0.28s ease;
}

.project-overlay span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.65rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.92);
}

.project-overlay h3,
.project-overlay p {
  color: var(--white);
}

.project-overlay p {
  margin-bottom: 0;
}

.project-card:hover {
  transform: translateY(-7px);
}

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

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  padding: 1.15rem;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-weight: 950;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--solar-bright), var(--green));
}

.timeline-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
}

.timeline-item p {
  margin-bottom: 0;
}

.testimonial-shell {
  position: relative;
  padding: 1.25rem;
}

.testimonial-track {
  position: relative;
  min-height: 380px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 216, 77, 0.94);
  box-shadow: 0 14px 28px rgba(8, 40, 90, 0.16);
}

.stars {
  color: var(--solar);
  letter-spacing: 0.08em;
}

blockquote {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.04rem;
}

.testimonial span {
  color: var(--muted);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 40, 90, 0.22);
  cursor: pointer;
}

.dot.active {
  background: var(--green);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--navy);
  font-weight: 900;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question span {
  color: var(--green-deep);
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  max-height: 190px;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 8vw, 3.6rem);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.58), rgba(69, 200, 47, 0.24)),
    rgba(255, 255, 255, 0.62);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.62) 44%, transparent 68%);
  transform: translateX(-100%);
  animation: shimmer 7s ease-in-out infinite;
}

.cta-card > * {
  position: relative;
}

.cta-card .hero-actions {
  justify-content: center;
}

.contact-layout {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.contact-list p {
  margin: 0;
}

.contact-list a {
  color: var(--green-deep);
  font-weight: 850;
}

.map-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 40, 90, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 40, 90, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255, 216, 77, 0.38), transparent 44%);
  background-size: 34px 34px, 34px 34px, cover;
}

.map-pin {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0;
  font-weight: 950;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--solar-bright), var(--green));
  transform: rotate(-45deg);
  box-shadow: 0 0 0 14px rgba(69, 200, 47, 0.14);
}

.map-pin::before {
  content: "GN";
  font-size: 1rem;
  transform: rotate(45deg);
}

.map-card p {
  position: absolute;
  bottom: 1.4rem;
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.footer {
  border-top: 1px solid rgba(8, 40, 90, 0.08);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.footer-grid {
  padding: 48px 0;
}

.footer h3 {
  color: var(--green-deep);
}

.footer a {
  display: block;
  width: fit-content;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

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

.footer-brand {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid rgba(8, 40, 90, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 18px;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(8, 40, 90, 0.16);
}

.whatsapp-float {
  bottom: 86px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), #9cff72);
}

.back-to-top {
  bottom: 24px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--solar-bright), var(--solar));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

@keyframes ambientSweep {
  from {
    transform: translateX(-4%) translateY(-2%);
  }
  to {
    transform: translateX(5%) translateY(3%);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translateX(-10px);
  }
  to {
    transform: scale(1.08) translateX(14px);
  }
}

@keyframes orbSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.82;
  }
}

@keyframes shimmer {
  0%,
  60% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

@media (min-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 48px, var(--max-width));
  }

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

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

  .testimonial {
    grid-template-columns: 96px 1fr;
    align-items: center;
  }

  .testimonial-track {
    min-height: 270px;
  }
}

@media (min-width: 820px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .project-card.featured {
    grid-row: span 2;
  }

  .project-card.featured img {
    min-height: 680px;
  }

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

  .calc-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    padding: 0.52rem 0.66rem;
    font-size: 0.91rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.82fr);
  }

  .hero-panel {
    justify-self: end;
  }

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

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

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

  .slider-btn {
    display: grid;
  }

  .testimonial-shell {
    padding: 2rem 4.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.8fr 0.9fr;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

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

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

  .floating-card {
    position: static;
    margin-top: 0.75rem;
  }

  .project-card,
  .project-card img {
    min-height: 380px;
  }
}
