:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #f7fbff;
  background: #02060d;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  --cyan: #25dcff;
  --line: rgba(17, 174, 241, .42);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 44px 28px;
  background: radial-gradient(ellipse at 50% 30%, #08223b 0, #030b15 47%, #02060d 80%);
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(37, 220, 255, .2); }
a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.icon-definitions { position: absolute; pointer-events: none; }
.icon { width: 26px; height: 26px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.business-card {
  isolation: isolate;
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 30px 38px 20px;
  border: 1px solid #00b9ef;
  border-radius: 28px 8px 28px 8px;
  background: radial-gradient(ellipse at 14% 38%, #082039 0, transparent 40%), linear-gradient(125deg, #020910, #020c18 60%, #041426);
  box-shadow: 0 0 0 6px #04111e, 0 0 0 7px #0b3551, 0 0 38px #0089ca24, 0 28px 85px #0009, inset 0 0 35px #0077d017;
}
.business-card::before, .business-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  height: 3px;
  width: 42%;
  left: 10%;
  top: -2px;
  background: linear-gradient(90deg, transparent, #009dff, #b6ffff, #02d5ff, transparent);
  box-shadow: 0 0 16px #00bfff;
}
.business-card::after { top: auto; bottom: -2px; left: auto; right: 8%; width: 35%; }
.card-circuits {
  position: absolute;
  z-index: -1;
  inset: 12px;
  border: 1px solid #0a4a6e80;
  border-radius: 20px 3px 20px 3px;
  pointer-events: none;
  background: linear-gradient(130deg, transparent 3%, #0a93c317 3.1%, transparent 3.3%, transparent 6%, #0a93c317 6.1%, transparent 6.3%), linear-gradient(310deg, transparent 4%, #0a93c317 4.1%, transparent 4.3%);
}
.digital-wave { position: absolute; z-index: -1; left: 0; bottom: 125px; width: 100%; height: 140px; opacity: .27; pointer-events: none; }
.card-content { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 42px; }
.brand { position: relative; min-width: 0; text-align: center; padding: 0 20px 26px 0; }
.brand::after { content: ""; position: absolute; right: -20px; top: 25px; bottom: 18px; width: 1px; background: linear-gradient(transparent, #07d2ff, #008cbd, transparent); box-shadow: 0 0 12px #00acff90; }
.logo-halo { position: relative; max-width: 420px; margin: 0 auto; }
.logo-halo::before { content: ""; position: absolute; z-index: -1; inset: 17% 4% 10%; border-radius: 50%; background: radial-gradient(ellipse, #0376af26, transparent 70%); }
.brand-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.tagline { position: relative; margin: -2px auto 0; max-width: 430px; font-size: clamp(1.3rem, 2.15vw, 1.75rem); line-height: 1.25; font-weight: 650; font-style: italic; text-wrap: balance; }
.tagline span { color: #66e8ff; }
.identity { min-width: 0; padding-bottom: 24px; }
.identity-heading { margin-bottom: 26px; }
h1 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.1vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.role { display: inline-block; margin: 0; padding: 8px 26px 10px; border: 1px solid #04bef1; border-radius: 9px 2px 9px 2px; color: var(--cyan); background: linear-gradient(120deg, #00274380, #00122280); box-shadow: 0 0 12px #00b4f024, inset 0 0 12px #008cff15; font-size: 1.65rem; font-weight: 650; line-height: 1.2; }
.contact-list { font-style: normal; }
.contact-row { position: relative; display: flex; align-items: center; gap: 22px; min-height: 89px; padding: 13px 0; border-radius: 8px; transition: background-color .18s ease; }
.contact-row::after { content: ""; position: absolute; height: 1px; bottom: 0; left: 78px; right: 0; background: linear-gradient(90deg, transparent, #05bde9a0, #006bc833, transparent); }
.contact-row:hover { background-color: #0b2b434d; }
.contact-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; color: #55dfff; border: 1px solid #008cce; border-radius: 15px 5px 15px 5px; background: linear-gradient(145deg, #04273d, #030f1d); box-shadow: 0 0 11px #00b6ff20, inset 0 0 10px #00a5ff15; }
.contact-icon .icon { width: 30px; height: 30px; }
.contact-text { min-width: 0; }
.contact-value { display: block; font-size: clamp(1.1rem, 2.15vw, 1.7rem); line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.phone-number { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 650; }
.contact-note { display: block; margin-top: 4px; color: #bad5e7; font-size: 1rem; }

.actions { display: grid; grid-template-columns: 1.18fr 1fr; gap: 24px; position: relative; margin-top: 25px; }
.button { display: flex; justify-content: center; align-items: center; gap: 18px; min-width: 0; min-height: 88px; padding: 19px 20px; border: 2px solid; border-radius: 21px 7px 21px 7px; font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.25; transition: box-shadow .18s ease, background-color .18s ease, transform .18s ease; }
.button .icon { width: 33px; height: 33px; }
.button-audit { border-color: #21d9ff; background: linear-gradient(165deg, #0069d9, #003b83 45%, #031735); box-shadow: 0 0 15px #00bfff35, inset 0 1px 15px #3ee9ff32; }
.button-whatsapp { border-color: #38f183; background: linear-gradient(165deg, #087b36, #045823 45%, #032a18); box-shadow: 0 0 15px #25d36627, inset 0 1px 15px #6bff9c20; }
.button:hover { transform: translateY(-2px); }
.button-audit:hover { box-shadow: 0 0 24px #00bfff65, inset 0 1px 15px #3ee9ff40; }
.button-whatsapp:hover { box-shadow: 0 0 24px #25d36650, inset 0 1px 15px #6bff9c30; }
.button:active { transform: translateY(0); }
.save-contact { display: flex; flex-direction: column; align-items: center; margin-top: 14px; text-align: center; }
.save-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 10px 18px; border: 1px solid #247193; border-radius: 8px; color: #ddf6ff; font-size: 1rem; background: #05203180; transition: background-color .18s ease; }
.save-button:hover { background: #0a3b55; }
.save-button .icon { width: 21px; height: 21px; }
.save-contact p { margin: 8px 0 0; font-size: .8125rem; line-height: 1.45; color: #acc6d8; }

@media (max-width: 979px) {
  body { padding: 30px 22px; }
  .business-card { max-width: 620px; padding: 22px 32px 24px; }
  .card-content { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .brand { padding: 0 0 26px; }
  .brand::after { top: auto; bottom: 0; left: 5%; right: 5%; height: 1px; width: auto; background: linear-gradient(90deg, transparent, #07d2ff, transparent); }
  .logo-halo { max-width: 350px; }
  .tagline { max-width: 390px; font-size: 1.5rem; }
  .identity { padding: 0; }
  .identity-heading { text-align: center; margin-bottom: 15px; }
  h1 { font-size: 2.1rem; margin-bottom: 14px; }
  .role { font-size: 1.25rem; padding: 8px 24px; }
  .contact-list { max-width: 440px; margin: 0 auto; }
  .contact-value { font-size: 1.25rem; }
  .phone-number { font-size: 1.5rem; }
  .actions { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .button { min-height: 66px; font-size: 1.125rem; padding: 15px 16px; gap: 13px; }
  .button .icon { width: 28px; height: 28px; }
  .digital-wave { bottom: 190px; height: 180px; opacity: .17; }
  .save-contact { margin-top: 18px; }
}

@media (max-width: 479px) {
  body { padding: 18px 14px; }
  .business-card { padding: 15px 18px 21px; border-radius: 23px 6px 23px 6px; }
  .card-circuits { inset: 7px; }
  .card-content { gap: 23px; }
  .logo-halo { max-width: 300px; }
  .brand { padding-bottom: 24px; }
  .tagline { margin-top: 4px; font-size: 1.25rem; line-height: 1.3; }
  h1 { font-size: 1.85rem; }
  .contact-row { gap: 13px; min-height: 79px; padding: 12px 0; }
  .contact-row::after { left: 58px; }
  .contact-icon { width: 45px; height: 45px; border-radius: 12px 4px 12px 4px; }
  .contact-icon .icon { width: 25px; height: 25px; }
  .contact-value { font-size: 1.0625rem; }
  .phone-number { font-size: 1.3125rem; }
  .contact-note { font-size: .875rem; }
  .actions { margin-top: 24px; }
  .button { font-size: 1rem; padding: 15px 12px; gap: 11px; }
  .button .icon { width: 25px; height: 25px; }
  .save-button { width: 100%; }
}

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

/* Ajuste específico para un cargo profesional más largo; conserva el diseño base. */
.role-long { max-width: 100%; font-size: clamp(1.05rem, 1.8vw, 1.5rem); text-wrap: balance; }
