/* ==========================================================================
   RK Industries – digital business card
   One stylesheet. Spacing on a 4px scale; colours as tokens below.
   Range colours match the website: Fe = rust, Mg = blue, EDTA = green.
   ========================================================================== */

:root {
  --brand: #0489cf;
  --navy: #364073;
  --navy-900: #141a3d;
  --ink: #1f2937;
  --body: #475569;
  --muted: #64748b;
  --line: rgba(15, 23, 42, .08);
  --surface: #fff;
  --surface-soft: #f5f8fc;
  --wa: #25d366;
  --wa-ink: #128c4a;

  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -8px rgba(15, 23, 42, .16);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 32px -14px rgba(15, 23, 42, .26);
  --gutter: 20px;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background-color: #e8eff8;
  background-image:
    radial-gradient(900px 520px at 10% -10%, rgba(4, 137, 207, .20), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(54, 64, 115, .18), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, p, ul, dl, dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(4, 137, 207, .55);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---- Card shell -------------------------------------------------------- */
.aries-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 8px;
  background: var(--surface);
  overflow: hidden;
}

@media (min-width: 520px) {
  .aries-card {
    margin: 32px auto;
    border-radius: 28px;
    box-shadow: 0 30px 70px -30px rgba(20, 26, 61, .45);
  }
}

/* ---- Hero -------------------------------------------------------------- */
.aries-hero {
  text-align: center;
  padding: 0 var(--gutter);
}

.aries-cover {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
}

.aries-cover img {
  width: 100%;
  aspect-ratio: 1200 / 660;
  object-fit: cover;
}

.aries-cover::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 94%);
  pointer-events: none;
}

.aries-logo {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  margin: -64px auto 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 30px -16px rgba(20, 26, 61, .45);
}

.aries-name {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.3px;
  color: var(--navy-900);
}

.aries-tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.aries-tagline span {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(4, 137, 207, .08);
  border: 1px solid rgba(4, 137, 207, .18);
  border-radius: 999px;
}

.aries-tagline .aries-tag-accent {
  color: #8a5a00;
  background: rgba(255, 176, 32, .16);
  border-color: rgba(255, 176, 32, .42);
}

/* quick actions: four equal icon buttons */
.aries-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.aries-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body);
}

.aries-quick-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 22px;
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.aries-quick-btn:hover .aries-quick-icon,
.aries-quick-btn:focus-visible .aries-quick-icon {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.aries-quick-btn:active .aries-quick-icon {
  transform: scale(.96);
}

/* icon tones, shared by quick actions and list icons */
.aries-tone-blue  { color: var(--brand); background: rgba(4, 137, 207, .10); }
.aries-tone-green { color: var(--wa-ink); background: rgba(37, 211, 102, .14); }
.aries-tone-red   { color: #d9473b; background: rgba(223, 87, 75, .11); }
.aries-tone-navy  { color: var(--navy); background: rgba(54, 64, 115, .10); }
.aries-tone-amber { color: #c07a00; background: rgba(255, 176, 32, .16); }

.aries-hero-ctas {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ---- Buttons ----------------------------------------------------------- */
.aries-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.aries-btn:active {
  transform: scale(.98);
}

.aries-btn-primary {
  flex: 1;
  color: #fff;
  background: linear-gradient(100deg, var(--brand) 0%, var(--navy) 100%);
  box-shadow: 0 14px 26px -14px rgba(4, 137, 207, .85);
}

.aries-btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 30px -14px rgba(4, 137, 207, .95);
}

/* ---- Sections ---------------------------------------------------------- */
.aries-section {
  padding: 0 var(--gutter);
  margin-top: 32px;
}

.aries-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}

/* title with a hairline running to the right edge */
.aries-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(54, 64, 115, .22), transparent);
}

.aries-panel {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* ---- About ------------------------------------------------------------- */
.aries-about {
  padding: 18px;
}

.aries-about p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.aries-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.aries-stats li + li {
  border-left: 1px solid var(--line);
}

.aries-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

.aries-stats span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Products ---------------------------------------------------------- */
.aries-range-fe   { --range: #b5542c; --range-soft: #fbeee8; }
.aries-range-mg   { --range: #3661cf; --range-soft: #eaf0fc; }
.aries-range-edta { --range: #0f8a6d; --range-soft: #e2f4ee; }

.aries-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.aries-product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.aries-product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.aries-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--range-soft);
  border-radius: 0;
}

.aries-product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}

.aries-product:hover .aries-product-media img {
  transform: scale(1.06);
}

.aries-product-assay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: var(--range);
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, .55);
}

.aries-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  border-top: 3px solid var(--range);
}

.aries-product-range {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--range);
}

.aries-product-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-900);
}

.aries-product-meta {
  margin-bottom: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* pinned to the bottom so buttons line up across a row */
.aries-product-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--wa-ink);
  background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .35);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}

.aries-product-enquire:hover,
.aries-product-enquire:focus-visible {
  color: #fff;
  background: var(--wa);
}

.aries-product-enquire .fa {
  font-size: 15px;
}

.aries-link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(4, 137, 207, .06);
  border: 1px dashed rgba(54, 64, 115, .3);
  border-radius: var(--radius);
  transition: background .15s ease;
}

.aries-link-row:hover {
  background: rgba(4, 137, 207, .12);
}

.aries-link-row .fa {
  transition: transform .15s ease;
}

.aries-link-row:hover .fa {
  transform: translateX(3px);
}

/* ---- Locations list ---------------------------------------------------- */
.aries-list {
  display: grid;
  gap: 10px;
}

.aries-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}

.aries-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.aries-list-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 14px;
}

.aries-list-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aries-list-text strong {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
}

.aries-list-text small {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.aries-list-action {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}

.aries-list-action .fa {
  font-size: 16px;
}

/* ---- Business details -------------------------------------------------- */
.aries-gst {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
}

.aries-chip {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--navy);
  background: rgba(54, 64, 115, .09);
  border-radius: 999px;
}

.aries-gst-no {
  flex: 1;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--navy-900);
}

.aries-copy {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 14px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.aries-copy:hover {
  color: #fff;
  background: var(--navy);
}

.aries-btn-brochure {
  display: flex;
  width: 100%;
  margin-top: 10px;
  padding: 12px 18px 12px 12px;
  text-align: left;
  color: #fff;
  background: linear-gradient(100deg, var(--brand) 0%, var(--navy) 100%);
  box-shadow: 0 14px 26px -14px rgba(4, 137, 207, .85);
}

.aries-btn-brochure:hover {
  color: #fff;
}

.aries-btn-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 19px;
  background: rgba(255, 255, 255, .18);
  border-radius: 14px;
}

.aries-btn-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.3;
}

.aries-btn-text small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  opacity: .85;
}

/* payment details: native <details> accordion */
.aries-pay {
  margin-top: 10px;
  overflow: hidden;
}

.aries-pay summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 12px;
  cursor: pointer;
  list-style: none;
}

.aries-pay summary::-webkit-details-marker {
  display: none;
}

.aries-pay-title {
  flex: 1;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}

.aries-pay-chevron {
  font-size: 22px;
  color: var(--muted);
  transition: transform .25s ease;
}

.aries-pay[open] .aries-pay-chevron {
  transform: rotate(180deg);
}

.aries-pay-list,
.aries-pay-address {
  margin: 0 14px;
}

.aries-pay-list {
  border-top: 1px solid var(--line);
}

.aries-pay-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.aries-pay dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.aries-pay dd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.aries-pay-address {
  padding: 12px 0 16px;
}

.aries-pay-address dd {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  color: var(--body);
}

/* ---- Contact person ---------------------------------------------------- */
.aries-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.aries-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  border-radius: 50%;
  box-shadow: 0 6px 14px -6px rgba(4, 137, 207, .8);
}

.aries-person-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.aries-person-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.aries-person-text strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}

.aries-person-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.aries-round {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 19px;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, .45);
  transition: transform .15s ease;
}

.aries-round:hover {
  color: #fff;
  transform: scale(1.08);
}

.aries-round-wa   { background: var(--wa); font-size: 21px; }
.aries-round-call { background: var(--brand); }
.aries-round-sms  { background: var(--navy); }

/* ---- Follow + credit --------------------------------------------------- */
.aries-follow {
  margin: 32px var(--gutter) 0;
  padding: 24px 18px 20px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(240px 140px at 90% 0%, rgba(255, 255, 255, .16), transparent 70%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #0a6fa8 100%);
  border-radius: var(--radius-lg);
}

.aries-follow h2 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.aries-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.aries-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 19px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: background .15s ease, transform .15s ease;
}

.aries-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .24);
  transform: translateY(-2px);
}

.aries-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.aries-credit-text {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
}

.aries-credit-text strong {
  font-weight: 600;
  color: #fff;
}

.aries-credit-text .fa-heart {
  margin: 0 2px;
  color: #ff6b8a;
}

.aries-credit-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(37, 211, 102, .18);
  border: 1px solid rgba(37, 211, 102, .45);
  border-radius: 999px;
  transition: background .15s ease;
}

.aries-credit-cta .fa {
  font-size: 15px;
  color: #5ef19a;
}

.aries-credit-cta:hover {
  color: #fff;
  background: rgba(37, 211, 102, .32);
}

.aries-footer {
  padding: 16px var(--gutter) 8px;
  text-align: center;
}

.aries-footer p {
  font-size: 12.5px;
  color: var(--muted);
}

.aries-footer a {
  font-weight: 600;
  color: var(--brand);
}

/* ---- Toast ------------------------------------------------------------- */
.aries-toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 10;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  background: var(--navy-900);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.aries-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- Entrance ---------------------------------------------------------- */
@keyframes aries-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.aries-hero > *:not(.aries-cover),
.aries-section,
.aries-follow {
  animation: aries-rise .55s cubic-bezier(.2, .7, .2, 1) both;
}

.aries-name       { animation-delay: .05s !important; }
.aries-tagline    { animation-delay: .1s !important; }
.aries-quick      { animation-delay: .15s !important; }
.aries-hero-ctas  { animation-delay: .2s !important; }

/* ---- Small phones ------------------------------------------------------ */
@media (max-width: 374px) {
  :root { --gutter: 14px; }
  .aries-name { font-size: 24px; }
  .aries-tagline span { padding: 4px 9px; font-size: 10px; letter-spacing: .05em; }
  .aries-person { flex-wrap: wrap; }
  .aries-person-actions { width: 100%; padding-top: 10px; border-top: 1px solid var(--line); }
  .aries-round { flex: 1; height: 40px; border-radius: 12px; }
  .aries-quick-icon { width: 50px; height: 50px; font-size: 20px; }
  .aries-quick-btn { font-size: 11.5px; }
  .aries-products { gap: 10px; }
  .aries-product-body { padding: 10px 10px 12px; }
  .aries-product-name { font-size: 13px; }
  .aries-list-action { font-size: 0; }        /* keep only the chevron */
  .aries-list-action .fa { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Stacked contact person cards */
.aries-people {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
