/* Dedicated QR layout: the photo is an unobstructed document element. */
:root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;background:#08090a;color:#f6f6f4}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid #dac6a3;outline-offset:4px}
.profileShell{width:min(100%,1060px);margin:0 auto;padding:0 24px 24px}
.profileHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:82px;background:#08090a}
.profileLogo img{display:block;width:170px;height:auto}
.profileHome{font-size:14px;font-weight:600;padding:16px 0;color:#ddd}
.profilePhoto{margin:0;background:#08090a;border:1px solid #292c2e}
.profilePhoto{position:relative}
.profilePhoto::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(8,9,10,.35),transparent 10%,transparent 88%,#08090a)}
.profilePhoto img{display:block;width:100%;height:auto;max-height:530px;object-fit:contain;filter:none}
.profileContent{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;padding:30px 0}
.profileIdentity{align-self:start}
.profileMonogram{display:none}
.profileIdentity p{margin:0 0 10px;color:#cfbb98;font-size:12px;line-height:1.5;letter-spacing:.09em;font-weight:700}
.profileIdentity h1{font-size:clamp(32px,4.6vw,52px);line-height:1.12;letter-spacing:-.04em;margin:0 0 12px;font-weight:600}
.profileIdentity>span{display:block;font-size:16px;line-height:1.5;color:#bfc3c5}
.profilePanel{min-width:0;padding:22px;background:#121416;border:1px solid #313436;border-radius:12px}
.primaryContact>span,.profileCards small{display:block;font-size:12px;line-height:1.4;letter-spacing:.08em;color:#d0bc99;font-weight:700}
.primaryContact>a{display:block}
.primaryContact>a[href^="tel"]{font-size:clamp(26px,4vw,36px);font-weight:600;letter-spacing:-.035em;line-height:1.2;margin:8px 0}
.primaryContact>a[href^="mailto"]{font-size:15px;line-height:1.5;color:#e0e2e3;overflow-wrap:anywhere}
.primaryContact>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.contactButton{min-height:50px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:16px;font-weight:700}
.contactButton.light{background:#f5f5f2;color:#101213}
.contactButton.whatsapp{background:#206e46;color:#fff}
.profileCards{margin-top:18px;border-top:1px solid #343739}
.profileCards>a{display:flex;align-items:center;min-height:72px;padding:14px 0;border-bottom:1px solid #343739}
.profileCards>a:last-child{border-bottom:0;padding-bottom:0}
.profileCards span{min-width:0}
.profileCards b{display:block;font-size:16px;line-height:1.4;margin-top:5px;font-weight:600}
.profileCards .mapCard b{font-size:14px;line-height:1.5;font-weight:400;color:#e0e2e3}
.profileCards i{display:none}
.profileFooter{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #292c2e;padding-top:20px;color:#aeb3b6;font-size:12px;line-height:1.5}
@media(max-width:700px){
 .profileShell{padding:0 16px max(18px,env(safe-area-inset-bottom))}
 .profileHeader{min-height:68px}
 .profileLogo img{width:145px}
 .profilePhoto{margin:0 -16px;border-width:1px 0}
 .profilePhoto img{max-height:none}
 .profileContent{display:block;padding:20px 0}
 .profileIdentity p{margin-bottom:6px}
 .profileIdentity h1{font-size:clamp(30px,8.6vw,40px);margin-bottom:8px}
 .profileIdentity>span{font-size:14px;line-height:1.45}
 .profilePanel{margin-top:18px;padding:18px 16px}
 .primaryContact>a[href^="tel"]{font-size:clamp(26px,8vw,34px)}
 .profileFooter{padding-top:16px}
}
@media(prefers-reduced-motion:no-preference){a{transition:background-color .15s,color .15s}.profileCards>a:hover{color:#dac6a3}}

/* One-screen mobile card: scale the whole photo, never crop or cover it. */
@media(max-width:700px){
 .profileShell{padding:0 14px max(6px,env(safe-area-inset-bottom));min-height:100svh}
 .profileHeader{min-height:48px;height:48px}
 .profileLogo img{width:118px;max-height:44px;object-fit:contain}
 .profileHome{font-size:14px;padding:12px 0}
 .profilePhoto{margin:0 -14px;border:0}
 .profilePhoto img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
 .profileContent{padding:10px 0 0}
 .profileIdentity p{font-size:12px;line-height:1.3;margin:0 0 4px;letter-spacing:.06em}
 .profileIdentity h1{font-size:clamp(28px,8vw,34px);line-height:1.1;margin:0}
 .profileIdentity>span{display:none}
 .profilePanel{margin-top:10px;padding:12px 14px 8px;border-radius:10px}
 .primaryContact>span{display:none}
 .primaryContact>a[href^="tel"]{font-size:29px;line-height:1.15;margin:0 0 3px}
 .primaryContact>a[href^="mailto"]{font-size:14px;line-height:1.4}
 .primaryContact>div{margin-top:10px;gap:10px}
 .contactButton{min-height:44px;font-size:16px}
 .profileCards{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin-top:12px}
 .profileCards>a{min-height:64px;padding:10px 0}
 .profileCards small{font-size:12px;letter-spacing:.03em}
 .profileCards b{font-size:14px;line-height:1.3;margin-top:4px}
 .profileCards .mapCard{grid-column:1/-1;min-height:0;padding:10px 0 0}
 .profileCards .mapCard b{font-size:14px;line-height:1.35;margin-top:4px}
 .profileFooter{display:none}
}
@media(max-width:700px) and (max-height:620px){
 .profilePhoto img{height:auto}
 .profileContent{padding-top:7px}
 .profilePanel{margin-top:7px;padding-top:10px}
 .profileCards{margin-top:8px}
}

/* Clear destinations and tactile actions. */
.profilePanel{background:linear-gradient(145deg,#191c1e,#101213);border-color:#393e42;box-shadow:0 10px 35px #0003}
.profileCards{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0}
.profileCards>a,.profileCards>a:last-child{cursor:pointer;border:1px solid #4b5054;border-radius:9px;background:linear-gradient(135deg,#282d31,#1b2023);padding:12px;min-height:0;box-shadow:0 2px 0 #0005;align-items:stretch}
.profileCards strong{display:block;font-size:16px;line-height:1.25;color:#fff;letter-spacing:-.02em}
.profileCards .branchCard small{color:#d1c09f;font-size:12px;letter-spacing:0;line-height:1.3;margin:5px 0 8px}
.profileCards .branchCard b,.profileCards .mapCard em{display:block;text-align:center;background:#d4c19e;color:#161819;font-size:14px;font-style:normal;font-weight:700;line-height:1.2;padding:8px 10px;border-radius:5px;margin:0}
.profileCards .mapCard{grid-column:1/-1;padding:12px}
.profileCards .mapCard>span{display:grid;grid-template-columns:1fr auto;gap:6px 12px;width:100%;align-items:center}
.profileCards .mapCard strong{font-size:14px}
.profileCards .mapCard b{grid-column:1;line-height:1.35;font-size:14px;margin:0}
.profileCards .mapCard em{grid-column:2;grid-row:1/3;background:#edf0ef;max-width:90px;line-height:1.35}
.profileCards>a:hover{border-color:#d4c19e;background:#30363a}
.profileCards>a:active,.contactButton:active{transform:translateY(1px);filter:brightness(.9)}
@media(max-width:700px){
 .profileContent{padding-top:5px}
 .profileIdentity h1{font-size:30px}
 .profilePanel{margin-top:8px;padding:10px 12px}
 .primaryContact>div{margin-top:8px}
 .profileCards{gap:8px;margin-top:10px}
 .profileCards>a,.profileCards>a:last-child{padding:9px}
 .profileCards .branchCard small{margin:3px 0 6px}
 .profileCards .mapCard>span{gap:5px 8px}
 .profileCards .mapCard b{font-size:14px}
}
