@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

/* Phosphor Icons (@phosphor-icons/web) — align with text and buttons */
.ph,
.ph-bold {
  display: inline-block;
  font-style: normal !important;
  line-height: 1;
  vertical-align: -0.12em;
  -webkit-font-smoothing: antialiased;
}

.navbar-toggler .ph-bold,
.navbar-toggler .ph {
  font-size: 1.35rem;
}

.navbar-collapse{
  flex-grow: 0;
}

/* itsAI — Meridian studio (warm base, teal + ember, motion + asymmetric layout) */

:root {
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --bg: #f3efe8;
  --bg-elevated: #fffaf5;
  --bg-muted: #e9e2d9;
  --text: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --brand: #0f766e;
  --brand-hover: #115e59;
  --brand-soft: #ccfbf1;
  --accent-2: #ea580c;
  --accent-warm: #f59e0b;
  --border: #e7e5e4;
  --shadow: 0 10px 40px rgba(28, 25, 23, 0.07);
  --shadow-lg: 0 28px 70px rgba(15, 118, 110, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: 0.35s var(--ease-out);

  /* legacy aliases used in HTML inline styles */
  --accent-primary: var(--brand);
  --bg-deep: var(--bg);
  --bg-panel: #faf7f2;
  --bg-surface: var(--bg-elevated);
  --bg-card: var(--bg-elevated);
  --bg-glass: rgba(255, 250, 245, 0.88);
  --text-primary: var(--text);
  --accent-green: var(--brand);
  --accent-cyan: var(--accent-2);
  --accent-purple: #c2410c;
  --border-color: var(--border);
  --border-glow: #5eead4;
  --shadow-glow: 0 16px 48px rgba(234, 88, 12, 0.15);
  --shadow-card: var(--shadow-lg);
  --fb: var(--font-display);
  --fi: var(--font-sans);
  --r: var(--radius);
  --rl: var(--radius-lg);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  scroll-padding-top: calc(4.75rem + env(safe-area-inset-top, 0px));
}
body {
  font-family: var(--fi);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 10% -10%, rgba(15, 118, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 95% 10%, rgba(234, 88, 12, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(245, 158, 11, 0.08), transparent 45%);
  background-size: 140% 140%, 130% 130%, 120% 120%;
  background-position: 0% 0%, 100% 0%, 50% 100%;
  animation: meshDrift 28s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  100% {
    background-position: 100% 40%, 0% 60%, 50% 0%;
  }
}
::selection {
  background: rgba(15, 118, 110, 0.22);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-muted);
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fb);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.gradient-text {
  background: linear-gradient(115deg, var(--brand) 0%, var(--accent-2) 45%, var(--accent-warm) 100%);
  background-size: 200% auto;
  animation: gradientFlow 8s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.t-glow {
  text-shadow: none;
}

/* layout: no overlay trapping modals */
main {
  position: relative;
  z-index: 0;
}

.navbar {
  background: rgba(255, 250, 245, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  padding: 0.85rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: padding 0.35s var(--ease-out), box-shadow 0.35s, background 0.35s;
}
.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  background: rgba(255, 250, 245, 0.94);
}
.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 0.65rem;
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
  font-family: var(--fi);
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
  text-shadow: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.navbar-brand img {
  height: 40px;
  width: auto;
  transition: var(--t);
  filter: none;
}
.navbar-brand:hover img {
  opacity: 0.85;
}
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  color: var(--brand);
  background: var(--bg-elevated);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.22);
}

.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 10050;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--brand);
  font-family: var(--fb);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0.5rem;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: clamp(4.5rem, 10vh, 5.5rem);
  padding-bottom: clamp(0.75rem, 2.5vh, 1.5rem);
  z-index: 0;
  overflow-x: clip;
  overflow: clip;
}
.hero--studio::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    conic-gradient(from 210deg at 70% 35%, rgba(234, 88, 12, 0.07), transparent 40%, rgba(15, 118, 110, 0.09), transparent 75%),
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.06), transparent 45%);
  animation: heroAura 22s ease-in-out infinite alternate;
}
@keyframes heroAura {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(-8deg) scale(1.05);
    opacity: 0.85;
  }
}
@media (min-width: 992px) {
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
  }
  .hero-split > .col-lg-6:last-child {
    transform: translateY(0.5rem);
  }
}

/* Prevent grid/flex children from forcing horizontal overflow (long headings, etc.) */
.hero-split > [class*="col-"] {
  min-width: 0;
}

.hero-content {
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.hero-content::before {
  content: "";
  position: absolute;
  left: -.55rem;
  top: -0.5rem;
  width: 4px;
  height: min(220px, 40vh);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--brand), var(--accent-warm));
  opacity: 0.85;
  animation: barPulse 4s ease-in-out infinite;
}
@keyframes barPulse {
  0%, 100% {
    transform: scaleY(1);
    opacity: 0.75;
  }
  50% {
    transform: scaleY(1.06);
    opacity: 1;
  }
}
.hero-content h1,
.hero .hero-content h1 {
  font-family: var(--fb);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 0.75rem;
  letter-spacing: -0.035em;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.hero-content .tagline {
  font-size: clamp(0.95rem, 1.65vw, 1.12rem);
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  max-width: min(34rem, 100%);
  line-height: 1.7;
  font-family: var(--fi);
  border-left: none;
  padding-left: 0;
  background: none;
  position: relative;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.9), rgba(255, 237, 213, 0.75));
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  color: var(--brand-hover);
  font-family: var(--fb);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.1);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s;
}
.hero-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(234, 88, 12, 0.12);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0.85rem;
  max-width: 26rem;
}

/* Right column stack: stats + visual + trust (homepage hero balance) */
.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.65rem, 1.75vw, 1.1rem);
  width: 100%;
  min-height: 0;
}
.hero-stats--aside {
  margin: 0;
  max-width: none;
  width: 100%;
}
.hero-aside .stat-item:nth-child(2) {
  transform: none;
}
.hero-aside .stat-item:nth-child(2):hover {
  transform: translateY(-8px) rotate(0.75deg);
}
.hero-aside .hero-image {
  padding-block: 0.35rem 0.85rem;
  padding-inline: 0.5rem;
}
.trust-badges--aside {
  margin-top: 0;
  justify-content: center;
}
@media (min-width: 992px) {
  .trust-badges--aside {
    gap: 0.5rem 0.55rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px 10px 18px 14px / 16px 20px 12px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  
  width: max-content;
}
.stat-item:nth-child(2) {
  border-radius: 14px 24px 16px 20px / 22px 14px 20px 12px;
  transform: translateY(6px);
}
.stat-item:nth-child(3) {
  border-radius: 18px 16px 24px 12px / 14px 22px 16px 20px;
}
.stat-item:hover {
  transform: translateY(-8px) rotate(-0.75deg);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}
.stat-item:nth-child(2):hover {
  transform: translateY(-2px) rotate(0.75deg);
}
.stat-number {
  font-family: var(--fb);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-family: var(--fi);
  font-weight: 500;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.65rem 0 0;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}
.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--fi);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 250, 245, 0.65);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s, color 0.25s;
}
.badge-item:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 88, 12, 0.35);
  color: var(--text);
}
.badge-item i {
  color: var(--accent-2);
}

.btn-primary.btn-lg,
.hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #0d9488 55%, var(--brand-hover) 100%) !important;
  background-size: 180% 180%;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s, background-position 0.5s !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--fb);
  font-weight: 700;
  border-radius: 9999px !important;
  padding-inline: 1.75rem !important;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.35);
}
.btn-primary.btn-lg:hover,
.hero-cta .btn-primary:hover {
  background-position: 100% 50% !important;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(234, 88, 12, 0.22);
}
.btn-outline-light {
  background: transparent !important;
  color: var(--text) !important;
  border: 2px solid var(--border) !important;
  font-family: var(--fb);
  border-radius: 9999px !important;
  font-weight: 600 !important;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, color 0.3s, box-shadow 0.35s !important;
}
.hero-cta .btn-outline-primary {
  border-width: 2px !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  font-family: var(--fb) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s, border-color 0.3s, color 0.3s !important;
}
.hero-cta .btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.12);
}

.floating {
  animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

.hero-image--composed::before {
  display: none;
}

/* Composed hero visual — Meridian palette (replaces legacy matrix illustration) */
.hero-visual--studio {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(22rem, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-elevated);
  background-image:
    radial-gradient(ellipse 85% 72% at 82% 18%, rgba(234, 88, 12, 0.16), transparent 58%),
    radial-gradient(ellipse 75% 65% at 12% 88%, rgba(15, 118, 110, 0.18), transparent 52%),
    radial-gradient(circle at 48% 42%, rgba(245, 158, 11, 0.1), transparent 62%);
  border: 1px solid var(--border);
  box-shadow:
    0 22px 48px rgba(28, 25, 23, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 18px 36px rgba(28, 25, 23, 0.08));
}
.hero-visual__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(15, 118, 110, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 48%, #000 18%, transparent 72%);
  pointer-events: none;
}
.hero-visual__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 2px dashed rgba(15, 118, 110, 0.24);
}
.hero-visual__ring--outer {
  inset: 7%;
  animation: heroRingDrift 22s linear infinite;
}
.hero-visual__ring--inner {
  inset: 21%;
  border-color: rgba(234, 88, 12, 0.2);
  animation: heroRingDrift 15s linear infinite reverse;
}
@keyframes heroRingDrift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.hero-visual__nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-visual__nodes span {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-warm));
  box-shadow: 0 0 0 7px rgba(234, 88, 12, 0.07);
}
.hero-visual__nodes span:nth-child(1) {
  top: 14%;
  left: 17%;
}
.hero-visual__nodes span:nth-child(2) {
  top: 20%;
  right: 13%;
}
.hero-visual__nodes span:nth-child(3) {
  bottom: 19%;
  right: 18%;
}
.hero-visual__nodes span:nth-child(4) {
  bottom: 15%;
  left: 20%;
}
.hero-visual__hub {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.hero-visual__hub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.75rem, 17vw, 5.5rem);
  height: clamp(3.75rem, 17vw, 5.5rem);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand) 0%, #0d9488 48%, var(--brand-hover) 100%);
  color: #fff;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  line-height: 1;
  box-shadow:
    0 14px 36px rgba(15, 118, 110, 0.38),
    inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.hero-image {
  position: relative;
  padding: 1.25rem;
  max-width: 100%;
  isolation: isolate;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 4% 2% 8% 6%;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  border: 2px dashed rgba(15, 118, 110, 0.28);
  z-index: 0;
  animation: ringMorph 16s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ringMorph {
  0%, 100% {
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 58% 42% 48% 52% / 44% 58% 42% 56%;
    transform: rotate(-4deg);
  }
}
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-item {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--fi);
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 229, 228, 0.95);
  color: var(--text);
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.08);
  animation: floatChip 5.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  z-index: 9;
}
.floating-item i {
  color: var(--accent-2);
}
.floating-item:nth-child(1) {
  top: 16%;
  left: 4%;
}
.floating-item:nth-child(2) {
  top: 44%;
  right: 2%;
  animation-duration: 6.2s;
}
.floating-item:nth-child(3) {
  bottom: 12%;
  left: 18%;
  animation-duration: 5s;
}
@keyframes floatChip {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .hero {
    align-items: flex-start;
    padding-top: calc(5.15rem + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(4.25rem, 10vw, 5.75rem);
  }
  .hero .container {
    overflow-x: clip;
    max-width: 100%;
  }
  /* .hero-split {
    gap: 1.4rem;
  } */
  .hero-content {
    max-width: min(100%, 44rem);
    margin-inline: auto;
    text-align: center;
  }
  .hero-content::before {
    display: none;
  }
  .hero-content h1,
  .hero .hero-content h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.12;
    margin-bottom: 0.9rem;
  }
  .hero-content .tagline {
    max-width: 34rem;
    margin-inline: auto;
    margin-bottom: 1rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-cta .btn {
    min-width: 12.75rem;
    justify-content: center;
  }
  .hero-aside {
    margin-top: 0.5rem;
    max-width: min(100%, 46rem);
    margin-inline: auto;
    gap: 0.9rem;
  }
  .hero-aside .stat-item {
    align-items: center;
    text-align: center;
  }
  .hero-image {
    overflow: hidden;
    margin-inline: auto;
    width: 100%;
    max-width: min(100%, 36rem);
  }
  .floating-item:nth-child(1) {
    left: 4%;
    top: 8%;
  }
  .floating-item:nth-child(2) {
    right: 4%;
    left: auto;
    top: 40%;
  }
  .floating-item:nth-child(3) {
    left: 6%;
    bottom: 9%;
  }
  .floating-item {
    max-width: min(12.5rem, calc(100% - 0.5rem));
  }
  .trust-badges--aside {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content::before {
    display: none;
  }
  .hero-content h1,
  .hero .hero-content h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }
  .hero-content .tagline {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }
  .hero-badge {
    max-width: 100%;
    flex-wrap: wrap;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    gap: 0.4rem;
  }
}

@media (min-width: 992px) and (max-height: 780px) {
  .hero-content h1,
  .hero .hero-content h1 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    margin-bottom: 0.5rem;
  }
  .hero-content .tagline {
    margin-bottom: 0.75rem;
    line-height: 1.55;
  }
  .hero-stats {
    margin: 0.6rem 0 0.5rem;
  }
  .hero-cta {
    margin: 0.55rem 0 0.35rem;
  }
  .trust-badges {
    margin-top: 0.55rem;
    gap: 0.45rem;
  }
  .badge-item {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }
  .stat-item {
    padding: 0.65rem 0.75rem;
  }
  .stat-number {
    font-size: 1.45rem;
  }
}

.products-section,
.features-section,
.faq-section,
.wip-section,
.team-section {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  position: relative;
  z-index: 0;
}
.products-section {
  margin-top: 0;
  overflow-x: clip;
}
.products-section::before {
  display: none;
}
.products-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5%;
  right: -5%;
  height: min(42vh, 420px);
  background: linear-gradient(118deg, rgba(15, 118, 110, 0.07) 0%, rgba(234, 88, 12, 0.06) 48%, rgba(245, 158, 11, 0.05) 100%);
  transform: skewY(-3deg);
  transform-origin: 100% 0;
  z-index: -1;
  pointer-events: none;
}
.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}
.wip-section,
.faq-section {
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.55), rgba(243, 239, 232, 0.85));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.products-section .section-title {
  text-align: left;
  max-width: 52rem;
  margin-left: 0;
  margin-right: auto;
  position: relative;
  padding-left: 1.35rem;
}
.products-section .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brand), var(--accent-2), var(--accent-warm));
  animation: barShimmer 5s ease-in-out infinite;
}
@keyframes barShimmer {
  0%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(1.05);
    opacity: 0.85;
  }
}
.products-section .section-title h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.04em;
}
.products-section .section-title p {
  margin: 0.75rem 0 0;
  max-width: 36rem;
}
.section-title h2 {
  font-family: var(--fb);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.65rem;
  text-transform: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.section-title p {
  color: var(--text-secondary);
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (min-width: 992px) {
  .products-mosaic {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.35rem 1.25rem;
    align-items: stretch;
  }
  .products-mosaic > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 1) {
    grid-column: span 7;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 2) {
    grid-column: span 5;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 3) {
    grid-column: span 5;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 4) {
    grid-column: span 7;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 5) {
    grid-column: span 6;
  }
  .products-mosaic > [class*="col-"]:nth-child(6n + 6) {
    grid-column: span 6;
  }
  .products-mosaic > [class*="col-"] {
    animation: mosaicIn 0.75s var(--ease-out) backwards;
  }
  .products-mosaic > [class*="col-"]:nth-child(1) {
    animation-delay: 0.05s;
  }
  .products-mosaic > [class*="col-"]:nth-child(2) {
    animation-delay: 0.12s;
  }
  .products-mosaic > [class*="col-"]:nth-child(3) {
    animation-delay: 0.18s;
  }
  .products-mosaic > [class*="col-"]:nth-child(4) {
    animation-delay: 0.24s;
  }
  .products-mosaic > [class*="col-"]:nth-child(5) {
    animation-delay: 0.3s;
  }
  .products-mosaic > [class*="col-"]:nth-child(6) {
    animation-delay: 0.36s;
  }
}
@keyframes mosaicIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.products-section .row.g-4:not(.products-mosaic) {
  perspective: 1400px;
}

.product-card {
  height: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.65rem 1.6rem 1.5rem;
  border-radius: 26px 12px 28px 18px / 20px 26px 14px 24px;
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.98), #fff) padding-box,
    linear-gradient(135deg, rgba(15, 118, 110, 0.35), rgba(234, 88, 12, 0.35), rgba(245, 158, 11, 0.3)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.55s var(--ease-spring), box-shadow 0.45s var(--ease-out), border-radius 0.5s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: auto 12% -40% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out);
  transform: translateY(12px);
  pointer-events: none;
  z-index: 0;
}
.product-card > * {
  position: relative;
  z-index: 1;
}
.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  z-index: 2;
}
.product-card:hover::after {
  transform: scaleX(1);
}
.product-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-14px) rotateX(2deg) rotateY(-1.5deg) scale(1.015);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 118, 110, 0.08);
  border-radius: 18px 28px 16px 26px / 26px 16px 24px 18px;
}
.product-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 20px 10px 22px 12px;
  padding: 0.65rem;
  background: linear-gradient(135deg, var(--brand-soft), rgba(255, 237, 213, 0.85));
  border: 1px solid rgba(15, 118, 110, 0.15);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.35s;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.1);
}
.product-card:hover .product-icon {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.15);
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card h3 {
  font-family: var(--fb);
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.product-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 1.05rem;
  line-height: 1.62;
}
.product-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  justify-content: space-between;
}
.product-link {
  color: var(--brand-hover);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--fi);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s, transform 0.4s var(--ease-spring), letter-spacing 0.3s;
}
.product-link:hover {
  color: var(--accent-2);
  transform: translateX(4px);
  letter-spacing: 0.02em;
}

.wip-card {
  background: var(--bg-elevated);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: var(--t);
  box-shadow: var(--shadow);
  position: relative;
}
.wip-card:hover {
  border-style: solid;
  border-color: var(--brand-soft);
}
.wip-card::after {
  content: "Coming soon";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--fb);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--border);
}

.features-section .feature-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px 14px 26px 16px / 18px 22px 14px 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  box-shadow: var(--shadow);
}
.features-section .feature-item:nth-child(even) {
  border-radius: 16px 26px 14px 22px / 24px 14px 22px 16px;
}
.features-section .feature-item:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}
.features-section .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #fff;
}
.features-section .feature-item h4 {
  font-family: var(--fb);
  margin-bottom: 0.35rem;
}
.features-section .feature-item h6 {
  font-size: 0.78rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  font-family: var(--fb);
  font-weight: 700;
}
.features-section .feature-item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.features-section .feature-item.is-clickable,
.product-card.is-clickable {
  cursor: pointer;
}

.faq-section .faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.faq-section .faq-header {
  padding: clamp(1rem, 3.5vw, 1.2rem) clamp(1rem, 4vw, 1.5rem);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  font-family: var(--fb);
  transition: background 0.2s;
}
.faq-section .faq-header:hover {
  background: var(--bg-muted);
}
.faq-section .faq-header h5 {
  flex: 1 1 0;
  min-width: 0;
  font-size: clamp(0.9rem, 2.8vw, 0.98rem);
  margin: 0;
  padding-right: 0.35rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.faq-section .faq-header i {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--brand);
  background: rgba(15, 118, 110, 0.08);
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
.faq-section .faq-header:hover i {
  background: rgba(15, 118, 110, 0.12);
}
.faq-section .faq-item:has(.faq-content.show) .faq-header i {
  transform: rotate(180deg);
}
.faq-section .faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  transition:
    max-height 0.45s var(--ease-out),
    opacity 0.3s ease,
    padding 0.35s ease;
}
.faq-section .faq-content.show {
  max-height: min(90vh, 48rem);
  opacity: 1;
  padding-top: 0;
  padding-bottom: clamp(1rem, 3vw, 1.35rem);
}
.faq-section .faq-content p {
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.faq-section .faq-content p + p {
  margin-top: 0.65rem;
}

/* FAQ column inside Bootstrap row — avoid horizontal overflow */
.faq-section .row > [class*="col-"] {
  min-width: 0;
}

.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: var(--t);
  box-shadow: var(--shadow);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--brand-soft);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background: var(--bg-panel);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 0;
}
.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--brand);
}
.footer .footer-logo img {
  height: 40px;
  filter: none;
}
.footer .footer-links h5 {
  font-family: var(--fb);
  color: var(--text);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
}
.footer .social-links a {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin: 0 0.35rem;
  transition: var(--t);
}
.footer .social-links a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

/* Modals */
.modal {
  z-index: 1060;
}
.modal-backdrop {
  z-index: 1055;
}
.contact-modal-dialog {
  max-width: 520px;
}
.contact-modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-modal-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.35rem 1rem;
}
.contact-modal-title {
  font-family: var(--fb);
  color: var(--text);
  font-weight: 700;
}
.contact-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0.45rem 0 0;
  display: block;
  font-family: var(--fi);
}
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-decoration: none;
  padding: 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-muted);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.25s;
}
.contact-option.featured-top {
  grid-column: 1 / -1;
}
.contact-option:hover {
  border-color: var(--brand);
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.contact-option-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--border);
}
.contact-option.whatsapp .contact-option-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.contact-option.calendly .contact-option-icon {
  background: rgba(13, 148, 136, 0.12);
  color: var(--accent-2);
}
.contact-option.call .contact-option-icon {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
}
.contact-option-text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  font-family: var(--fb);
}
.contact-option-text small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.quick-message-modal .modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.quick-message-modal .modal-header {
  border-bottom: 1px solid var(--border);
}
.quick-message-modal .modal-title {
  font-family: var(--fb);
  font-weight: 700;
  color: var(--text);
}
.quick-message-modal .form-label {
  font-family: var(--fi);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.quick-message-modal-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}
.quick-message-modal-status.success {
  color: var(--accent-2);
}
.quick-message-modal-status.error {
  color: #dc2626;
}

.inpage-start-wrap {
  margin-top: 1.25rem;
}
.btn-start-themed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  border-radius: 9999px;
  font-weight: 700;
  font-family: var(--fb);
  background: linear-gradient(120deg, var(--brand), #0d9488 45%, var(--accent-2));
  background-size: 200% auto;
  color: #fff !important;
  border: none;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(234, 88, 12, 0.18);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.35s, background-position 0.5s ease;
}
.btn-start-themed:hover {
  background-position: 100% 50%;
  transform: translateY(-4px) scale(1.03);
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(15, 118, 110, 0.25);
}

/* Product detail pages */
.product-detail-page {
  min-height: 100vh;
  position: relative;
  padding: clamp(5rem, 11vw, 7rem) 0;
  padding-top: clamp(5.5rem, 12vw, 7.5rem);
  z-index: 0;
}
.product-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.product-gradient-radial {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 130vw);
  height: min(800px, 110vh);
  pointer-events: none;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.06) 0%, transparent 60%);
}
.product-hero {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--fb);
  margin-bottom: 1rem;
}
.product-hero-title {
  font-family: var(--fb);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
  text-transform: none;
}
.product-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.product-hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.product-detail-page .product-hero-actions .btn {
  font-family: var(--fb);
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.product-detail-page .product-hero-actions .btn-primary {
  background: var(--brand) !important;
  border: none !important;
  color: #fff !important;
}
.product-detail-page .product-hero-actions .btn-primary:hover {
  background: var(--brand-hover) !important;
  box-shadow: var(--shadow-glow);
}
.product-detail-page .product-hero-actions .btn-secondary {
  background: var(--bg-elevated) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
.product-detail-page .product-hero-actions .btn-secondary:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}

.product-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-family: var(--fb);
}
.product-section-label::before {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--border));
}
.product-section-label::after {
  content: "";
  height: 2px;
  width: 2.25rem;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
}

.product-detail-page .product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 2.5rem;
}
.product-detail-page .product-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--t);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-detail-page .product-card.card-cyan {
  border-color: rgba(13, 148, 136, 0.35);
}
.product-detail-page .product-card.card-cyan:hover {
  border-color: var(--accent-2);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.15);
}
.product-detail-page .product-card.card-purple {
  border-color: rgba(124, 58, 237, 0.3);
}
.product-detail-page .product-card.card-purple:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.12);
}
.product-detail-page .product-card.card-green {
  border-color: rgba(15, 118, 110, 0.25);
}
.product-detail-page .product-card.card-green:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}
.product-detail-page .product-card.card-yellow {
  border-color: rgba(234, 179, 8, 0.35);
}
.product-detail-page .product-card.card-yellow:hover {
  border-color: #ca8a04;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.12);
}
.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.product-card-info {
  flex: 1;
}
.product-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--fb);
  color: var(--text);
  margin-bottom: 0.2rem;
}
.product-card-subtitle {
  font-size: 0.7rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  font-family: var(--fb);
  font-weight: 700;
}
.product-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}
.product-card-toggle {
  color: var(--text-muted);
  transition: transform 0.3s;
}
.product-detail-page .product-card.expanded .product-card-toggle {
  transform: rotate(180deg);
}
.product-card-details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  opacity: 0;
}
.product-detail-page .product-card.expanded .product-card-details {
  max-height: 560px;
  opacity: 1;
  padding-top: 0.85rem;
  margin-top: 0.65rem;
  border-top: 1px solid var(--border);
}
.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-card-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-family: var(--fi);
}
.product-card-features li::before {
  content: "•";
  color: var(--brand);
  font-weight: 700;
}

.architecture-section {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
}
.architecture-section .workflow-diagram {
  order: 3;
}
.architecture-section .product-grid {
  order: 4;
  margin-top: 1.25rem;
}
.architecture-section > .product-section-label:first-of-type {
  order: 1;
}
.architecture-section > .product-section-label:last-of-type {
  order: 2;
  margin-top: 1.75rem !important;
}

.workflow-diagram {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.workflow-svg {
  width: 100%;
  height: auto;
  min-height: 400px;
}
.flow-node {
  cursor: pointer;
  transition: var(--t);
}
.flow-node:hover rect,
.flow-node:hover polygon {
  filter: brightness(1.03);
}
.animated-arrow,
.animated-arrow-fast {
  stroke-dasharray: 5;
  animation: dash 22s linear infinite;
}
.animated-arrow-fast {
  animation-duration: 11s;
}
@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}
.flow-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s ease-in-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.flow-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.flow-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--fi);
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.product-detail-page .tech-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--fi);
  transition: var(--t);
  box-shadow: var(--shadow);
}
.product-detail-page .tech-badge:hover {
  border-color: var(--brand);
}
.product-detail-page .tech-badge svg,
.product-detail-page .tech-badge i {
  color: var(--accent-2);
}

@media (max-width: 1024px) {
  .product-detail-page .product-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-page .product-grid > * {
    grid-column: 1 !important;
  }
}

/* About page */
.page-header .breadcrumb {
  margin-bottom: 0;
  justify-content: center;
}
.page-header .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}
.page-header .breadcrumb-item a:hover {
  color: var(--brand);
}
.page-header .breadcrumb-item.active {
  color: var(--text-secondary);
}

.hero-section {
  position: relative;
  padding-top: calc(clamp(1.25rem, 3vw, 2rem) + 4.85rem + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(2rem, 5vw, 3rem);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 35%, rgba(15, 118, 110, 0.07), transparent 55%),
    radial-gradient(ellipse at 88% 55%, rgba(13, 148, 136, 0.06), transparent 50%);
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-section .hero-title {
  font-family: var(--fb);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--text);
  text-transform: none;
}
.hero-section .hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.hero-section .hero-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--fb);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--t);
  background: var(--brand);
  color: #fff;
}
.btn-primary-custom:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--fb);
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elevated);
  transition: var(--t);
}
.btn-outline-custom:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat-number {
  font-family: var(--fb);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.hero-image-container .hero-image {
  max-width: 100%;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.1));
}

.partner-section {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.partner-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  height: 100%;
  box-shadow: var(--shadow);
}
.partner-card h3 span {
  color: var(--accent-2);
}
.highlight-text {
  color: var(--brand);
  font-weight: 600;
}

.services-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.service-card,
.why-card,
.client-card,
.location-card,
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  height: 100%;
  transition: var(--t);
  box-shadow: var(--shadow);
  position: relative;
}
.service-card:hover,
.why-card:hover,
.client-card:hover,
.location-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  height: 100%;
  box-shadow: var(--shadow);
  padding: 0;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon,
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}
.why-section {
  background: rgba(255, 255, 255, 0.5);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.clients-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.client-icon {
  font-size: 1.85rem;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.tech-section {
  background: rgba(255, 255, 255, 0.55);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}
.tech-stack-illustration {
  max-width: 100%;
  width: min(800px, 100%);
  height: auto;
  max-height: min(340px, 48vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.08));
}
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
.tech-tag {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--fi);
  transition: var(--t);
}
.tech-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.tech-tag.primary {
  background: var(--brand-soft);
  color: var(--text);
  border-color: var(--border-glow);
}

.section-padding {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.location-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), var(--bg-elevated));
}
.location-icon {
  font-size: 2.25rem;
  color: var(--brand);
  margin-bottom: 0.65rem;
}
.location-badge {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--fb);
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--border);
  margin-bottom: 0.55rem;
}

.founder-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.founder-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.founder-avatar {
  width: min(150px, 38vw);
  height: min(150px, 38vw);
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: #fff;
}
.founder-role {
  color: var(--brand);
  font-weight: 600;
  font-family: var(--fb);
}
.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-family: var(--fi);
  background: var(--brand-soft);
  border: 1px solid var(--border);
  color: var(--brand);
}

.case-section {
  background: rgba(255, 255, 255, 0.55);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}
.case-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
}
.case-header h4 {
  font-family: var(--fb);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.case-header p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.case-body {
  padding: 1.5rem;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.case-metric {
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}
.case-metric-value {
  font-family: var(--fb);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}
.case-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-family: var(--fi);
}
.case-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.testimonials-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.testimonial-card::before {
  color: var(--brand);
  opacity: 0.08;
}

.cta-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, rgba(15, 118, 110, 0.1) 0%, rgba(234, 88, 12, 0.07) 55%, rgba(245, 158, 11, 0.08) 100%);
  border-top: 1px solid var(--border);
}
.cta-section::before {
  display: none;
}
.cta-content h2 {
  font-family: var(--fb);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.65rem;
  text-transform: none;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--fb);
  text-decoration: none;
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
  transition: var(--t);
}
.btn-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact page */
.contact-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.contact-content h2 {
  font-family: var(--fb);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 0.85rem;
}
.contact-content > p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-method {
  display: block;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  position: relative;
  box-shadow: var(--shadow);
}
.contact-method:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-method.contact-priority {
  border-color: rgba(37, 211, 102, 0.45);
}
.contact-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: #25d366;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.contact-method i {
  font-size: 1.35rem;
  color: var(--brand);
  margin-bottom: 0.45rem;
}
.contact-method.contact-priority i {
  color: #25d366;
}
.contact-method h4 {
  font-family: var(--fb);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.contact-method p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-family: var(--fb);
  margin-bottom: 1.25rem;
  color: var(--text);
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-family: var(--fb);
  cursor: pointer;
  transition: var(--t);
}
.btn-submit:hover {
  background: var(--brand-hover);
}
.form-status {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}
.form-status.success {
  color: var(--accent-2);
}
.form-status.error {
  color: #dc2626;
}

.info-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--border);
}
.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--t);
}
.info-card:hover {
  box-shadow: var(--shadow-lg);
}
.info-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}
.btn-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--fb);
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  transition: var(--t);
}
.btn-contact-cta:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-contact-cta.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-contact-cta.primary:hover {
  background: var(--brand-hover);
  color: #fff;
}

/* Global FAB */
.global-contact-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}
.global-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--t);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-size: 1.25rem;
}
.global-contact-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--brand);
  color: var(--brand);
}
.global-contact-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
}
.global-contact-btn.call:hover {
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent-2);
  border-color: rgba(13, 148, 136, 0.35);
}

.global-connect-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #ea580c 100%);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  overflow: visible;
}
.global-connect-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.25);
}
.global-connect-pill-text {
  position: absolute;
  right: 1rem;
  bottom: 4rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transform-origin: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(255, 250, 245, 0.96);
  color: var(--brand);
  font-family: var(--fb);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.45rem 0.28rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.14);
  pointer-events: none;
  animation: connectTagPeek 4.8s ease-in-out infinite;
}
@keyframes connectTagPeek {
  0%, 22%, 100% {
    opacity: 0;
    transform: rotate(180deg) translateY(-10px);
  }
  30%, 68% {
    opacity: 1;
    transform: rotate(180deg) translateY(0);
  }
  76% {
    opacity: 0;
    transform: rotate(180deg) translateY(-8px);
  }
}
.global-connect-pill:hover .global-connect-pill-text {
  animation-play-state: paused;
  opacity: 1;
  transform: rotate(180deg) translateX(0);
}

.calendly-popup-dialog {
  max-width: min(960px, 94vw);
}
.calendly-popup-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calendly-popup-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.calendly-popup-title {
  font-family: var(--fb);
  color: var(--text);
  font-weight: 800;
  margin: 0;
}
.calendly-popup-subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.calendly-popup-body {
  padding: 1rem 1.25rem 1.25rem;
}
.calendly-embed-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  min-height: 640px;
}
.calendly-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
}
.calendly-popup-whatsapp {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.12);
  color: #128c4a;
  text-decoration: none;
  font-family: var(--fb);
  font-weight: 700;
  padding: 0.78rem 0.9rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.25s ease;
}
.calendly-popup-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.17);
  color: #128c4a;
}

@media (max-width: 991.98px) {
  .calendly-popup-dialog {
    max-width: 96vw;
    margin: 0.75rem auto;
  }
  .calendly-popup-header {
    padding: 0.9rem 0.95rem;
  }
  .calendly-popup-title {
    font-size: 1rem;
    line-height: 1.3;
  }
  .calendly-popup-subtitle {
    font-size: 0.8rem;
  }
  .calendly-popup-body {
    padding: 0.8rem 0.95rem 0.95rem;
  }
  .calendly-embed-wrap,
  .calendly-embed-wrap iframe {
    min-height: 70vh;
    max-height: 74vh;
  }
}

@media (max-width: 575.98px) {
  .calendly-popup-dialog {
    max-width: 100vw;
    margin: 0;
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
  }
  .calendly-popup-content {
    min-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .calendly-popup-header {
    padding: 0.8rem 0.85rem;
  }
  .calendly-popup-title {
    font-size: 0.95rem;
  }
  .calendly-popup-subtitle {
    display: none;
  }
  .calendly-popup-body {
    padding: 0.65rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .calendly-embed-wrap {
    min-height: 64dvh;
    max-height: 70dvh;
    border-radius: 10px;
  }
  .calendly-embed-wrap iframe {
    min-height: 64dvh;
    max-height: 70dvh;
  }
  .calendly-popup-whatsapp {
    margin-top: 0;
    min-height: 48px;
    padding: 0.72rem 0.8rem;
    font-size: 0.86rem;
  }
  .global-connect-pill {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.05rem;
  }
  .global-connect-pill-text {
    font-size: 0.52rem;
    /* right: calc(100% + 0.35rem); */
    padding: 0.38rem 0.24rem;
  }
}

.page-header {
  padding: 7.5rem 0 3rem;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.65rem;
  color: var(--text);
}

.form-control,
.form-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.7rem 0.95rem;
  font-family: var(--fi);
  transition: var(--t);
}
.form-control:focus,
.form-select:focus {
  background: var(--bg-elevated);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
  outline: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 0;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--t);
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(5.35rem + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(5.5rem, 18vw, 7rem);
  }
  .hero-content h1,
  .hero .hero-content h1 {
    font-size: clamp(1.9rem, 7vw, 2.35rem);
    line-height: 1.14;
    margin-bottom: 1.2rem;
    /* max-width: 14ch; */
    margin-inline: auto;
  }
  .hero-content .tagline {
    font-size: 1.03rem;
    margin-bottom: 1.35rem;
    line-height: 1.72;
    max-width: 30rem;
    margin-inline: auto;
  }
  .hero-badge {
    margin-bottom: 1.05rem;
    padding: 0.48rem 1rem;
  }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 100%;
    margin: 1rem 0 0.95rem;
  }
  .hero-stats--aside {
    max-width: none;
    width: 100%;
  }
  .hero-aside {
    margin-top: 0.75rem;
    margin-bottom: 0.15rem;
  }
  .hero-image.hero-image--composed {
    display: none !important;
  }
  .hero-aside .hero-image {
    padding-bottom: clamp(4.25rem, 20vw, 5.75rem);
  }
  .hero-aside .floating-item:nth-child(3) {
    bottom: max(5.25rem, 22%);
    left: 3%;
  }
  .hero-aside .floating-item:nth-child(1) {
    top: 8%;
  }
  .stat-item:nth-child(2) {
    transform: none;
  }
  .hero-aside .stat-item {
    width: 100%;
    padding: 0.7rem 0.65rem;
    border-radius: 14px;
  }
  .hero-aside .stat-number {
    font-size: 1.35rem;
  }
  .hero-aside .stat-label {
    font-size: 0.7rem;
    margin-top: 0.25rem;
  }
  .products-section .section-title {
    text-align: center;
    padding-left: 0;
  }
  .products-section .section-title::before {
    display: none;
  }
  .products-section .section-title p {
    margin-left: auto;
    margin-right: auto;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    margin-top: 0.4rem;
    margin-bottom: 1.35rem;
    max-width: min(100%, 23rem);
    margin-inline: auto;
  }
  .hero-cta .btn-lg {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 1.2rem !important;
    min-height: 3.35rem;
    font-size: 1.05rem;
  }
  .trust-badges {
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.95rem;
  }
  .trust-badges--aside {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
  }
  .contact-options-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }
  .global-contact-cta {
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
  }
  .global-contact-btn {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.1rem;
  }
  .global-connect-pill {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1rem;
  }
  .global-connect-pill-text {
    display: none;
  }
  .calendly-popup-body {
    padding: 0.9rem;
  }
  .calendly-embed-wrap,
  .calendly-embed-wrap iframe {
    min-height: 520px;
  }
  .product-detail-page {
    padding-top: 5rem;
  }
  .workflow-svg {
    min-height: 340px;
  }
  .flow-legend {
    flex-direction: column;
    align-items: flex-start;
  }
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    gap: 1.1rem;
  }
  .founder-card {
    flex-direction: column;
    text-align: center;
  }
  .founder-avatar {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-content h1,
  .hero .hero-content h1 {
    font-size: clamp(1.75rem, 7.8vw, 2.05rem);
    margin-bottom: 1.1rem;
  }
  .hero-content .tagline {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
  }
  .hero-cta {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }
  .hero-cta .btn-lg {
    min-height: 3.2rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-visual__ring--outer,
  .hero-visual__ring--inner {
    animation: none !important;
  }
  body {
    animation: none;
  }
  .product-card:hover {
    transform: translateY(-6px);
  }
}
