/*
  Design tokens copied verbatim from the Flutter app so this static site
  stays pixel-matched: lib/theme/app_colors.dart, app_text_styles.dart,
  app_theme.dart, and lib/utils/responsive.dart. If those change, update
  the values here too — there's no shared source between Dart and CSS.
*/
:root {
  --blue: #0b57c7;
  --blue-dark: #0a4aa8;
  --ink: #0b1f3a;
  --muted: #4b5768;
  --quiet: #7a8699;
  --line: #e3e8f0;
  --warm-card: #fcfcfa;
  --surface-muted: #f4f7fc;
  --soft-blue: #e3eefe;
  --soft-green: #e3f6ea;
  --soft-yellow: #fdf3de;
  --soft-pink: #fce6ec;
  --soft-purple: #ede7fb;
  --soft-teal: #e1f4f3;
  --card-shadow: 0 8px 24px rgba(16, 32, 96, 0.078);
  --card-shadow-hover: 0 14px 32px rgba(16, 32, 96, 0.17);
  --max: 1200px;
  --card-radius: 32px;
  --button-radius: 14px;
}

@font-face {
  font-family: "Inter";
  src: url("/app/assets/assets/fonts/Inter-Variable.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/app/assets/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/app/assets/assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* Same font Flutter itself uses for Icons.* — same glyph, guaranteed. */
@font-face {
  font-family: "MaterialIcons";
  src: url("/app/assets/fonts/MaterialIcons-Regular.otf") format("opentype");
  font-display: block;
}

.icon {
  font-family: "MaterialIcons";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

body { margin: 0; }

a { color: inherit; text-decoration: none; }

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Mirrors SectionContainer: max-width 1200, responsive horizontal padding
   (20 / 32 / 64 below 640 / below 1024 / at or above 1024 viewport width). */
.section {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 48px 64px;
}

@media (max-width: 1023px) {
  .section { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 639px) {
  .section { padding-left: 20px; padding-right: 20px; }
}

.topbar {
  min-height: 96px;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 60px;
  height: 60px;
  padding: 8px;
  border-radius: 14px;
  background: var(--soft-blue);
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.brand span {
  display: block;
  color: var(--quiet);
  font-size: 13px;
  margin-top: 2px;
}

.phone,
.primary,
.outline {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--button-radius);
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
}

.phone,
.primary {
  color: #fff;
  background: var(--blue);
  padding: 0 24px;
}

.phone:hover,
.primary:hover { background: var(--blue-dark); }

.outline {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 0 24px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav a[aria-current="page"] { color: var(--blue); }

.hero {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 32px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 640px;
  margin: 20px 0 16px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h2 {
  margin-bottom: 12px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h3 {
  margin-bottom: 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.art {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.art img {
  position: absolute;
  object-fit: contain;
}

.art .logo { width: 50%; left: 25%; top: 25%; }
.art .gift { width: 27%; left: 8%; top: 8%; transform: rotate(-8deg); }
.art .shopper { width: 29%; right: 8%; top: 8%; transform: rotate(7deg); }
.art .passport { width: 21%; left: 8%; bottom: 7%; transform: rotate(6deg); }
.art .mug { width: 27%; right: 6%; bottom: 5%; transform: rotate(-6deg); }

/* Home page service grid — mirrors ServicesGridSection's own LayoutBuilder
   breakpoints (900 / 560), which are relative to available content width,
   not the viewport. Container queries reproduce that exactly. */
.services-grid-container { container-type: inline-size; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

@container (min-width: 561px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (min-width: 901px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  min-height: 270px;
  padding: 28px;
  border-radius: var(--card-radius);
  background: var(--warm-card);
  box-shadow: var(--card-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.service-card .art-row {
  height: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.service-card .art-row img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card .icon {
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-size: 20px;
}

/* Product grid on /services and /services/<slug> — mirrors CategorySection's
   own breakpoints (720 / 480), also container-relative. */
.category-section { margin-bottom: 48px; }

.category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.category-heading .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-heading .icon-badge .icon {
  font-size: 20px;
  color: var(--ink);
}

.category-heading h3 { margin: 0; }

.product-grid-container { container-type: inline-size; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@container (min-width: 481px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (min-width: 721px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.product-card {
  padding: 20px;
  border-radius: var(--card-radius);
  background: var(--warm-card);
  box-shadow: var(--card-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.product-card .art-row {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-card .art-row img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card h4 {
  margin: 0 0 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.product-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.product-card .price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
}

.product-card .price .icon { font-size: 16px; }

.banner {
  padding: 24px;
  border-radius: var(--card-radius);
  background: var(--surface-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.banner .text-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 260px;
}

.banner .round {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .round.blue { width: 44px; height: 44px; background: var(--blue); }
.banner .round.blue .icon { color: #fff; font-size: 24px; }
.banner .round.tint { background: var(--soft-blue); }
.banner .round.tint .icon { color: var(--blue); font-size: 18px; }

.banner .title { font-weight: 600; color: var(--ink); font-size: 16px; }
.banner .subtitle { color: var(--muted); font-size: 13px; margin-top: 2px; }

.contact-card {
  padding: 28px;
  border-radius: var(--card-radius);
  background: var(--surface-muted);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-row + .contact-row { margin-top: 40px; }

.contact-row img { width: 32px; height: 32px; object-fit: contain; }

.contact-row span {
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.content { max-width: 720px; }

.content .caption { color: var(--quiet); font-size: 13px; }

.content section { margin-bottom: 24px; }

.content section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link .icon { font-size: 16px; }

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.footer .section {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--quiet);
  font-size: 13px;
}

.footer .left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer a.link { color: var(--blue); }

.footer .social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer .social .icon {
  font-size: 20px;
  color: var(--quiet);
  padding: 8px;
}

.footer .social span:last-child {
  color: var(--blue);
  font-size: 14px;
  margin-left: 4px;
}

@media (max-width: 639px) {
  .topbar { min-height: 84px; padding-top: 14px; padding-bottom: 14px; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 21px; }
  .nav { gap: 16px; font-size: 14px; }
  .actions a { width: 100%; }
}

@media (max-width: 1023px) {
  .phone, .nav .desktop-only { display: none; }
}
