/* ==========================================================================
   Markavex — Global Stylesheet
   Rank Higher. Grow Faster.
   ========================================================================== */

:root {
  /* Brand Colors */
  --pink: #e6007a;
  --purple: #8b2cf5;
  --blue: #2f5bff;
  --dark: #0b1020;
  --white: #ffffff;
  --bg: #f8fafc;
  --heading: #111827;
  --paragraph: #6b7280;

  /* Gradients */
  --grad: linear-gradient(120deg, #e6007a 0%, #8b2cf5 50%, #2f5bff 100%);
  --grad-soft: linear-gradient(120deg, rgba(230, 0, 122, 0.12) 0%, rgba(139, 44, 245, 0.12) 50%, rgba(47, 91, 255, 0.12) 100%);

  /* UI Tokens */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 12px 40px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.12);
  --shadow-brand: 0 16px 40px rgba(139, 44, 245, 0.28);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                        */
/* -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--paragraph);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--purple);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--pink);
}

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

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

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 64px 0;
}

.bg-soft {
  background-color: var(--bg);
}

.bg-white-block {
  background-color: var(--white);
}

/* -------------------------------------------------------------------------- */
/* Utilities                                                                   */
/* -------------------------------------------------------------------------- */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 44, 245, 0.18);
  margin-bottom: 18px;
}

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

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--paragraph);
  max-width: 620px;
}

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

/* -------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 100px;
  padding: 13px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  font-size: 0.98rem;
}

.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
  background-size: 180% 180%;
}

.btn-grad:hover {
  color: #fff;
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 20px 46px rgba(139, 44, 245, 0.38);
}

.btn-outline-grad {
  position: relative;
  background: var(--white);
  color: var(--heading);
  border: 1.5px solid rgba(17, 24, 39, 0.12);
}

.btn-outline-grad:hover {
  color: var(--purple);
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.05rem;
}

.btn-light-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-light-ghost:hover {
  background: #fff;
  color: var(--purple);
  transform: translateY(-3px);
}

/* -------------------------------------------------------------------------- */
/* Header / Navbar                                                             */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.3s ease;
  padding: 14px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

.navbar-brand img {
    height: 90px !important;
    width: auto !important;
    max-height: none !important;
    max-width: none !important;
    display: block;
}

.site-header.scrolled .navbar-brand img {
  height: 90px;
}

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--heading);
  padding: 8px 16px !important;
  position: relative;
  font-size: 0.97rem;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--purple);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.header-social {
  display: flex;
  gap: 6px;
}

.header-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: rgba(17, 24, 39, 0.05);
  transition: all 0.25s ease;
}

.header-social a:hover {
  color: #fff;
  background: var(--grad);
  transform: translateY(-2px);
}

.header-social svg {
  width: 16px;
  height: 16px;
}

.navbar-toggler {
  border: none;
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hamburger {
  width: 26px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2.5px;
  width: 100%;
  background: var(--heading);
  border-radius: 3px;
  transition: 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8.5px; }
.hamburger span:nth-child(3) { top: 17px; }

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 160px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.blob-1 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(230, 0, 122, 0.55), transparent 70%);
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.5), transparent 70%);
  bottom: -140px;
  left: -100px;
  animation-delay: -4s;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 44, 245, 0.4), transparent 70%);
  top: 40%;
  left: 45%;
  animation-delay: -7s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 75%);
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--paragraph);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 7s ease-in-out infinite;
}

.hero-badge .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hero-badge .icon svg { width: 22px; height: 22px; }
.hero-badge .b-title { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1rem; line-height: 1.1; }
.hero-badge .b-sub { font-size: 0.78rem; color: var(--paragraph); }

.hero-badge.badge-tl { top: 26px; left: -26px; }
.hero-badge.badge-br { bottom: 30px; right: -20px; animation-delay: -3s; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-stats .stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--heading);
}

.hero-stats .stat-label {
  font-size: 0.86rem;
  color: var(--paragraph);
}

/* -------------------------------------------------------------------------- */
/* Page banner (inner pages)                                                   */
/* -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--paragraph);
  font-family: var(--font-head);
  font-weight: 500;
}

.breadcrumb-nav a { color: var(--purple); }
.breadcrumb-nav .sep { color: rgba(17, 24, 39, 0.25); }

/* -------------------------------------------------------------------------- */
/* Cards                                                                       */
/* -------------------------------------------------------------------------- */
.card-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-glass:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 22px;
  transition: all 0.35s ease;
}

.service-icon svg { width: 30px; height: 30px; }

.card-glass:hover .service-icon {
  background: var(--grad);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.card-glass h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-glass p {
  margin-bottom: 18px;
  font-size: 0.97rem;
}

.card-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
}

.card-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.card-link:hover svg { transform: translateX(4px); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-list span {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--paragraph);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

/* Feature (Why Choose) items */
.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-item .f-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-item .f-icon svg { width: 24px; height: 24px; }
.feature-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; margin: 0; }

/* -------------------------------------------------------------------------- */
/* About / Founder                                                             */
/* -------------------------------------------------------------------------- */
.about-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-frame img { display: block; width: 100%; }

.value-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  height: 100%;
}

.value-chip .v-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-chip .v-icon svg { width: 20px; height: 20px; }

.founder-card {
  background: var(--dark);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  color: #fff;
}

.founder-card::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(230, 0, 122, 0.35), transparent 70%);
  top: -120px;
  right: -80px;
  filter: blur(30px);
}

.founder-card::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.35), transparent 70%);
  bottom: -140px;
  left: -60px;
  filter: blur(30px);
}

.founder-card .inner { position: relative; z-index: 2; }
.founder-card h2, .founder-card h3 { color: #fff; }
.founder-card p { color: rgba(255, 255, 255, 0.72); }

.founder-photo {
  position: relative;
  z-index: 2;
  align-self: flex-end;
}

.founder-photo img { display: block; }

.founder-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.founder-quote {
  border-left: 3px solid var(--pink);
  padding-left: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 22px 0;
}

.founder-sign {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.founder-sign span { display: block; font-weight: 400; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* -------------------------------------------------------------------------- */
/* Process Timeline                                                            */
/* -------------------------------------------------------------------------- */
.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--purple), var(--blue));
}

.timeline-step {
  position: relative;
  padding-left: 78px;
  margin-bottom: 30px;
}

.timeline-step .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-step .step-body {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .step-body {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.timeline-step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline-step p { margin: 0; font-size: 0.94rem; }

/* -------------------------------------------------------------------------- */
/* Portfolio                                                                   */
/* -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  background: var(--white);
  color: var(--heading);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover { border-color: var(--purple); color: var(--purple); }

.filter-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 26px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 16, 32, 0.85));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card .p-content { position: relative; z-index: 2; }
.portfolio-card .p-cat {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 600;
}
.portfolio-card h4 { color: #fff; font-size: 1.3rem; margin: 6px 0 0; }

.pf-1 { background: linear-gradient(135deg, #e6007a, #8b2cf5); }
.pf-2 { background: linear-gradient(135deg, #8b2cf5, #2f5bff); }
.pf-3 { background: linear-gradient(135deg, #2f5bff, #0b1020); }
.pf-4 { background: linear-gradient(135deg, #e6007a, #2f5bff); }
.pf-5 { background: linear-gradient(135deg, #0b1020, #8b2cf5); }
.pf-6 { background: linear-gradient(135deg, #8b2cf5, #e6007a); }

.pf-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: -0.03em;
}

/* -------------------------------------------------------------------------- */
/* Blog                                                                        */
/* -------------------------------------------------------------------------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-thumb .bt-icon {
  width: 66px; height: 66px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
}

.blog-thumb .bt-icon svg { width: 32px; height: 32px; }

.blog-body { padding: 26px 26px 30px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--paragraph);
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 500;
}

.blog-cat {
  color: var(--purple);
  background: var(--grad-soft);
  padding: 3px 12px;
  border-radius: 100px;
}

.blog-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-body p { font-size: 0.94rem; margin-bottom: 16px; }

/* -------------------------------------------------------------------------- */
/* FAQ (Accordion)                                                             */
/* -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 14px;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.faq-accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  padding: 20px 24px;
  font-size: 1.05rem;
  background: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--purple);
  background: var(--grad-soft);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  background-image: none;
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  width: auto;
  height: auto;
  color: var(--purple);
  transform: none;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\2212";
  transform: none;
}

.faq-accordion .accordion-body {
  padding: 4px 24px 22px;
  color: var(--paragraph);
  font-size: 0.97rem;
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                     */
/* -------------------------------------------------------------------------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  padding: 13px 16px;
  font-size: 0.97rem;
  color: var(--heading);
}

.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 44, 245, 0.12);
}

.form-label {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--heading);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.info-item:last-child { border-bottom: none; }

.info-item .i-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-item .i-icon svg { width: 22px; height: 22px; }
.info-item .i-label { font-size: 0.82rem; color: var(--paragraph); }
.info-item .i-value { font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: 1.02rem; }
.info-item .i-value a { color: var(--heading); }
.info-item .i-value a:hover { color: var(--purple); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: 380px; border: 0; }

.form-note {
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  color: var(--purple);
  display: none;
}

.form-note.show { display: block; }

/* -------------------------------------------------------------------------- */
/* CTA                                                                         */
/* -------------------------------------------------------------------------- */
.cta-block {
  background: var(--dark);
  border-radius: 32px;
  padding: 68px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.cta-block::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(230, 0, 122, 0.4), transparent 70%);
  top: -160px; left: -120px;
  filter: blur(20px);
}

.cta-block::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.4), transparent 70%);
  bottom: -180px; right: -120px;
  filter: blur(20px);
}

.cta-block .inner { position: relative; z-index: 2; }
.cta-block h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-block p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 72px 0 0;
}

.site-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 22px;
  font-family: var(--font-head);
}

.footer-logo { height: 52px; margin-bottom: 18px; }

.footer-about { font-size: 0.94rem; max-width: 320px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-contact-item svg { width: 18px; height: 18px; color: var(--pink); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255, 255, 255, 0.68); }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 56px;
  padding: 24px 0;
  font-size: 0.88rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.68); }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------------------------- */
/* Floating buttons                                                            */
/* -------------------------------------------------------------------------- */
.float-btns {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
}

.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn svg { width: 26px; height: 26px; }

.float-whatsapp { background: #25d366; }
.float-contact { background: var(--grad); }

.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  border: 1px solid rgba(17, 24, 39, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--grad); color: #fff; }
.back-to-top svg { width: 20px; height: 20px; }

/* -------------------------------------------------------------------------- */
/* Scroll reveal                                                               */
/* -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-content h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.legal-content p, .legal-content li { font-size: 0.98rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 18px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--purple);
  background: var(--grad-soft);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* -------------------------------------------------------------------------- */
/* Page hero (inner pages)                                                     */
/* -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  background: var(--grad-soft);
  text-align: center;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin: 14px 0 14px; }
.page-hero-lead {
  font-size: 1.1rem;
  color: var(--paragraph);
  max-width: 640px;
  margin: 0 auto;
}
.page-hero .breadcrumb-nav { margin-bottom: 6px; }
.page-hero .breadcrumb-nav .current { color: var(--paragraph); }
.page-hero .breadcrumb-nav span { color: rgba(17, 24, 39, 0.3); }

/* -------------------------------------------------------------------------- */
/* Portfolio cards (media / body layout)                                       */
/* -------------------------------------------------------------------------- */
.portfolio-item { transition: opacity 0.4s ease, transform 0.4s ease; }
.portfolio-item.is-hidden { display: none; }

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.portfolio-card::after { display: none; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.pc-media {
  height: 210px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
}
.pc-media .pc-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}
.pc-web { background: linear-gradient(135deg, #2f5bff, #7b2ff7); }
.pc-logo { background: linear-gradient(135deg, #e6007a, #ff6a3d); }
.pc-graphic { background: linear-gradient(135deg, #8b2cf5, #e6007a); }

.pc-body { padding: 24px 24px 28px; }
.pc-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--purple);
  background: var(--grad-soft);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.pc-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pc-body p { font-size: 0.94rem; margin-bottom: 0; }

/* -------------------------------------------------------------------------- */
/* Blog featured + card media                                                  */
/* -------------------------------------------------------------------------- */
.blog-featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bf-media {
  min-height: 320px;
  height: 100%;
  background: linear-gradient(135deg, #8b2cf5, #e6007a);
  position: relative;
}
.bf-media .bf-mark {
  position: absolute;
  top: 22px; left: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.bf-body { padding: 40px; }
.bf-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 6px 0 14px; }
.bf-body p { color: var(--paragraph); margin-bottom: 24px; }

.bc-media {
  height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.bc-media .bc-cat {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.bc-1 { background: linear-gradient(135deg, #e6007a, #ff6a3d); }
.bc-2 { background: linear-gradient(135deg, #2f5bff, #7b2ff7); }
.bc-3 { background: linear-gradient(135deg, #8b2cf5, #e6007a); }
.bc-4 { background: linear-gradient(135deg, #7b2ff7, #2f5bff); }
.bc-5 { background: linear-gradient(135deg, #ff6a3d, #e6007a); }
.bc-6 { background: linear-gradient(135deg, #2f5bff, #8b2cf5); }

.bc-body { padding: 24px 24px 28px; }
.bc-body .blog-date { display: block; font-size: 0.82rem; color: var(--paragraph); margin-bottom: 10px; font-family: var(--font-head); font-weight: 500; }
.bc-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.bc-body p { font-size: 0.93rem; margin-bottom: 16px; }
.blog-date { font-weight: 500; }

/* -------------------------------------------------------------------------- */
/* Newsletter form                                                             */
/* -------------------------------------------------------------------------- */
.newsletter-form { max-width: 520px; margin: 0 auto; }
.newsletter-inner {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px;
  border-radius: 100px;
}
.newsletter-inner input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.97rem;
  outline: none;
}
.newsletter-inner input::placeholder { color: rgba(255, 255, 255, 0.6); }

/* -------------------------------------------------------------------------- */
/* Contact info list + form status                                             */
/* -------------------------------------------------------------------------- */
.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
}
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; }
.contact-info-card .info-item { border-color: rgba(255, 255, 255, 0.12); }
.contact-info-card .info-item .i-label { color: rgba(255, 255, 255, 0.6); }
.contact-info-card .info-item .i-value,
.contact-info-card .info-item .i-value a { color: #fff; }
.contact-info-card .info-item .i-value a:hover { color: var(--pink); }
.contact-social { display: flex; gap: 10px; margin-top: 26px; }
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.contact-social a:hover { background: var(--grad); transform: translateY(-3px); }
.contact-social svg { width: 18px; height: 18px; }

.form-status {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

/* Legal hero uses page-hero left aligned */
.legal-hero { text-align: left; }
.legal-hero .page-hero-lead { margin-left: 0; }
