/* Karmic Brand Solutions microsite */

:root {
  /* karmicone.com palette */
  --pink: #d71dd5;        /* Accent 1 */
  --purple: #9f1cca;      /* Accent 2 */
  --violet: #671bbf;      /* Accent 3 */
  --pink-dark: var(--purple);
  --pink-tint: #fbe9fb;
  --blue: #2f1ab4;
  --blue-deep: var(--blue);
  --ink: #26215c;
  --body: #4b4560;
  --line: #e4e2f2;
  --tint: #eeedfe;
  --white: #ffffff;
  --display: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  --text: "Open Sans", "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--blue); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--blue); color: var(--white);
  padding: 10px 16px; border-radius: 6px; z-index: 10;
}
.skip:focus { left: 16px; }

/* Logos (official PNGs in assets/, exported at 2x) */
.brand { display: inline-block; text-decoration: none; line-height: 0; }
.brand img { width: 250px; height: auto; }
.footer-logo { width: 220px; height: auto; }
.footer-brand > a { display: inline-block; line-height: 0; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--text); font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 16px 32px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 8px 20px rgba(215, 29, 213, 0.28); }
.btn-primary:hover { background: var(--pink-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--pink); color: var(--white); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(38, 33, 92, 0.06);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.site-header .btn { padding: 12px 22px; font-size: 14px; }
.site-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 28px; }
.site-nav a {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue); border-bottom-color: var(--pink); }

/* Hero */
.hero {
  position: relative;
  background: var(--tint);
  padding: 96px 0 150px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(215, 29, 213, 0.16), rgba(215, 29, 213, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 3.8vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.08;
}
.lede { margin-top: 26px; font-size: 1.2rem; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Hero visual: brand image with the category card overlapping it */
.hero-visual { position: relative; padding: 0 0 28px 0; }
.hero-image {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 62% center;
  border-radius: 20px; box-shadow: 0 28px 60px rgba(47, 26, 180, 0.22);
}
.hero-panel {
  background: var(--blue); color: var(--white);
  border-radius: 16px; padding: 22px 24px 20px;
  box-shadow: 0 20px 44px rgba(47, 26, 180, 0.3);
  position: absolute; left: -16px; bottom: 24px; width: min(300px, 72%);
  overflow: hidden;
}
.panel-mark {
  position: absolute; right: -26px; bottom: -30px; width: 150px; height: 150px;
  opacity: 0.18; pointer-events: none;
  filter: brightness(0) invert(1);
}
.panel-title {
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; white-space: nowrap;
  color: var(--white); margin-bottom: 14px; position: relative; z-index: 1;
}
.panel-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.panel-list li {
  position: relative; padding: 10px 0 10px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--display); font-weight: 500; font-size: 0.95rem;
}
.panel-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.panel-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--pink);
}
.panel-note { margin-top: 16px; font-size: 0.88rem; color: #dcd8f5; position: relative; z-index: 1; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

/* Section headings */
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2, .why h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em;
}
.section-head h2::after, .why h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--pink); margin-top: 18px;
}
.section-head p { margin-top: 18px; font-size: 1.2rem; color: var(--ink); max-width: 56ch; }

/* Services */
.services { padding: 40px 0 104px; }
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-grid li {
  background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 14px; padding: 30px 28px 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-grid li:hover {
  border-top-color: var(--pink);
  box-shadow: 0 18px 40px rgba(47, 26, 180, 0.12);
  transform: translateY(-3px);
}
.service-grid h3 { font-size: 1.15rem; font-weight: 600; }
.service-grid p { margin-top: 12px; font-size: 0.98rem; }

/* Why */
.why {
  position: relative; background: var(--blue-deep); color: #dcd8f5;
  padding: 104px 0; overflow: hidden;
}
.why::before {
  content: ""; position: absolute; left: -120px; bottom: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 40px solid rgba(215, 29, 213, 0.22);
}
.why-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.why h2 { color: var(--white); }
.why-copy p { margin-top: 20px; max-width: 50ch; font-size: 1.08rem; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  position: relative; padding: 18px 0 18px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white); font-family: var(--display); font-weight: 500; font-size: 1.05rem;
}
.why-list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.why-list li::before {
  content: ""; position: absolute; left: 4px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--pink);
}

/* Closing */
.closing {
  position: relative; background: var(--pink-tint); padding: 96px 0; text-align: center; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; left: -160px; bottom: -200px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 44px solid rgba(215, 29, 213, 0.12); pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.closing h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
.closing p { margin: 16px auto 34px; max-width: 46ch; font-size: 1.08rem; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; }
.text-link {
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--blue);
  text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px;
}
.text-link:hover { color: var(--pink); }

/* Footer */
.site-footer { background: var(--blue-deep); color: #dcd8f5; font-size: 0.95rem; }
.footer-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; padding: 56px 0 44px;
}

.footer-tag { margin-top: 30px; max-width: 52ch; font-size: 0.98rem; }
.footer-links { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.footer-links .social { display: inline-flex; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.footer-links .social:hover { background: var(--pink); color: var(--white); }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 14px; }
.footer-heading {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 6px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); width: max-content;
}
.footer-contact a, .footer-contact span { font-size: 1rem; }
.footer-company { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #f5c6f5; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 72px 0 120px; }
  .hero h1 br { display: none; }
  .hero-visual { padding-bottom: 0; }
  .hero-image { aspect-ratio: 16 / 9; }
  .hero-panel { position: static; width: auto; margin-top: -40px; margin-left: 20px; margin-right: 20px; }
  .footer-row { grid-template-columns: 1fr; gap: 36px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 36px); }
  .hero { padding: 56px 0 100px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-panel { padding: 30px 26px 26px; }
  .services { padding: 24px 0 72px; }
  .why, .closing { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .brand img { width: 180px; }
  .footer-logo { width: 160px; }
  .site-header .btn { padding: 10px 16px; font-size: 13px; }
  .site-nav { display: none; }
  .hero-panel { margin-left: 0; margin-right: 0; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-grid li { transition: none; }
  .btn:hover, .service-grid li:hover { transform: none; }
}
