:root {
  --bg: #eef3f8;
  --bg-elevated: #dfe8f2;
  --bg-card: #ffffff;
  --border: rgba(15, 42, 68, 0.1);
  --text: #0f2233;
  --muted: #5a6d7e;
  --primary: #1565a8;
  --primary-dark: #0f4d82;
  --primary-dim: rgba(21, 101, 168, 0.1);
  --primary-glow: rgba(21, 101, 168, 0.24);
  --accent: #e07b24;
  --accent-dim: rgba(224, 123, 36, 0.12);
  --wrap: 1120px;
  --radius: 20px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(21, 101, 168, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(224, 123, 36, 0.08), transparent 50%);
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 42, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 68, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 72%);
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.3s, border 0.3s;
}

.header.is-scrolled {
  background: rgba(238, 243, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 42, 68, 0.08);
}

.header--on-hero .brand,
.header--on-hero .nav a,
.header--on-hero .header__call,
.header--on-hero .cart-btn,
.header--on-hero .menu-btn span {
  color: #fff;
}

.header--on-hero .nav a {
  color: rgba(255, 255, 255, 0.82);
}

.header--on-hero .nav a:hover {
  color: #fff;
}

.header--on-hero .header__call {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.header--on-hero .cart-btn {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header--on-hero.is-scrolled .brand,
.header--on-hero.is-scrolled .nav a,
.header--on-hero.is-scrolled .header__call,
.header--on-hero.is-scrolled .cart-btn,
.header--on-hero.is-scrolled .menu-btn span {
  color: var(--text);
}

.header--on-hero.is-scrolled .nav a {
  color: var(--muted);
}

.header--on-hero.is-scrolled .nav a:hover {
  color: var(--text);
}

.header--on-hero.is-scrolled .header__call,
.header--on-hero.is-scrolled .cart-btn {
  border-color: var(--border);
  background: var(--bg-card);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand--sm {
  font-size: 0.95rem;
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__call {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.header__call:hover {
  border-color: rgba(21, 101, 168, 0.35);
  background: var(--primary-dim);
}

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.cart-btn:hover {
  border-color: var(--primary);
  transform: scale(1.04);
}

.cart-btn span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 48, 0.42) 0%, rgba(8, 28, 48, 0.78) 55%, rgba(8, 28, 48, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 28, 48, 0.85) 0%, rgba(8, 28, 48, 0.35) 55%, rgba(8, 28, 48, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow--light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  border-color: var(--border);
  background: var(--bg-card);
  color: var(--text);
}

.btn--dark {
  background: #fff;
  color: var(--primary-dark);
}

.btn--outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hero__panel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.stat-card {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.06);
}

.stat-card--accent {
  border-color: rgba(21, 101, 168, 0.25);
  background: linear-gradient(135deg, rgba(21, 101, 168, 0.08), rgba(224, 123, 36, 0.06));
}

.stat-card__tag {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.stat-card__price {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card__meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__orb {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.orb--1 {
  width: 220px;
  height: 220px;
  background: rgba(21, 101, 168, 0.14);
  top: 10%;
  right: 5%;
}

.orb--2 {
  width: 180px;
  height: 180px;
  background: rgba(224, 123, 36, 0.12);
  bottom: 20%;
  left: 0;
  animation-delay: -3s;
}

.orb--3 {
  width: 120px;
  height: 120px;
  background: rgba(21, 101, 168, 0.08);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -18px); }
}

.block {
  padding: 5rem 0;
}

.block--dark {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.block--cta {
  padding-bottom: 6rem;
}

.block__head {
  margin-bottom: 2.5rem;
}

.block__head h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.block__head p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--dim {
  background: rgba(31, 41, 51, 0.06);
  color: var(--muted);
}

.tag--dark {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(31, 41, 51, 0.12);
}

.product-card__media {
  padding: 0;
  background: #dfe8f2;
}

.product-card__plate {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  background: #bfc9d4;
  overflow: hidden;
}

.product-card__plate::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  filter: blur(16px);
  opacity: 0.55;
  transform: scale(1.08);
}

.product-card__plate img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.45rem;
}

.product-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.product-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.product-card__info h3,
.product-card__head h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.product-card__count {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.product-card__body p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card__price {
  text-align: right;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.product-card__price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.25rem;
}

.product-card__controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.product-card__controls label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.product-card__controls input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.product-card .btn {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bento__item {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.bento__item--wide {
  grid-column: span 3;
  background:
    linear-gradient(135deg, rgba(21, 101, 168, 0.06), transparent 50%),
    var(--bg-card);
}

.bento__item h2,
.bento__item h3 {
  margin: 0.75rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.bento__item p {
  margin: 0;
  color: var(--muted);
}

.bento__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.flow li {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.flow li span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.flow h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-top: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.04);
}

.tile h3 {
  margin: 0 0 0.5rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, #1565a8, #0f4d82);
  color: #fff;
}

.cta-box h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.cta-box p {
  margin: 0;
  opacity: 0.85;
}

.cta-box__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__copy {
  margin-left: auto !important;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 51, 0.45);
  backdrop-filter: blur(4px);
  z-index: 90;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  z-index: 100;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.drawer__body {
  overflow: auto;
  padding: 1.25rem 1.5rem 2rem;
  flex: 1;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: rgba(31, 41, 51, 0.06);
}

.cart-list {
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item small {
  color: var(--muted);
}

.empty-cart {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.form h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  border: 0;
  padding: 0;
}

.field > span,
.field legend {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--border);
}

.drawer__total strong {
  font-size: 1.35rem;
  color: var(--primary);
}

.form__status {
  min-height: 1.25rem;
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.form__status.is-success {
  color: #1f7a3c;
}

.form__status.is-error {
  color: #b33a3a;
}

.header.nav-open .nav {
  display: flex;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(238, 243, 248, 0.98);
    border-bottom: 1px solid var(--border);
    margin-left: 0;
  }

  .header.nav-open .nav {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .header__call {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .products,
  .bento,
  .flow,
  .tiles {
    grid-template-columns: 1fr;
  }

  .bento__item--wide {
    grid-column: span 1;
  }

  .product-card__controls {
    grid-template-columns: 1fr;
  }

  .product-card__head {
    flex-direction: column;
  }

  .product-card__price {
    text-align: left;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__copy {
    margin-left: 0 !important;
  }
}
