/*
Theme Name: Webdevelop
Theme URI: https://webdevelop.hu
Author: Webdevelop.hu
Author URI: https://webdevelop.hu
Description: Custom FSE block theme for Webdevelop.hu — WordPress & WooCommerce development services.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: webdevelop
*/

/* ==========================================================================
   Webdevelop.hu — Theme Stylesheet
   ========================================================================== */

/* --- Custom Properties ---------------------------------------------------- */
:root {
  --color-accent: #D20959;
  --color-accent-dark: #a80747;
  --color-accent-glow: rgba(210, 9, 89, .25);
  --color-bg: #9CB3B9;
  --color-bg-tint: #a8bfc4;
  --color-dark: #171717;
  --color-dark-raised: #1e1e1e;
  --color-header: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a6a6e;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 960px;
  --max-width-wide: 1120px;
  --section-v: 72px;
  --section-h: 24px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, .15);
  --shadow-glow: 0 0 30px var(--color-accent-glow);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  transition: color .18s;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

ul {
  padding-left: 1.25rem;
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* --- Container ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-h);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin-inline: auto;
  padding-inline: var(--section-h);
}

/* --- Site Header ---------------------------------------------------------- */
.site-header {
  background: var(--color-header);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .92);
}

/* 
 * backdrop-filter creates a containing block for fixed positioning! 
 * This confines the fixed mobile menu inside the header. 
 * We use :has() to remove the backdrop-filter when the menu is open. 
 */
.site-header:has(.is-menu-open) {
  backdrop-filter: none;
}

.site-header .container,
.site-header>.wp-block-group>.wp-block-group__inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  max-width: var(--max-width-wide);
  margin-inline: auto;
  padding-inline: var(--section-h);
}

.site-logo img,
.wp-block-site-logo img {
  height: 44px;
  width: auto;
}

.site-logo:focus-visible {
  outline: 2px solid var(--color-accent);
}

/* WordPress Navigation block */
.wp-block-navigation {
  font-size: .95rem;
  font-weight: 500;
}

/* Base links */
.wp-block-navigation a.wp-block-navigation-item__content {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s var(--ease-out-expo);
  position: relative;
  padding-bottom: 4px;
}

/* Hover underline effect */
.wp-block-navigation a.wp-block-navigation-item__content:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width .3s var(--ease-out-expo);
}

.wp-block-navigation a.wp-block-navigation-item__content:not(.nav-cta):hover::after,
.wp-block-navigation-item.current-menu-item>a.wp-block-navigation-item__content::after,
.wp-block-navigation-item.has-child:hover>a.wp-block-navigation-item__content::after {
  width: 100%;
}

.wp-block-navigation a.wp-block-navigation-item__content:hover,
.wp-block-navigation-item.current-menu-item>a.wp-block-navigation-item__content,
.wp-block-navigation-item.has-child:hover>a.wp-block-navigation-item__content {
  color: var(--color-accent);
}

/* FSE Dropdown Animation - Desktop */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
  padding: 12px !important;
  min-width: 200px !important;
  width: max-content !important;
  /* Allow container to grow with long text */

  /* Animation preparation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
  display: flex !important;
  flex-direction: column;
}

/* Hover state shows dropdown */
.wp-block-navigation .wp-block-navigation-item.has-child:hover>.wp-block-navigation__submenu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu container override since FSE uses inline styles */
.wp-block-navigation-submenu {
  position: relative;
}

/* Submenu items */
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 10px 16px !important;
  display: block;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap !important;
  /* Prevent line wrapping */
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
  display: none !important;
  /* No underline in submenu */
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: rgba(210, 9, 89, 0.05);
  /* very light accent */
  color: var(--color-accent);
  transform: translateX(4px);
}

/* CTA Button inside Nav */
.wp-block-navigation .nav-cta,
.wp-block-navigation a.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 9px 24px !important;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background .2s, box-shadow .2s, transform .2s var(--ease-out-expo) !important;
  border: none;
  display: inline-block;
}

.wp-block-navigation .nav-cta::after {
  display: none !important;
}

.wp-block-navigation .nav-cta:hover {
  background: var(--color-accent-dark) !important;
  box-shadow: 0 6px 20px var(--color-accent-glow) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE MENU BEHAVIOR
   ========================================================================== */

/* Hide native SVG icons */
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
  display: none !important;
}

/* Custom Hamburger Icon replacement */
.wp-block-navigation__responsive-container-open {
  width: 44px !important;
  height: 44px !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
}

@media (max-width: 790px) {
  .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  /* Hide the standard desktop menu list */
  .wp-block-navigation__container {
    display: none !important;
  }

  /* UN-hide the nav list when the overlay is open — overrides both our rule
     above and any WP core inline display:none on .is-responsive */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container.is-responsive {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Ensure the responsive (mobile) container is hidden by default until toggled */
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
}

@media (min-width: 791px) {
  .wp-block-navigation__responsive-container-open {
    display: none !important;
  }

  /* Ensure desktop menu is visible */
  .wp-block-navigation__container {
    display: flex !important;
  }
}


/* Custom hamburger lines */
.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-open::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s, bottom 0.3s, background-color 0.2s;
  left: 10px;
}

.wp-block-navigation__responsive-container-open:hover::before,
.wp-block-navigation__responsive-container-open:hover::after {
  background-color: var(--color-accent);
}

.wp-block-navigation__responsive-container-open::before {
  top: 15px;
  box-shadow: 0 6px 0 0 var(--color-text);
}

.wp-block-navigation__responsive-container-open:hover::before {
  box-shadow: 0 6px 0 0 var(--color-accent);
}

.wp-block-navigation__responsive-container-open::after {
  bottom: 15px;
}

/* Mobile Menus Overlay Styling */
.wp-block-navigation__responsive-container.is-menu-open {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  padding-top: 80px !important;
}

/* Close Icon "X" wrapper */
.wp-block-navigation__responsive-container-close {
  position: absolute !important;
  top: 14px !important;
  right: var(--section-h) !important;
  width: 44px !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  z-index: 101;
}

/* Close Icon "X" */
.wp-block-navigation__responsive-container-close::before,
.wp-block-navigation__responsive-container-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
  top: 21px;
  left: 10px;
  transition: transform 0.3s ease;
}

.wp-block-navigation__responsive-container-close::before {
  transform: rotate(45deg);
}

.wp-block-navigation__responsive-container-close::after {
  transform: rotate(-45deg);
}

.wp-block-navigation__responsive-container-close:hover::before {
  transform: rotate(135deg);
}

.wp-block-navigation__responsive-container-close:hover::after {
  transform: rotate(45deg);
}

/* Main Mobile Navigation Links Wrapper */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding-block: 8px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
  display: none;
  /* No underline on mobile */
}

/* Submenu container inside mobile */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
  transform: none;
  opacity: 1;
  visibility: visible;
  position: relative !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.8;
  padding-block: 4px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .nav-cta {
  font-size: 1.2rem !important;
  padding: 14px 36px !important;
  margin-top: 24px;
}

/* --- Site Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .5);
  padding: 48px var(--section-h);
  text-align: center;
  font-size: .875rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 50%, var(--color-accent) 100%);
}

.site-footer a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color .18s;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

/* --- Site Main ------------------------------------------------------------ */
.site-main {
  min-height: 60vh;
}

/* ==========================================================================
   SECTION SYSTEM
   ========================================================================== */

.section {
  padding: var(--section-v) var(--section-h);
  position: relative;
  margin: 0;
}

.section-light {
  background: var(--color-bg);
}

.section-dark {
  background: var(--color-dark);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark h2.accent {
  color: var(--color-accent);
}

.section-dark p {
  color: rgba(255, 255, 255, .82);
}

.section-dark ul {
  color: rgba(255, 255, 255, .82);
  margin: 1rem 0;
}

.section-dark a:not(.btn):not(.hub-card):not(.nav-cta) {
  color: var(--color-accent);
}

.section-accent {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-accent h2 {
  margin-top: 0;
  position: relative;
}

.section-accent p {
  opacity: .92;
  font-size: 1.05rem;
  position: relative;
}

.section-accent .btn {
  position: relative;
}

/* --- Section dividers ----------------------------------------------------- */
section.section-dark,
section.section-light {
  margin-top: 0;
  padding-bottom: 8rem;
  padding-top: 4rem;
}

/* Sections are flush — the mountain element lives entirely inside the outgoing
   section (top: -60px), so the outgoing section's own background fills the
   transparent areas between peaks naturally. No gap needed. */

.section-dark+.section-light::before,
.section-light+.section-dark::before,
.section-dark+.section-light::after,
.section-light+.section-dark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  pointer-events: none;
}

/* Mountain peaks point upward into the outgoing section.
   The element is positioned mostly above the section boundary so the
   transparent area above the peaks sits inside the outgoing section
   (which naturally fills it with its own background).
   Incoming section colour is used so peaks contrast against the outgoing bg. */
.section-dark+.section-light::before,
.section-light+.section-dark::before {
  top: -60px;
  /* ≈ -(height × 0.93) so the base sits at the boundary */
  z-index: 2;
}

.section-dark+.section-light::after,
.section-light+.section-dark::after {
  top: -62px;
  /* 2 px higher than ::before — accent traces the ridge */
  z-index: 1;
  background: var(--color-accent);
}

.section-dark+.section-light::before,
.section-dark+.section-light::after,
.section-light+.section-dark::before,
.section-light+.section-dark::after {
  clip-path: polygon(0 100%,
      100% 100%,
      100% 90%,
      86% 92%,
      78% 72%,
      72% 86%,
      65% 40%,
      59% 76%,
      52% 12%,
      46% 74%,
      39% 38%,
      33% 84%,
      26% 66%,
      20% 88%,
      10% 91%,
      0 93%);
}

/* incoming colour — peaks contrast against the outgoing section background */
.section-dark+.section-light::before {
  background: var(--color-bg);
}

.section-dark+.section-light::after {
  background: var(--color-accent);
}

.section-light+.section-dark::before {
  background: var(--color-dark);
}

.section-light+.section-dark::after {
  background: var(--color-accent);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.section-hero {
  background: var(--color-dark);
  color: #fff;
  padding: 96px var(--section-h) 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(210, 9, 89, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 9, 89, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.section-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(210, 9, 89, .12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 18px;
  position: relative;
  font-weight: 800;
  letter-spacing: -.025em;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: .78;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 0;
  position: relative;
  line-height: 1.7;
}

/* --- Typography helpers --------------------------------------------------- */
.lead {
  font-size: 1.075rem;
  max-width: 760px;
  line-height: 1.75;
}

.text-accent {
  color: var(--color-accent);
}

.mono {
  font-family: var(--font-mono);
}

.anchor {
  display: block;
  padding-top: 80px;
  margin-top: -80px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .22s var(--ease-out-expo);
  line-height: 1.4;
  position: relative;
}

/* Fix for Gutenberg block wrapper applying padding & bg meant for buttons */
.wp-block-button.btn {
  padding: 0;
  background: transparent;
  border: none;
}

.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-element-button,
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button.is-style-fill .wp-element-button {
  background: var(--color-accent) !important;
  color: #fff !important;
}

.wp-block-button.btn-primary {
  background: transparent !important;
}

.btn-primary:hover,
.wp-block-button.btn-primary:hover .wp-block-button__link,
.wp-block-button.btn-primary:hover .wp-element-button,
.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button.is-style-fill .wp-element-button:hover {
  background: var(--color-accent-dark) !important;
  color: #fff !important;
  box-shadow: 0 6px 24px var(--color-accent-glow);
  transform: translateY(-1px);
}

.wp-block-button.btn-primary:hover {
  background: transparent !important;
  box-shadow: none;
  transform: none;
}

.btn-dark,
.wp-block-button.btn-dark .wp-block-button__link,
.wp-block-button.btn-dark .wp-element-button {
  background: var(--color-dark) !important;
  color: #fff !important;
}

.wp-block-button.btn-dark {
  background: transparent !important;
}

.btn-dark:hover,
.wp-block-button.btn-dark:hover .wp-block-button__link,
.wp-block-button.btn-dark:hover .wp-element-button {
  background: #2d2d2d !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.wp-block-button.btn-dark:hover {
  background: transparent !important;
  transform: none;
}

.btn-white,
.wp-block-button.btn-white .wp-block-button__link,
.wp-block-button.btn-white .wp-element-button {
  background: #fff !important;
  color: var(--color-accent) !important;
}

.wp-block-button.btn-white {
  background: transparent !important;
}

.btn-white:hover,
.wp-block-button.btn-white:hover .wp-block-button__link,
.wp-block-button.btn-white:hover .wp-element-button {
  background: #f5f5f5 !important;
  color: var(--color-accent) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

.wp-block-button.btn-white:hover {
  background: transparent !important;
  box-shadow: none;
  transform: none;
}

.btn-lg,
.wp-block-button.btn-lg .wp-block-button__link,
.wp-block-button.btn-lg .wp-element-button {
  padding: 14px 36px !important;
  font-size: 1rem !important;
}

.wp-block-button.btn-lg {
  padding: 0 !important;
}

.btn-outline,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-element-button {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .25) !important;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: all .22s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.wp-block-button.btn-outline {
  padding: 0 !important;
  border: none !important;
}

.btn-outline:hover,
.wp-block-button.btn-outline:hover .wp-block-button__link,
.wp-block-button.btn-outline:hover .wp-element-button {
  border-color: #fff !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .06) !important;
  transform: translateY(-1px);
}

.wp-block-button.btn-outline:hover {
  border-color: transparent !important;
  background: transparent !important;
  transform: none;
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.grid-auto-tags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-block: 20px;
}

.grid-tech {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
  margin-block: 16px 32px !important;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo);
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card-accent-top {
  border-top: 4px solid var(--color-accent);
}

.card h3 {
  margin-top: 0;
  color: var(--color-text);
  margin-bottom: 16px;
}

.card ul {
  margin: 0;
}

.card-dark {
  background: var(--color-dark-raised);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  transition: transform .3s var(--ease-out-expo), border-color .3s;
}

.card-dark:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 9, 89, .3);
}

.card-dark h3 {
  color: var(--color-accent);
  margin-top: 0;
}

/* ==========================================================================
   HUB CARDS
   ========================================================================== */

.hub-card {
  display: block;
  background: var(--color-accent);
  color: #fff;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all .3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -40px;
  width: 80px;
  height: 100%;
  background: rgba(255, 255, 255, .08);
  transform: skewX(-12deg);
  transition: right .4s var(--ease-out-expo);
}

.hub-card:hover::before {
  right: -20px;
}

.hub-card:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}

.hub-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  position: relative;
}

.hub-card p {
  margin: 0;
  opacity: .88;
  font-size: .9rem;
  position: relative;
}

/* ==========================================================================
   PLATFORM TAGS
   ========================================================================== */

.platform-tag {
  padding: 10px 14px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: .85rem;
  transition: transform .2s, box-shadow .2s;
}

.platform-tag:hover {
  transform: translateY(-2px);
}

.platform-tag-light {
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .08);
  color: var(--color-text);
}

.platform-tag-dark {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}

.platform-tag-dark:hover {
  border-color: rgba(210, 9, 89, .4);
  box-shadow: 0 0 16px rgba(210, 9, 89, .1);
}

/* ==========================================================================
   TECH STACK ITEMS
   ========================================================================== */

.tech-item {
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--color-accent);
  transition: transform .25s var(--ease-out-expo), box-shadow .25s;
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-2px) scale(1.02);
}

.tech-item-light {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.tech-item-light:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.tech-item-dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .04);
  border-left: 3px solid var(--color-accent);
}

.tech-item-dark:hover {
  border-color: rgba(210, 9, 89, .3);
  border-left-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(210, 9, 89, .08);
}

.tech-item strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 2px;
}

.tech-item-light strong {
  color: var(--color-text);
}

.tech-item-dark strong {
  color: #fff;
}

.tech-item span {
  font-size: .78rem;
}

.tech-item-light span {
  color: var(--color-text-muted);
}

.tech-item-dark span {
  color: rgba(255, 255, 255, .45);
}

/* ==========================================================================
   INLINE TAGS
   ========================================================================== */

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 600;
  margin: 3px;
  transition: transform .15s, box-shadow .15s;
}

.tag:hover {
  transform: translateY(-1px);
}

.tag-accent {
  background: rgba(210, 9, 89, .08);
  color: var(--color-accent);
  border: 1px solid rgba(210, 9, 89, .18);
}

.tag-accent:hover {
  box-shadow: 0 2px 10px rgba(210, 9, 89, .12);
}

/* ==========================================================================
   CHECKLISTS & LISTS
   ========================================================================== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.checklist-light li {
  border-bottom-color: rgba(0, 0, 0, .07);
  color: var(--color-text);
}

.list-spaced {
  list-style: none;
  padding-left: 0;
}

.list-spaced li {
  margin-bottom: .5rem;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
}

.list-spaced li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.section-dark .list-spaced li::before,
.card-dark .list-spaced li::before {
  background: var(--color-accent);
  opacity: .7;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .04);
  position: relative;
  margin-bottom: 2rem;
}

.form-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), rgba(210, 9, 89, .3));
  border-radius: 0 0 3px 3px;
  opacity: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: .92rem;
  letter-spacing: .01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #c5d5d9;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--color-accent-glow);
  background: #fff;
}

.form-group textarea {
  height: 155px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .18s;
}

.form-submit:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 24px var(--color-accent-glow);
  transform: translateY(-1px);
}

/* Gravity Forms overrides */
.gform_wrapper .gform_submit_button,
.gform_wrapper input[type="submit"] {
  background: var(--color-accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  transition: background .18s, box-shadow .18s, transform .18s !important;
  width: 100% !important;
}

.gform_wrapper .gform_submit_button:hover,
.gform_wrapper input[type="submit"]:hover {
  background: var(--color-accent-dark) !important;
  box-shadow: 0 6px 24px var(--color-accent-glow) !important;
}

.gform_wrapper .gfield_label {
  font-weight: 600;
  color: var(--color-text);
  font-size: .92rem;
}

.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.gform_wrapper textarea,
.gform_wrapper select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #c5d5d9 !important;
  border-radius: var(--radius) !important;
  font-size: 1rem;
  font-family: inherit;
  background: #fafbfc;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
  border-color: var(--color-accent) !important;
  outline: none;
  box-shadow: 0 0 0 4px var(--color-accent-glow);
}

/* --- Contact layout ------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-stack>*+* {
  margin-top: 20px;
}

.info-stack>.contact-section-label {
  margin-top: 0;
}

/* ==========================================================================
   FAQ / Details
   ========================================================================== */

.faq-item,
.wp-block-details.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 14px;
  border-left: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item:hover,
.wp-block-details.faq-item:hover {
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}

.faq-item h3,
.wp-block-details.faq-item summary {
  margin-top: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p,
.wp-block-details.faq-item p {
  margin: 12px 0 0;
  color: var(--color-text);
}

/* --- Section sub-heading spacing ------------------------------------------ */
.section h2 {
  margin-top: 0;
}

.section h3 {
  margin-top: 36px;
}

.section h3:first-child {
  margin-top: 0;
}

/* ==========================================================================
   ENTRANCE ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}

.reveal-stagger.revealed>*:nth-child(1) {
  transition-delay: .05s;
}

.reveal-stagger.revealed>*:nth-child(2) {
  transition-delay: .12s;
}

.reveal-stagger.revealed>*:nth-child(3) {
  transition-delay: .19s;
}

.reveal-stagger.revealed>*:nth-child(4) {
  transition-delay: .26s;
}

.reveal-stagger.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HOMEPAGE-SPECIFIC
   ========================================================================== */

.hero-mega {
  background: var(--color-dark);
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-mega-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 88px 24px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.hero-mega-visual {
  position: relative;
  z-index: 2;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05), 0 0 40px rgba(210, 9, 89, .08);
  }

  50% {
    transform: translateY(-8px);
    box-shadow: 0 32px 72px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05), 0 0 56px rgba(210, 9, 89, .14);
  }
}

.hero-code-win {
  border-radius: 12px;
  animation: heroFloat 5s var(--ease-out-expo) infinite;
}

/* DOM-based animated code editor */
.hero-code-bar {
  background: #252525;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero-code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-code-tab {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
  padding: 3px 12px;
  border-radius: 4px;
}

.hero-code-body {
  background: #1a1a1a;
  border-radius: 0 0 12px 12px;
  display: flex;
  min-height: 252px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-top: none;
}

.hero-code-nums {
  padding: 20px 0;
  min-width: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .18);
  line-height: 22px;
  user-select: none;
  white-space: pre;
  background: rgba(255, 255, 255, .02);
}

.hero-code-pre {
  margin: 0;
  padding: 20px 16px;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 22px;
  color: rgba(255, 255, 255, .65);
  overflow: hidden;
  white-space: pre;
}

@keyframes cursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-code-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: rgba(255, 255, 255, .75);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: cursorBlink 1.1s step-end infinite;
}

.hero-code-pre.selecting {
  background: rgba(38, 90, 180, 0.38);
  border-radius: 2px;
}

.hero-code-pre.selecting .hero-code-cursor {
  animation: none;
  opacity: 1;
}

/* Slide tab buttons below the code window */
.hero-slide-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-slide-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  font-size: .76rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, .4);
  letter-spacing: .03em;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.hero-slide-tab::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  flex-shrink: 0;
}

.hero-slide-tab.active,
.hero-slide-tab:hover {
  color: rgba(255, 255, 255, .75);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
}

.hero-slide-tab.active::before {
  background: #28C840;
  box-shadow: 0 0 6px rgba(40, 200, 64, .7);
  opacity: 1;
}

.stat-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto 10px;
  opacity: .85;
}

.process-step-icon {
  width: 36px;
  height: 36px;
  display: block;
  margin-bottom: 16px;
  opacity: .9;
}

.hero-mega::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: #fff;
  filter: url(#hero-grain);
  opacity: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-mega::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(210, 9, 89, .14) 0%, transparent 55%);
  pointer-events: none;
}

.hero-mega-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0;
  max-width: none;
  margin: 0;
}

.hero-mega-eyebrow {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-mega-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 24px;
}

.hero-mega-title .accent {
  color: var(--color-accent);
}

.hero-mega-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: .72;
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-mega-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* --- Service Pillars ------------------------------------------------------ */
.service-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-pillar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  transition: all .35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}

.service-pillar:hover::after {
  transform: scaleX(1);
}

.service-pillar:hover {
  border-color: rgba(210, 9, 89, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(210, 9, 89, .07);
  border: 1px solid rgba(210, 9, 89, .14);
  border-radius: 16px;
  margin-bottom: 22px;
  transition: background .3s var(--ease-out-expo), border-color .3s;
}

.service-pillar:hover .pillar-icon-wrap {
  background: rgba(210, 9, 89, .12);
  border-color: rgba(210, 9, 89, .28);
}

.service-pillar-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.mq-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -1px;
  opacity: .7;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
}

/* --- CTA decorative rings ------------------------------------------------- */
.cta-rings {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: .6;
  pointer-events: none;
}

.cta-rings--left {
  right: auto;
  left: -80px;
  opacity: .4;
  transform: translateY(-50%) scaleX(-1);
}

.service-pillar h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--color-text);
}

.service-pillar p {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.service-pillar .pillar-link {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease-out-expo);
}

.service-pillar:hover .pillar-link {
  gap: 10px;
}

/* --- Stats Row ------------------------------------------------------------ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 12px 0;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .02em;
}

/* --- Tech Marquee --------------------------------------------------------- */
.marquee-section {
  overflow: hidden;
  padding: 48px 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  margin-top: 0;
}

.marquee-label {
  text-align: center;
  font-size: .78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  padding: 8px 28px;
  margin: 0 6px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .85rem;
  color: var(--color-text);
  white-space: nowrap;
}

/* --- CTA Block (homepage) ------------------------------------------------- */
.cta-block {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
  margin-top: 0;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(210, 9, 89, .1) 0%, transparent 50%);
}

.cta-block-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.cta-block h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 16px;
}

.cta-block p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

/* ==========================================================================
   SCROLL-TO-TOP
   ========================================================================== */

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.mt-0 {
  margin-top: 0;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-0 {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.max-prose {
  max-width: 760px;
}

/* ==========================================================================
   SUBPAGE SECTION ICONS
   ========================================================================== */

.section-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(210, 9, 89, .07);
  border: 1px solid rgba(210, 9, 89, .15);
  border-radius: 14px;
  margin-bottom: 20px;
}

.section-dark .section-icon-wrap {
  background: rgba(210, 9, 89, .1);
  border-color: rgba(210, 9, 89, .22);
}

.section-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  flex-shrink: 0;
}

.info-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  margin-bottom: 14px;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}

.feature-h3-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(210, 9, 89, .08);
  border: 1px solid rgba(210, 9, 89, .16);
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}

.section-dark .feature-h3-icon {
  background: rgba(210, 9, 89, .12);
  border-color: rgba(210, 9, 89, .25);
}

.feature-h3-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  fill: none;
}

.tech-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(210, 9, 89, .1);
  border: 1px solid rgba(210, 9, 89, .2);
  border-radius: 10px;
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.section-light .tech-section-icon {
  background: rgba(210, 9, 89, .07);
  border-color: rgba(210, 9, 89, .15);
}

.tech-section-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
}

h3>.feature-h3-icon {
  position: relative;
  top: -1px;
}

/* ==========================================================================
   CONTACT PAGE ENHANCEMENTS
   ========================================================================== */

.contact-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.contact-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.contact-meta-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
  flex-shrink: 0;
  animation: pulseGreen 2.4s ease-in-out infinite;
}

@keyframes pulseGreen {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
  }

  50% {
    opacity: .7;
    box-shadow: 0 0 0 5px rgba(74, 222, 128, .08);
  }
}

.contact-meta-badge svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, .6);
  fill: none;
  flex-shrink: 0;
}

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 160px;
}

.trust-point-icon {
  width: 36px;
  height: 36px;
  background: rgba(210, 9, 89, .07);
  border: 1px solid rgba(210, 9, 89, .14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-point-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  fill: none;
}

.trust-point-text strong {
  display: block;
  font-size: .88rem;
  color: var(--color-text);
  margin-bottom: 2px;
  font-weight: 700;
}

.trust-point-text span {
  font-size: .8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-section-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(210, 9, 89, .2);
  max-width: 120px;
}

.info-stack .card-dark {
  position: relative;
  overflow: hidden;
}

.info-stack .card-dark::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, rgba(210, 9, 89, .12), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 790px) {
  :root {
    --section-v: 52px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .service-pillars {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .wp-block-navigation ul {
    gap: 14px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-mega-title {
    font-size: 2rem;
  }

  .hero-mega-sub {
    font-size: 1rem;
  }

  .section-hero {
    padding: 56px var(--section-h) 64px;
  }

  .hero-mega {}

  .hero-mega-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 72px 24px;
  }

  .hero-mega-content {
    text-align: center;
  }

  .hero-mega-actions {
    justify-content: center;
  }

  .hero-mega-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-mega-visual {
    display: none;
  }

  .section-dark+.section-light::before,
  .section-light+.section-dark::before,
  .section-dark+.section-light::after,
  .section-light+.section-dark::after {
    height: 36px;
  }


  .section-dark+.section-light::before,
  .section-light+.section-dark::before {
    top: -33px;
  }

  .section-dark+.section-light::after,
  .section-light+.section-dark::after {
    top: -35px;
  }
}

@media (max-width: 540px) {
  .grid-auto-tags {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-mega-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger>* {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ─── WordPress block layout margin reset ────────────────────────────────────
   WP injects 24px margin-block-start on .is-layout-flow children.
   We manage all spacing via section padding and component classes.       */
:where(.wp-site-blocks)>* {
  margin-block-start: 0;
  margin-block-end: 0;
}

footer.wp-block-template-part {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   INTEGRATIONS LANDING PAGE
   Plugin: integrations.webdevelop.hu  |  Page slug: /integrations/
   ═══════════════════════════════════════════════════════════════ */


.intg-body {
  overflow: hidden
}

.intg-visual {
  float: right;
  width: 240px;
  margin: 4px 0 20px 36px;
  opacity: .92
}

.intg-visual--left {
  float: left;
  margin: 4px 36px 20px 0
}

.intg-visual svg {
  width: 100%;
  height: auto;
  display: block
}

@media(max-width:680px) {

  .intg-visual,
  .intg-visual--left {
    float: none;
    width: 100%;
    max-width: 260px;
    margin: 0 auto 24px;
    display: block
  }
}

.hero-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.hero-nodes .nd {
  opacity: 0;
  animation: nodePop 3s ease-in-out infinite
}

.hero-nodes .nd:nth-child(1) {
  animation-delay: 0s
}

.hero-nodes .nd:nth-child(2) {
  animation-delay: .4s
}

.hero-nodes .nd:nth-child(3) {
  animation-delay: .8s
}

.hero-nodes .nd:nth-child(4) {
  animation-delay: 1.2s
}

.hero-nodes .nd:nth-child(5) {
  animation-delay: 1.6s
}

.hero-nodes .nd:nth-child(6) {
  animation-delay: 2s
}

@keyframes nodePop {

  0%,
  100% {
    opacity: 0;
    transform: scale(.6)
  }

  30%,
  70% {
    opacity: .55;
    transform: scale(1)
  }
}

.woo-banner {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a1a25 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(210, 9, 89, .25);
  position: relative;
  overflow: hidden
}

.woo-banner::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(210, 9, 89, .18) 0%, transparent 70%);
  pointer-events: none
}

.woo-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(210, 9, 89, .15);
  border: 1px solid rgba(210, 9, 89, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.woo-banner-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px
}

.wave-bars span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--color-accent);
  animation: waveBar 1.2s ease-in-out infinite alternate
}

.wave-bars span:nth-child(1) {
  height: 8px;
  animation-delay: 0s
}

.wave-bars span:nth-child(2) {
  height: 18px;
  animation-delay: .1s
}

.wave-bars span:nth-child(3) {
  height: 26px;
  animation-delay: .2s
}

.wave-bars span:nth-child(4) {
  height: 14px;
  animation-delay: .3s
}

.wave-bars span:nth-child(5) {
  height: 22px;
  animation-delay: .4s
}

.wave-bars span:nth-child(6) {
  height: 10px;
  animation-delay: .5s
}

.wave-bars span:nth-child(7) {
  height: 20px;
  animation-delay: .6s
}

@keyframes waveBar {
  from {
    transform: scaleY(.5)
  }

  to {
    transform: scaleY(1)
  }
}


/* ============================================================
   VETCAREPRESS LANDING PAGE
   Inherits the WebDevelop.hu colour palette from style.css.
   --color-accent (#D20959), --color-accent-dark, --color-accent-glow
   are already defined in the base theme — no overrides needed.
   ============================================================ */

:root {
  /* Aliases so VCP component styles read clearly */
  --vcp-accent: var(--color-accent);
  /* #D20959 */
  --vcp-accent-dark: var(--color-accent-dark);
  /* #a80747 */
  --vcp-accent-mid: #e8307a;
  /* brighter, for dark backgrounds */
  --vcp-accent-light: #fce4ee;
  /* very light pink tint */
  --vcp-accent-faint: rgba(210, 9, 89, 0.08);
  --vcp-accent-glow: var(--color-accent-glow);
  /* rgba(210,9,89,.25) */
  --vcp-accent-rgb: 210, 9, 89;

  /* Layout extras */
  --vcp-hero-bg: var(--color-dark);
  /* #171717 */
  --vcp-section-alt: #F8F8F8;
  --vcp-card-border: rgba(210, 9, 89, 0.12);


  --vcp-accent: #1B998B;
  --vcp-accent-dark: #14776C;
  --vcp-accent-mid: #12B2A2;
  --vcp-accent-light: #E6F7F5;
  --vcp-accent-faint: rgba(27, 153, 139, 0.08);
  --vcp-accent-glow: rgba(27, 153, 139, 0.28);
  --vcp-accent-rgb: 27, 153, 139;

}

/* ── Global overrides ──────────────────────────────────────── */
body {
  background: #fff;
}

/* ── VCP HERO ──────────────────────────────────────────────── */
.vcp-hero {
  background: var(--vcp-hero-bg);
  position: relative;
  overflow: hidden;
  padding: 96px var(--section-h) 88px;
  display: flex;
  align-items: center;
}

/* Grain texture */
.vcp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Radial glow: top-right */
.vcp-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(var(--vcp-accent-rgb), 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-left secondary glow */
.vcp-hero-glow-secondary {
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--vcp-accent-rgb), 0.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.vcp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.vcp-hero-content {
  max-width: 540px;
}

.vcp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--vcp-accent-mid);
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}

.vcp-hero-eyebrow .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vcp-accent);
  box-shadow: 0 0 8px var(--vcp-accent-glow);
}

.vcp-hero-title {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s 0.07s, transform 0.55s 0.07s;
}

.vcp-hero-title .accent {
  color: var(--vcp-accent-mid);
}

.vcp-hero-sub {
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s 0.13s, transform 0.55s 0.13s;
}

.vcp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s 0.19s, transform 0.55s 0.19s;
}

/* Revealed state — apply to parent and stagger with nth selectors */
.vcp-hero-content.revealed .vcp-hero-eyebrow,
.vcp-hero-content.revealed .vcp-hero-title,
.vcp-hero-content.revealed .vcp-hero-sub,
.vcp-hero-content.revealed .vcp-hero-actions {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button overrides using VCP colours */
.btn-vcp {
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
  cursor: pointer;
  border: none;
}

.btn-vcp-primary {
  background: var(--vcp-accent);
  color: #fff;
}

.btn-vcp-primary:hover {
  background: var(--vcp-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--vcp-accent-glow);
}

.btn-vcp-outline {
  background: transparent;
  color: rgba(255, 255, 255, .88);
  border: 2px solid rgba(255, 255, 255, .22);
}

.btn-vcp-outline:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .45);
}

/* Trust pills */
.vcp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s 0.26s, transform 0.55s 0.26s;
}

.vcp-hero-content.revealed .vcp-trust-pills {
  opacity: 1;
  transform: translateY(0);
}

.vcp-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.vcp-trust-pill .pill-check {
  color: var(--vcp-accent-mid);
  font-size: .8rem;
}

/* Hero visual */
.vcp-hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.2s, transform 0.7s 0.2s;
}

.vcp-hero-visual.revealed {
  opacity: 1;
  transform: translateY(0);
}

.vcp-dashboard-win {
  position: relative;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, .35)) drop-shadow(0 0 50px rgba(var(--vcp-accent-rgb), 0.18));
  animation: vcpFloat 6s ease-in-out infinite;
}

@keyframes vcpFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ── TRUST BAR ─────────────────────────────────────────────── */
.vcp-trust-bar {
  background: var(--vcp-accent-light);
  border-top: 1px solid var(--vcp-card-border);
  border-bottom: 1px solid var(--vcp-card-border);
  padding: 18px var(--section-h);
}

.vcp-trust-bar-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: center;
  justify-content: center;
}

.vcp-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--vcp-accent-dark);
}

.vcp-trust-item svg {
  flex-shrink: 0;
  color: var(--vcp-accent);
}

/* ── FEATURES PILLARS ──────────────────────────────────────── */
.vcp-pillars {
  padding: 96px var(--section-h);
  background: #fff;
}

.vcp-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.vcp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vcp-accent);
  background: var(--vcp-accent-light);
  border: 1px solid var(--vcp-card-border);
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 14px;
}

.vcp-section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.2;
}

.vcp-section-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 540px;
  margin: 14px auto 0;
}

.vcp-pillars-grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vcp-pillar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius-lg, 12px);
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
  position: relative;
  overflow: hidden;
}

.vcp-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vcp-accent);
  opacity: 0.3;
  transition: opacity 0.35s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.vcp-pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .12);
  border-color: var(--vcp-card-border);
}

.vcp-pillar:hover::before {
  opacity: 1;
}

.vcp-pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--vcp-accent-light);
  border: 1px solid var(--vcp-card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--vcp-accent);
}

.vcp-pillar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text);
}

.vcp-pillar p {
  font-size: .90rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── FEATURE SPOTLIGHT SECTIONS (alternating) ──────────────── */
.vcp-spotlight {
  padding: 88px var(--section-h);
}

.vcp-spotlight:nth-child(odd) {
  background: var(--vcp-section-alt);
}

.vcp-spotlight:nth-child(even) {
  background: #fff;
}

.vcp-spotlight--dark,
.vcp-spotlight--dark:nth-child(odd),
.vcp-spotlight--dark:nth-child(even) {
  background: var(--color-dark, #171717) !important;
}

.vcp-spotlight--dark .vcp-spotlight-content h2 {
  color: rgba(255, 255, 255, .92);
}

.vcp-spotlight--dark .vcp-spotlight-content p {
  color: rgba(255, 255, 255, .6);
}

.vcp-spotlight--dark .vcp-feature-list li {
  color: rgba(255, 255, 255, .75);
}

.vcp-spotlight--dark .vcp-feature-list li::before {
  background: rgba(210, 9, 89, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23D20959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 9 7.5 12.5 14 6'/%3E%3C/svg%3E");
  background-size: contain;
  border-color: rgba(210, 9, 89, 0.35);
}

.vcp-spotlight--dark .vcp-section-eyebrow {
  color: var(--vcp-accent-mid);
  background: rgba(210, 9, 89, 0.12);
  border-color: rgba(210, 9, 89, 0.3);
}

.vcp-spotlight--dark .vcp-tag {
  background: rgba(210, 9, 89, 0.12);
  border-color: rgba(210, 9, 89, 0.3);
}

.vcp-spotlight-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.vcp-spotlight-inner.reverse {
  direction: rtl;
}

.vcp-spotlight-inner.reverse>* {
  direction: ltr;
}

.vcp-spotlight-content {}

.vcp-spotlight-content .vcp-section-eyebrow {
  text-align: left;
}

.vcp-spotlight-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.vcp-spotlight-content p {
  font-size: .96rem;
  line-height: 1.72;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

.vcp-feature-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vcp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--color-text);
  line-height: 1.55;
}

.vcp-feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: var(--vcp-accent-light);
  border: 1px solid var(--vcp-card-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23D20959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 9 7.5 12.5 14 6'/%3E%3C/svg%3E");
  background-size: contain;
}

/* Spotlight visual panel */
.vcp-spotlight-visual {
  position: relative;
}

.vcp-panel {
  background: var(--color-dark, #171717);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .06);
}

.vcp-panel-bar {
  background: #252525;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.vcp-panel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.vcp-panel-dot.red {
  background: #FF5F57;
}

.vcp-panel-dot.amber {
  background: #FEBC2E;
}

.vcp-panel-dot.green {
  background: #28C840;
}

.vcp-panel-tab {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 8px;
}

.vcp-panel-body {
  padding: 20px;
}

/* Light panel variant */
.vcp-panel-light {
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .07);
}

.vcp-panel-light .vcp-panel-bar {
  background: #F4F4F4;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.vcp-panel-light .vcp-panel-tab {
  color: rgba(0, 0, 0, .45);
}

.vcp-panel-light .vcp-record-item {
  border-bottom-color: rgba(0, 0, 0, .07);
}

.vcp-panel-light .vcp-record-name {
  color: rgba(0, 0, 0, .82);
}

.vcp-panel-light .vcp-record-meta {
  color: rgba(0, 0, 0, .42);
}

.vcp-panel-light .vcp-patient-header {
  border-bottom-color: rgba(0, 0, 0, .08);
}

.vcp-panel-light .vcp-patient-name {
  color: rgba(0, 0, 0, .85);
}

.vcp-panel-light .vcp-patient-meta {
  color: rgba(0, 0, 0, .42);
}

/* Feature tags */
.vcp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.vcp-tag {
  font-size: .76rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--vcp-accent);
  background: var(--vcp-accent-faint);
  border: 1px solid rgba(var(--vcp-accent-rgb), 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── STATS ──────────────────────────────────────────────────── */
.vcp-stats {
  background: var(--color-dark, #171717);
  padding: 72px var(--section-h);
  position: relative;
  overflow: hidden;
}

.vcp-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--vcp-accent-rgb), 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.vcp-stats-grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.vcp-stat {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg, 12px);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color 0.3s;
}

.vcp-stat:hover {
  border-color: rgba(var(--vcp-accent-rgb), 0.3);
}

.vcp-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vcp-accent-mid);
  line-height: 1;
  margin: 0 0 8px;
}

.vcp-stat-label {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  line-height: 1.4;
}

.vcp-stat-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 16px;
  color: var(--vcp-accent);
  display: block;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.vcp-how {
  background: #fff;
  padding: 96px var(--section-h);
}

.vcp-steps-grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

/* Connector line */
.vcp-steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.6% + 14px);
  right: calc(16.6% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--vcp-accent-light), var(--vcp-accent), var(--vcp-accent-light));
  z-index: 0;
}

.vcp-step {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius-lg, 12px);
  padding: 36px 28px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.vcp-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
  border-color: var(--vcp-card-border);
}

.vcp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vcp-accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px var(--vcp-accent-glow);
}

.vcp-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.vcp-step p {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.vcp-faq {
  background: var(--vcp-section-alt);
  padding: 88px var(--section-h);
}

.vcp-faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vcp-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.vcp-faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.vcp-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}

.vcp-faq-q:hover {
  color: var(--vcp-accent);
}

.vcp-faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--vcp-accent);
  transition: transform 0.25s;
}

.vcp-faq-item.open .vcp-faq-arrow {
  transform: rotate(180deg);
}

.vcp-faq-a {
  font-size: .88rem;
  line-height: 1.72;
  color: var(--color-text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0;
}

.vcp-faq-item.open .vcp-faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ── CTA BLOCK ───────────────────────────────────────────────── */
.vcp-cta {
  background: var(--vcp-hero-bg);
  padding: 96px var(--section-h);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vcp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--vcp-accent-rgb), 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.vcp-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.vcp-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
}

.vcp-cta p {
  font-size: 1rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 36px;
}

.vcp-cta .vcp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vcp-accent);
  background: var(--vcp-accent-light);
  border: 1px solid var(--vcp-card-border);
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 14px;
}

.vcp-cta .vcp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.vcp-cta .vcp-cta-note {
  font-size: .78rem;
  color: rgba(255, 255, 255, .35);
  margin-top: 16px;
  font-family: var(--font-mono);
}

/* CTA rings (decorative) */
.vcp-cta-rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.7;
  pointer-events: none;
}

.vcp-cta-rings.left {
  right: auto;
  left: -80px;
  opacity: 0.45;
}

/* ── COMPATIBILITY BAR ──────────────────────────────────────── */
.vcp-compat {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding: 32px var(--section-h);
}

.vcp-compat-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: center;
}

.vcp-compat-label {
  font-size: .78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.vcp-compat-sep {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, .1);
}

.vcp-compat-badge {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--vcp-section-alt);
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 3px 10px;
  border-radius: 20px;
}

/* CTA */

.vcp-cta .btn-primary,
.vcp-cta .wp-block-button.btn-primary .wp-block-button__link,
.vcp-cta .wp-block-button.btn-primary .wp-element-button,
.vcp-cta .wp-block-button.is-style-fill .wp-block-button__link,
.vcp-cta .wp-block-button.is-style-fill .wp-element-button {
  background-color: var(--vcp-accent) !important;
  color: #fff !important;
  border-color: var(--vcp-accent) !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vcp-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vcp-hero {
    min-height: auto;
    padding: 80px var(--section-h) 64px;
  }

  .vcp-hero-content {
    max-width: 100%;
  }

  .vcp-pillars-grid {
    grid-template-columns: 1fr;
  }

  .vcp-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vcp-spotlight-inner.reverse {
    direction: ltr;
  }

  .vcp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vcp-steps-grid {
    grid-template-columns: 1fr;
  }

  .vcp-steps-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .vcp-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .vcp-stat-num {
    font-size: 2rem;
  }
}

/* ── Shared reveal animation (reuses base theme class) ─────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), transform 0.55s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), transform 0.55s var(--ease-out-expo);
}

.reveal-stagger.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed>*:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger.revealed>*:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal-stagger.revealed>*:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-stagger.revealed>*:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal-stagger.revealed>*:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal-stagger.revealed>*:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), transform 0.5s var(--ease-out-expo);
}

.reveal-stagger.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

/* Inline SVG illustrations — dark panel list items */
.vcp-record-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.vcp-record-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.vcp-record-item:last-child {
  border: none;
}

.vcp-record-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(var(--vcp-accent-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--vcp-accent-mid);
}

.vcp-record-info {
  flex: 1;
  min-width: 0;
}

.vcp-record-name {
  font-size: .80rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vcp-record-meta {
  font-size: .70rem;
  color: rgba(255, 255, 255, .38);
  font-family: var(--font-mono);
}

.vcp-record-badge {
  font-size: .66rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: 20px;
}

.badge-ok {
  background: rgba(40, 200, 64, .15);
  color: #28C840;
}

.badge-due {
  background: rgba(254, 188, 46, .15);
  color: #FEBC2E;
}

.badge-new {
  background: rgba(var(--vcp-accent-rgb), 0.15);
  color: var(--vcp-accent-mid);
}

/* Patient card in hero SVG panel */
.vcp-patient-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.vcp-patient-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vcp-accent), var(--vcp-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.vcp-patient-name {
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 2px;
}

.vcp-patient-meta {
  font-size: .72rem;
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-mono);
}

.vcp-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--vcp-accent-mid);
  background: rgba(var(--vcp-accent-rgb), 0.12);
  border: 1px solid rgba(var(--vcp-accent-rgb), 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.vcp-access-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vcp-accent);
  box-shadow: 0 0 6px var(--vcp-accent-glow);
}

/* ═══ PLUGIN SHOP ═══════════════════════════════════════════════════════════ */

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 680px;
}

.plugin-card {
  display: flex;
  flex-direction: column;
}

.plugin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.plugin-card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  border: 1px solid rgba(210, 9, 89, .2);
  padding: 3px 10px;
  border-radius: 4px;
}

.plugin-card-version {
  font-size: .72rem;
  color: var(--color-text-muted);
}

.plugin-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 8px;
  color: var(--color-text);
}

.plugin-card-tagline {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.plugin-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plugin-card-features li {
  padding-left: 20px;
  position: relative;
  font-size: .93rem;
  color: var(--color-text);
  line-height: 1.45;
}

.plugin-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: .7;
}

.plugin-card-footer {
  border-top: 1px solid rgba(0, 0, 0, .07);
  padding-top: 20px;
}