/* ==========================================================================
   CREAI — Landing Page Styles
   ========================================================================== */

:root {
  --primary: #6C4CFF;
  --primary-dark: #4B2FD1;
  --primary-light: #EDE9FF;
  --pink: #FF3EA5;
  --pink-light: #FFE7F3;
  --yellow: #FFC93C;
  --yellow-light: #FFF6DE;
  --green: #21C48C;
  --green-light: #E1FBF1;
  --blue: #2E9DFF;
  --blue-light: #E5F4FF;

  --ink: #180F33;
  --text: #372B5C;
  --text-muted: #6E6689;
  --bg: #FBFAFF;
  --surface: #FFFFFF;
  --border: #E9E4FA;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -20px rgba(76, 47, 209, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(24, 15, 51, 0.15);

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; color: var(--text-muted); line-height: 1.7; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--primary);
  margin-bottom: .6em;
}
.eyebrow.center { text-align: center; }
.eyebrow-light { color: rgba(255,255,255,.85); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-sub { font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(108, 76, 255, .55);
}
.btn-primary:hover { box-shadow: 0 18px 34px -10px rgba(108, 76, 255, .65); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-light);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.logo-mark {
  display: inline-flex;
  color: var(--primary);
}
.logo-accent { color: var(--pink); }

.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.main-nav a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

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

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
}
.blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: -120px; left: -160px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--pink-light), transparent 70%);
  bottom: -160px; right: -140px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -.02em;
  margin-bottom: .45em;
}

.hero-text { font-size: 17px; max-width: 480px; }

.hero-cta {
  display: flex;
  gap: 16px;
  margin: 28px 0 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stats dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.hero-stats dd {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-card {
  width: min(400px, 90%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--primary-light), var(--pink-light));
  padding: 10px;
  position: relative;
  z-index: 2;
}
.hero-card img {
  border-radius: calc(var(--radius-lg) - 8px);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
}
.float-chip svg { color: var(--primary); }
.chip-top { top: 12%; left: -6%; }
.chip-bottom { bottom: 8%; right: -8%; }

.dot-grid {
  position: absolute;
  width: 90px; height: 90px;
  top: -20px; right: 6%;
  background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: .8;
  z-index: 0;
}

/* ---------- About ---------- */
.about { padding: 40px 0 110px; }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media { position: relative; display: flex; align-items: flex-end; }

.about-img-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 70%;
}
.about-img-primary img { height: 420px; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  right: -6%;
  bottom: -36px;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
}
.about-img-secondary img { height: 220px; object-fit: cover; }

.about-badge-ring {
  position: absolute;
  top: 6%;
  right: 10%;
  width: 90px; height: 90px;
  color: var(--primary-dark);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ring-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  width: 30px; height: 30px;
  margin: auto;
}

.about-copy h2 { font-size: clamp(26px, 3vw, 36px); }

.about-list { margin: 22px 0 30px; display: grid; gap: 14px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
}
.about-list svg { color: var(--green); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { padding: 30px 0 110px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid-3 .service-card { display: flex; flex-direction: column; }

.service-card {
  padding: 32px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.card-violet { background: var(--primary-light); }
.card-violet .service-icon { background: var(--primary); color: #fff; }
.card-pink { background: var(--pink-light); }
.card-pink .service-icon { background: var(--pink); color: #fff; }
.card-yellow { background: var(--yellow-light); }
.card-yellow .service-icon { background: var(--yellow); color: #fff; }
.card-green { background: var(--green-light); }
.card-green .service-icon { background: var(--green); color: #fff; }
.card-blue { background: var(--blue-light); }
.card-blue .service-icon { background: var(--blue); color: #fff; }
.card-purple { background: var(--primary-light); }
.card-purple .service-icon { background: var(--primary-dark); color: #fff; }

.service-card h3 { font-size: 20px; margin-bottom: .5em; }
.service-card p { font-size: 14.5px; margin-bottom: 18px; }

.service-points {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 15, 51, .08);
}
.service-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23180F33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-dark);
}
.service-link svg { transition: transform .2s ease; }
.service-link:hover svg { transform: translate(2px, -2px); }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--primary-dark); }

.services-cta { text-align: center; margin-top: 44px; }

/* ---------- Value Proposition ---------- */
.value { padding: 30px 0 110px; }

.value-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
}

.value-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}
.value-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.value-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24,15,51,.86), rgba(24,15,51,.1) 60%);
}
.value-media-caption {
  position: relative;
  z-index: 1;
  padding: 32px;
  align-self: flex-end;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}
.value-media-caption h3 { color: #fff; font-size: 24px; max-width: 380px; }

.value-cards {
  display: grid;
  gap: 24px;
}
.value-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
}
.value-card-alt { background: var(--pink); }
.value-card-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  margin-bottom: 14px;
}
.value-card h4 { color: #fff; font-size: 18px; }
.value-card p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 0; }

/* ---------- Benefits ---------- */
.benefits { padding: 30px 0 110px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-item {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.benefit-item h3 { font-size: 17px; }
.benefit-item p { font-size: 14px; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 30px 0 110px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  margin: 0;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { color: var(--text); font-size: 15px; }
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--ink); display: block; font-size: 14px; }
.testimonial-card .role { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 22px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Steps (how it works) ---------- */
.steps { padding: 30px 0 110px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 34px 26px 30px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; }
.step-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Feature list (checklist block) ---------- */
.feature-list { display: grid; gap: 14px; margin: 24px 0 30px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.feature-list svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.feature-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { padding: 50px 0 90px; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: .3em; }
.legal-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 34px; }
.legal-content h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-content p, .legal-content li { font-size: 15.5px; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 110px; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 26px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-card);
  border-color: var(--primary-light);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  padding: 20px 34px 20px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  margin: 0;
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  margin: 0 24px 110px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--primary), var(--pink));
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 48px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); max-width: 480px; }
.cta-inner p { color: rgba(255,255,255,.9); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { padding: 30px 0 110px; }

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
}

.contact-copy h2 { font-size: clamp(24px, 3vw, 32px); }

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.contact-info svg { color: var(--primary); flex-shrink: 0; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 16px;
}
.field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--green);
  min-height: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease;
}
.social-links a:hover { background: var(--primary); }

.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col ul a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,.6); font-size: 14px; }

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button {
  width: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .value-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .about-copy { order: 1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
  }
  .main-nav.open ul { flex-direction: column; gap: 18px; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 70px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .about-img-secondary { display: none; }
  .services-grid, .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-top, .chip-bottom { position: static; margin-top: 12px; display: inline-flex; }
  .hero-visual { flex-direction: column; }
}
