:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(212 15% 20%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(212 15% 20%);
  --primary: hsl(212 85% 25%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(210 20% 95%);
  --muted-foreground: hsl(212 10% 45%);
  --accent: hsl(25 95% 55%);
  --accent-foreground: hsl(0 0% 100%);
  --accent-gradient: linear-gradient(135deg, hsl(25 95% 55%) 0%, hsl(20 90% 60%) 100%);
  --border: hsl(214 25% 88%);
  --hero-gradient: linear-gradient(135deg, hsl(212 85% 25%) 0%, hsl(212 75% 35%) 100%);
  --hero-overlay: linear-gradient(to right, hsl(212 85% 25% / 0.95), hsl(212 85% 25% / 0.7));
  --card-shadow: 0 4px 20px hsl(212 50% 10% / 0.08);
  --card-shadow-hover: 0 8px 30px hsl(212 50% 10% / 0.15);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  background: var(--background);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

.container {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: hsl(210 20% 95% / 0.3);
}

.section-head {
  margin-bottom: 4rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
}

.section-head p {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: 0.25s ease;
}

.navbar.scrolled {
  background: hsl(0 0% 100% / 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px hsl(212 35% 10% / 0.12);
}

.nav-inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin: 0;
  color: var(--primary-foreground);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav button {
  background: transparent;
  border: 0;
  color: var(--primary-foreground);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.navbar.scrolled .desktop-nav button {
  color: var(--foreground);
}

.desktop-nav button:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn i {
  width: 1rem;
  height: 1rem;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-primary,
.btn-hero {
  background: var(--accent-gradient);
  color: var(--primary-foreground);
}

.btn-hero {
  box-shadow: 0 8px 24px hsl(25 90% 45% / 0.35);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, hsl(0 0% 100% / 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shimmer 3s ease-in-out infinite;
}

.btn-hero:hover,
.btn-primary:hover {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.btn-blue {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 16px hsl(212 85% 25% / 0.3);
}

.btn-blue:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.btn-outline {
  background: hsl(0 0% 100% / 0.08);
  color: var(--primary-foreground);
  border-color: hsl(0 0% 100% / 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: hsl(0 0% 100% / 0.18);
  transform: scale(1.05);
}

.card .btn {
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
}

.card .btn-outline {
  color: var(--foreground);
  border-color: var(--border);
  background: transparent;
}

.card .btn-outline:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.mobile-nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-phone i {
  width: 1rem;
  height: 1rem;
}

.navbar.scrolled .mobile-nav-phone {
  color: var(--foreground);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--primary-foreground);
  cursor: pointer;
}

.menu-toggle i {
  width: 1.7rem;
  height: 1.7rem;
}

.navbar.scrolled .menu-toggle {
  color: var(--foreground);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(0 0% 0% / 0.45);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(18rem, 85vw);
  height: 100%;
  background: var(--background);
  padding: 5rem 1.2rem 1.2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 28px hsl(0 0% 0% / 0.12);
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.mobile-menu.open .menu-panel {
  transform: translateX(0);
}

.menu-panel button {
  padding: 0.8rem;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}

.menu-panel button:hover {
  background: hsl(210 20% 95%);
}

.hero {
  min-height: 600px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  animation: heroSectionReveal 0.8s ease-out forwards;
}

.hero-bg,
.hero-overlay,
.hero picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.1);
  filter: blur(5px);
  animation: heroImageReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-overlay {
  background: var(--hero-overlay);
  opacity: 0;
  animation: heroOverlayReveal 1s ease-out 0.5s forwards;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.hero-intro {
  opacity: 0;
  transform: translateY(50px);
  animation: heroContentReveal 0.8s ease-out 0.3s forwards;
}

.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextReveal 0.8s ease-out 0.5s forwards;
}

.hero-lead {
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 0.8s ease-out 0.8s forwards;
}

.hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextReveal 0.8s ease-out 1s forwards;
}

.hero-content h1 {
  max-width: 28ch;
  color: var(--primary-foreground);
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-content p {
  max-width: 40rem;
  color: hsl(0 0% 100% / 0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.hero-content .hero-lead {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transition-delay: 70ms;
  border: 1px solid hsl(214 25% 88% / 0);
  overflow: hidden;
}

.card::before {
  display: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, hsl(0 0% 100% / 0.13) 50%, transparent 80%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  border-color: hsl(212 85% 25% / 0.18);
  transition-delay: 70ms;
}

.card:hover::after {
  opacity: 0.85;
  animation: serviceShimmer 0.7s ease-out;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(212 85% 25% / 0.12);
  color: var(--primary);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
  animation: iconFloat 2.8s ease-in-out infinite;
}

.card:nth-child(2n) .icon-wrap {
  animation-duration: 3.2s;
}

.card:nth-child(3n) .icon-wrap {
  animation-duration: 3.6s;
}

.icon-wrap.small {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0;
  background: hsl(25 95% 55% / 0.12);
  color: var(--accent);
}

.icon-wrap i {
  width: 1.7rem;
  height: 1.7rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.icon-wrap svg {
  width: 1.7rem;
  height: 1.7rem;
  transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.card:hover .icon-wrap i,
.contact-row:hover .icon-wrap i {
  transform: rotate(8deg) scale(1.08);
}

#services .card {
  cursor: pointer;
}

#services .section-head p {
  max-width: 56rem;
}

#services .card .icon-wrap {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

#services .card h3,
#services .card p {
  transition: transform 0.28s ease, color 0.28s ease;
}

#services .card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: hsl(214 25% 88% / 0);
}

#services .card:hover .icon-wrap {
  transform: translateY(-2px) scale(1.04);
  background: hsl(212 85% 25% / 0.12);
}

#services .card:hover .icon-wrap i {
  transform: rotate(6deg) scale(1.08);
  color: var(--accent);
  animation: serviceIconSway 0.4s ease-out;
}

#services .card:hover .icon-wrap svg {
  transform: rotate(6deg) scale(1.08);
  color: var(--accent);
  filter: drop-shadow(0 0 7px hsl(25 95% 55% / 0.45));
}

#services .card:hover h3 {
  transform: translateY(-1px);
  color: var(--card-foreground);
}

#services .card:hover p {
  transform: translateY(-1px);
}


#services .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, hsl(0 0% 100% / 0.13) 50%, transparent 80%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

#services .card:hover::after {
  opacity: 0.85;
  animation: serviceShimmer 0.7s ease-out;
}

/* Related services cards – same hover effect as #services */
#related .card {
  cursor: pointer;
}


#related .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, hsl(0 0% 100% / 0.13) 50%, transparent 80%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

#related .card:hover::after {
  opacity: 0.85;
  animation: serviceShimmer 0.7s ease-out;
}

#related .card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: hsl(214 25% 88% / 0);
}

#related .card .icon-wrap {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

#related .card:hover .icon-wrap {
  transform: translateY(-2px) scale(1.04);
  background: hsl(212 85% 25% / 0.12);
}

#related .card:hover .icon-wrap i,
#related .card:hover .icon-wrap svg {
  transform: rotate(6deg) scale(1.08);
  color: var(--accent);
  filter: drop-shadow(0 0 7px hsl(25 95% 55% / 0.45));
  animation: serviceIconSway 0.4s ease-out;
}

#related .card h3,
#related .card p {
  transition: transform 0.28s ease, color 0.28s ease;
}

#related .card:hover h3 {
  transform: translateY(-1px);
  color: var(--card-foreground);
}

#related .card:hover p {
  transform: translateY(-1px);
}

.card h3,
.card .feature,
.card .stars,
.card .card-meta {
  position: relative;
  z-index: 1;
}

.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 3rem;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.about-grid p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-copy .about-copy-item {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--about-delay, 0ms),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--about-delay, 0ms),
    filter 0.6s ease var(--about-delay, 0ms);
}

.about-copy.reveal {
  transform: translate(-50px, 20px);
}

.about-copy.reveal.visible {
  transform: translate(0, 0);
}

.about-copy.visible .about-copy-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.feature h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.feature p {
  margin: 0;
}

#about .feature-list .feature {
  transition: transform 0.2s ease;
}

#about .feature-list .feature.reveal.visible {
  transform: translateX(0) !important;
}

#about .feature-list .feature:hover,
#about .feature-list .feature.reveal.visible:hover {
  transform: translateX(5px) !important;
}

#about .feature-list .feature h3 {
  transition: color 0.3s ease;
}

#about .feature-list .feature:hover h3 {
  color: var(--accent);
}

#about .feature-list .feature .icon-wrap i,
#about .feature-list .feature .icon-wrap svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

#about .feature-list .feature:hover .icon-wrap i,
#about .feature-list .feature:hover .icon-wrap svg {
  transform: rotate(-5deg) scale(1.08);
}

.experience {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: var(--hero-gradient);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.3s ease;
  will-change: transform;
}

.experience::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, hsl(0 0% 100% / 0.2), transparent 55%);
  animation: pulse 4s ease-in-out infinite;
}

.experience::after {
  content: "";
  position: absolute;
  inset: -65% -35%;
  background: linear-gradient(115deg, transparent 35%, hsl(0 0% 100% / 0.38) 50%, transparent 65%);
  transform: translateX(-110%) rotate(14deg);
  opacity: 0;
  pointer-events: none;
}

.experience-inner {
  position: relative;
  transform-origin: center;
  z-index: 1;
}

.experience-count {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.experience-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  opacity: 0;
  transform: translateY(20px);
}

.experience-text {
  opacity: 0;
  transform: translateY(20px);
}

.experience-plus {
  display: inline-block;
}

.experience.experience-active .experience-inner,
.experience.reveal.visible .experience-inner {
  animation: experiencePop 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience.experience-active .experience-plus,
.experience.reveal.visible .experience-plus {
  animation: experiencePlusPop 900ms ease-out 120ms;
}

.experience.experience-active .experience-title,
.experience.reveal.visible .experience-title {
  animation: experienceTextIn 600ms cubic-bezier(0.22, 1, 0.36, 1) 1200ms forwards;
}

.experience.experience-active .experience-text,
.experience.reveal.visible .experience-text {
  animation: experienceTextIn 600ms cubic-bezier(0.22, 1, 0.36, 1) 1400ms forwards;
}

.experience.experience-active::after,
.experience.reveal.visible::after {
  opacity: 0.95;
  animation: experienceSheen 980ms ease-out;
}

.experience-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.experience-dot {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.3);
  transform: translateY(-10px);
  opacity: 0.3;
  animation: experienceDotFloat var(--dot-duration, 2s) ease-in-out infinite;
  animation-delay: var(--dot-delay, 0s);
  animation-fill-mode: both;
}

.experience-dot:nth-child(1) {
  left: 20%;
  top: 30%;
  --dot-duration: 2s;
  --dot-delay: 0s;
}

.experience-dot:nth-child(2) {
  left: 32%;
  top: 70%;
  --dot-duration: 2.5s;
  --dot-delay: 0.3s;
}

.experience-dot:nth-child(3) {
  left: 44%;
  top: 30%;
  --dot-duration: 3s;
  --dot-delay: 0.6s;
}

.experience-dot:nth-child(4) {
  left: 56%;
  top: 70%;
  --dot-duration: 3.5s;
  --dot-delay: 0.9s;
}

.experience-dot:nth-child(5) {
  left: 68%;
  top: 30%;
  --dot-duration: 4s;
  --dot-delay: 1.2s;
}

.experience-dot:nth-child(6) {
  left: 80%;
  top: 70%;
  --dot-duration: 4.5s;
  --dot-delay: 1.5s;
}

.stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.stars span {
  display: inline-block;
  transform: scale(0.2) rotate(-160deg);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.card.visible .stars span {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.card.visible .stars span:nth-child(1) { transition-delay: 120ms; }
.card.visible .stars span:nth-child(2) { transition-delay: 200ms; }
.card.visible .stars span:nth-child(3) { transition-delay: 280ms; }
.card.visible .stars span:nth-child(4) { transition-delay: 360ms; }
.card.visible .stars span:nth-child(5) { transition-delay: 440ms; }

svg.lucide-quote {
  width: 2.3rem;
  height: 2.3rem;
  color: hsl(25 95% 55% / 0.2);
  margin-bottom: 0.7rem;
  animation: quoteFloat 3.2s ease-in-out infinite;
}

#testimonials .card:hover svg.lucide-quote {
  color: hsl(25 95% 55% / 0.4);
}

.card-meta {
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.card-meta span {
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

#testimonials .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}


#testimonials .card > p {
  flex: 1;
}

#testimonials .card .card-meta {
  margin-top: auto;
}

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

.map-section {
  margin: 0 auto 3rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.1rem;
  max-width: 920px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition-delay: 70ms;
}

.map-section:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  transition-delay: 70ms;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.map-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.map-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.map-link:hover {
  text-decoration: underline;
}

.map-frame-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 6;
  background: hsl(210 20% 95% / 0.6);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-cta {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.map-cta p {
  color: var(--muted-foreground);
  font-size: 0.96rem;
}

.map-call-btn {
  background: linear-gradient(135deg, hsl(212 85% 25%) 0%, hsl(212 75% 35%) 100%);
  box-shadow: 0 8px 24px hsl(212 75% 20% / 0.28);
}

.map-call-btn:hover {
  box-shadow: 0 10px 28px hsl(212 75% 20% / 0.35);
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.7rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.2rem 0;
}

.contact-row h4 {
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.contact-row p,
.contact-row a {
  color: var(--muted-foreground);
  line-height: 1.55;
}

.contact-row a {
  color: var(--primary);
}

.contact-form-wrap {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition-delay: 70ms;
}

.contact-form-wrap:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  transition-delay: 70ms;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid hsl(212 85% 25% / 0.25);
  border-color: var(--primary);
}

.form-feedback {
  display: none;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: hsl(145 63% 93%);
  color: hsl(145 70% 20%);
  border: 1px solid hsl(145 45% 78%);
  font-size: 0.94rem;
  font-weight: 500;
}

.form-feedback.show {
  display: block;
}

.footer {
  background: var(--hero-gradient);
  color: var(--primary-foreground);
  padding: 3rem 0 2rem;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.footer h2,
.footer h3 {
  margin-bottom: 0.9rem;
}

.footer p,
.footer a {
  color: hsl(0 0% 100% / 0.82);
  line-height: 1.7;
}

.footer p i {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-right: 0.2rem;
}

.footer .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer .footer-contact-item i {
  margin-right: 0;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 1.6rem;
  border-top: 1px solid hsl(0 0% 100% / 0.2);
  text-align: center;
  color: hsl(0 0% 100% / 0.7);
}

.sticky-phone {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px hsl(0 0% 0% / 0.22);
  z-index: 110;
  transform: scale(0);
  opacity: 0;
  transition: 0.25s ease;
}

.sticky-phone::before {
  content: "";
  position: absolute;
  inset: -0.2rem;
  border-radius: inherit;
  border: 2px solid hsl(25 95% 55% / 0.45);
  opacity: 0;
  animation: stickyPulse 1.8s ease-out infinite;
}

.sticky-phone.show {
  transform: scale(1);
  opacity: 1;
}

.sticky-phone i {
  width: 1.5rem;
  height: 1.5rem;
  animation: wobble 2s ease-in-out infinite;
}

.sticky-phone .dot {
  position: absolute;
  right: 0.15rem;
  top: 0.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #ef4444;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 1rem);
  background: hsl(212 15% 20%);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: 0.25s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  filter: blur(1.5px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.7s ease var(--reveal-delay, 0ms);
}

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

.map-section.reveal.visible:hover,
.contact-form-wrap.reveal.visible:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
}

#why-us .card.reveal.visible:hover,
#testimonials .card.reveal.visible:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
}

.feature.reveal {
  transform: translateX(-30px);
}

.contact-row.reveal {
  transform: translateX(-16px) scale(0.99);
}

.experience.reveal {
  transform: translate(50px, 20px);
}

.stagger-group .reveal {
  --reveal-delay: 0ms;
}

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

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

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

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

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(7deg);
  }
  75% {
    transform: rotate(-7deg);
  }
}

@keyframes experiencePop {
  0% {
    transform: translateY(18px) scale(0.86) rotate(-4deg);
    filter: blur(3px);
  }
  55% {
    transform: translateY(-6px) scale(1.05) rotate(2deg);
    filter: blur(0);
  }
  78% {
    transform: translateY(2px) scale(0.99) rotate(-1deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes experiencePlusPop {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-5px) scale(1.12);
  }
  70% {
    transform: translateY(1px) scale(0.96);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes experienceSheen {
  from {
    transform: translateX(-110%) rotate(14deg);
  }
  to {
    transform: translateX(145%) rotate(14deg);
  }
}

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

@keyframes experienceDotFloat {
  0%,
  100% {
    transform: translateY(-10px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.8;
  }
}

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

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(2px);
  }
}

@keyframes quoteFloat {
  0%,
  100% {
    transform: translateY(-1px) rotate(0deg);
  }
  50% {
    transform: translateY(3px) rotate(2deg);
  }
}

@keyframes stickyPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

@keyframes serviceShimmer {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes serviceIconSway {
  0% {
    transform: rotate(0deg) scale(1);
  }
  35% {
    transform: rotate(-5deg) scale(1.05);
  }
  70% {
    transform: rotate(7deg) scale(1.08);
  }
  100% {
    transform: rotate(6deg) scale(1.08);
  }
}

@keyframes serviceGlowPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@media (max-width: 1024px) {
  .grid-3,
  .contact-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-phone {
    display: inline-flex;
  }

  .section {
    padding: 4rem 0;
  }

  .grid-2,
  .grid-3,
  .contact-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .experience {
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
  }

  .experience.reveal {
    transform: translate(28px, 20px);
  }

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

  .map-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-frame-wrap {
    aspect-ratio: 4 / 3;
  }

  .map-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-phone {
    display: grid;
  }
}

@media (min-width: 769px) {
  .nav-inner {
    min-height: 5rem;
  }

  .sticky-phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-copy .about-copy-item,
  .experience-dot,
  .experience.experience-active .experience-inner,
  .experience.reveal.visible .experience-inner,
  .experience.experience-active .experience-plus,
  .experience.reveal.visible .experience-plus,
  .experience.reveal.visible .experience-title,
  .experience.reveal.visible .experience-text,
  .experience.reveal.visible::after,
  .experience.experience-active::after {
    animation: none;
  }

  .experience.reveal.visible .experience-title,
  .experience.reveal.visible .experience-text {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About section reveal + hover behavior aligned to original */
#about .experience {
  transform-origin: center center;
  aspect-ratio: 10 / 11;
}

#about .experience.reveal {
  transform: translateX(40px) !important;
}

#about .experience.reveal.visible {
  transform: translateX(0) !important;
}

#about .experience.reveal.visible:hover {
  transform: translateX(0) scale(1.02) !important;
}
