:root {
  --ice: #4cc9f0;
  --cherry: #ff3366;
  --lemon: #ffe45e;
  --grape: #8b5cf6;
  --lime: #42d66f;
  --pink: #ff9bd2;
  --ink: #172033;
  --muted: #627086;
  --paper: #ffffff;
  --soft: #f7fbff;
  --line: rgba(23, 32, 51, 0.12);
  --shadow: 0 18px 45px rgba(20, 44, 82, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(76, 201, 240, 0.12), transparent 22rem),
    var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: white;
  font-weight: 900;
  background: conic-gradient(from 20deg, var(--ice), var(--cherry), var(--lemon), var(--lime), var(--grape), var(--ice));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: none;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0 0 0.25rem;
  background: white;
}

.main-nav.is-open {
  display: grid;
}

.main-nav a {
  min-height: 44px;
  padding: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.main-nav a:hover {
  color: var(--ink);
  border-color: var(--ice);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 57% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 44%, rgba(255, 255, 255, 0.16) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32), transparent 45%);
}

.hero-content {
  display: flex;
  min-height: 78vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 7rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 10vw, 5rem);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #125f78;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 17vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 34rem;
  margin: 1rem 0 1.35rem;
  color: #22304a;
  font-size: clamp(1rem, 4vw, 1.3rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  min-width: 9rem;
  padding: 0.76rem 1.05rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  color: white;
  background: var(--cherry);
  box-shadow: 0 10px 22px rgba(255, 51, 102, 0.24);
}

.button.light {
  color: #083f52;
  background: white;
  border: 1px solid rgba(8, 63, 82, 0.16);
}

.button.dark {
  color: white;
  background: var(--ink);
}

.button.full {
  width: 100%;
}

.quick-strip {
  display: grid;
  gap: 0.65rem;
  max-width: 1120px;
  margin: -1.8rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.quick-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 6px solid var(--ice);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-strip div:nth-child(2) {
  border-left-color: var(--cherry);
}

.quick-strip div:nth-child(3) {
  border-left-color: var(--lime);
}

.quick-strip strong {
  font-size: 1rem;
}

.quick-strip span {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.section {
  padding: clamp(4rem, 10vw, 6.5rem) clamp(1rem, 4vw, 2rem);
}

.section-tight {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-heading h2,
.split-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p {
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.menu-grid,
.event-grid,
.loyalty-grid,
.portal-grid,
.dashboard,
.promo-grid,
.ai-tool-grid,
.flavor-grid {
  display: grid;
  gap: 0.85rem;
  max-width: 1120px;
  margin: 0 auto;
}

.menu-card,
.event-grid article,
.loyalty-grid article,
.portal-grid article,
.dashboard article,
.promo-grid article,
.ai-panel,
.order-builder,
.order-summary,
.quote-form,
.contact-form,
.gallery-list article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
}

.menu-grid {
  grid-template-columns: 1fr;
}

.menu-card {
  min-height: 210px;
  padding: 1.1rem;
  border-top: 6px solid var(--ice);
}

.menu-card svg {
  width: 34px;
  height: 34px;
  color: #0d7ea0;
}

.menu-card h3 {
  margin: 1.1rem 0 0.55rem;
  font-size: 1.25rem;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.menu-card span {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.32rem 0.56rem;
  color: var(--ink);
  font-weight: 900;
  background: #f0fbff;
  border-radius: 8px;
}

.accent-red {
  border-top-color: var(--cherry);
}

.accent-red svg {
  color: var(--cherry);
}

.accent-yellow {
  border-top-color: var(--lemon);
}

.accent-yellow svg {
  color: #a86a00;
}

.accent-green {
  border-top-color: var(--lime);
}

.accent-green svg {
  color: #137f34;
}

.color-band {
  background:
    linear-gradient(135deg, rgba(255, 228, 94, 0.28), transparent 38%),
    linear-gradient(225deg, rgba(255, 51, 102, 0.12), transparent 34%),
    #f7fcff;
}

.flavor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flavor-card {
  display: grid;
  place-items: center;
  gap: 0.7rem;
  min-height: 138px;
  padding: 0.85rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08);
  cursor: pointer;
}

.flavor-card span {
  width: 58px;
  height: 58px;
  background: var(--ice);
  border: 6px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 10px 18px rgba(23, 32, 51, 0.14);
}

.flavor-card strong {
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: center;
}

.flavor-card.red span,
.flavor-card.berry span {
  background: var(--cherry);
}

.flavor-card.purple span {
  background: var(--grape);
}

.flavor-card.tiger span {
  background: conic-gradient(var(--cherry), #ff8a00, var(--cherry), #00a8e8, var(--cherry));
}

.flavor-card.cake span {
  background: linear-gradient(135deg, white, #ffe8f6, #e7f7ff);
}

.flavor-card.pink span {
  background: var(--pink);
}

.flavor-card.lemon span {
  background: linear-gradient(135deg, var(--lemon), var(--lime));
}

.flavor-card.melon span {
  background: #ff5470;
}

.flavor-card.mango span {
  background: #ffb020;
}

.flavor-card.apple span {
  background: var(--lime);
}

.flavor-card.shock span {
  background: linear-gradient(135deg, var(--lime), var(--grape));
}

.order-section {
  background: white;
}

.order-layout {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.order-builder,
.order-summary {
  padding: 1rem;
}

fieldset {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

legend,
.field span {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 900;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.segmented label {
  min-width: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span,
.check-grid label,
.pill-row button,
.ordering-features span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.segmented input:checked + span {
  color: white;
  background: #115a76;
  border-color: #115a76;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.check-grid label {
  justify-content: flex-start;
  gap: 0.45rem;
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.82rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-summary {
  align-self: start;
  background:
    linear-gradient(135deg, rgba(76, 201, 240, 0.18), transparent 45%),
    white;
}

.order-summary h3 {
  margin: 0;
  font-size: 1.7rem;
}

.order-summary p,
.order-summary li {
  color: var(--muted);
  line-height: 1.45;
}

.order-summary ul {
  min-height: 70px;
  margin: 1rem 0;
  padding-left: 1.1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.price-row strong {
  font-size: 1.6rem;
}

.mini-note {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.ordering-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 1120px;
  margin: 1rem auto 0;
}

.ai-section {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(66, 214, 111, 0.14), transparent 36%),
    #fff;
}

.ai-layout {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.ai-panel {
  padding: 1rem;
}

.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-panel-head svg {
  width: 34px;
  height: 34px;
  color: var(--grape);
}

.ai-panel h3 {
  margin: 0;
  font-size: 1.3rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pill-row button {
  cursor: pointer;
}

.ai-output {
  min-height: 62px;
  margin: 0;
  padding: 1rem;
  color: #4b2a09;
  font-weight: 850;
  line-height: 1.45;
  background: #fff3bd;
  border: 1px solid rgba(168, 106, 0, 0.18);
  border-radius: 8px;
}

.ai-tool-grid {
  grid-template-columns: 1fr;
}

.ai-tool {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.85rem;
  color: var(--ink);
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08);
  cursor: pointer;
}

.ai-tool svg,
.event-grid svg,
.portal-grid svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--cherry);
}

.events-section {
  background: #f8fbff;
}

.event-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-grid article,
.portal-grid article {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 78px;
  padding: 0.8rem;
  font-weight: 900;
}

.quote-form,
.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 1rem;
}

.quote-output {
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 1rem;
  color: #083f52;
  font-weight: 900;
  line-height: 1.4;
  background: #e9faff;
  border: 1px solid rgba(76, 201, 240, 0.35);
  border-radius: 8px;
}

.loyalty-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loyalty-grid article {
  min-height: 128px;
  padding: 1rem;
}

.loyalty-grid strong {
  display: block;
  font-size: 1.55rem;
}

.loyalty-grid span,
.dashboard span,
.promo-grid span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.3;
}

.split-section {
  display: grid;
  gap: 1.3rem;
  max-width: 1184px;
  margin: 0 auto;
}

.split-copy .button {
  margin-top: 1.2rem;
}

.promo-grid {
  grid-template-columns: 1fr;
}

.promo-grid article {
  min-height: 118px;
  padding: 1rem;
  border-left: 6px solid var(--lemon);
}

.promo-grid article:nth-child(2n) {
  border-left-color: var(--ice);
}

.promo-grid article:nth-child(3n) {
  border-left-color: var(--cherry);
}

.promo-grid strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
}

.portal-section {
  background: #fff8fc;
}

.portal-grid {
  grid-template-columns: 1fr;
}

.admin-section {
  background: #101727;
  color: white;
}

.admin-section .eyebrow {
  color: var(--lemon);
}

.admin-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard article {
  min-height: 118px;
  padding: 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dashboard strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.7rem;
}

.dashboard span {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-layout {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-layout img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-list article {
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(255, 228, 94, 0.18), transparent 46%),
    white;
}

.contact-form {
  grid-template-columns: 1fr;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2rem);
  color: white;
  background: #101727;
}

.site-footer strong,
.site-footer p {
  display: block;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

@media (min-width: 680px) {
  .quick-strip,
  .menu-grid,
  .ai-tool-grid,
  .portal-grid,
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flavor-grid,
  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-form,
  .contact-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .contact-form .wide {
    grid-column: span 2;
  }

  .loyalty-grid,
  .dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

  .main-nav a {
    min-height: 38px;
    padding: 0.55rem 0.62rem;
    border-color: transparent;
  }

  .hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .quick-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flavor-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .order-layout,
  .ai-layout,
  .gallery-layout,
  .split-section {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .order-summary {
    position: sticky;
    top: 92px;
  }

  .ai-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .loyalty-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .portal-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .portal-grid article {
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .dashboard {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .gallery-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 19vw, 4.2rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .flavor-grid,
  .check-grid,
  .ordering-features,
  .event-grid,
  .loyalty-grid,
  .dashboard,
  .gallery-list {
    grid-template-columns: 1fr;
  }
}
