:root {
  --blue: #c51631;
  --blue-2: #ff2448;
  --wine: #210008;
  --wine-2: #650012;
  --black: #090506;
  --ink: #211316;
  --muted: #756268;
  --line: #ead7dc;
  --soft: #fff5f7;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(83, 0, 18, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 22, 49, .12), transparent 28%),
    linear-gradient(180deg, #fff8f9 0%, #ffffff 38%, #fff3f5 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197, 22, 49, 0.16);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-text { font-size: 20px; white-space: nowrap; color: var(--black); letter-spacing: 0; }
.brand-text strong { font-weight: 1000; }
.brand-text b { color: var(--blue); margin-left: 0; font-weight: 1000; }
.mini-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  position: relative;
  color: white;
  transform-style: preserve-3d;
  border-radius: 50%;
  background: transparent;
  border: 3px solid #050203;
  outline: 3px solid #ffffff;
  box-shadow: none;
  overflow: hidden;
}
.mini-logo img { width: 100%; height: 100%; object-fit: cover; padding: 0; filter: saturate(1.08) contrast(1.05); }

.main-nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.main-nav a, .main-nav > .nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  color: #243044;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover { color: var(--blue); background: #fff0f3; }
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  left: 0;
  top: 42px;
  display: none;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.dropdown a { display: flex; padding: 10px; min-height: 0; }
.nav-item:hover .dropdown { display: grid; gap: 4px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; border: 0; background: var(--black); color: white; border-radius: 8px; width: 42px; height: 42px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 800;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #8f0019, var(--blue), var(--blue-2)); color: white; box-shadow: 0 14px 28px rgba(197,22,49,.30); }
.btn-light { background: white; border-color: var(--line); }
.btn-outline { background: white; border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: #18b65c; color: white; }
.btn.full { width: 100%; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}
.hidden { display: none !important; }

main { min-height: 80vh; }
.page { display: none; padding: 26px clamp(16px, 4vw, 58px) 48px; }
.page.active { display: block; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  min-height: 620px;
  margin: 8px 0 30px;
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,36,72,.30), transparent 26%),
    radial-gradient(circle at 6% 12%, rgba(255,255,255,.10), transparent 22%),
    linear-gradient(135deg, #050203 0%, var(--wine) 36%, #46000d 72%, #110004 100%);
  box-shadow: 0 28px 70px rgba(43, 0, 10, .28);
  overflow: hidden;
}
.hero.compact { min-height: 460px; padding-top: 32px; }
.hero-copy { max-width: 760px; }
.eyebrow, .section-title p {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(197,22,49,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 8.6vw, 124px);
  line-height: .86;
  letter-spacing: 0;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(0,0,0,.45), 0 18px 38px rgba(0,0,0,.32);
}
.hero.compact h1 { font-size: clamp(46px, 6.6vw, 88px); }
.hero h1::first-line { color: #ffffff; }
.hero-copy p:not(.eyebrow) {
  color: #f4dce1;
  max-width: 760px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  font-weight: 650;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.hero-card {
  position: relative;
  min-height: 430px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.22), transparent 24%),
    radial-gradient(circle at 72% 20%, rgba(255,36,72,.24), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(7,2,4,.74));
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(255,36,72,.24), transparent 62%);
}
.hero-card h2 { margin: 18px 0 8px; font-size: clamp(24px, 3vw, 36px); color: #ffffff; font-weight: 1000; }
.hero-card p { color: #f2d8de; line-height: 1.6; position: relative; z-index: 1; font-weight: 650; }
.logo-orbit {
  height: 210px;
  perspective: 900px;
  display: grid;
  place-items: center;
}
.cube-logo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: spinLogo 8s linear infinite;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 4px solid #050203;
  outline: 4px solid #ffffff;
}
.cube-logo img { width: 100%; height: 100%; object-fit: cover; padding: 0; filter: saturate(1.08) contrast(1.04); }
@keyframes spinLogo {
  0% { transform: rotateY(0deg) rotateX(8deg); }
  100% { transform: rotateY(360deg) rotateX(8deg); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.stats-grid article, .why-grid article, .service-card, .market-card, .blog-card, .testimonial, .partner-card, .social-card, .video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(83, 0, 18, .08);
}
.stats-grid article { padding: 20px; }
.stats-grid strong { display: block; color: var(--black); font-size: 30px; }
.stats-grid span { color: var(--muted); font-weight: 700; }
.glossy-wine-section {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255,36,72,.24), transparent 28%),
    linear-gradient(135deg, #080304, #3b000b 44%, #830018 74%, #160005);
  box-shadow: 0 28px 70px rgba(43,0,10,.24);
  overflow: hidden;
}
.glossy-wine-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.16), transparent 26%, transparent 72%, rgba(255,255,255,.08));
}
.home-stats {
  padding: 18px;
  border-radius: 8px;
}
.home-stats article {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 34px rgba(0,0,0,.18);
}
.home-stats strong {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  text-shadow: 0 5px 18px rgba(0,0,0,.28);
}
.home-stats span {
  color: #ffdce3;
  font-size: 15px;
}

.content-band, .split-band, .why-band {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}
.section-title h2 { margin: 0 0 20px; font-size: clamp(28px, 4vw, 48px); color: var(--black); }
.section-title.inline { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-title.inline h2 { margin: 0; }
.category-cloud { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.category-cloud button, .category-list button, .tabs button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f9;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}
.category-cloud button,
.category-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.category-cloud button b,
.category-list button b {
  flex: 0 0 auto;
  color: #7a8995;
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}
.category-cloud button:hover, .category-list button.active, .tabs button.active {
  border-color: var(--blue);
  background: #fff0f3;
  color: var(--blue);
}
.home-category-band {
  position: relative;
  color: white;
  border-color: rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255,36,72,.24), transparent 28%),
    linear-gradient(135deg, #080304, #3b000b 44%, #830018 74%, #160005);
  box-shadow: 0 28px 70px rgba(43,0,10,.24);
  overflow: hidden;
}
.home-category-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.16), transparent 26%, transparent 72%, rgba(255,255,255,.08));
}
.home-category-band .section-title p,
.home-category-band .section-title h2 {
  position: relative;
  z-index: 1;
  color: white;
}
.home-category-band .section-title h2 {
  font-size: clamp(36px, 5vw, 66px);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.home-category-band .section-title span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  color: #ffdce3;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
.home-category-band .category-cloud {
  position: relative;
  z-index: 1;
}
.home-category-band .category-cloud button {
  min-height: 58px;
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 26px rgba(0,0,0,.16);
  font-size: 16px;
  font-weight: 1000;
}
.home-category-band .category-cloud button b {
  color: #ffdce3;
}
.home-category-band .category-cloud button:hover {
  border-color: rgba(255,255,255,.45);
  background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.10));
  color: #ffffff;
  transform: translateY(-1px);
}
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.split-band.light { background: #fff7f8; }
.split-band h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 54px); color: var(--black); }
.split-band p { color: #52627b; line-height: 1.7; }
.brand-strip { overflow: hidden; min-height: 160px; border-radius: 8px; background: #fff0f3; display: flex; align-items: center; }
.brand-track { display: flex; gap: 14px; animation: moveStrip 22s linear infinite; padding: 0 14px; }
.brand-logo-card {
  flex: 0 0 160px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(83, 0, 18, .08);
}
@keyframes moveStrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.why-band {
  color: white;
  background:
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(135deg, #080304, #5b0011 52%, #c51631);
}
.why-band .section-title h2, .why-band .section-title p { color: white; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-grid article { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); color: white; padding: 22px; font-weight: 900; }

.vision-statement {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #090506, #4b000e 58%, #c51631);
  box-shadow: 0 24px 58px rgba(83,0,18,.20);
}
.vision-statement > p:first-child {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 1000;
}
.vision-statement blockquote {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .98;
  font-weight: 1000;
  letter-spacing: 0;
}
.vision-statement h2 {
  margin: 28px 0 10px;
  color: white;
  font-size: clamp(28px, 4vw, 50px);
}
.vision-statement p:last-child {
  max-width: 900px;
  color: #f4dce1;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 650;
}
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.vision-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(83,0,18,.08);
}
.vision-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff0f3;
  color: var(--blue);
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 12px;
}
.vision-grid h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 26px;
}
.vision-grid p {
  color: #5f4b51;
  line-height: 1.6;
}
.philosophy-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f9;
}
.philosophy-band h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(36px, 5vw, 68px);
  line-height: .96;
}
.philosophy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.philosophy-list p {
  margin: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  color: var(--black);
  font-weight: 900;
}
.vision-close {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(83,0,18,.08);
}
.vision-close h2 {
  max-width: 1000px;
  margin: 0 auto 12px;
  color: var(--black);
  font-size: clamp(34px, 5vw, 70px);
  line-height: .98;
}
.vision-close p {
  margin: 0 auto 18px;
  max-width: 760px;
  color: var(--blue);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 1000;
}
.vision-close .hero-actions { justify-content: center; }

.price-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff0f3;
  color: #6b0011;
  border: 1px solid #f2c5cf;
  font-weight: 700;
}
.service-layout { display: grid; grid-template-columns: 290px 1fr; gap: 22px; align-items: start; }
.side-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(83,0,18,.07);
}
.search-input, .form-panel input, .form-panel select, .form-panel textarea, .customer-form input, .customer-form select, .coupon-row input, .composer input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
}
.category-list { display: grid; gap: 8px; margin-top: 12px; max-height: 65vh; overflow: auto; }
.category-count-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 14px;
  border-bottom: 1px solid var(--line);
}
.category-count-header strong {
  color: var(--black);
  font-size: 22px;
  text-transform: uppercase;
}
.category-count-header span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 1000;
}
.category-list button {
  min-height: 70px;
  padding: 14px 16px;
  background: white;
  font-size: 18px;
  font-weight: 1000;
}
.category-list button.active {
  background: linear-gradient(135deg, #090506, #790016, #c51631);
  color: white;
  box-shadow: 0 14px 26px rgba(83,0,18,.20);
}
.category-list button.active b {
  color: #ffdce3;
}
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.service-card { padding: 18px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.service-card h3 { margin: 0 0 8px; color: var(--black); font-size: 18px; }
.service-card strong { color: var(--blue); font-size: 22px; text-align: right; white-space: nowrap; }
.finance-note {
  display: block;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}
.service-card .card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.gpt-shell { display: grid; grid-template-columns: 260px 1fr; gap: 18px; min-height: 620px; }
.gpt-shell aside, .chat-panel { border: 1px solid var(--line); background: white; border-radius: 8px; box-shadow: 0 12px 28px rgba(83,0,18,.07); }
.gpt-shell aside { padding: 12px; display: grid; align-content: start; gap: 8px; }
.gpt-shell aside button { border: 1px solid var(--line); background: #fff8f9; border-radius: 8px; padding: 12px; text-align: left; font-weight: 800; }
.chat-panel { display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.chat-thread { padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.bubble { max-width: 78%; padding: 13px 15px; border-radius: 8px; line-height: 1.55; }
.bubble.user { align-self: flex-end; background: var(--blue); color: white; }
.bubble.ai { align-self: flex-start; background: #fff0f3; color: var(--ink); }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.market-grid, .blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-card, .blog-card, .social-card, .testimonial, .partner-card { overflow: hidden; }
.visual {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 1000;
  font-size: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, #090506, #5b0011, var(--blue));
}
.market-card .body, .blog-card .body, .social-card, .testimonial, .partner-card { padding: 16px; }
.market-card h3, .blog-card h3, .social-card h3, .testimonial h3, .partner-card h3 { margin: 0 0 8px; color: var(--black); }
.market-card p, .blog-card p, .social-card p, .testimonial p, .partner-card p { color: #53627a; line-height: 1.55; }
.market-card strong { color: var(--blue); display: block; margin-bottom: 12px; font-size: 20px; }

.no-hero-layout, .checkout-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); gap: 22px; align-items: start; padding-top: 24px; }
.preview-card, .form-panel, .checkout-main, .bill-card, .dashboard-profile, .table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(83,0,18,.08);
}
.preview-card { min-height: 480px; display: grid; align-content: center; gap: 14px; }
.form-panel { display: grid; gap: 12px; }
.form-panel textarea { min-height: 170px; resize: vertical; }

.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.brand-frame { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #fff, #fff0f3); border: 1px solid var(--line); color: var(--blue); font-size: 28px; font-weight: 1000; margin-bottom: 12px; }
.partner-card.professional { color: white; background: linear-gradient(135deg, #080304, #5b0011, #c51631); border-color: #db2946; }
.partner-card.professional h3, .partner-card.professional p { color: white; }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social-card { min-height: 210px; display: grid; align-content: start; gap: 10px; }
.social-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 8px; background: var(--black); color: white; font-weight: 1000; }

.review-layout { display: grid; gap: 26px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff0f3; color: var(--blue); font-weight: 1000; }
.stars { color: #f6b500; font-weight: 1000; }
.review-actions { display: flex; gap: 8px; margin-top: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-card { min-height: 190px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #080304, #5b0011, #c51631); font-weight: 1000; position: relative; }
.video-card::after { content: ""; width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); position: absolute; }
.review-form { max-width: 620px; }

.checkout-grid { grid-template-columns: 1fr 360px; }
.checkout-main h1 { margin-top: 0; font-size: 42px; color: var(--black); }
.order-table {
  display: grid;
  grid-template-columns: 1fr 100px 140px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}
.order-table > * { padding: 14px; border-bottom: 1px solid var(--line); min-width: 90px; }
.order-table > div { background: #fff0f3; color: var(--muted); font-weight: 800; }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 16px 0; }
.customer-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.customer-form h2 { grid-column: 1 / -1; }
.bill-card { position: sticky; top: 96px; }
.bill-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bill-line.total { font-size: 22px; font-weight: 1000; color: var(--black); }
.paid-panel { margin-top: 14px; display: grid; gap: 10px; }
.upload-box { display: grid; gap: 8px; padding: 14px; border: 1px dashed var(--blue); border-radius: 8px; background: #fff8f9; font-weight: 800; color: var(--blue); }

.dashboard-page { padding-top: 34px; }
.dashboard-profile { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; margin-bottom: 18px; }
.profile-logo { width: 110px; height: 110px; border-radius: 50%; animation: spinLogo 8s linear infinite; background: transparent; border: 4px solid #050203; outline: 4px solid #ffffff; box-shadow: none; display: grid; place-items: center; color: white; font-size: 42px; font-weight: 1000; overflow: hidden; }
.profile-logo img { width: 100%; height: 100%; object-fit: cover; padding: 0; filter: saturate(1.08) contrast(1.04); }
.profile-edit-form {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 820px;
  margin: 12px 0 8px;
}
.profile-edit-form label {
  display: grid;
  gap: 6px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-edit-form input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff8f9;
  color: var(--ink);
}
.profile-edit-form .btn {
  min-height: 42px;
}
.profile-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.table-card { margin-top: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: #fff0f3; color: #4a1c25; }
.status { display: inline-flex; border-radius: 20px; padding: 5px 10px; background: #fff0f3; color: var(--blue); font-weight: 800; }

.site-footer {
  padding: 42px clamp(16px, 4vw, 58px);
  background: #060a13;
  color: white;
}
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-main a, .link-button { display: block; color: #ffdce3; margin: 10px 0; background: none; border: 0; padding: 0; text-align: left; }
.footer-main h3 { color: white; margin-top: 0; }
.footer-brand { margin-bottom: 12px; }
.footer-tagline {
  margin: 0 0 12px;
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.15;
  font-weight: 1000;
}
.footer-subtagline {
  margin: -4px 0 12px;
  max-width: 760px;
  color: #ffdce3;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 850;
}
.vision { color: #d9b7bf; line-height: 1.7; max-width: 760px; }
.footer-vision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 14px;
}
.footer-vision-list strong {
  grid-column: 1 / -1;
  color: #ffffff;
  font-size: 18px;
}
.footer-vision-list span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #ffdce3;
  font-weight: 800;
}
.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18b65c;
  color: white;
  z-index: 45;
  font-weight: 1000;
  box-shadow: 0 18px 30px rgba(24,182,92,.28);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5,9,18,.62);
}
.modal-card {
  width: min(1220px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbff, #eef8ff);
  padding: clamp(22px, 3vw, 42px);
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: white;
  font-size: 24px;
}
.service-popup {
  color: #213040;
}
.detail-title {
  color: var(--blue);
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  margin: 0 0 18px;
  font-weight: 1000;
}
.service-summary {
  margin: 0 0 28px;
  padding-left: 24px;
  color: #223041;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.65;
  font-weight: 900;
}
.service-summary li::marker {
  color: var(--blue);
}
.service-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  margin-bottom: 28px;
}
.service-name-card {
  grid-column: 1;
}
.service-price-card {
  grid-column: 2;
  justify-self: stretch;
}
.service-meta-card {
  min-height: 120px;
  padding: 24px;
  border: 1px solid #d6e8f5;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 40px rgba(83,0,18,.08);
}
.service-meta-card span {
  display: block;
  margin-bottom: 16px;
  color: #748393;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 1000;
}
.service-meta-card strong {
  display: block;
  color: var(--black);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 1000;
}
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.detail-box {
  min-height: 330px;
  border: 1px solid #d6e8f5;
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  background: white;
  box-shadow: 0 16px 40px rgba(83,0,18,.08);
}
.detail-box h3 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(26px, 3vw, 36px);
}
.detail-box ul {
  margin: 0;
  padding-left: 24px;
  color: #243444;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
}
.faq-panel {
  margin: 22px 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d6e8f5;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 32px rgba(83,0,18,.08);
}
.faq-panel h3 {
  margin: 0 0 16px;
  color: var(--black);
  font-size: clamp(28px, 3vw, 38px);
}
.faq-panel details {
  border-top: 1px solid #f0d4da;
}
.faq-panel details:first-of-type {
  border-top: 0;
}
.faq-panel summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  color: var(--black);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}
.faq-panel summary::-webkit-details-marker {
  display: none;
}
.faq-panel summary::before {
  content: "▶";
  color: var(--blue);
  font-size: 13px;
  transition: transform .2s ease;
}
.faq-panel details[open] summary {
  color: var(--blue);
}
.faq-panel details[open] summary::before {
  transform: rotate(90deg);
}
.faq-panel details p {
  margin: 0 0 16px 24px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: #fff0f3;
  color: #4a1c25;
  line-height: 1.6;
  font-weight: 750;
}
.service-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.service-popup-actions .btn {
  min-height: 58px;
  padding-inline: 24px;
  font-size: 20px;
}
.auth-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.auth-tabs button { min-height: 44px; border: 1px solid var(--line); background: #fff8f9; border-radius: 8px; font-weight: 900; }
.auth-tabs button.active { border-color: var(--blue); color: var(--blue); background: #fff0f3; }
.auth-form { display: grid; gap: 12px; }
.auth-modal-card {
  width: min(960px, 86vw);
  aspect-ratio: 16 / 9;
  max-height: 76vh;
  padding: clamp(10px, 1.1vw, 16px);
  background: #f6fbff;
  border: 1px solid #cfe3f2;
  overflow: hidden;
}
.auth-modal-card #modalBody {
  height: 100%;
}
.auth-modal-card .modal-close {
  position: absolute;
  top: clamp(12px, 1.2vw, 18px);
  right: clamp(12px, 1.2vw, 18px);
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 1px solid #cfe3f2;
  border-radius: 8px;
  background: #f7fcff;
  color: #071018;
  font-size: 24px;
}
.auth-shell {
  height: 100%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(10px, 1.1vw, 16px);
}
.auth-brand-panel,
.auth-form-panel {
  border: 1px solid #cfe3f2;
  border-radius: 8px;
  overflow: hidden;
}
.auth-brand-panel {
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(12px, 2.1vw, 26px);
  padding: clamp(16px, 2.1vw, 30px);
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(197,22,49,.30), transparent 22%),
    linear-gradient(145deg, #050203, #2a0008 45%, #6e0014);
}
.auth-logo-ring {
  width: clamp(116px, 12vw, 170px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 4px solid #050203;
  outline: 4px solid #ffffff;
  box-shadow: none;
  overflow: hidden;
  animation: spinLogo 8s linear infinite;
}
.auth-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  filter: saturate(1.08) contrast(1.04);
}
.auth-brand-panel span {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #ff3555;
  text-transform: uppercase;
  font-weight: 1000;
}
.auth-brand-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1;
  white-space: nowrap;
}
.auth-brand-panel p {
  margin: -6px 0 0;
  color: #ffdce3;
  font-weight: 850;
  font-size: 14px;
  line-height: 1.25;
}
.auth-form-panel {
  padding: clamp(38px, 3.4vw, 56px) clamp(18px, 2vw, 30px) clamp(14px, 1.8vw, 24px);
  background: white;
  overflow: auto;
}
.auth-main-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.auth-main-tabs button {
  min-height: 44px;
  border: 1px solid #cfe3f2;
  border-radius: 8px;
  background: #eef8ff;
  color: #8a0019;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 1000;
}
.auth-main-tabs button.active {
  color: white;
  background: linear-gradient(135deg, #090506, #730015, #c51631);
  box-shadow: 0 14px 24px rgba(83,0,18,.22);
}
.auth-note {
  margin: 0 0 14px;
  color: #667085;
  font-weight: 800;
}
.auth-modal-card .auth-tabs {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}
.auth-modal-card .auth-tabs button {
  min-height: 40px;
  font-size: 13px;
}
.auth-form label {
  display: grid;
  gap: 10px;
  color: #060708;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 1000;
}
.auth-form label span {
  color: #667085;
}
.auth-form input,
.auth-form select {
  min-height: 46px;
  border: 1px solid #cfe3f2;
  border-radius: 8px;
  padding: 12px 18px;
  color: #111827;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 900;
  background: white;
}
.auth-form input::placeholder {
  color: #777;
}
.partner-auth-note {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid #f2c5cf;
  border-radius: 8px;
  background: #fff0f3;
  color: #6b0011;
}
.auth-otp {
  width: fit-content;
  min-height: 44px;
  padding-inline: 28px;
  border-color: #cfe3f2;
  color: #111827;
  font-size: clamp(16px, 1.4vw, 21px);
}
.auth-submit {
  min-height: 50px;
  margin-top: 8px;
  font-size: clamp(18px, 1.6vw, 24px);
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav > .nav-item > a { width: 100%; }
  .dropdown { position: static; display: grid; box-shadow: none; border-color: #eef2f8; margin: 4px 0 8px; }
  .menu-toggle { display: block; }
  .site-header { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .split-band, .service-layout, .gpt-shell, .no-hero-layout, .checkout-grid, .philosophy-band { grid-template-columns: 1fr; }
  .hero, .hero.compact { grid-template-columns: minmax(0, 1.05fr) minmax(220px, .75fr); }
  .hero { min-height: auto; }
  .side-panel, .bill-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid, .blog-grid, .partner-grid, .social-grid, .testimonial-grid, .video-grid, .why-grid, .vision-grid, .philosophy-list { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .auth-modal-card {
    aspect-ratio: auto;
    width: min(760px, 92vw);
    height: min(86vh, 760px);
    overflow: auto;
  }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: 240px; }
  .auth-form-panel { padding-top: 56px; }
}

@media (max-width: 640px) {
  .site-header { padding: 10px 12px; min-height: 70px; }
  .brand-text { font-size: 15px; }
  .mini-logo { width: 40px; height: 40px; }
  .header-actions .btn { display: none; }
  .page { padding-inline: 12px; }
  .hero, .hero.compact {
    grid-template-columns: minmax(0, 1fr) minmax(112px, .54fr);
    gap: 10px;
    padding: 18px 10px;
  }
  .hero h1 { font-size: clamp(28px, 9vw, 46px); line-height: .92; }
  .hero.compact h1 { font-size: clamp(26px, 8vw, 40px); }
  .hero-copy p:not(.eyebrow) { font-size: 12px; line-height: 1.45; }
  .hero .eyebrow { font-size: 10px; padding: 5px 7px; }
  .hero-card { min-height: 210px; padding: 12px; align-self: stretch; display: grid; align-content: center; }
  .hero-card h2 { font-size: 15px; line-height: 1.1; }
  .hero-card p { font-size: 11px; line-height: 1.35; }
  .logo-orbit { height: 104px; }
  .cube-logo { width: 92px; height: 92px; border-radius: 50%; }
  .stats-grid, .market-grid, .blog-grid, .partner-grid, .social-grid, .testimonial-grid, .video-grid, .why-grid, .vision-grid, .philosophy-list, .customer-form, .detail-grid { grid-template-columns: 1fr; }
  .vision-statement blockquote { font-size: 34px; line-height: 1.02; }
  .hero-actions, .coupon-row, .composer { grid-template-columns: 1fr; display: grid; }
  .btn { width: 100%; }
  .order-table { grid-template-columns: 1fr 80px 110px; }
  .dashboard-profile { grid-template-columns: 1fr; text-align: center; }
  .profile-logo { margin: auto; }
  .profile-edit-form { grid-template-columns: 1fr; text-align: left; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-vision-list { grid-template-columns: 1fr; }
  .auth-modal-card { width: 94vw; height: min(88vh, 720px); padding: 10px; }
  .auth-main-tabs, .auth-modal-card .auth-tabs { grid-template-columns: 1fr; }
  .auth-form-panel { padding: 58px 14px 16px; }
  .auth-brand-panel { min-height: 220px; }
  .auth-logo-ring { width: 132px; }
  .auth-form label { font-size: 16px; }
  .auth-form input, .auth-form select { min-height: 48px; font-size: 16px; }
  .auth-modal-card .modal-close { width: 40px; height: 40px; font-size: 24px; }
  .modal-card { padding: 16px; }
  .detail-title { font-size: 42px; }
  .service-summary { font-size: 16px; line-height: 1.5; }
  .service-meta-grid, .detail-grid { grid-template-columns: 1fr; }
  .service-meta-card, .detail-box { min-height: auto; padding: 18px; }
  .faq-panel summary { font-size: 17px; min-height: 56px; }
  .service-popup-actions { display: grid; grid-template-columns: 1fr; }
}
