@import url('./variables.css');

body.public-card-body { min-height: 100vh; background: linear-gradient(160deg, #002060 0%, #003087 30%, #003087 52%, #145a26 100%); color: var(--card-text); }
.public-stage { min-height: 100vh; }
.card-shell { width: min(100%, 448px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f4f6fb 40%, #f0f4f0 72%, #f8f9fc 100%); box-shadow: 0 25px 50px rgba(0,0,0,.25); }
.profile-hero { position: relative; isolation: isolate; min-height: 418px; padding: 0 24px 78px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.04), transparent 48%), linear-gradient(160deg, #001a4d 0%, #003087 35%, #002060 65%, #001540 100%); }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: radial-gradient(circle, rgba(255,255,255,.32) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 100%); }
.cover-logo-slot { display: flex; align-items: center; justify-content: center; min-height: 102px; padding: 32px 16px 10px; }
.cover-logo { display: block; max-width: 70%; max-height: 80px; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(255,255,255,.15)); }
.brand-logo { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; color: #fff; filter: drop-shadow(0 2px 12px rgba(255,255,255,.15)); }
.brand-mark { position: relative; width: 56px; height: 44px; overflow: hidden; border-radius: 8px 8px 22px 8px; background: #fff; transform: skewX(-10deg); }
.brand-mark span { position: absolute; left: -6px; bottom: -8px; width: 62px; height: 28px; border-radius: 50% 50% 0 0; background: var(--brand-green); transform: rotate(-18deg); }
.brand-copy { display: grid; justify-items: start; line-height: 1; }
.brand-copy strong { font-size: 38px; font-style: italic; font-weight: 700; letter-spacing: 0; }
.brand-copy small { margin-top: 3px; color: var(--brand-green-light); font-size: 13px; font-style: italic; font-weight: 500; }
.avatar-wrap { position: relative; width: 112px; height: 112px; margin: 0 auto 20px; }
.avatar { width: 112px; height: 112px; border-radius: 999px; border: 4px solid var(--brand-green); object-fit: cover; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.avatar-fallback { display: grid; place-items: center; color: #003087; font-size: 38px; font-weight: 700; background: linear-gradient(145deg, #fff 0%, #eef4ff 56%, #dbeafe 100%); }
.status-dot { position: absolute; right: 4px; bottom: 6px; width: 22px; height: 22px; border: 3px solid #fff; border-radius: 999px; background: var(--brand-green); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.hero-text { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.hero-text h1 { max-width: 100%; margin: 0; color: #fff; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: 0; overflow-wrap: anywhere; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.company-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--brand-green); font-size: 14px; line-height: 20px; font-weight: 600; }
.company-line span { width: 7px; height: 7px; border-radius: 999px; background: var(--brand-green); }
.person-title { margin: 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 20px; font-weight: 400; }
.department-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 4px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 12px; line-height: 16px; font-weight: 500; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -4px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C100,28 300,28 400,0 L400,28 L0,28 Z' fill='%23f4f6fb'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.action-panel { padding: 28px 24px 20px; background: #f8f9fc; }
.primary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: 12px; text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 500; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.primary-action.call { color: #fff; background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%); box-shadow: 0 4px 16px rgba(120,190,32,.3); }
.primary-action.mail { color: var(--brand-navy); background: rgba(0,48,135,.03); border: 2px solid var(--brand-navy); }
.primary-action:hover { transform: translateY(-2px); }
.quick-actions { display: flex; align-items: flex-start; justify-content: center; gap: 24px; padding: 18px 0 0; }
.quick-action { display: inline-grid; justify-items: center; gap: 7px; min-width: 52px; border: 0; background: transparent; color: var(--card-muted); text-decoration: none; cursor: pointer; }
.quick-action > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--card-border); border-radius: 999px; background: #eef2f6; box-shadow: inset 0 1px 0 rgba(255,255,255,.78); transition: transform .2s ease, color .2s ease, border-color .2s ease; }
.quick-action small { color: inherit; font-size: 12px; line-height: 16px; font-weight: 500; }
.quick-action:hover { color: var(--brand-navy); }
.quick-action:hover > span { transform: translateY(-2px); border-color: rgba(0,48,135,.3); }
.ui-icon, .icon-sm, .icon-md, .social-svg { display: block; flex: 0 0 auto; }
.ui-icon { width: 18px; height: 18px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.social-svg { width: 24px; height: 24px; }
.icon-fill { fill: currentColor; stroke: none; }
.icon-stroke { fill: none; stroke: currentColor; }
.card-section { padding: 22px 24px 0; }
.action-panel + .card-section { border-top: 1px solid rgba(226,232,240,.85); }
.section-title { display: inline-block; position: relative; margin: 0 0 24px; color: var(--brand-navy); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0; }
.section-title:after { content: ''; position: absolute; left: 0; bottom: -7px; width: 24px; height: 2px; border-radius: 999px; background: var(--brand-green); }
.contact-list { display: grid; gap: 10px; }
.contact-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; overflow: hidden; border: 1px solid var(--card-border); border-radius: 12px; background: #fff; color: var(--card-text); text-decoration: none; box-shadow: 0 1px 0 rgba(15,23,42,.02); transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.contact-row:before { content: ''; position: absolute; left: 0; top: 13px; bottom: 13px; width: 3px; border-radius: 0 999px 999px 0; background: var(--brand-navy); opacity: 0; transition: opacity .2s ease; }
.contact-row:hover { transform: translateY(-1px); border-color: rgba(0,48,135,.18); background: rgba(248,250,252,.92); box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.contact-row:hover:before { opacity: 1; }
.contact-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.contact-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: #f7fafc; color: #64748b; transition: background .2s ease, color .2s ease; }
.contact-row:hover .contact-icon { color: var(--brand-navy); background: rgba(0,48,135,.06); }
.contact-copy { display: grid; gap: 2px; min-width: 0; text-align: left; }
.contact-copy strong { color: var(--card-text); font-size: 14px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.contact-copy small { color: var(--card-muted); font-size: 12px; line-height: 1.35; }
.copy-button { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--card-muted); cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.copy-button .copy-icon, .copy-button .check-icon { grid-area: 1 / 1; display: grid; place-items: center; }
.copy-button .check-icon { display: none; color: var(--brand-green-dark); }
.copy-button:hover, .copy-button.copied { color: var(--brand-navy); background: var(--card-bg); }
.copy-button.copied { transform: scale(.92); }
.copy-button.copied .copy-icon { display: none; }
.copy-button.copied .check-icon { display: grid; }
.directions-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 12px; border: 1px solid var(--card-border); border-radius: 12px; color: var(--card-muted); background: transparent; text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 500; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.directions-btn:hover { transform: translateY(-1px); background: #fff; }
.social-section { padding-top: 44px; }
.socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.social-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--card-border); border-radius: 999px; background: #fff; color: #64748b; text-decoration: none; transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.social-icon:hover { color: var(--brand-navy); border-color: rgba(0,48,135,.2); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.social-icon.facebook:hover { color: #1877f2; }
.social-icon.instagram:hover { color: #c13584; }
.social-icon.linkedin:hover { color: #0a66c2; }
.social-icon.twitter:hover { color: #1da1f2; }
.social-icon.youtube:hover { color: #f00; }
.social-icon.whatsapp:hover { color: #25d366; }
.social-icon.telegram:hover { color: #08c; }
.social-icon.github:hover { color: #333; }
.document-row { justify-content: space-between; }
.document-open { display: grid; place-items: center; color: var(--brand-navy); }
.billing-section { padding-top: 44px; }
.billing-card { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(203,213,225,.86); border-radius: 12px; background: #f1f4f8; box-shadow: 0 12px 28px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.78); }
.billing-card div { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 1.35fr); gap: 12px; align-items: start; }
.billing-card span { color: var(--card-muted); font-size: 14px; line-height: 20px; font-weight: 400; }
.billing-card strong { color: var(--card-text); font-size: 14px; line-height: 20px; font-weight: 500; text-align: right; }
.billing-card p { margin: 0; padding: 8px 0 0; border-top: 1px solid #fee2e2; color: #dc2626; background: transparent; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0; text-align: center; }
.footer { padding: 34px 24px 28px; color: var(--card-muted); font-size: 12px; text-align: center; }
.footer nav { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--brand-navy); }
.footer p { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.35; white-space: nowrap; }
.modal { position: fixed; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.68); }
.modal.open { display: flex; }
.modal-card { position: relative; width: min(100%, 340px); padding: 24px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,.24); }
.modal-card h2 { margin: 0 0 14px; color: var(--brand-navy); font-size: 20px; }
.modal-card img { width: 250px; height: 250px; border-radius: 12px; }
.modal-card p { margin: 12px 0 0; color: var(--card-muted); font-size: 12px; overflow-wrap: anywhere; }
.qr-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--card-bg); color: var(--card-muted); cursor: pointer; font-size: 22px; line-height: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); max-width: min(92vw, 360px); padding: 11px 15px; border-radius: 999px; background: var(--brand-navy); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,48,135,.25); }
.legal-body { min-height: 100vh; background: var(--card-bg); color: var(--card-text); }
.legal-shell { min-height: 100vh; background: var(--card-bg); color: var(--card-text); }
.legal-container { width: min(100%, 672px); margin: 0 auto; padding: 48px 24px; }
.legal-back { display: inline-block; margin: 0 0 32px; color: var(--brand-navy); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 500; transition: color .2s ease; }
.legal-back:hover { color: var(--brand-green); }
.legal-container h1 { margin: 0 0 8px; color: var(--brand-navy); font-size: 24px; line-height: 32px; font-weight: 700; }
.legal-updated { margin: 0 0 32px; color: var(--card-muted); font-size: 14px; line-height: 20px; font-weight: 400; }
.legal-content { display: grid; gap: 24px; color: var(--card-text); font-size: 14px; line-height: 22.75px; font-weight: 400; }
.legal-section h2 { margin: 0 0 12px; color: var(--brand-navy); font-size: 18px; line-height: 28px; font-weight: 600; }
.legal-section h3 { margin: 0 0 8px; color: var(--card-text); font-size: 16px; line-height: 24px; font-weight: 600; }
.legal-section p { margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0; padding-left: 24px; }
.legal-section li { margin: 4px 0; }
.legal-section strong { font-weight: 600; }
.legal-contact { margin-top: 12px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--card-border); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--card-border); color: var(--card-muted); font-size: 12px; line-height: 16px; }
.legal-nav a { color: inherit; text-decoration: none; transition: color .2s ease; }
.legal-nav a:hover { color: var(--brand-navy); }
.legal-page { max-width: 860px; margin: 32px auto; padding: 24px; border: 1px solid var(--card-border); border-radius: 12px; background: #fff; }
.not-found { width: min(100% - 32px, 520px); margin: 10vh auto; padding: 28px; border: 1px solid var(--card-border); border-radius: 14px; background: #fff; text-align: center; }
.not-found .action-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--brand-navy); color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 480px) { .card-shell { width: 100%; } .profile-hero { min-height: 408px; padding-left: 20px; padding-right: 20px; } .cover-logo-slot { min-height: 102px; } .brand-copy strong { font-size: 34px; } .action-panel, .card-section, .footer { padding-left: 20px; padding-right: 20px; } .footer p { font-size: 10px; } .quick-actions { gap: 18px; } }
@media (max-width: 360px) { .primary-actions { grid-template-columns: 1fr; } .brand-logo { transform: scale(.9); transform-origin: top center; } .hero-text h1 { font-size: 23px; } }
