:root {
  /* Site uses root tokens defined in index.html */
  /* (See index.html inline CSS for --bg, --panel, --text, --accent, etc.) */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body.overlay-open {
  overflow: hidden;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(18,20,23,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  padding: 0 clamp(24px, 5vw, 64px);
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #ffffff;
  outline: none;
}

.site-header nav a.nav-active:not(.nav-cta) {
  color: #27c93f;
  text-shadow: 0 0 12px rgba(39, 201, 63, 0.55);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 7px !important;
  padding: 7px 16px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Nav close button (mobile overlay only) */
.nav-close {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.88);
  gap: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.nav-toggle-line {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  /* Full-screen premium overlay.
     NOTE: backdrop-filter on the header creates a containing block in Safari/WebKit,
     making position:fixed children relative to the header rather than the viewport.
     Using top:0 (= header top = viewport top) + height:100vh avoids inset:0 bottom issue. */
  .site-header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(8, 11, 13, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 96px clamp(28px, 8vw, 52px) 52px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.38s ease;
    z-index: 498;
    overflow-y: auto;
  }

  .site-header nav.nav-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Close button — positioned below the header bar */
  .nav-close {
    display: flex;
    position: absolute;
    top: 80px;
    right: clamp(28px, 8vw, 52px);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.60);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
  }

  /* Nav links */
  .site-header nav a:not(.nav-cta) {
    width: 100%;
    padding: 13px 0;
    font-size: clamp(1rem, 4.5vw, 1.25rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.50);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    transform: translateX(28px);
    transition: color 0.2s ease,
                opacity 0.44s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header nav a:not(.nav-cta):hover,
  .site-header nav a:not(.nav-cta):focus-visible {
    color: #ffffff;
    outline: none;
  }

  /* Staggered entrance per link */
  .site-header nav.nav-open a:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
  .site-header nav.nav-open a:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.16s; }
  .site-header nav.nav-open a:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }
  .site-header nav.nav-open a:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.28s; }
  .site-header nav.nav-open a:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.34s; }
  .site-header nav.nav-open a:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

  /* CTA — full-width solid button */
  .site-header nav .nav-cta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 32px !important;
    padding: 17px 24px !important;
    background: #ffffff !important;
    color: #0B1113 !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    opacity: 0 !important;
    transform: translateY(12px) !important;
    transition: opacity 0.44s ease,
                transform 0.44s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.18s ease !important;
    transition-delay: 0.46s !important;
  }

  .site-header nav.nav-open .nav-cta {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .site-header nav .nav-cta:hover {
    background: rgba(255, 255, 255, 0.88) !important;
  }
}

#main-content {
  padding-top: 68px;
}

/* =========================================
   Section Titles
   ========================================= */
.section-title {
  text-align: left;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text);
  text-shadow: var(--text-glow-strong);
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials-section {
  padding: var(--space-xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--panel);
  padding: var(--space-md);
  border-radius: var(--card-radius, 12px);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, box-shadow;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--inner-stroke), inset 0 0 0 1px rgba(255,255,255,0.015);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255,255,255,0.05);
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-md) 0;
  padding: 0;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

.testimonial-card blockquote p {
  margin: 0;
  color: var(--text);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glow1);
}

.testimonial-card footer div {
  display: flex;
  flex-direction: column;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--glow2);
}

.testimonial-card footer span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================================
   Feature Grid
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--panel);
  padding: var(--space-md);
  border-radius: var(--card-radius, 12px);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  will-change: transform, box-shadow;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--inner-stroke), inset 0 0 0 1px rgba(255,255,255,0.015);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255,255,255,0.05);
}

.feature-card h3 {
  color: var(--glow2);
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
  margin-top: 0;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* =========================================
   Blog Section
   ========================================= */
.blog-section {
  padding: var(--space-xl) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--panel);
  border-radius: var(--card-radius, 12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  will-change: transform, box-shadow;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--inner-stroke), inset 0 0 0 1px rgba(255,255,255,0.015);
  pointer-events: none;
  z-index: 2;
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255,255,255,0.05);
}

.blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background-color: #1a2530;
}

.blog-card-content {
  padding: var(--space-md);
}

.blog-card-content time {
  font-size: 0.8rem;
  color: var(--glow1);
  display: block;
  margin-bottom: var(--space-xs);
}

.blog-card-content h3 {
  font-size: 1.1rem;
  margin: 0 0 var(--space-xs) 0;
  color: var(--text);
}

.blog-card-content p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 var(--space-sm) 0;
}

.read-more {
  font-weight: 600;
  color: var(--glow2);
  text-decoration: none;
  font-size: 0.9rem;
}

.read-more:hover,
.read-more:focus-visible {
  text-decoration: underline;
}

/* =========================================
   Contact Section
   ========================================= */
.site-contact {
  background: var(--bg);
  padding: clamp(56px, 7vh, 88px) clamp(24px, 5vw, 64px) clamp(48px, 6vh, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

/* Border draw-in on section enter */
.site-contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.07));
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.site-contact.contact-visible::before {
  width: 100%;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.contact-headline {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text);
  margin: 0 0 24px;
}

.contact-desc {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
  max-width: 420px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  margin-bottom: 32px;
  align-self: flex-start;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.contact-email-link:hover {
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 0.85;
}

.contact-email-link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.contact-email-link:hover svg {
  transform: translateX(3px);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(39, 201, 63, 0.6);
  position: relative;
}

.contact-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(39, 201, 63, 0.55);
  animation: contact-dot-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes contact-dot-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}

.contact-location {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ---- Agency status badge ---- */
.agency-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(39, 201, 63, 0.06);
  border: 1px solid rgba(39, 201, 63, 0.18);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.agency-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27c93f;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.5);
  animation: status-dot-ping 2.2s ease-out infinite;
}

@keyframes status-dot-ping {
  0%   { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.50); }
  60%  { box-shadow: 0 0 0 6px rgba(39, 201, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

.agency-status-label {
  color: rgba(255, 255, 255, 0.45);
}

.agency-status-divider {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.agency-status-value {
  color: rgba(39, 201, 63, 0.90);
}

/* ---- Hand-drawn arrow ---- */
.contact-arrow-svg {
  display: inline-block;
  vertical-align: middle;
  width: clamp(90px, 16vw, 150px);
  height: auto;
  margin-left: 10px;
  margin-bottom: 0.12em;
  overflow: visible;
  /* GPU compositing layer — avoids main-thread repaints during stroke animation */
  will-change: transform;
  transform: translateZ(0);
}

.contact-arrow-body {
  stroke: #27c93f;
  stroke-width: 6;
  /* 420 body + ~28 arrowhead wings = ~448; use 460 for safe coverage */
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  /* Paused until section enters viewport (started by existing IntersectionObserver) */
  animation: contact-arrow-draw 2.2s cubic-bezier(0.4, 0, 0.55, 1) 0s infinite;
  animation-play-state: paused;
}

/* Triggered by JS IntersectionObserver when contact section is visible */
.contact-visible .contact-arrow-body {
  animation-play-state: running;
}

@keyframes contact-arrow-draw {
  0%   { stroke-dashoffset: 460; }
  48%  { stroke-dashoffset: 0; }
  58%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -460; }
}

/* ---- Scroll reveal ---- */
.contact-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---- Contact form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cf-row {
  display: flex;
  gap: 14px;
}

.cf-row--2 > .cf-field {
  flex: 1;
  min-width: 0;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.cf-label {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.6);
}

.cf-label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}

.cf-input,
.cf-select,
.cf-textarea {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.cf-input:hover,
.cf-select:hover,
.cf-textarea:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
  animation: cf-focus-breathe 2.8s ease-in-out infinite;
}

@keyframes cf-focus-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05); }
  50%       { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.09); }
}

/* Label brightens when its field is active */
.cf-field:focus-within .cf-label {
  color: rgba(255, 255, 255, 0.83);
  transition: color 0.2s ease;
}

.cf-input:not(:placeholder-shown):invalid,
.cf-textarea:not(:placeholder-shown):invalid {
  border-color: rgba(255, 95, 86, 0.4);
}

/* Hidden native select (form submission target) */
.cf-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* ---- Custom dropdown ---- */
.cf-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.cf-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cf-dropdown-trigger:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.055);
}

.cf-dropdown[aria-expanded="true"] .cf-dropdown-trigger {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.cf-dropdown:focus-visible .cf-dropdown-trigger {
  border-color: rgba(255,255,255,0.38);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.cf-dropdown-value {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.36);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-dropdown.has-value .cf-dropdown-value {
  color: var(--text);
}

.cf-dropdown-chevron {
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  transition: transform 0.20s cubic-bezier(0.4,0,0.2,1);
}

.cf-dropdown[aria-expanded="true"] .cf-dropdown-chevron {
  transform: rotate(180deg);
  color: rgba(255,255,255,0.70);
}

.cf-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #111820;
  border: 1px solid rgba(255,255,255,0.12);
  border-top: none;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  display: none;
  overflow: hidden;
}

.cf-dropdown[aria-expanded="true"] .cf-dropdown-list {
  display: block;
  animation: dropdown-reveal 0.16s ease forwards;
}

@keyframes dropdown-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cf-dropdown-option {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.10s ease, color 0.10s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-dropdown-option--placeholder {
  color: rgba(255,255,255,0.32);
  font-style: italic;
}

.cf-dropdown-option:hover,
.cf-dropdown-option.is-focused {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.cf-dropdown-option[aria-selected="true"]:not(.cf-dropdown-option--placeholder) {
  color: #27c93f;
}

.cf-dropdown-option[aria-selected="true"]:not(.cf-dropdown-option--placeholder)::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  flex-shrink: 0;
}

/* textarea */
.cf-textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.62;
}

/* footer row */
.cf-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* submit button */
.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  background: #ffffff;
  color: #0B1A20;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.cf-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(11, 26, 32, 0.13) 50%,
    transparent 70%
  );
  transform: translateX(-110%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.cf-submit:not(:disabled):hover::after {
  transform: translateX(110%);
}

.cf-submit:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.cf-submit:active {
  transform: none;
}

.cf-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.cf-submit svg {
  transition: transform 0.2s ease;
}

.cf-submit:not(:disabled):hover svg {
  transform: translateX(3px);
}

.cf-trust {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cf-error {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: #f87171;
  margin: 8px 0 0;
}

.cf-error[hidden] { display: none; }

.cf-note {
  font-family: var(--font-main);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* success state */
@keyframes cf-success-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cf-icon-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  65%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes cf-icon-ring {
  0%   { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.45); }
  60%  { box-shadow: 0 0 0 16px rgba(39, 201, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

@keyframes cf-check-draw {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

@keyframes cf-step-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cf-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cf-success-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-success[hidden] {
  display: none;
}

.cf-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(39, 201, 63, 0.1);
  border: 1px solid rgba(39, 201, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27c93f;
  margin-bottom: 4px;
  animation: cf-icon-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both,
             cf-icon-ring 1.3s 0.15s ease-out both;
}

.cf-success-icon svg polyline {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: cf-check-draw 0.35s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cf-success-title {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
  animation: cf-success-in 0.45s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-success-desc {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
  animation: cf-success-in 0.45s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-success-next {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  animation: cf-success-in 0.45s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-success-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--muted);
  animation: cf-step-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-success-step:nth-child(1) { animation-delay: 0.32s; }
.cf-success-step:nth-child(2) { animation-delay: 0.42s; }
.cf-success-step:nth-child(3) { animation-delay: 0.52s; }

.cf-success-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(39, 201, 63, 0.5);
}

@media (max-width: 560px) {
  .cf-row--2 {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-contact {
    padding: clamp(40px, 6vh, 64px) clamp(16px, 5vw, 24px) clamp(36px, 5vh, 56px);
  }

  .contact-inner {
    gap: 36px;
  }

  .contact-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .cf-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cf-submit {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 0 14px;
  }

  .contact-inner {
    gap: 28px;
  }

  .contact-headline {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, background 160ms ease, color 160ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(255,255,255,0.11);
  color: #ffffff;
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(255,255,255,0.40);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-contact::before {
    width: 100% !important;
    transition: none !important;
  }

  .agency-status-dot {
    animation: none !important;
  }

  .contact-arrow-body {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }


  .contact-dot::after {
    animation: none !important;
  }

  .cf-submit,
  .cf-submit svg,
  .cf-submit::after,
  .cf-input,
  .cf-select,
  .cf-textarea {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 44px) clamp(24px, 5vw, 64px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(24px, 3vh, 36px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.6;
  margin: 0;
  max-width: 220px;
}

.footer-nav {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  justify-content: flex-end;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-label {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col ul li a {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy {
  font-family: var(--font-main);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  font-family: var(--font-main);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.83);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================================
   Deployment Checklist
   ========================================= */
.deployment-checklist {
  margin: var(--space-xl) auto;
  padding: var(--space-md);
  background: var(--panel);
  border-radius: var(--card-radius, 12px);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 800px;
}

.deployment-checklist::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--inner-stroke), inset 0 0 0 1px rgba(255,255,255,0.015);
  pointer-events: none;
}

.deployment-checklist h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  margin-top: 0;
  color: var(--glow1);
}

.deployment-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.deployment-checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.deployment-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--glow1);
}

/* =========================================
   Visible Focus & Utilities
   ========================================= */
:focus-visible {
  outline: 2px solid var(--glow1);
  outline-offset: 4px;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}