:root {
  color-scheme: light;
  --navy: #0b1b45;
  --navy-soft: #172b5c;
  --yellow: #ffdc18;
  --ink: #111827;
  --muted: #5f6877;
  --line: #dce1e9;
  --surface: #ffffff;
  --page: #edf1f5;
  --green: #128c5b;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(0px, 3vw, 36px) 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: inherit; }
button { font: inherit; }
svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid rgba(27, 98, 209, .35); outline-offset: 3px; }

.digital-card {
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(11, 27, 69, .14);
}

.identity {
  position: relative;
  min-height: 310px;
  padding: clamp(24px, 6vw, 48px);
  color: #fff;
  background: var(--navy);
  border-bottom: 7px solid var(--yellow);
}
.identity1::after {
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  content: "";
}
.identity-topline { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.brand-link { display: inline-flex; width: 184px; min-height: 94px; align-items: center; }
.brand-link img { display: block; width: 100%; height: auto;  }
.share-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.share-button:hover { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.identity-copy { position: relative; z-index: 1; margin-top: 40px; }
.eyebrow { margin: 0 0 7px; color: #b48700; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.identity .eyebrow { color: var(--yellow); }
.identity h1 { margin: 0; font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; }
.identity-copy > p:not(.eyebrow) { margin: 13px 0 0; color: #dce4f5; font-size: clamp(1rem, 3vw, 1.25rem); }
.experience { display: inline-block; margin-top: 18px; color: var(--yellow); font-size: .88rem; font-weight: 800; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.quick-action {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 22px 8px 19px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 750;
}
.quick-action:last-child { border-right: 0; }
.quick-action:hover { background: #f6f8fb; }
.action-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy); border: 1px solid #bdc6d5; border-radius: 50%; }
.action-icon-whatsapp { color: var(--green); border-color: #8fcdb2; }

.save-contact, .services, .contact-details { padding: clamp(34px, 7vw, 54px) clamp(22px, 7vw, 56px); }
.save-contact, .contact-details { background: #f8f9fb; }
.section-heading { margin-bottom: 24px; text-align: center; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.15; }
.save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 12px 20px;
  color: #101629;
  background: var(--yellow);
  border: 1px solid #e7c400;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(180, 135, 0, .16);
}
.save-button:hover { background: #ffe53b; transform: translateY(-1px); }
.qr-block { width: 80%; margin: 28px auto 0; text-align: center; }
.qr-block img { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 5%; background: #fff; border: 1px solid var(--line); image-rendering: pixelated; }
.qr-block p { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.service-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.service-item svg { width: 32px; height: 32px; color: #b48700; }
.service-item h3 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.service-item p { margin: 0; color: var(--muted); font-size: .88rem; }

.contact-details address { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--line); font-style: normal; }
.contact-details address a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 13px; align-items: center; min-height: 72px; padding: 14px 18px; background: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-details address a:hover { background: #f2f5f9; }
.contact-details address svg { color: #b48700; }
.contact-details address strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: .78rem; text-transform: uppercase; }
.contact-details address span { color: var(--muted); font-size: .9rem; }

.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(22px, 7vw, 56px); color: #dce4f5; background: var(--navy); font-size: .8rem; }
.card-footer a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 750; }
.card-footer svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.share-status { position: fixed; left: 50%; bottom: 20px; z-index: 5; max-width: calc(100% - 32px); margin: 0; padding: 10px 15px; color: #fff; background: #101629; border-radius: 4px; box-shadow: 0 8px 25px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .2s ease, transform .2s ease; }
.share-status.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 540px) {
  body { padding: 0; }
  .digital-card { box-shadow: none; }
  .identity { min-height: 288px; }
  .brand-link { width: 150px; }
  .quick-action { padding-inline: 4px; font-size: .75rem; }
  .action-icon { width: 42px; height: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .card-footer { align-items: flex-start; flex-direction: column; }
}

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