:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.12);
  --accent: #7c3aed;
  --accent-2: #22c55e;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

body[data-theme='dark'] {
  color-scheme: dark;
  --bg: #020617;
  --surface: #0f172a;
  --surface-2: #111c37;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #8b5cf6;
  --accent-2: #34d399;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: clip;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-muted {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(34, 197, 94, 0.06));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid var(--border);
}

body[data-theme='dark'] .site-header {
  background: rgba(2, 6, 23, 0.78);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current='page'] {
  color: var(--text);
}

.nav-links a[aria-current='page'] {
  font-weight: 700;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1200;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.theme-toggle,
.nav-toggle {
  border: 0;
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.theme-toggle {
  width: 2.7rem;
  height: 2.7rem;
}

.nav-toggle {
  display: none;
  padding: 0.7rem;
  flex-direction: column;
  gap: 0.24rem;
}

.nav-toggle span {
  width: 1.3rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.26);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero {
  padding-top: 4.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  content: '';
  width: 32rem;
  height: 32rem;
  top: -18rem;
  right: -9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), transparent 68%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.hero-grid > *,
.about-grid > *,
.why-grid > *,
.cards-grid > *,
.pricing-grid > *,
.testimonial-grid > *,
.contact-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1,
.section-heading h2,
.about-grid h2,
.contact-grid h2 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 700px;
}

.text-gradient {
  color: var(--accent);
  background: linear-gradient(110deg, var(--accent), #ec4899 55%, var(--accent-2));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-visual {
  position: relative;
  min-width: 0;
  animation: hero-arrive 0.8s both;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 34px;
  filter: drop-shadow(0 26px 32px rgba(49, 46, 129, 0.16));
}

.hero-visual-orbit {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  animation: orbit-drift 18s linear infinite;
}

.orbit-two {
  inset: 17% 2%;
  border-color: rgba(34, 197, 94, 0.25);
  animation-direction: reverse;
  animation-duration: 24s;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
  font-size: 0.85rem;
  line-height: 1.4;
  animation: note-float 5s ease-in-out infinite;
}

.floating-note > i {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: #ede9fe;
  color: #7c3aed;
}

.note-top {
  top: 13%;
  right: -2%;
}

.note-bottom {
  bottom: 12%;
  left: -3%;
  animation-delay: -2s;
}

.note-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes note-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes orbit-drift {
  to { transform: rotate(360deg); }
}

.hero-text,
.about-grid p,
.card p,
.pricing-card ul,
.testimonial-card p,
.contact-grid p,
.faq-item p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-card {
  position: relative;
  padding: 1rem;
  width: 100%;
  min-width: 0;
}

.hero-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 45%);
  filter: blur(20px);
  z-index: -1;
}

.hero-card-body {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.card-pill,
.featured-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.card-score {
  color: var(--muted);
  font-weight: 600;
}

.hero-card-body img {
  margin-top: 1rem;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 230px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.about-list i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 0.9rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
}

.why-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.stat-card,
.card,
.pricing-card,
.testimonial-card,
.contact-form {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.2rem;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.page-intro {
  padding-bottom: 2rem;
}

.page-intro h1 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-intro .container > p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  margin-top: 0;
}

.cards-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  gap: 1.3rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card {
  padding: 1.6rem;
}

.card i {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  padding: 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.16);
}

.pricing-card.featured {
  border-color: rgba(124, 58, 237, 0.55);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, var(--accent), #ec4899, var(--accent-2)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.15);
}

.plan-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0.25rem 0;
  font-size: 1.35rem;
}

.price {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0.3rem 0 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 0.2rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}

.pricing-card li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.pricing-card li i {
  color: var(--accent-2);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  overflow: hidden;
  border-color: var(--border);
  background:
    radial-gradient(circle at 100% 0, rgba(124, 58, 237, 0.1), transparent 42%),
    var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: '';
  background: linear-gradient(90deg, var(--accent), #ec4899, var(--accent-2));
}

.testimonial-card:hover {
  transform: translateY(-7px);
  border-color: rgba(124, 58, 237, 0.38);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.18);
}

.testimonial-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.testimonial-rating > i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(124, 58, 237, 0.12);
}

.testimonial-rating .rating-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.testimonial-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.2);
  font-size: 0.92rem;
  font-weight: 800;
}

.avatar-violet { color: #6d28d9; background: #ede9fe; }
.avatar-green { color: #047857; background: #d1fae5; }
.avatar-orange { color: #c2410c; background: #ffedd5; }

.testimonial-card .testimonial-quote {
  position: relative;
  flex: 1;
  margin: 0 0 1.7rem;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.testimonial-author-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-author-copy strong {
  color: var(--text);
}

.testimonial-author-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-wrap {
  display: grid;
  gap: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0.7rem 0 0;
}

.payment-wrap {
  display: grid;
  place-items: center;
}

.payment-panel {
  width: min(100%, 620px);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.payment-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.payment-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.payment-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.payment-form label {
  font-weight: 600;
}

.payment-form input[type='number'] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: var(--surface-2);
  color: var(--text);
}

.payment-form input[type='number']:focus {
  outline: 2px solid rgba(124, 58, 237, 0.25);
  border-color: var(--accent);
}

.payment-form button {
  justify-self: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.contact-list i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.contact-form {
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  font-weight: 600;
}

.form-response {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  display: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.form-response.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.25);
}

.form-response.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.25);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: var(--surface-2);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(124, 58, 237, 0.25);
  border-color: var(--accent);
}

.footer {
  padding: 0;
  color: var(--text);
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  border-top: 1px solid var(--border);
}

.footer > .container {
  width: min(1640px, calc(100% - 3rem));
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.25fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand-column {
  max-width: 20rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand img {
  display: block;
  width: min(220px, 100%);
  height: auto;
}

.footer-brand span,
.footer-bottom-inner a span {
  color: var(--accent);
}

.footer-brand-column > p {
  max-width: 18rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-column h2 {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.25;
}

.footer-column > a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column > a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-column > a > i,
.footer-contact p > i {
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact > a {
  width: 100%;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.footer-contact > a > i {
  width: 1rem;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  width: min(1640px, calc(100% - 3rem));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.footer-bottom-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-bottom-inner a {
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: translateY(-3px);
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 34px rgba(18, 140, 126, 0.35);
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(18, 140, 126, 0.45);
}

.home-services > .container > .cards-grid {
  padding: 0;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-overview-copy h1,
.about-overview-copy h2,
.about-overview-body {
  max-width: 650px;
}

.about-overview-copy h1,
.about-overview-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.about-overview-body {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.about-overview-copy > .btn {
  margin-top: 1.3rem;
}

.about-overview-visual {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.about-overview-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% -5% -5% 8%;
  border: 1px solid rgba(124, 58, 237, 0.24);
  border-radius: calc(var(--radius) + 10px);
  content: '';
}

.about-overview-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image-note {
  position: absolute;
  right: -0.8rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100% - 1rem);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-image-note i {
  color: var(--accent);
}

.about-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.about-stats .stat-card {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0, rgba(124, 58, 237, 0.12), transparent 55%),
    var(--surface);
}

.about-stats .stat-card:last-child {
  grid-column: 1 / -1;
}

.about-stats .stat-card strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.about-stats .stat-card > span {
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 600;
}

.about-why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.about-why-grid .why-item {
  align-items: flex-start;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-why-grid .why-item:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.16);
}

.why-number {
  display: grid;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.about-why-grid h3 {
  margin: 0.1rem 0 0.45rem;
  line-height: 1.3;
}

.about-why-grid p {
  margin: 0;
  color: var(--muted);
}

.home-testimonials .center-action,
.home-faq .center-action {
  margin-top: 1.7rem;
  text-align: center;
}

@media (max-width: 800px) {
  .about-overview-grid {
    grid-template-columns: 1fr;
  }

  .about-overview-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .about-overview-visual img {
    aspect-ratio: 16 / 10;
  }

  .about-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .about-overview-visual::before {
    inset: 5% -2% -3% 5%;
  }

  .about-image-note {
    right: 0.5rem;
    bottom: 0.75rem;
    font-size: 0.8rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats .stat-card {
    min-height: 125px;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .about-why-grid .why-item {
    transition: none;
  }

  .about-why-grid .why-item:hover {
    transform: none;
  }
}

.services-page-grid {
  padding-top: 0;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.17);
}

.service-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card-image::after {
  position: absolute;
  inset: 30% 0 0;
  content: '';
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.62));
  pointer-events: none;
}

.service-image-label {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.service-card:hover .service-card-image img {
  transform: scale(1.055);
}

.site-motion .site-reveal {
  animation: section-arrive 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes section-arrive {
  from {
    opacity: 0.72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.3rem 1.4rem 1.5rem;
}

.service-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

.service-card h2 a {
  transition: color 0.2s ease;
}

.service-card h2 a:hover {
  color: var(--accent);
}

.service-card p {
  flex: 1;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.btn-service {
  width: 100%;
  min-height: 3rem;
  margin-top: auto;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #6d4aff 55%, var(--accent-2));
  box-shadow: 0 9px 22px rgba(124, 58, 237, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-service:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(124, 58, 237, 0.27);
  filter: saturate(1.12);
}

.service-breadcrumb-banner {
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 0.8rem 0;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.48)),
    var(--breadcrumb-image);
  background-position: center 45%;
  background-size: cover;
}

.service-hero {
  padding-top: 2.5rem;
  background: radial-gradient(ellipse at 82% 45%, rgba(124, 58, 237, 0.1), transparent 44%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.service-hero-copy h1 {
  margin: 1rem 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-hero-art {
  animation: note-float 7s ease-in-out infinite;
}

.service-hero-art img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumb-list li + li::before {
  content: "›";
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.2rem;
  line-height: 1;
}

.breadcrumb-list li[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.breadcrumb-list a {
  color: #fff;
  font-weight: 600;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.breadcrumb-list a:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.benefit-layout,
.deliverables-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.benefit-heading {
  position: sticky;
  top: 7rem;
}

.benefit-heading h2,
.deliverables-layout h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.benefit-heading > p:last-child {
  color: var(--muted);
}

.benefit-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-item {
  display: grid;
  grid-template-columns: 3.2rem 1fr 1.4rem;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
  border-color: var(--accent);
}

.benefit-number {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit-item > i {
  color: var(--muted);
  font-size: 0.85rem;
}

.deliverables-list {
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 3rem;
  }

  .service-hero-grid,
  .benefit-layout,
  .deliverables-layout {
    grid-template-columns: 1fr;
  }

  .benefit-heading {
    position: static;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .navbar,
  .nav-menu,
  .nav-links,
  .nav-actions,
  .hero-actions {
    max-width: 100%;
  }

  .hero-card,
  .hero-card-body,
  .card,
  .pricing-card,
  .testimonial-card,
  .faq-item,
  .contact-form,
  .stat-card {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    min-width: 3.25rem;
    height: 3.25rem;
    min-height: 3.25rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
  }

  .nav-toggle span {
    width: 1.5rem;
    height: 2px;
  }

  .navbar {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  body.nav-open .nav-menu {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-links a,
  .footer-column > a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-form button {
    justify-self: stretch;
  }

}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }
}

.brand-lockup {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.brand-tagline {
  position: absolute;
  right: 9%;
  bottom: 8%;
  left: 36%;
  color: var(--muted);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tagline i {
  padding: 0 0.18em;
  color: var(--accent);
  font-style: normal;
}

@media (min-width: 1600px) {
  html {
    font-size: clamp(16px, 1vw, 48px);
  }

  .container,
  .footer > .container {
    width: min(92vw, 4200px);
  }

  .navbar {
    min-height: clamp(74px, 5vw, 210px);
  }

  .brand img,
  .footer-brand img {
    width: clamp(180px, 16vw, 680px);
  }

  .hero-text,
  .page-intro h1,
  .page-intro .container > p:last-child {
    max-width: 70ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-visual,
  .hero-visual-orbit,
  .floating-note,
  .service-hero-art {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive Logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
}

.brand img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .brand img {
    width: 150px;
  }

  .nav-links {
    gap: 0.55rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .nav-actions {
    gap: 0.45rem;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .brand img {
    width: 180px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .brand img {
    width: 200px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .brand img {
    width: 170px;
  }

  .section {
    padding: 4rem 0;
  }

  .cards-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-brand-column {
    grid-column: auto;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .floating-note {
    padding: 0.65rem;
    font-size: 0.72rem;
  }

  .note-top {
    right: 0;
  }

  .note-bottom {
    left: 0;
  }

  .benefit-item {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .benefit-item > i {
    display: none;
  }
}

.footer-brand .brand-tagline {
  color: var(--muted);
}

.footer-brand .brand-lockup {
  display: block;
  width: 220px;
  max-width: 100%;
}

.footer-brand .brand-lockup img {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .footer-brand .brand-lockup {
    width: 150px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .footer-brand .brand-lockup {
    width: 180px;
  }
}

@media (min-width: 577px) and (max-width: 991px) {
  .footer-brand .brand-lockup {
    width: 200px;
  }
}

@media (max-width: 576px) {
  .footer-brand .brand-lockup {
    width: 170px;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .footer-brand .brand-tagline {
    font-size: 0.38rem;
  }
}

@media (min-width: 1600px) {
  .footer-brand .brand-lockup {
    width: clamp(180px, 16vw, 680px);
  }

  .brand img,
  .footer-brand img {
    width: clamp(180px, 16vw, 680px);
  }

  .hero h1 {
    max-width: 18ch;
  }
}
/* CI3 public pagination and form feedback */
.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem auto 0;
}
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination span {
  display: block;
  min-width: 2.5rem;
  padding: .65rem .85rem;
  border: 1px solid var(--border-color, #ded8ea);
  border-radius: .65rem;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.pagination [aria-current="page"] {
  border-color: #7c3aed;
  background: #7c3aed;
  color: #fff;
}
.form-success,
.form-error {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border-radius: .6rem;
}
.form-success {
  color: #12653b;
  background: #e7f7ee;
}
.form-error {
  color: #8c2323;
  background: #fff0f0;
}
