/* Ayatickets Print | Premium Design System (Work Sans) */
:root {
  --primary: #c3073f;
  --primary-hover: #9e0633;
  --primary-soft: rgba(195, 7, 63, 0.08);
  --primary-ring: rgba(195, 7, 63, 0.18);

  --ink: #111111;
  --ink-secondary: #2d2d2d;
  --body: #525252;
  --muted: #737373;
  --muted-light: #a3a3a3;

  --surface: #ffffff;
  --bg: #fafaf9;
  --bg-muted: #f5f4f2;
  --bg-elevated: #ffffff;
  --border: #e7e5e4;
  --border-light: #f0eeec;

  --success: #0d7a52;
  --success-soft: #ecfdf5;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #92400e;
  --error-bg: #fef2f2;
  --error-text: #b91c1c;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 8px 30px rgba(17, 17, 17, 0.07);
  --shadow-lg: 0 20px 50px rgba(17, 17, 17, 0.08);

  --font: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 68px;
  --max-w: 1140px;
  --max-w-narrow: 680px;
  --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  --space-section: clamp(4rem, 8vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-hover); }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--body);
}

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--max-w-narrow));
  margin-inline: auto;
}

.section {
  padding: var(--space-section) 0;
}

.section--muted { background: var(--bg-muted); }
.section--alt { background: var(--bg); }

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.875rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--primary-soft);
  border: 1px solid rgba(195, 7, 63, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.highlight-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.site-logo img { height: 32px; width: auto; }

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
}

.site-nav a:hover { color: var(--primary); }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover { background: var(--bg-muted); }

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  padding: 1.25rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav .btn { margin-top: 1.25rem; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn--outline:hover {
  background: var(--bg-muted);
  border-color: var(--muted-light);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-secondary);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero__content { max-width: 560px; }

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__image--tickets {
  background: transparent;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  box-shadow: none;
  min-height: clamp(280px, 36vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-ticket-stack {
  position: relative;
  width: min(100%, 540px);
  height: clamp(260px, 36vw, 340px);
  margin: 0 auto;
}

.hero-ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86%;
  max-width: 430px;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 20px 40px rgba(15, 15, 20, 0.18),
    0 8px 20px rgba(15, 15, 20, 0.12);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-ticket--layer1 {
  z-index: 1;
  transform: translate(-66%, -72%) rotate(-26deg);
}

.hero-ticket--layer2 {
  z-index: 2;
  transform: translate(-58%, -54%) rotate(-12deg);
}

.hero-ticket--layer3 {
  z-index: 3;
  transform: translate(-48%, -48%) rotate(5deg);
}

.hero-ticket--layer4 {
  z-index: 4;
  transform: translate(-34%, -30%) rotate(22deg);
}

@media (hover: hover) {
  .hero__image--tickets:hover .hero-ticket--layer1 {
    transform: translate(-70%, -76%) rotate(-30deg);
  }

  .hero__image--tickets:hover .hero-ticket--layer2 {
    transform: translate(-60%, -58%) rotate(-16deg);
  }

  .hero__image--tickets:hover .hero-ticket--layer3 {
    transform: translate(-48%, -52%) rotate(0deg);
  }

  .hero__image--tickets:hover .hero-ticket--layer4 {
    transform: translate(-30%, -26%) rotate(26deg);
  }
}

@media (max-width: 899px) {
  .hero__image--tickets {
    min-height: 240px;
    margin-top: 0.5rem;
    padding: 1.25rem 0;
  }

  .hero-ticket-stack {
    height: 220px;
  }

  .hero-ticket {
    width: 90%;
  }

  .hero-ticket--layer1 {
    transform: translate(-62%, -66%) rotate(-20deg);
  }

  .hero-ticket--layer2 {
    transform: translate(-54%, -52%) rotate(-10deg);
  }

  .hero-ticket--layer3 {
    transform: translate(-48%, -46%) rotate(3deg);
  }

  .hero-ticket--layer4 {
    transform: translate(-40%, -34%) rotate(16deg);
  }
}

.hero__image:not(.hero__image--tickets)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.hero__meta-item {
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__meta-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Contact strip */
.contact-strip {
  background: var(--ink);
  color: #fff;
  padding: 1rem 0;
}

.contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-strip p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.contact-strip a {
  color: #fff;
}

/* Trust */
.trust-bar {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-bar__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-logos img {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter var(--transition);
}

.trust-logos img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.stat:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-light);
}

.stat__number {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 500;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-light);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h4 { margin-bottom: 0.5rem; color: var(--ink); }
.card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }

/* Process timeline */
.process-timeline {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list { max-width: 720px; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.625rem;
  overflow: hidden;
  background: var(--surface);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: rgba(195, 7, 63, 0.2);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c3073f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item__body ul, .faq-item__body ol { padding-left: 1.25rem; margin: 0.5rem 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 2rem;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-muted);
  padding: 1.5rem 1.75rem;
}

@media (min-width: 768px) {
  .gallery-item { padding: 1.75rem 2rem; }
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.01); }

/* CTA block */
.cta-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .cta-block {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 2.5rem;
  }
}

.cta-block__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-block__content h2 { margin-bottom: 0.75rem; }

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.form-card--wide { max-width: 720px; margin-inline: auto; }

.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.form-group label .required { color: var(--primary); }

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.375rem;
  line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input:hover, select:hover, textarea:hover {
  border-color: var(--muted-light);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}

textarea { min-height: 110px; resize: vertical; }

input[readonly] {
  background: var(--bg-muted);
  color: var(--muted);
}

.radio-group { display: flex; flex-direction: column; gap: 0.5rem; }

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 400;
  font-size: 0.9375rem;
  cursor: pointer;
  min-height: 48px;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}

.radio-group label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  min-height: auto;
}

.file-drop {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  transition: border-color var(--transition), background var(--transition);
}

.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.file-drop p { margin: 0; font-size: 0.9375rem; color: var(--body); }
.file-drop input { display: none; }
.file-list { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }

.alert {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.alert--warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}

.alert--success {
  background: var(--success-soft);
  border: 1px solid #a7f3d0;
  color: var(--success);
}

.alert--error {
  background: var(--error-bg);
  border: 1px solid #fecaca;
  color: var(--error-text);
}

/* Calculator layout */
.calc-embed-header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.calc-layout--embed {
  max-width: 960px;
  margin: 0 auto;
}

.calc-panel__title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.calc-embed-hint {
  margin-bottom: 1rem;
}

.calc-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.calc-panel--result {
  background: var(--bg-muted);
  border-style: dashed;
}

.calc-panel--result.is-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  color: var(--muted);
}

.calc-panel--result.is-empty svg {
  width: 48px;
  height: 48px;
  stroke: var(--muted-light);
  margin-bottom: 1rem;
}

.calc-result { display: none; }
.calc-result.is-visible { display: block; }

.calc-result h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.breakdown-table th,
.breakdown-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.breakdown-table tr:last-child td { border-bottom: none; }

.breakdown-table th {
  background: var(--bg);
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.breakdown-table td { text-align: right; font-variant-numeric: tabular-nums; }
.breakdown-table td:first-child { text-align: left; color: var(--body); }

.breakdown-table tr.total td {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--primary-soft);
}

.breakdown-table tr.total td:last-child { color: var(--primary); }

.calc-pay-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.calc-delivery-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body);
  background: var(--primary-soft, #fdf2f5);
  border: 1px solid rgba(195, 7, 63, 0.12);
  border-radius: var(--radius-sm, 8px);
}

/* Page header */
.page-header {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 { margin-bottom: 0.5rem; }

.page-header .lead { margin: 0; max-width: 520px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.7); transition: color var(--transition); }
.site-footer a:hover { color: #fff; }

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); } }

.footer-col__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin: -0.5rem 0 0.75rem;
  line-height: 1.5;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.625rem; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.app-badges { display: flex; gap: 0.625rem; flex-wrap: wrap; margin-top: 0.5rem; }
.app-badges img { height: 36px; width: auto; border-radius: var(--radius-xs); }

/* Mobile sticky CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 899px) {
  .mobile-cta-bar { display: block; }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hidden { display: none !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }

/* Admin */
.admin-body { background: var(--bg); min-height: 100vh; }

.admin-body--app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--ink);
  color: #fff;
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-topbar__actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.admin-role-pill {
  display: inline-flex;
  align-items: center;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .admin-role-pill { display: none; }
}

.admin-topbar a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.admin-topbar a:hover { color: #fff; }

.admin-sidebar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.admin-sidebar-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
}

.admin-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #111118;
  color: #fff;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-sidebar__nav a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-sidebar__nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-sidebar__nav a.is-active {
  background: rgba(195, 7, 63, 0.22);
  color: #fff;
}

.admin-content {
  flex: 1;
  padding: 1.5rem;
  max-width: 1200px;
  width: 100%;
}

.admin-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.admin-order-sidebar {
  position: sticky;
  top: 72px;
}

.admin-status-panel {
  border: 1px solid rgba(195, 7, 63, 0.18);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

@media (max-width: 1100px) {
  .admin-order-layout {
    grid-template-columns: 1fr;
  }

  .admin-order-sidebar {
    position: static;
    order: -1;
  }
}

.admin-page-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.admin-page-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.admin-section-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.admin-subsection {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-table-actions {
  white-space: nowrap;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-doc-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--body);
}

.admin-doc-list li { margin-bottom: 0.4rem; }

/* TinyMCE sits cleanly inside admin cards */
.tox-tinymce {
  border-radius: 8px !important;
  border-color: var(--border) !important;
}

.btn-link-danger {
  background: none;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  padding: 0;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .admin-sidebar-toggle { display: block; }

  .admin-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    z-index: 30;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }

  .admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-content {
    max-width: none;
    padding: 1.25rem 1rem;
  }
}

/* Legacy header (login page may still use) */
.admin-header {
  background: var(--ink);
  color: #fff;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header a { color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500; }
.admin-header a:hover { color: #fff; }
.admin-nav { display: flex; gap: 1.5rem; align-items: center; }
.admin-main { padding: 1.5rem; max-width: 1200px; margin: 0 auto; }

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.5rem;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th, .data-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.data-table th {
  background: var(--bg-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge--paid { background: var(--success-soft); color: var(--success); }
.badge--pending { background: #fef3c7; color: #92400e; }
.badge--submitted { background: #dbeafe; color: #1e40af; }
.badge--approved { background: #d1fae5; color: #065f46; }
.badge--production { background: #ede9fe; color: #5b21b6; }
.badge--completed { background: #e0f2fe; color: #075985; }
.badge--cancelled { background: #fee2e2; color: #991b1b; }
