/* ==========================================================================
   Mind Sketch Technology — main.css
   Design tokens: pink/red, purple, blue, light blue on a dark ink base
   ========================================================================== */

:root {
  --pink: #ff3d77;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --lightblue: #38bdf8;

  --ink: #0a0e1f;
  --ink-2: #0d1224;
  --surface: #121729;
  --surface-2: #171d33;
  --surface-border: rgba(255, 255, 255, 0.08);

  --text: #eef1fb;
  --text-dim: #aab1cc;
  --text-faint: #7d84a3;

  --brand-gradient: linear-gradient(115deg, var(--pink) 0%, var(--purple) 52%, var(--blue) 78%, var(--lightblue) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(255, 61, 119, 0.16), rgba(139, 92, 246, 0.14) 45%, rgba(56, 189, 248, 0.12));

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px -20px rgba(6, 8, 20, 0.7);
  --shadow-glow-pink: 0 0 60px -12px rgba(255, 61, 119, 0.45);
  --shadow-glow-blue: 0 0 60px -12px rgba(56, 189, 248, 0.35);

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --nav-height: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(50rem 35rem at -10% 20%, rgba(255, 61, 119, 0.12), transparent 55%),
    radial-gradient(45rem 40rem at 100% 80%, rgba(56, 189, 248, 0.10), transparent 55%),
    var(--ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

p { color: var(--text-dim); margin: 0; }

a { color: inherit; text-decoration: none; transition: color 0.25s ease; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--pink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--lightblue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1240px; }

section { position: relative; }

.section-pad { padding: 6.5rem 0; }

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }
}

/* ---------- Section heading ---------- */
.section-heading { max-width: 680px; margin-bottom: 3.2rem; }

.section-heading .kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lightblue);
  margin-bottom: 0.6rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.15;
}

.section-heading p {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  max-width: 60ch;
}

.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: 100px;
  background: var(--brand-gradient);
  background-size: 200% auto;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: background-position 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px -12px rgba(255, 61, 119, 0.55);
}

.btn-gradient:hover, .btn-gradient:focus-visible {
  background-position: right center;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 36px -10px rgba(139, 92, 246, 0.55);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 500;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.btn-outline-glass:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.mst-navbar {
  --nav-h: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

.mst-navbar.is-scrolled {
  background: rgba(10, 14, 31, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--surface-border);
  --nav-h: 72px;
  height: 72px;
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.6);
}

.mst-navbar .navbar-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mst-brand { display: flex; align-items: center; }

/* Logo sits on its own light chip so its dark wordmark stays legible
   against the dark navbar/footer, regardless of scroll state. */
.logo-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
  transition: padding 0.35s ease, transform 0.25s ease;
}

.logo-chip:hover { transform: translateY(-1px); }

.mst-brand .logo-chip img { height: 34px; width: auto; display: block; transition: height 0.35s ease; }

.mst-navbar.is-scrolled .logo-chip { padding: 0.32rem 0.6rem; }
.mst-navbar.is-scrolled .logo-chip img { height: 28px; }

.mst-nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mst-nav-links a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.4rem 0.05rem;
}

.mst-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.mst-nav-links a:hover,
.mst-nav-links a.active {
  color: var(--text);
}

.mst-nav-links a:hover::after,
.mst-nav-links a.active::after { width: 100%; }

.mst-nav-cta { display: flex; align-items: center; gap: 0.7rem; }

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-icon-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
}

.nav-icon-btn.call:hover { background: linear-gradient(135deg, var(--blue), var(--lightblue)); box-shadow: 0 10px 24px -10px rgba(56, 189, 248, 0.55); }
.nav-icon-btn.whatsapp:hover { background: #25d366; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.55); }
.nav-icon-btn.whatsapp { color: #25d366; }
.nav-icon-btn.whatsapp:hover { color: #fff; }
.nav-icon-btn.call { color: var(--lightblue); }
.nav-icon-btn.call:hover { color: #fff; }

.mst-toggler {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.3rem;
}

@media (max-width: 991.98px) {
  .mst-nav-links {
    position: fixed;
    top: var(--nav-h, var(--nav-height));   /* always flush under the header */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 14, 31, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 0 solid transparent;     /* no stray line when closed */
    padding: 0 1.5rem;                      /* no padding when closed */
    margin: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;                     /* nothing paints when closed */
    opacity: 0;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
  }

  .mst-nav-links.show {
    max-height: 320px;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--surface-border);
    visibility: visible;
    opacity: 1;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s;
  }

  .mst-nav-links li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .mst-nav-links li:last-child { border-bottom: none; }
  .mst-nav-links a { display: block; padding: 0.85rem 0.1rem; }
  .mst-nav-links a::after { display: none; }

  .mst-nav-cta .btn-gradient { display: none; }
  .mst-toggler { display: inline-flex; }
}

@media (max-width: 420px) {
  .navbar-inner { padding: 0 1rem; }
  .mst-nav-cta { gap: 0.45rem; }
  .nav-icon-btn { width: 38px; height: 38px; font-size: 0.95rem; }
  .logo-chip { padding: 0.32rem 0.55rem; }
  .mst-brand .logo-chip img { height: 26px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-shapes span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: floatShape 9s ease-in-out infinite;
}

.hero-bg-shapes .shape-ring {
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  filter: none;
  opacity: 1;
  background: transparent;
}

.hero-bg-shapes .s1 { width: 26px; height: 26px; top: 18%; left: 8%; background: var(--pink); animation-delay: 0s; }
.hero-bg-shapes .s2 { width: 14px; height: 14px; top: 65%; left: 14%; background: var(--lightblue); animation-delay: 1.2s; }
.hero-bg-shapes .s3 { width: 18px; height: 18px; top: 30%; right: 10%; background: var(--purple); animation-delay: 2.1s; }
.hero-bg-shapes .s4 { width: 10px; height: 10px; top: 75%; right: 20%; background: var(--blue); animation-delay: 3s; }
.hero-bg-shapes .r1 { width: 340px; height: 340px; top: 8%; right: -80px; animation-duration: 14s; }
.hero-bg-shapes .r2 { width: 220px; height: 220px; bottom: 4%; left: -60px; animation-duration: 12s; animation-delay: 1.5s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-22px) translateX(10px); }
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  background: conic-gradient(from 90deg, var(--pink), var(--purple), var(--blue), var(--lightblue), var(--pink));
  filter: blur(120px);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
  animation: spinGlow 20s linear infinite;
}

@keyframes spinGlow { to { transform: translateY(-50%) rotate(360deg); } }

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}

.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-gradient);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}

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

/* Carousel */
#heroCarousel { position: relative; z-index: 2; }
#heroCarousel .carousel-inner { overflow: visible; }
#heroCarousel .carousel-item { transition: opacity 0.9s ease, transform 0.9s ease; }

.carousel-indicators-custom {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.6rem;
}

.carousel-indicators-custom button {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.carousel-indicators-custom button.active {
  background: var(--brand-gradient);
  width: 54px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin: 0 auto;
}

.hero-visual-glow {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: conic-gradient(from 120deg, var(--pink), var(--purple), var(--blue), var(--lightblue), var(--pink));
  filter: blur(70px);
  opacity: 0.35;
  border-radius: 50%;
  animation: spinGlow 22s linear infinite;
  pointer-events: none;
}

.hero-visual .ring {
  position: absolute;
  inset: 4%;
  z-index: 1;
  border-radius: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hero-visual-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 30px 60px rgba(6, 8, 20, 0.65));
  animation: heroVisualFloat 7s ease-in-out infinite;
}

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

.hero-visual .card-glass {
  position: absolute;
  z-index: 3;
  border-radius: var(--radius-md);
  background: rgba(18, 23, 41, 0.7);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-visual .float-card-1 { top: 6%; left: -9%; animation: floatShape 7s ease-in-out infinite; }
.hero-visual .float-card-2 { bottom: 10%; right: -9%; animation: floatShape 8s ease-in-out infinite 1s; }

.hero-visual .icon-chip {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-visual .chip-text strong { display: block; font-size: 0.9rem; color: var(--text); }
.hero-visual .chip-text span { font-size: 0.76rem; color: var(--text-faint); }

@media (max-width: 991.98px) {
  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero-visual { max-width: 340px; margin-top: 3.5rem; }
  .hero-visual .float-card-1 { left: -4%; }
  .hero-visual .float-card-2 { right: -4%; }
}

@media (max-width: 420px) {
  .hero-visual { max-width: 260px; }
  .hero-visual .card-glass { padding: 0.65rem 0.8rem; gap: 0.5rem; }
  .hero-visual .icon-chip { width: 30px; height: 30px; font-size: 0.9rem; }
  .hero-visual .chip-text strong { font-size: 0.78rem; }
  .hero-visual .chip-text span { font-size: 0.68rem; }
  .hero-visual .float-card-1 { top: 2%; left: -2%; }
  .hero-visual .float-card-2 { bottom: 4%; right: -2%; }
}

/* ---------- About ---------- */
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  mix-blend-mode: overlay;
}

.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.about-badge {
  position: absolute;
  bottom: -1.4rem;
  right: -1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.about-badge .icon-chip {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; flex-shrink: 0;
}

.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.about-badge span { font-size: 0.82rem; color: var(--text-faint); }

.about-points { list-style: none; margin: 1.8rem 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--surface-border);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.about-points li:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.about-points .check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem;
  margin-top: 0.1rem;
}

.about-points p { color: var(--text); font-size: 0.98rem; }

/* ---------- Features / Tabs ---------- */
.feature-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 2.6rem;
  scrollbar-width: none;
}

.feature-tabs::-webkit-scrollbar { display: none; }

.feature-tabs button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.85rem 1.4rem;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.94rem;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.feature-tabs button i { font-size: 1.05rem; }

.feature-tabs button.active {
  color: #fff;
  background: var(--brand-gradient);
  border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(139, 92, 246, 0.55);
}

.feature-panel { display: none; }
.feature-panel.active { display: block; }

.feature-panel .panel-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.feature-panel .panel-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.feature-panel .panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 31, 0.55));
}

.feature-panel h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.feature-panel .panel-text { margin-bottom: 1.6rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }

.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-dim); }

.feature-list li i {
  color: var(--lightblue);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 4rem 3rem;
  background: var(--brand-gradient);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 20% 0%, rgba(255,255,255,0.18), transparent 60%);
  z-index: -1;
}

.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.9rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 56ch; margin-bottom: 0; }

.cta-band .btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: #0a0e1f;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta-band .btn-cta-white:hover { transform: translateY(-2px); background: #05070f; color: #fff; }

@media (max-width: 767.98px) {
  .cta-band { padding: 2.6rem 1.6rem; text-align: center; }
  .cta-band .cta-flex { flex-direction: column; }
}

/* ---------- Services ---------- */
.service-card {
  position: relative;
  height: 100%;
  padding: 2.1rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-soft);
}

.service-card:hover::before { opacity: 1; }

.service-card .service-inner { position: relative; z-index: 1; }

.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 12px 26px -10px rgba(255, 61, 119, 0.45);
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-info-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 2.4rem;
  height: 100%;
}

.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.contact-item:last-child { margin-bottom: 0; }

.contact-item .icon-chip {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem; flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.98rem; color: var(--text); margin-bottom: 0.15rem; }
.contact-item span, .contact-item a { font-size: 0.92rem; color: var(--text-dim); }
.contact-item a:hover { color: var(--lightblue); }

.contact-form-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 2.4rem;
}

.form-floating > .form-control,
.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--purple);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.form-control::placeholder { color: var(--text-faint); }

textarea.form-control { min-height: 140px; resize: vertical; }

.form-label { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.4rem; }

.invalid-feedback-mst {
  display: none;
  color: var(--pink);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.is-invalid ~ .invalid-feedback-mst,
.was-validated-mst .is-invalid + .invalid-feedback-mst { display: block; }

.form-control.is-invalid { border-color: var(--pink); }

.form-alert {
  display: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  align-items: center;
  gap: 0.6rem;
}

.form-alert.show { display: flex; }

.form-alert.success { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.35); color: #bdeaff; }
.form-alert.error { background: rgba(255, 61, 119, 0.12); border: 1px solid rgba(255, 61, 119, 0.35); color: #ffc2d4; }

.btn-gradient[disabled] { opacity: 0.7; pointer-events: none; }

.spinner-inline {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}

.spinner-inline.show { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink-2);
  border-top: 1px solid var(--surface-border);
  padding: 4rem 0 1.6rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
}

.site-footer .footer-brand { display: flex; align-items: center; margin-bottom: 1.3rem; }
.footer-logo-chip img { height: 40px; width: auto; display: block; }

.site-footer p { color: var(--text-faint); font-size: 0.94rem; max-width: 34ch; }

.footer-col h5 { font-size: 0.98rem; color: var(--text); margin-bottom: 1.1rem; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: var(--text-faint); font-size: 0.92rem; }
.footer-links a:hover { color: var(--lightblue); }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-faint); font-size: 0.9rem; }
.footer-contact i { color: var(--lightblue); margin-top: 0.2rem; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-bottom a { color: var(--lightblue); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px -10px rgba(255, 61, 119, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
  z-index: 999;
  border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); color: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Small screens polish ---------- */
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2.1rem; }
  .cta-band { padding: 2.2rem 1.3rem; }
  .contact-info-card, .contact-form-card { padding: 1.6rem; }
  .about-badge { position: static; margin-top: -2.5rem; margin-left: 1rem; width: fit-content; }
}
