/* ============================================================
   DEFYN - PENRITH WEB DEVELOPMENT LANDING PAGE
   Style Sheet
============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #10262a;
  --teal-light:  #1a3a40;
  --teal-mid:    #224850;
  --green:       #cbfcc4;
  --green-dark:  #9deba8;
  --cream:       #fbfaf9;
  --cream-alt:   #f1f0ea;
  --cream-70:    rgba(251,250,249,0.7);
  --cream-40:    rgba(251,250,249,0.4);
  --cream-15:    rgba(251,250,249,0.08);
  --dark:        #0a1b1e;
  --white:       #ffffff;
  --font-body:   'Plus Jakarta Sans', Arial, sans-serif;
  --font-serif:  'Instrument Serif', Georgia, serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--teal);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }
ul { list-style: none; }

/* --- Custom Cursor ---------------------------------------- */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor {
  width: 10px; height: 10px;
  background: var(--green);
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(203,252,196,0.5);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              background 0.3s, border-color 0.3s;
}
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 52px; height: 52px;
  background: rgba(203,252,196,0.1);
  border-color: var(--green);
}

/* --- Noise Overlay ---------------------------------------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* --- Container -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Sections --------------------------------------------- */
.section { padding: 7rem 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.section-sub {
  font-size: 1.1rem;
  color: #444;
  max-width: 540px;
  line-height: 1.7;
  margin-top: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-tag { display: inline-flex; }
.section-header .section-sub { margin: 1rem auto 0; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--green);
  color: var(--teal);
  box-shadow: 0 4px 20px rgba(203,252,196,0.35);
}
.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 32px rgba(203,252,196,0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(251,250,249,0.25);
}
.btn--ghost:hover {
  background: var(--cream-15);
  border-color: var(--cream-40);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(16,38,42,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.nav__logo {
  color: var(--cream);
  flex-shrink: 0;
}
.nav__logo svg { transition: opacity 0.2s; }
.nav__logo:hover svg { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-70);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  background: var(--green) !important;
  color: var(--teal) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s var(--ease-out) !important;
}
.nav__cta:hover { transform: translateY(-2px) !important; }
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__burger.active span:first-child { transform: translateY(8px) rotate(45deg); }
.nav__burger.active span:last-child  { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--teal);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav__link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.mobile-nav__cta {
  background: var(--green);
  color: var(--teal) !important;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 1.2rem !important;
  margin-top: 1rem;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal);
  padding: 8rem 2.5rem 6rem;
}

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

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: rgba(203,252,196,0.08);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(34,72,80,0.6);
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 250px; height: 250px;
  background: rgba(203,252,196,0.05);
  top: 40%; left: 40%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(203,252,196,0.1);
  border: 1px solid rgba(203,252,196,0.2);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 1.75rem;
}

.hero__line--accent {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  color: var(--cream);
}
.hero__line--accent em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.hero__underline {
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: auto;
  pointer-events: none;
  overflow: visible;
}
.hero__underline path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawLine 1.4s 1s var(--ease-out) forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--cream-70);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__stat strong {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.04em;
}
.hero__stat span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
}
.hero__stat p {
  font-size: 0.8rem;
  color: var(--cream-40);
  font-weight: 500;
  margin-top: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__stat-divider {
  width: 1px; height: 40px;
  background: rgba(251,250,249,0.12);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}
.hero__scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream-40);
  writing-mode: vertical-rl;
}

/* Floating tech badges */
.hero__badges-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}
.badge-float {
  background: rgba(251,250,249,0.06);
  border: 1px solid rgba(251,250,249,0.12);
  color: var(--cream-70);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  animation: badgeFloat 6s ease-in-out infinite;
}
.badge-float--1 { animation-delay: 0s; }
.badge-float--2 { animation-delay: -1.5s; }
.badge-float--3 { animation-delay: -3s; }
.badge-float--4 { animation-delay: -4.5s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee {
  background: var(--teal);
  border-top: 1px solid rgba(203,252,196,0.1);
  border-bottom: 1px solid rgba(203,252,196,0.1);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
.marquee__track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream-70);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee__dot {
  color: var(--green) !important;
  font-size: 0.6rem !important;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--cream); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--cream-alt);
  border-radius: 20px;
  padding: 2.25rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,38,42,0.15);
  box-shadow: 0 24px 60px rgba(16,38,42,0.1);
}
.service-card:hover .service-card__hover { opacity: 1; }

.service-card__hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,38,42,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.service-card__icon {
  width: 48px; height: 48px;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.service-card__list li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-size: 0.75rem;
}

/* ============================================================
   APPROACH
============================================================ */
.approach {
  background: var(--teal);
  overflow: hidden;
}

.approach__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.approach__left .section-title { color: var(--cream); }
.approach__left .section-sub { color: var(--cream-70); }

.approach__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step__num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.1em;
  background: rgba(203,252,196,0.12);
  border: 1px solid rgba(203,252,196,0.2);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__line {
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(203,252,196,0.3), transparent);
}

.step__content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.step__content p {
  font-size: 0.92rem;
  color: var(--cream-70);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.step__tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(203,252,196,0.08);
  border: 1px solid rgba(203,252,196,0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

/* ============================================================
   SOCIAL PROOF
============================================================ */
.proof { background: var(--cream-alt); }

.proof__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.testimonial {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1.5px solid rgba(16,38,42,0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16,38,42,0.08);
}

.testimonial__stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
}
.testimonial__author span {
  font-size: 0.78rem;
  color: #888;
}

/* Stack showcase */
.stack-showcase {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(16,38,42,0.08);
}
.stack-showcase__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2rem;
}
.stack-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.stack-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--white);
  border: 1.5px solid rgba(16,38,42,0.08);
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.stack-logo svg { width: 18px; height: 18px; }
.stack-logo:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* ============================================================
   LOCAL PENRITH SECTION
============================================================ */
.local { background: var(--teal); }

.local__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.local__text .section-title { color: var(--cream); }
.local__text .section-tag  { color: var(--green-dark); }

.local__visual {
  position: relative;
}

.local__map-card {
  background: rgba(251,250,249,0.05);
  border: 1px solid rgba(203,252,196,0.15);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.local__map-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
}
.local__map-pulse::before,
.local__map-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(203,252,196,0.2);
  animation: ripple 3s ease-out infinite;
}
.local__map-pulse::after { animation-delay: -1.5s; }
@keyframes ripple {
  0%   { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.local__map-dot {
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--green);
}

.local__map-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}

.local__map-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  position: relative;
  z-index: 2;
}

.local__stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.local__stat-card {
  background: rgba(251,250,249,0.05);
  border: 1px solid rgba(203,252,196,0.1);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.local__stat-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.3rem;
}
.local__stat-card span {
  font-size: 0.75rem;
  color: var(--cream-70);
  line-height: 1.4;
}

.local__features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.local__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--cream-70);
  font-weight: 500;
}
.local__feature svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.local__areas { margin-top: 2.25rem; }
.local__areas-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cream-70);
  margin-bottom: 0.9rem;
}
.local__areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.local__areas-chips a {
  font-size: 0.85rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(251,250,249,0.15);
  border-radius: 999px;
  color: var(--cream-70);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.local__areas-chips a:hover {
  background: var(--green);
  color: var(--teal);
  border-color: var(--green);
  transform: translateY(-2px);
}
.local__areas-chips .local__areas-all {
  border-style: dashed;
  font-weight: 600;
}

/* ============================================================
   CONTACT / FORM
============================================================ */
.contact {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.contact__orb--1 {
  width: 500px; height: 500px;
  background: rgba(203,252,196,0.06);
  top: -150px; right: -100px;
}
.contact__orb--2 {
  width: 350px; height: 350px;
  background: rgba(34,72,80,0.5);
  bottom: -100px; left: -80px;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact__title { color: var(--cream); }
.contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s var(--ease-out);
}
.contact__info-item:hover { transform: translateX(4px); }
.contact__info-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--cream-40);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.15rem;
}
.contact__info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 600;
}

.contact__info-icon {
  width: 42px; height: 42px;
  background: rgba(203,252,196,0.08);
  border: 1px solid rgba(203,252,196,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.contact__info-icon svg { width: 18px; height: 18px; }

/* --- Form --- */
.contact__form-wrap {
  background: rgba(251,250,249,0.04);
  border: 1px solid rgba(251,250,249,0.1);
  border-radius: 28px;
  padding: 2.75rem;
  backdrop-filter: blur(20px);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream-70);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(251,250,249,0.07);
  border: 1.5px solid rgba(251,250,249,0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(251,250,249,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  background: rgba(203,252,196,0.05);
  box-shadow: 0 0 0 3px rgba(203,252,196,0.1);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ff6b6b;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--teal); color: var(--cream); }

.form-select-wrap { position: relative; }
.form-select-wrap select { padding-right: 2.5rem; }
.form-select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--cream-40);
  pointer-events: none;
}

.form-error {
  font-size: 0.75rem;
  color: #ff6b6b;
  display: none;
  font-weight: 500;
}
.form-group.has-error .form-error { display: block; }

.form-group--checkbox { flex-direction: row; align-items: center; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--cream-70);
  font-weight: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px; height: 20px;
  border: 1.5px solid rgba(251,250,249,0.2);
  border-radius: 6px;
  background: rgba(251,250,249,0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--green);
  border-color: var(--green);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px; height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg) translateY(-1px);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--cream-40);
  margin-top: -0.5rem;
}
.form-privacy svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-loading { display: flex; align-items: center; gap: 0.5rem; }
.spinner {
  width: 18px; height: 18px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hidden attribute override */
[hidden] { display: none !important; }

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.form-success__icon {
  width: 64px; height: 64px;
  background: rgba(203,252,196,0.12);
  border: 1.5px solid rgba(203,252,196,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s var(--ease-out) forwards;
}
.form-success__icon svg { width: 28px; height: 28px; }
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
}
.form-success p {
  color: var(--cream-70);
  line-height: 1.6;
  max-width: 300px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--teal);
  border-top: 1px solid rgba(203,252,196,0.1);
  padding: 5rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo { margin-bottom: 1rem; }
.footer__brand p {
  font-size: 0.88rem;
  color: var(--cream-70);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 1rem;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--cream-70);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--cream); }

.footer__contact a,
.footer__contact p {
  display: block;
  font-size: 0.88rem;
  color: var(--cream-70);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__contact a:hover { color: var(--cream); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(251,250,249,0.07);
  border: 1px solid rgba(251,250,249,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-70);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover {
  background: var(--green);
  color: var(--teal);
  transform: translateY(-2px);
}

.footer__areas {
  border-top: 1px solid rgba(251,250,249,0.08);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}
.footer__areas h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer__areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer__areas a {
  font-size: 0.85rem;
  color: var(--cream-70);
  transition: color 0.2s;
}
.footer__areas a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(251,250,249,0.08);
  padding-top: 2rem;
  font-size: 0.78rem;
  color: var(--cream-40);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom a { color: var(--cream-40); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--cream-70); }

/* ============================================================
   ANIMATIONS / REVEAL
============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: none;
}

.reveal-card {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + attr(data-index) * 0.08s);
}
.reveal-card.visible {
  opacity: 1;
  transform: none;
}

.reveal-step {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-step.visible {
  opacity: 1;
  transform: none;
}

.reveal-float {
  opacity: 0;
  animation: none;
}
.reveal-float.visible {
  opacity: 1;
  animation: badgeFloat 6s ease-in-out infinite;
}
 .header__logo svg {
     width: 168px;
 }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .approach__inner { grid-template-columns: 1fr; gap: 3rem; }
  .local__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__badges-float { display: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 5rem; }
  .hero__stats { gap: 1.25rem; }
  .hero__stat strong { font-size: 1.8rem; }
  .section { padding: 4.5rem 0; }
  .services__grid { grid-template-columns: 1fr; }
  .proof__cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .local__stat-cards { grid-template-columns: repeat(3, 1fr); }
  .contact__form-wrap { padding: 1.75rem; }
  .hero__scroll { display: none; }
  .approach__left .btn { display: inline-flex; }
  .header__logo svg {
      width: 120px;
    }
}

@media (max-width: 480px) {
  .hero__headline { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .local__stat-cards { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; align-items: flex-start; }
  .hero__stat-divider { width: 40px; height: 1px; }
  .header__logo svg {
     width: 80px;
   }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ============================================================
   MEGA NAV  (Services dropdown)
============================================================ */
.nav__item { display: flex; align-items: center; }
.nav__item--mega { position: static; }

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-70);
  cursor: pointer;
  transition: color 0.2s;
}
.nav__caret { width: 13px; height: 13px; transition: transform 0.35s var(--ease-out); }
.nav__item--mega:hover .nav__trigger,
.nav__item--mega:focus-within .nav__trigger { color: var(--cream); }
.nav__item--mega:hover .nav__caret,
.nav__item--mega:focus-within .nav__caret { transform: rotate(180deg); }

/* Kill the underline bar the base .nav__links a::after would add to mega links */
.nav__links .nav__trigger::after,
.nav__links .mega a::after { content: none; display: none; }

.mega {
  position: absolute;
  /* Pull the hover area UP to the trigger and bridge the gap with transparent
     top padding, so moving the cursor from "Services" to the panel never leaves
     a dead zone that closes the menu. */
  top: calc(100% - 3.5rem); left: 0; right: 0;
  padding: 3.5rem 2.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mega__panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(26, 58, 64, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--cream-15);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.mega__card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: 14px;
  transition: background 0.2s;
}
.mega__card:hover { background: rgba(251, 250, 249, 0.06); }
.mega__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(203, 252, 196, 0.1);
  color: var(--green);
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.mega__card:hover .mega__icon { background: var(--green); color: var(--teal); transform: translateY(-2px); }
.mega__icon svg { width: 22px; height: 22px; }
.mega__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.mega__text strong { font-size: 0.92rem; font-weight: 600; color: var(--cream); }
.mega__text span { font-size: 0.78rem; line-height: 1.45; color: var(--cream-40); }

.mega__feature {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(203, 252, 196, 0.13), rgba(203, 252, 196, 0.03));
  border: 1px solid rgba(203, 252, 196, 0.18);
}
.mega__feature-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--green);
}
.mega__feature-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--cream);
  margin: 0.5rem 0 0.6rem;
}
.mega__feature-sub { font-size: 0.82rem; line-height: 1.55; color: var(--cream-70); margin-bottom: auto; }
.mega__feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  background: var(--green);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease-out);
}
.mega__feature-cta svg { width: 16px; height: 16px; }
/* Scoped to beat `.nav__links a { color: var(--cream-70) }` (higher specificity) */
.nav__links .mega__feature-cta { color: var(--teal); }
.nav__links .mega__feature-cta:hover { color: var(--teal); transform: translateY(-2px); }
.mega__feature-all { margin-top: 0.7rem; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(251,250,249,0.35); transition: text-decoration-color 0.2s; }
.nav__links .mega__feature-all { color: var(--cream); }
.nav__links .mega__feature-all:hover { color: var(--cream); text-decoration-color: var(--green); }

/* Mobile services accordion (inside the full-screen overlay) */
.mobile-nav__group { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.mobile-nav__toggle svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease-out); }
.mobile-nav__group.open .mobile-nav__toggle svg { transform: rotate(180deg); }
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.3s, margin 0.3s;
}
.mobile-nav__group.open .mobile-nav__sub { max-height: 60vh; opacity: 1; margin-top: 1.25rem; }
.mobile-nav__sublink { font-size: 1.15rem; font-weight: 500; color: var(--cream-70); transition: color 0.2s; }
.mobile-nav__sublink:hover { color: var(--green); }

@media (max-width: 980px) {
  .mega__panel { grid-template-columns: 1fr; }
  .mega__feature { display: none; }
}

/* Homepage service-card "Learn more" link -> service page */
.service-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.25s var(--ease-out), color 0.2s;
}
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.service-card:hover .service-card__link { color: var(--green-dark); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* "View all services" button under the services section header */
.services__cta { text-align: center; margin-top: 3rem; }
